scancode-toolkit icon indicating copy to clipboard operation
scancode-toolkit copied to clipboard

lgpl-2.1 incorrect detected as lgpl-3.0

Open chinyeungli opened this issue 3 years ago • 0 comments

This file is incorrected detected as lgpl-3.0.

    {
      "path": "lic.txt",
      "type": "file",
      "licenses": [
        {
          "key": "lgpl-3.0-plus",
          "score": 99.1,
          "name": "GNU Lesser General Public License 3.0 or later",
          "short_name": "LGPL 3.0 or later",
          "category": "Copyleft Limited",
          "is_exception": false,
          "is_unknown": false,
          "owner": "Free Software Foundation (FSF)",
          "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html",
          "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html",
          "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus",
          "scancode_text_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE",
          "scancode_data_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.yml",
          "spdx_license_key": "LGPL-3.0-or-later",
          "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later",
          "start_line": 7,
          "end_line": 19,
          "matched_rule": {
            "identifier": "lgpl-3.0-plus_101.RULE",
            "license_expression": "lgpl-3.0-plus",
            "licenses": [
              "lgpl-3.0-plus"
            ],
            "referenced_filenames": [],
            "is_license_text": false,
            "is_license_notice": true,
            "is_license_reference": false,
            "is_license_tag": false,
            "is_license_intro": false,
            "has_unknown": false,
            "matcher": "3-seq",
            "rule_length": 111,
            "matched_length": 110,
            "match_coverage": 99.1,
            "rule_relevance": 100
          }
        }
      ],
      "license_expressions": [
        "lgpl-3.0-plus"
      ],
      "percentage_of_license_text": 38.06,
      "scan_errors": []
    }

The correct license should be lgpl-2.1

chinyeungli avatar Sep 15 '22 01:09 chinyeungli