From dfb7c2bbdddf4f4cc4a49c18fe1628811fb7c108 Mon Sep 17 00:00:00 2001 From: Jono Yang Date: Thu, 11 May 2023 12:55:59 -0700 Subject: [PATCH] Update cpan package building functions #74 * Update test expectations Signed-off-by: Jono Yang --- minecode/mappers/cpan.py | 19 +- .../cpan/expected_json_cpanmapper.json | 30 +- .../expected_json_readmefile_cpanmapper.json | 10 +- .../expected_json_readmefile_cpanmapper2.json | 10 +- .../cpan/expected_release_search.json | 1620 +++++++++++++++-- ...pected_release_search_author_MIYAGAWA.json | 1020 ++++++++++- .../cpan/expected_yaml_cpanmapper.json | 30 +- 7 files changed, 2545 insertions(+), 194 deletions(-) diff --git a/minecode/mappers/cpan.py b/minecode/mappers/cpan.py index 08241800..5a43d23e 100644 --- a/minecode/mappers/cpan.py +++ b/minecode/mappers/cpan.py @@ -47,13 +47,15 @@ def build_packages_from_release_json(metadata, uri=None): if not name: continue + extracted_license_statement = [l for l in release.get('license', []) if l and l.strip()] + common_data = dict( type='cpan', name=name, description=release.get('abstract'), version=release.get('version'), download_url=release.get('download_url'), - declared_license='\n'.join([l for l in release.get('license', []) if l and l.strip()]), + extracted_license_statement=extracted_license_statement, # the date format passing is like: # "2014-04-20T21:30:13" release_date=parse_date(release.get('date')) @@ -80,9 +82,9 @@ def build_packages_from_release_json(metadata, uri=None): # like perl_5. The license here under resources section is the # url of license for example: http://dev.perl.org/licenses/ So # it's useful to collect both information... - license_url = '\n'.join([l for l in resources.get('license', []) if l and l.strip()]) + license_url = [l for l in resources.get('license', []) if l and l.strip()] if license_url: - common_data['declared_license'] = '\n'.join([common_data['declared_license'], license_url]) + common_data['extracted_license_statement'].extend(license_url) vcs_tool, vcs_repo = get_vcs_repo1(resources) if vcs_tool and vcs_repo: @@ -151,16 +153,13 @@ def build_packages_from_metafile(metadata, uri=None, purl=None): content = saneyaml.load(metadata) licenses_content = content.get('license') - asserted_licenses = [] + extracted_license_statement = [] if licenses_content: if isinstance(licenses_content, (list,)): for lic in licenses_content: - asserted_licenses.append(lic) + extracted_license_statement.append(lic) else: - asserted_licenses.append(licenses_content) - declared_license = None - if asserted_licenses: - declared_license = '\n'.join(asserted_licenses) + extracted_license_statement.append(licenses_content) keywords_content = content.get('keywords', []) @@ -179,7 +178,7 @@ def build_packages_from_metafile(metadata, uri=None, purl=None): description=content.get('abstract', name), version=content.get('version'), download_url=download_url, - declared_license=declared_license, + extracted_license_statement=extracted_license_statement, vcs_url=vcs_repo, keywords=keywords_content, ) diff --git a/minecode/tests/testfiles/cpan/expected_json_cpanmapper.json b/minecode/tests/testfiles/cpan/expected_json_cpanmapper.json index f0fb5582..acc8edfb 100644 --- a/minecode/tests/testfiles/cpan/expected_json_cpanmapper.json +++ b/minecode/tests/testfiles/cpan/expected_json_cpanmapper.json @@ -33,8 +33,34 @@ "code_view_url":null, "vcs_url":"git+git://github.com/Abigail/Regexp--Common.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "file_references":[], diff --git a/minecode/tests/testfiles/cpan/expected_json_readmefile_cpanmapper.json b/minecode/tests/testfiles/cpan/expected_json_readmefile_cpanmapper.json index 2137eb8b..8238c70f 100644 --- a/minecode/tests/testfiles/cpan/expected_json_readmefile_cpanmapper.json +++ b/minecode/tests/testfiles/cpan/expected_json_readmefile_cpanmapper.json @@ -30,8 +30,14 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":null, + "holder":null, + "declared_license_expression":null, + "declared_license_expression_spdx":null, + "license_detections":[], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":null, "notice_text":null, "source_packages":[], "file_references":[], diff --git a/minecode/tests/testfiles/cpan/expected_json_readmefile_cpanmapper2.json b/minecode/tests/testfiles/cpan/expected_json_readmefile_cpanmapper2.json index c54aaf23..b66c4dbf 100644 --- a/minecode/tests/testfiles/cpan/expected_json_readmefile_cpanmapper2.json +++ b/minecode/tests/testfiles/cpan/expected_json_readmefile_cpanmapper2.json @@ -22,8 +22,14 @@ "code_view_url":null, "vcs_url":"git+git://github.com/Abigail/test--regexp.git", "copyright":null, - "license_expression":null, - "declared_license":null, + "holder":null, + "declared_license_expression":null, + "declared_license_expression_spdx":null, + "license_detections":[], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":null, "notice_text":null, "source_packages":[], "file_references":[], diff --git a/minecode/tests/testfiles/cpan/expected_release_search.json b/minecode/tests/testfiles/cpan/expected_release_search.json index a702d304..9141fc6a 100644 --- a/minecode/tests/testfiles/cpan/expected_release_search.json +++ b/minecode/tests/testfiles/cpan/expected_release_search.json @@ -30,8 +30,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/App-MPDJ.git", "copyright":null, - "license_expression":null, - "declared_license":"bsd", + "holder":null, + "declared_license_expression":"bsd-new", + "declared_license_expression_spdx":"BSD-3-Clause", + "license_detections":[ + { + "license_expression":"bsd-new", + "matches":[ + { + "score":99.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"1-hash", + "license_expression":"bsd-new", + "rule_identifier":"bsd-new_89.RULE", + "rule_relevance":99, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_89.RULE", + "matched_text":"license bsd" + } + ], + "identifier":"bsd_new-261898a0-0118-87c4-7092-14e4ff134882" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['bsd']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -74,8 +100,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"perl_5\nhttp://dev.perl.org/licenses/", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5', 'http://dev.perl.org/licenses/']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -118,8 +170,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/App-MPDJ.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -162,8 +240,34 @@ "code_view_url":null, "vcs_url":"git+git://github.com/bentglasstube/Net-Snarl.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -206,8 +310,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/App-MPDJ.git", "copyright":null, - "license_expression":null, - "declared_license":"bsd", + "holder":null, + "declared_license_expression":"bsd-new", + "declared_license_expression_spdx":"BSD-3-Clause", + "license_detections":[ + { + "license_expression":"bsd-new", + "matches":[ + { + "score":99.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"1-hash", + "license_expression":"bsd-new", + "rule_identifier":"bsd-new_89.RULE", + "rule_relevance":99, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_89.RULE", + "matched_text":"license bsd" + } + ], + "identifier":"bsd_new-261898a0-0118-87c4-7092-14e4ff134882" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['bsd']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -250,8 +380,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/WWW-Jawbone-Up.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -294,8 +450,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/Net-MPD.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -338,8 +520,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/App-MPDJ.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -382,8 +590,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/Dancer-Plugin-IRCNotice.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -426,8 +660,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/Net-MPD.git", "copyright":null, - "license_expression":null, - "declared_license":"bsd", + "holder":null, + "declared_license_expression":"bsd-new", + "declared_license_expression_spdx":"BSD-3-Clause", + "license_detections":[ + { + "license_expression":"bsd-new", + "matches":[ + { + "score":99.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"1-hash", + "license_expression":"bsd-new", + "rule_identifier":"bsd-new_89.RULE", + "rule_relevance":99, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_89.RULE", + "matched_text":"license bsd" + } + ], + "identifier":"bsd_new-261898a0-0118-87c4-7092-14e4ff134882" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['bsd']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -470,8 +730,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/app-sybil.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -514,8 +800,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -558,8 +870,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"unknown", + "holder":null, + "declared_license_expression":"unknown", + "declared_license_expression_spdx":"LicenseRef-scancode-unknown", + "license_detections":[ + { + "license_expression":"unknown", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"5-undetected", + "license_expression":"unknown", + "rule_identifier":"package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "rule_relevance":100, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "matched_text":"license ['unknown']" + } + ], + "identifier":"unknown-0f1c7520-0a5e-131e-1fef-fe7e47e9d1b9" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['unknown']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -602,8 +940,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"perl_5\nhttp://dev.perl.org/licenses/", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5', 'http://dev.perl.org/licenses/']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -646,8 +1010,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/Dancer-Plugin-IRCNotice.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -690,8 +1080,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/App-MPDJ.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -734,8 +1150,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/WWW-Jawbone-Up.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -778,8 +1220,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -822,8 +1290,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -866,8 +1360,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/Dancer-Plugin-IRCNotice.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -910,8 +1430,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/WWW-Jawbone-Up.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -954,8 +1500,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/Net-MPD.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -998,8 +1570,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/WWW-Jawbone-Up.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1042,8 +1640,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/Dancer-Plugin-IRCNotice.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1086,8 +1710,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/App-MPDJ.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1130,8 +1780,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/WWW-Jawbone-Up.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1174,8 +1850,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1218,8 +1920,34 @@ "code_view_url":null, "vcs_url":"git+git://github.com/bentglasstube/Net-Snarl.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1262,8 +1990,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/App-MPDJ.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1306,8 +2060,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/App-MPDJ.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1350,8 +2130,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/Net-MPD.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1394,8 +2200,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1438,8 +2270,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"perl_5\nhttp://dev.perl.org/licenses/", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5', 'http://dev.perl.org/licenses/']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1482,8 +2340,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/perl-app-sybil.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1526,8 +2410,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/Net-Snarl.git", "copyright":null, - "license_expression":null, - "declared_license":"bsd", + "holder":null, + "declared_license_expression":"bsd-new", + "declared_license_expression_spdx":"BSD-3-Clause", + "license_detections":[ + { + "license_expression":"bsd-new", + "matches":[ + { + "score":99.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"1-hash", + "license_expression":"bsd-new", + "rule_identifier":"bsd-new_89.RULE", + "rule_relevance":99, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_89.RULE", + "matched_text":"license bsd" + } + ], + "identifier":"bsd_new-261898a0-0118-87c4-7092-14e4ff134882" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['bsd']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1570,8 +2480,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/Net-Snarl.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1614,8 +2550,34 @@ "code_view_url":null, "vcs_url":"git+git://github.com/bentglasstube/Net-Snarl.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1658,8 +2620,34 @@ "code_view_url":null, "vcs_url":"git+git://github.com/bentglasstube/Net-Snarl.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1702,8 +2690,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/Dancer-Plugin-IRCNotice.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1746,8 +2760,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/App-MPDJ.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1790,8 +2830,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/App-MPDJ.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1834,8 +2900,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/Net-MPD.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1878,8 +2970,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/Net-MPD.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1922,8 +3040,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1966,8 +3110,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -2010,8 +3180,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"perl_5\nhttp://dev.perl.org/licenses/", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5', 'http://dev.perl.org/licenses/']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -2054,8 +3250,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/perl-app-sybil.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -2098,8 +3320,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/perl-app-sybil.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -2142,8 +3390,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"perl_5\nhttp://dev.perl.org/licenses/", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5', 'http://dev.perl.org/licenses/']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -2186,8 +3460,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"perl_5\nhttp://dev.perl.org/licenses/", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5', 'http://dev.perl.org/licenses/']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -2230,8 +3530,34 @@ "code_view_url":null, "vcs_url":"git+git://github.com/bentglasstube/Net-Snarl.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -2274,8 +3600,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/Net-MPD.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -2318,8 +3670,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/App-MPDSync.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -2362,8 +3740,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/bentglasstube/perl-app-sybil.git", "copyright":null, - "license_expression":null, - "declared_license":"bsd", + "holder":null, + "declared_license_expression":"bsd-new", + "declared_license_expression_spdx":"BSD-3-Clause", + "license_detections":[ + { + "license_expression":"bsd-new", + "matches":[ + { + "score":99.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"1-hash", + "license_expression":"bsd-new", + "rule_identifier":"bsd-new_89.RULE", + "rule_relevance":99, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_89.RULE", + "matched_text":"license bsd" + } + ], + "identifier":"bsd_new-261898a0-0118-87c4-7092-14e4ff134882" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['bsd']", "notice_text":null, "source_packages":[], "extra_data":{}, diff --git a/minecode/tests/testfiles/cpan/expected_release_search_author_MIYAGAWA.json b/minecode/tests/testfiles/cpan/expected_release_search_author_MIYAGAWA.json index 24389c3e..43c9375a 100644 --- a/minecode/tests/testfiles/cpan/expected_release_search_author_MIYAGAWA.json +++ b/minecode/tests/testfiles/cpan/expected_release_search_author_MIYAGAWA.json @@ -30,8 +30,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/plack/Plack.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -74,8 +100,34 @@ "code_view_url":null, "vcs_url":"git+git://github.com/plack/Plack.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5\nhttp://dev.perl.org/licenses/", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5', 'http://dev.perl.org/licenses/']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -118,8 +170,34 @@ "code_view_url":null, "vcs_url":"git+git://github.com/plack/Plack.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5\nhttp://dev.perl.org/licenses/", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5', 'http://dev.perl.org/licenses/']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -162,8 +240,34 @@ "code_view_url":null, "vcs_url":"git+git://github.com/plack/Plack.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5\nhttp://dev.perl.org/licenses/", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5', 'http://dev.perl.org/licenses/']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -206,8 +310,34 @@ "code_view_url":null, "vcs_url":"git+git://github.com/plack/Plack.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5\nhttp://dev.perl.org/licenses/", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5', 'http://dev.perl.org/licenses/']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -250,8 +380,34 @@ "code_view_url":null, "vcs_url":"git+git://github.com/plack/Plack.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5\nhttp://dev.perl.org/licenses/", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5', 'http://dev.perl.org/licenses/']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -294,8 +450,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/plack/Plack.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -338,8 +520,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/plack/Plack.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -382,8 +590,34 @@ "code_view_url":null, "vcs_url":"git+git://github.com/plack/Plack.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5\nhttp://dev.perl.org/licenses/", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5', 'http://dev.perl.org/licenses/']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -426,8 +660,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/plack/Plack.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -470,8 +730,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/plack/Plack.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -514,8 +800,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/plack/Plack.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -558,8 +870,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"unknown", + "holder":null, + "declared_license_expression":"unknown", + "declared_license_expression_spdx":"LicenseRef-scancode-unknown", + "license_detections":[ + { + "license_expression":"unknown", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"5-undetected", + "license_expression":"unknown", + "rule_identifier":"package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "rule_relevance":100, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "matched_text":"license ['unknown']" + } + ], + "identifier":"unknown-0f1c7520-0a5e-131e-1fef-fe7e47e9d1b9" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['unknown']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -602,8 +940,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -646,8 +1010,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/plack/Plack.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -690,8 +1080,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/miyagawa/Carmel.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -734,8 +1150,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/plack/Plack.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -778,8 +1220,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/miyagawa/Filesys-Notify-Simple.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -822,8 +1290,34 @@ "code_view_url":null, "vcs_url":"git+git://github.com/miyagawa/carton.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5\nhttp://dev.perl.org/licenses/", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5', 'http://dev.perl.org/licenses/']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -866,8 +1360,34 @@ "code_view_url":null, "vcs_url":"git+git://github.com/miyagawa/carton.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5\nhttp://dev.perl.org/licenses/", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5', 'http://dev.perl.org/licenses/']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -910,8 +1430,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/miyagawa/carton.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -954,8 +1500,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/miyagawa/carton.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -998,8 +1570,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/miyagawa/carton.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1042,8 +1640,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/miyagawa/carton.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1086,8 +1710,34 @@ "code_view_url":null, "vcs_url":"git+https://github.com/miyagawa/carton.git", "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1130,8 +1780,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"unknown", + "holder":null, + "declared_license_expression":"unknown", + "declared_license_expression_spdx":"LicenseRef-scancode-unknown", + "license_detections":[ + { + "license_expression":"unknown", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"5-undetected", + "license_expression":"unknown", + "rule_identifier":"package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "rule_relevance":100, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "matched_text":"license ['unknown']" + } + ], + "identifier":"unknown-0f1c7520-0a5e-131e-1fef-fe7e47e9d1b9" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['unknown']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1174,8 +1850,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"unknown", + "holder":null, + "declared_license_expression":"unknown", + "declared_license_expression_spdx":"LicenseRef-scancode-unknown", + "license_detections":[ + { + "license_expression":"unknown", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"5-undetected", + "license_expression":"unknown", + "rule_identifier":"package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "rule_relevance":100, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "matched_text":"license ['unknown']" + } + ], + "identifier":"unknown-0f1c7520-0a5e-131e-1fef-fe7e47e9d1b9" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['unknown']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1218,8 +1920,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"unknown", + "holder":null, + "declared_license_expression":"unknown", + "declared_license_expression_spdx":"LicenseRef-scancode-unknown", + "license_detections":[ + { + "license_expression":"unknown", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"5-undetected", + "license_expression":"unknown", + "rule_identifier":"package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "rule_relevance":100, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "matched_text":"license ['unknown']" + } + ], + "identifier":"unknown-0f1c7520-0a5e-131e-1fef-fe7e47e9d1b9" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['unknown']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1262,8 +1990,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"unknown", + "holder":null, + "declared_license_expression":"unknown", + "declared_license_expression_spdx":"LicenseRef-scancode-unknown", + "license_detections":[ + { + "license_expression":"unknown", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"5-undetected", + "license_expression":"unknown", + "rule_identifier":"package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "rule_relevance":100, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "matched_text":"license ['unknown']" + } + ], + "identifier":"unknown-0f1c7520-0a5e-131e-1fef-fe7e47e9d1b9" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['unknown']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1306,8 +2060,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"perl_5", + "holder":null, + "declared_license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "declared_license_expression_spdx":"Artistic-1.0-Perl OR GPL-1.0-or-later", + "license_detections":[ + { + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "matches":[ + { + "score":90.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"2-aho", + "license_expression":"artistic-perl-1.0 OR gpl-1.0-plus", + "rule_identifier":"artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "rule_relevance":90, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_20.RULE", + "matched_text":"license perl_5" + } + ], + "identifier":"artistic_perl_1_0_or_gpl_1_0_plus-b7d78126-e96a-22f3-84c1-f0a76641cd37" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['perl_5']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1350,8 +2130,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"unknown", + "holder":null, + "declared_license_expression":"unknown", + "declared_license_expression_spdx":"LicenseRef-scancode-unknown", + "license_detections":[ + { + "license_expression":"unknown", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"5-undetected", + "license_expression":"unknown", + "rule_identifier":"package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "rule_relevance":100, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "matched_text":"license ['unknown']" + } + ], + "identifier":"unknown-0f1c7520-0a5e-131e-1fef-fe7e47e9d1b9" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['unknown']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1394,8 +2200,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"unknown", + "holder":null, + "declared_license_expression":"unknown", + "declared_license_expression_spdx":"LicenseRef-scancode-unknown", + "license_detections":[ + { + "license_expression":"unknown", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"5-undetected", + "license_expression":"unknown", + "rule_identifier":"package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "rule_relevance":100, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "matched_text":"license ['unknown']" + } + ], + "identifier":"unknown-0f1c7520-0a5e-131e-1fef-fe7e47e9d1b9" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['unknown']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1438,8 +2270,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"unknown", + "holder":null, + "declared_license_expression":"unknown", + "declared_license_expression_spdx":"LicenseRef-scancode-unknown", + "license_detections":[ + { + "license_expression":"unknown", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"5-undetected", + "license_expression":"unknown", + "rule_identifier":"package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "rule_relevance":100, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "matched_text":"license ['unknown']" + } + ], + "identifier":"unknown-0f1c7520-0a5e-131e-1fef-fe7e47e9d1b9" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['unknown']", "notice_text":null, "source_packages":[], "extra_data":{}, @@ -1482,8 +2340,34 @@ "code_view_url":null, "vcs_url":null, "copyright":null, - "license_expression":null, - "declared_license":"unknown", + "holder":null, + "declared_license_expression":"unknown", + "declared_license_expression_spdx":"LicenseRef-scancode-unknown", + "license_detections":[ + { + "license_expression":"unknown", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":2, + "match_coverage":100.0, + "matcher":"5-undetected", + "license_expression":"unknown", + "rule_identifier":"package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "rule_relevance":100, + "rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/package-manifest-unknown-e24d5c1263c85e5f0b13888491e2d647fab9c05a", + "matched_text":"license ['unknown']" + } + ], + "identifier":"unknown-0f1c7520-0a5e-131e-1fef-fe7e47e9d1b9" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['unknown']", "notice_text":null, "source_packages":[], "extra_data":{}, diff --git a/minecode/tests/testfiles/cpan/expected_yaml_cpanmapper.json b/minecode/tests/testfiles/cpan/expected_yaml_cpanmapper.json index 1ebe5049..996a3778 100644 --- a/minecode/tests/testfiles/cpan/expected_yaml_cpanmapper.json +++ b/minecode/tests/testfiles/cpan/expected_yaml_cpanmapper.json @@ -30,8 +30,34 @@ "code_view_url":null, "vcs_url":"git+git://github.com/Abigail/variable.git", "copyright":null, - "license_expression":null, - "declared_license":"mit", + "holder":null, + "declared_license_expression":"mit", + "declared_license_expression_spdx":"MIT", + "license_detections":[ + { + "license_expression":"mit", + "matches":[ + { + "score":100.0, + "start_line":1, + "end_line":1, + "matched_length":1, + "match_coverage":100.0, + "matcher":"1-spdx-id", + "license_expression":"mit", + "rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff", + "rule_relevance":100, + "rule_url":null, + "matched_text":"mit" + } + ], + "identifier":"mit-704ced38-ea60-e53b-6c20-390fe781b1c3" + } + ], + "other_license_expression":null, + "other_license_expression_spdx":null, + "other_license_detections":[], + "extracted_license_statement":"['mit']", "notice_text":null, "source_packages":[], "file_references":[],