Skip to content

merge different LGPL findings #4994

Description

@armijnhemel

License Homepage URL

https://github.com/KDE/libqzeitgeist/blob/master/src/refreshjob.cpp

License Notes

Currently scancode sees this as two different license notices:

      "license_detections": [
        {
          "license_expression": "lgpl-2.0-plus",
          "license_expression_spdx": "LGPL-2.0-or-later",
          "matches": [
            {
              "license_expression": "lgpl-2.0-plus",
              "license_expression_spdx": "LGPL-2.0-or-later",
              "from_file": "refreshjob.cpp",
              "start_line": 4,
              "end_line": 14,
              "matcher": "2-aho",
              "score": 100.0,
              "matched_length": 92,
              "match_coverage": 100.0,
              "rule_relevance": 100,
              "rule_identifier": "lgpl-2.0-plus_1.RULE",
              "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_1.RULE"
            },
            {
              "license_expression": "lgpl-2.0-plus",
              "license_expression_spdx": "LGPL-2.0-or-later",
              "from_file": "refreshjob.cpp",
              "start_line": 14,
              "end_line": 16,
              "matcher": "2-aho",
              "score": 100.0,
              "matched_length": 35,
              "match_coverage": 100.0,
              "rule_relevance": 100,
              "rule_identifier": "lgpl-2.0-plus_451.RULE",
              "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_451.RULE"
            }
          ],
          "identifier": "lgpl_2_0_plus-9612170f-687a-4d34-bd8c-335d7ec0dc45"

It might be good to create a separate rule that combines these.

Activity

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

Metadata

Metadata

Assignees

Labels

new-licenseA new scancode license can be added for this

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions