From 7bed64d12fa124bfc33cfed1654d3b211e4ddabe Mon Sep 17 00:00:00 2001 From: Jono Yang Date: Tue, 6 Aug 2024 13:13:32 -0700 Subject: [PATCH] Update package type for cpan and php #518 Signed-off-by: Jono Yang --- minecode/mappers/cpan.py | 2 +- minecode/mappers/packagist.py | 2 +- .../cpan/expected_json_cpanmapper.json | 4 +- .../cpan/expected_release_search.json | 216 +++++++++++++----- ...pected_release_search_author_MIYAGAWA.json | 136 ++++++++--- .../cpan/expected_yaml_cpanmapper.json | 4 +- ...aglist_00f100_cakephp-opauth_expected.json | 8 +- 7 files changed, 278 insertions(+), 94 deletions(-) diff --git a/minecode/mappers/cpan.py b/minecode/mappers/cpan.py index e8c5e620..1f57231f 100644 --- a/minecode/mappers/cpan.py +++ b/minecode/mappers/cpan.py @@ -178,7 +178,7 @@ def build_packages_from_metafile(metadata, uri=None, purl=None): # https://spdx.org/spdx-specification-21-web-version#h.49x2ik5 vcs_repo = vcs_tool + '+' + vcs_repo common_data = dict( - datasource_id="cpan_metadata_json", + datasource_id="cpan_meta_json", type='cpan', name=name, description=content.get('abstract', name), diff --git a/minecode/mappers/packagist.py b/minecode/mappers/packagist.py index 3c474c42..fe70fe7d 100644 --- a/minecode/mappers/packagist.py +++ b/minecode/mappers/packagist.py @@ -42,7 +42,7 @@ def build_packages_with_json(metadata, purl=None, uri=None): primary_language = package.get('language') for version_content in package.get('versions').values(): common = dict( - datasource_id='composer_json', + datasource_id='php_composer_json', type='composer', name=version_content.get('name'), description=version_content.get('description'), diff --git a/minecode/tests/testfiles/cpan/expected_json_cpanmapper.json b/minecode/tests/testfiles/cpan/expected_json_cpanmapper.json index 7f09c92e..97adc650 100644 --- a/minecode/tests/testfiles/cpan/expected_json_cpanmapper.json +++ b/minecode/tests/testfiles/cpan/expected_json_cpanmapper.json @@ -67,12 +67,14 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[], "repository_homepage_url":null, "repository_download_url":null, "api_data_url":null, - "datasource_id":"cpan_metadata_json", + "datasource_id":"cpan_meta_json", "purl":"pkg:cpan/Regexp-Common@2016010701" } ] \ No newline at end of file diff --git a/minecode/tests/testfiles/cpan/expected_release_search.json b/minecode/tests/testfiles/cpan/expected_release_search.json index bbec0cd3..099f5628 100644 --- a/minecode/tests/testfiles/cpan/expected_release_search.json +++ b/minecode/tests/testfiles/cpan/expected_release_search.json @@ -63,6 +63,8 @@ "extracted_license_statement":"- bsd\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -72,7 +74,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/App-MPDJ-1.00@1.00" }, @@ -140,6 +142,8 @@ "extracted_license_statement":"- perl_5\n- http://dev.perl.org/licenses/\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -149,7 +153,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Win32-Snarl-0.03@0.03" }, @@ -217,6 +221,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -226,7 +232,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/App-MPDJ-1.03@1.03" }, @@ -294,6 +300,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -303,7 +311,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-Snarl-1.09@1.09" }, @@ -371,6 +379,8 @@ "extracted_license_statement":"- bsd\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -380,7 +390,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/App-MPDJ-1.01@1.01" }, @@ -448,6 +458,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -457,7 +469,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/WWW-Jawbone-Up-1.32.1@1.32.1" }, @@ -525,6 +537,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -534,7 +548,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-MPD-0.02@0.02" }, @@ -602,6 +616,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -611,7 +627,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/App-MPDJ-1.07@1.07" }, @@ -679,6 +695,8 @@ "extracted_license_statement":"- mit\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -688,7 +706,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Dancer-Plugin-IRCNotice-0.03@0.03" }, @@ -756,6 +774,8 @@ "extracted_license_statement":"- bsd\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -765,7 +785,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-MPD-0.06@0.06" }, @@ -833,6 +853,8 @@ "extracted_license_statement":"- mit\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -842,7 +864,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/App-Sybil-0.1@0.1" }, @@ -910,6 +932,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -919,7 +943,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-Snarl-0.02@0.02" }, @@ -987,6 +1011,8 @@ "extracted_license_statement":"- unknown\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -996,7 +1022,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-Snarl-0.01@0.01" }, @@ -1064,6 +1090,8 @@ "extracted_license_statement":"- perl_5\n- http://dev.perl.org/licenses/\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1073,7 +1101,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Win32-Snarl-withoutworldwriteables@0.04" }, @@ -1141,6 +1169,8 @@ "extracted_license_statement":"- mit\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1150,7 +1180,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Dancer-Plugin-IRCNotice-0.06@0.06" }, @@ -1218,6 +1248,8 @@ "extracted_license_statement":"- mit\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1227,7 +1259,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/App-MPDJ-1.09@1.09" }, @@ -1295,6 +1327,8 @@ "extracted_license_statement":"- mit\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1304,7 +1338,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/WWW-Jawbone-Up-1.32.4@1.32.4" }, @@ -1372,6 +1406,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1381,7 +1417,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-Snarl-0.04@0.04" }, @@ -1449,6 +1485,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1458,7 +1496,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/App-MPDSync-0.01@0.01" }, @@ -1526,6 +1564,8 @@ "extracted_license_statement":"- mit\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1535,7 +1575,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Dancer-Plugin-IRCNotice-0.05@0.05" }, @@ -1603,6 +1643,8 @@ "extracted_license_statement":"- mit\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1612,7 +1654,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/WWW-Jawbone-Up-1.32.2@1.32.2" }, @@ -1680,6 +1722,8 @@ "extracted_license_statement":"- mit\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1689,7 +1733,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-MPD-0.05@0.05" }, @@ -1757,6 +1801,8 @@ "extracted_license_statement":"- mit\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1766,7 +1812,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/WWW-Jawbone-Up-1.32.3@1.32.3" }, @@ -1834,6 +1880,8 @@ "extracted_license_statement":"- mit\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1843,7 +1891,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Dancer-Plugin-IRCNotice-0.04@0.04" }, @@ -1911,6 +1959,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1920,7 +1970,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/App-MPDJ-1.02@1.02" }, @@ -1988,6 +2038,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1997,7 +2049,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/WWW-Jawbone-Up-1.32.0@1.32.0" }, @@ -2065,6 +2117,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2074,7 +2128,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Dancer-Plugin-IRCNotice-0.01@0.01" }, @@ -2142,6 +2196,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2151,7 +2207,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-Snarl-1.08@1.08" }, @@ -2219,6 +2275,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2228,7 +2286,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/App-MPDJ-1.05@1.05" }, @@ -2296,6 +2354,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2305,7 +2365,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/App-MPDJ-1.08@1.08" }, @@ -2373,6 +2433,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2382,7 +2444,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-MPD-0.04@0.04" }, @@ -2450,6 +2512,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2459,7 +2523,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-Snarl-0.05@0.05" }, @@ -2527,6 +2591,8 @@ "extracted_license_statement":"- perl_5\n- http://dev.perl.org/licenses/\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2536,7 +2602,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/win32-snarl-1.01@0.04" }, @@ -2604,6 +2670,8 @@ "extracted_license_statement":"- mit\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2613,7 +2681,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/App-Sybil-0.4@0.4" }, @@ -2681,6 +2749,8 @@ "extracted_license_statement":"- bsd\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2690,7 +2760,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-Snarl-1.10@1.10" }, @@ -2758,6 +2828,8 @@ "extracted_license_statement":"- mit\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2767,7 +2839,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-Snarl-1.1@1.1" }, @@ -2835,6 +2907,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2844,7 +2918,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-Snarl-1.07@1.07" }, @@ -2912,6 +2986,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2921,7 +2997,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-Snarl-1.06@1.06" }, @@ -2989,6 +3065,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2998,7 +3076,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Dancer-Plugin-IRCNotice-0.02@0.02" }, @@ -3066,6 +3144,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -3075,7 +3155,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/App-MPDJ-1.04@1.04" }, @@ -3143,6 +3223,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -3152,7 +3234,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/App-MPDJ-1.06@1.06" }, @@ -3220,6 +3302,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -3229,7 +3313,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-MPD-0.01@0.01" }, @@ -3297,6 +3381,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -3306,7 +3392,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-MPD-0.03@0.03" }, @@ -3374,6 +3460,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -3383,7 +3471,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-Snarl-0.03@0.03" }, @@ -3451,6 +3539,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -3460,7 +3550,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-Snarl-0.02-withoutworldwriteables@0.02" }, @@ -3528,6 +3618,8 @@ "extracted_license_statement":"- perl_5\n- http://dev.perl.org/licenses/\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -3537,7 +3629,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Win32-Snarl-1.00@0.04" }, @@ -3605,6 +3697,8 @@ "extracted_license_statement":"- mit\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -3614,7 +3708,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/App-Sybil-0.2@0.2" }, @@ -3682,6 +3776,8 @@ "extracted_license_statement":"- mit\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -3691,7 +3787,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/App-Sybil-0.3@0.3" }, @@ -3759,6 +3855,8 @@ "extracted_license_statement":"- perl_5\n- http://dev.perl.org/licenses/\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -3768,7 +3866,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Win32-Snarl-0.01@0.01" }, @@ -3836,6 +3934,8 @@ "extracted_license_statement":"- perl_5\n- http://dev.perl.org/licenses/\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -3845,7 +3945,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Win32-Snarl-0.02@0.02" }, @@ -3913,6 +4013,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -3922,7 +4024,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-Snarl-1.09-TRIAL@1.09" }, @@ -3990,6 +4092,8 @@ "extracted_license_statement":"- mit\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -3999,7 +4103,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-MPD-0.07@0.07" }, @@ -4067,6 +4171,8 @@ "extracted_license_statement":"- mit\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -4076,7 +4182,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/App-MPDSync-0.02@0.02" }, @@ -4144,6 +4250,8 @@ "extracted_license_statement":"- bsd\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -4153,7 +4261,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:ABERNDT&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/App-Sybil-0.5@0.5" } 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 aede200e..cc15ea37 100644 --- a/minecode/tests/testfiles/cpan/expected_release_search_author_MIYAGAWA.json +++ b/minecode/tests/testfiles/cpan/expected_release_search_author_MIYAGAWA.json @@ -63,6 +63,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -72,7 +74,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Plack-1.0037@1.0037" }, @@ -140,6 +142,8 @@ "extracted_license_statement":"- perl_5\n- http://dev.perl.org/licenses/\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -149,7 +153,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Plack-1.0005@1.0005" }, @@ -217,6 +221,8 @@ "extracted_license_statement":"- perl_5\n- http://dev.perl.org/licenses/\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -226,7 +232,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Plack-1.0009@1.0009" }, @@ -294,6 +300,8 @@ "extracted_license_statement":"- perl_5\n- http://dev.perl.org/licenses/\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -303,7 +311,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Plack-1.0001@1.0001" }, @@ -371,6 +379,8 @@ "extracted_license_statement":"- perl_5\n- http://dev.perl.org/licenses/\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -380,7 +390,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Plack-1.0002@1.0002" }, @@ -448,6 +458,8 @@ "extracted_license_statement":"- perl_5\n- http://dev.perl.org/licenses/\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -457,7 +469,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Plack-1.0014@1.0014" }, @@ -525,6 +537,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -534,7 +548,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Plack-1.0027@1.0027" }, @@ -602,6 +616,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -611,7 +627,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Plack-1.0028@1.0028" }, @@ -679,6 +695,8 @@ "extracted_license_statement":"- perl_5\n- http://dev.perl.org/licenses/\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -688,7 +706,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Plack-1.0018@1.0018" }, @@ -756,6 +774,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -765,7 +785,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Plack-1.0020@1.0020" }, @@ -833,6 +853,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -842,7 +864,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Plack-1.0022@1.0022" }, @@ -910,6 +932,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -919,7 +943,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Plack-1.0021@1.0021" }, @@ -987,6 +1011,8 @@ "extracted_license_statement":"- unknown\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -996,7 +1022,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Bundle-Sledge-0.04@0.04" }, @@ -1064,6 +1090,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1073,7 +1101,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Video-Subtitle-SRT-0.01@0.01" }, @@ -1141,6 +1169,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1150,7 +1180,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Plack-1.0032@1.0032" }, @@ -1218,6 +1248,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1227,7 +1259,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Carmel-v0.1.34@v0.1.34" }, @@ -1295,6 +1327,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1304,7 +1338,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Plack-1.0046@1.0046" }, @@ -1372,6 +1406,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1381,7 +1417,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Filesys-Notify-Simple-0.12@0.12" }, @@ -1449,6 +1485,8 @@ "extracted_license_statement":"- perl_5\n- http://dev.perl.org/licenses/\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1458,7 +1496,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/carton-v0.9.10@v0.9.10" }, @@ -1526,6 +1564,8 @@ "extracted_license_statement":"- perl_5\n- http://dev.perl.org/licenses/\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1535,7 +1575,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/carton-v0.9_8@v0.9_8" }, @@ -1603,6 +1643,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1612,7 +1654,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/carton-v0.9.50-TRIAL@v0.9.50" }, @@ -1680,6 +1722,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1689,7 +1733,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/carton-v0.9.57-TRIAL@v0.9.57" }, @@ -1757,6 +1801,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1766,7 +1812,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/carton-v0.9.59-TRIAL@v0.9.59" }, @@ -1834,6 +1880,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1843,7 +1891,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/carton-v0.9.61-TRIAL@v0.9.61" }, @@ -1911,6 +1959,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1920,7 +1970,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/carton-v0.9.67-TRIAL@v0.9.67" }, @@ -1988,6 +2038,8 @@ "extracted_license_statement":"- unknown\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -1997,7 +2049,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/WebService-Google-Suggest-0.02@0.02" }, @@ -2065,6 +2117,8 @@ "extracted_license_statement":"- unknown\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2074,7 +2128,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/HTTP-MobileAgent-0.16@0.16" }, @@ -2142,6 +2196,8 @@ "extracted_license_statement":"- unknown\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2151,7 +2207,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Email-Find-0.09@0.09" }, @@ -2219,6 +2275,8 @@ "extracted_license_statement":"- unknown\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2228,7 +2286,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/POE-Component-YahooMessenger-0.04@0.04" }, @@ -2296,6 +2354,8 @@ "extracted_license_statement":"- perl_5\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2305,7 +2365,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Kwiki-Emoticon-0.01@0.01" }, @@ -2373,6 +2433,8 @@ "extracted_license_statement":"- unknown\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2382,7 +2444,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Net-IPAddr-Find-0.01@0.01" }, @@ -2450,6 +2512,8 @@ "extracted_license_statement":"- unknown\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2459,7 +2523,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Email-Valid-Loose-0.03@0.03" }, @@ -2527,6 +2591,8 @@ "extracted_license_statement":"- unknown\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2536,7 +2602,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Kwiki-TypeKey-0.07@0.07" }, @@ -2604,6 +2670,8 @@ "extracted_license_statement":"- unknown\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, @@ -2613,7 +2681,7 @@ "https://fastapi.metacpan.org/release/_search?q=author:MIYAGAWA&size=5000" ], "datasource_ids":[ - "cpan_release_json" + "cpan_meta_json" ], "purl":"pkg:cpan/Text-Emoticon-Yahoo-0.01@0.01" } diff --git a/minecode/tests/testfiles/cpan/expected_yaml_cpanmapper.json b/minecode/tests/testfiles/cpan/expected_yaml_cpanmapper.json index b87b9ba6..4eb7c0ef 100644 --- a/minecode/tests/testfiles/cpan/expected_yaml_cpanmapper.json +++ b/minecode/tests/testfiles/cpan/expected_yaml_cpanmapper.json @@ -64,12 +64,14 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[], "repository_homepage_url":null, "repository_download_url":null, "api_data_url":null, - "datasource_id":"cpan_metadata_json", + "datasource_id":"cpan_meta_json", "purl":"pkg:cpan/variable@2009110702" } ] \ No newline at end of file diff --git a/minecode/tests/testfiles/packagist/packaglist_00f100_cakephp-opauth_expected.json b/minecode/tests/testfiles/packagist/packaglist_00f100_cakephp-opauth_expected.json index 7311f8ff..1c2ce312 100644 --- a/minecode/tests/testfiles/packagist/packaglist_00f100_cakephp-opauth_expected.json +++ b/minecode/tests/testfiles/packagist/packaglist_00f100_cakephp-opauth_expected.json @@ -76,14 +76,18 @@ "extracted_license_statement":"- MIT\n", "notice_text":null, "source_packages":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "repository_homepage_url":null, "repository_download_url":null, "api_data_url":null, "package_uid":"pkg:composer/00f100/cakephp-opauth@dev-master?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths":[], + "datafile_paths":[ + null + ], "datasource_ids":[ - "composer_json" + "php_composer_json" ], "purl":"pkg:composer/00f100/cakephp-opauth@dev-master" }