Skip to content

Emails are only reported once #2444

Description

@tdruez

When scanning the following text, the detection of daniel@haxx.se is only returned once in the results while it appears multiple times in the file.

scancode -ce --json-pp -

Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: curl
Source: http://curl.haxx.se

Files: *
Copyright: 1996-2015, Daniel Stenberg <daniel@haxx.se>
License: curl

Files: lib/vtls/axtls.*
Copyright: 2010, DirecTV
 2010-2015, Daniel Stenberg <daniel@haxx.se>
License: curl

Files: lib/vtls/darwinssl.*
Copyright: 2012-2014, Nick Zitzmann <nickzman@gmail.com>
 2012-2015, Daniel Stenberg <daniel@haxx.se>
License: curl

Files: lib/curl_rtmp.*
Copyright: 2010, Howard Chu <hyc@highlandsun.com>
License: curl

Files: lib/vtls/schannel.*
Copyright: 2012-2014, Marc Hoersken <info@marc-hoersken.de>
 2012, Mark Salisbury <mark.salisbury@hp.com>
 2012-2015, Daniel Stenberg <daniel@haxx.se>
License: curl

Results:

"emails": [
        {
          "email": "daniel@haxx.se",
          "start_line": 6,
          "end_line": 6
        },
        {
          "email": "nickzman@gmail.com",
          "start_line": 15,
          "end_line": 15
        },
        {
          "email": "hyc@highlandsun.com",
          "start_line": 20,
          "end_line": 20
        },
        {
          "email": "info@marc-hoersken.de",
          "start_line": 24,
          "end_line": 24
        },
        {
          "email": "mark.salisbury@hp.com",
          "start_line": 25,
          "end_line": 25
        }
      ],

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions