diff --git a/src/packagedcode/__init__.py b/src/packagedcode/__init__.py index 562c9d6f2c2..7df5ebc025d 100644 --- a/src/packagedcode/__init__.py +++ b/src/packagedcode/__init__.py @@ -169,7 +169,7 @@ pypi.PipfileLockHandler, pypi.PipRequirementsFileHandler, pypi.PypiEggHandler, - pypi.PypiSdistArchiveHandler, + # pypi.PypiSdistArchiveHandler, pypi.PypiWheelHandler, pypi.PyprojectTomlHandler, pypi.PythonEditableInstallationPkgInfoFile, diff --git a/src/packagedcode/npm.py b/src/packagedcode/npm.py index badbf36cd4e..fee75fd2dcb 100644 --- a/src/packagedcode/npm.py +++ b/src/packagedcode/npm.py @@ -56,17 +56,17 @@ def assemble(cls, package_data, resource, codebase): If there is no package.json, we do not have a package instance. In this case, we yield each of the dependencies in each lock file. """ - datafile_name_patterns = ( + lockfile_names = { 'package-lock.json', '.package-lock.json', 'npm-shrinkwrap.json', 'yarn.lock', - ) + } package_resource = None if resource.name == 'package.json': package_resource = resource - elif resource.name in datafile_name_patterns: + elif resource.name in lockfile_names: if resource.has_parent(): siblings = resource.siblings(codebase) package_resource = [r for r in siblings if r.name == 'package.json'] @@ -74,10 +74,14 @@ def assemble(cls, package_data, resource, codebase): package_resource = package_resource[0] if package_resource: + assert len(package_resource.package_data) == 1, f'Invalid package.json for {package_resource.path}' + pkg_data = package_resource.package_data[0] + pkg_data = models.PackageData.from_dict(pkg_data) + # do we have enough to create a package? - if package_data.purl: + if pkg_data.purl: package = models.Package.from_package_data( - package_data=package_data, + package_data=pkg_data, datafile_path=package_resource.path, ) package_uid = package.package_uid @@ -85,7 +89,7 @@ def assemble(cls, package_data, resource, codebase): if not package.license_expression: package.license_expression = compute_normalized_license(package.declared_license) - root = resource.parent(codebase) + root = package_resource.parent(codebase) if root: for npm_res in cls.walk_npm(resource=root, codebase=codebase): if package_uid not in npm_res.for_packages: @@ -96,27 +100,28 @@ def assemble(cls, package_data, resource, codebase): if package_uid not in package_resource.for_packages: package_resource.for_packages.append(package_uid) package_resource.save(codebase) - yield package_resource + # Always yield the package resource in all cases + yield package_resource yield package else: # we have no package, so deps are not for a specific package uid package_uid = None # in all cases yield possible dependencies - yield from yield_dependencies_from_package_data(package_data, package_resource.path, package_uid) + yield from yield_dependencies_from_package_data(pkg_data, package_resource.path, package_uid) # we yield this as we do not want this further processed yield package_resource - for sibling in package_resource.siblings(codebase): - if sibling.name in datafile_name_patterns: - yield from yield_dependencies_from_package_resource(sibling, package_uid) + for lock_file in package_resource.siblings(codebase): + if lock_file.name in lockfile_names: + yield from yield_dependencies_from_package_resource(lock_file, package_uid) - if package_uid not in sibling.for_packages: - sibling.for_packages.append(package_uid) - sibling.save(codebase) - yield sibling + if package_uid not in lock_file.for_packages: + lock_file.for_packages.append(package_uid) + lock_file.save(codebase) + yield lock_file else: # we do not have a package.json yield from yield_dependencies_from_package_resource(resource) diff --git a/src/packagedcode/pypi.py b/src/packagedcode/pypi.py index 6cc05acd90d..d3605305933 100644 --- a/src/packagedcode/pypi.py +++ b/src/packagedcode/pypi.py @@ -9,6 +9,7 @@ # import ast +from distutils.core import setup import io import json import logging @@ -132,66 +133,128 @@ class BaseExtractedPythonLayout(BasePypiHandler): def assemble(cls, package_data, resource, codebase): # a source distribution can have many manifests datafile_name_patterns = ( - 'PKG-INFO', - 'setup.py', - 'setup.cfg', 'Pipfile.lock', 'Pipfile', ) + PipRequirementsFileHandler.path_patterns + # TODO: we want PKG-INFO first, then (setup.py, setup.cfg), then pyproject.toml for poetry + # then we have the rest of the lock files (pipfile, pipfile.lock, etc.) + package_resource = None - if resource.name in datafile_name_patterns: + if resource.name == 'PKG-INFO': package_resource = resource - + elif resource.name in datafile_name_patterns: + if resource.has_parent(): + siblings = resource.siblings(codebase) + package_resource = [r for r in siblings if r.name == 'PKG-INFO'] + if package_resource: + package_resource = package_resource[0] + + package = None if package_resource: - # do we have enough to create a package? - if package_data.purl: + pkg_data = package_resource.package_data[0] + pkg_data = models.PackageData.from_dict(pkg_data) + if pkg_data.purl: package = models.Package.from_package_data( - package_data=package_data, + package_data=pkg_data, datafile_path=package_resource.path, ) - package_uid = package.package_uid - - if not package.license_expression: - package.license_expression = compute_normalized_license(package.declared_license) - - root = package_resource.parent(codebase) - if root: - for py_res in root.walk(codebase): - if py_res.is_dir: - continue - if package_uid not in py_res.for_packages: - py_res.for_packages.append(package_uid) - py_res.save(codebase) - yield py_res - elif codebase.has_single_resource: - if package_uid not in package_resource.for_packages: - package_resource.for_packages.append(package_uid) - package_resource.save(codebase) - yield package_resource - yield package - else: - # we have no package, so deps are not for a specific package uid - package_uid = None + package_resource.for_packages.append(package.package_uid) + package_resource.save(codebase) + yield package_resource - # in all cases yield possible dependencies - yield from yield_dependencies_from_package_data(package_data, package_resource.path, package_uid) - yield package_resource + yield from yield_dependencies_from_package_data( + package_data=pkg_data, + datafile_path=package_resource.path, + package_uid=package.package_uid + ) + else: + setup_resources = [] + if resource.has_parent(): + siblings = resource.siblings(codebase) + setup_resources = [r for r in siblings if r.name in ('setup.py', 'setup.cfg')] + setup_package_data = [ + (setup_resource, models.PackageData.from_dict(setup_resource.package_data[0])) + for setup_resource in setup_resources + ] + setup_package_data = sorted(setup_package_data, key=lambda s: bool(s[1].purl), reverse=True) + for setup_resource, setup_pkg_data in setup_package_data: + if setup_pkg_data.purl: + if not package: + package = models.Package.from_package_data( + package_data=setup_pkg_data, + datafile_path=setup_resource.path, + ) + package_resource = setup_resource + else: + package.update(setup_pkg_data, setup_resource.path) + if package: + for setup_resource, setup_pkg_data in setup_package_data: + setup_resource.for_packages.append(package.package_uid) + setup_resource.save(codebase) + yield setup_resource + + yield from yield_dependencies_from_package_data( + package_data=setup_pkg_data, + datafile_path=setup_resource.path, + package_uid=package.package_uid + ) + + if package: + if not package.license_expression: + package.license_expression = compute_normalized_license(package.declared_license) + package_uid = package.package_uid + + root = package_resource.parent(codebase) + if root: + for py_res in cls.walk_pypi(resource=root, codebase=codebase): + if py_res.is_dir: + continue + if package_uid not in py_res.for_packages: + py_res.for_packages.append(package_uid) + py_res.save(codebase) + yield py_res + elif codebase.has_single_resource: + if package_uid not in package_resource.for_packages: + package_resource.for_packages.append(package_uid) + package_resource.save(codebase) - for sibling in package_resource.siblings(codebase): - if sibling.name in datafile_name_patterns: - yield from yield_dependencies_from_package_resource(sibling, package_uid) + yield package - if package_uid not in sibling.for_packages: - sibling.for_packages.append(package_uid) - sibling.save(codebase) - yield sibling else: - yield from yield_dependencies_from_package_resource(resource) + package_uid = None + + for sibling in package_resource.siblings(codebase): + if sibling.name in datafile_name_patterns: + yield from yield_dependencies_from_package_resource( + resource=sibling, + package_uid=package_uid + ) + + if package_uid and package_uid not in sibling.for_packages: + sibling.for_packages.append(package_uid) + sibling.save(codebase) + yield sibling @classmethod - def assign_package_to_resources(cls, package, resource, codebase): - return models.DatafileHandler.assign_package_to_parent_tree(package, resource, codebase) + def walk_pypi(cls, resource, codebase): + """ + Walk the ``codebase`` Codebase top-down, breadth-first starting from the + ``resource`` Resource. + + Skip the directory named "site-packages": this avoids + reporting nested vendored packages as being part of their parent. + Instead they will be reported on their own. + """ + for child in resource.children(codebase): + if child.name == 'site-packages': + continue + + yield child + + if child.is_dir: + for subchild in cls.walk_pypi(child, codebase): + yield subchild class PythonSdistPkgInfoFile(BaseExtractedPythonLayout): @@ -697,31 +760,6 @@ def parse(cls, location): class PipRequirementsFileHandler(BaseDependencyFileHandler): - """ - A pip requirements (or constraints) file. - - Some example:: - >>> PipRequirementsFileHandler.is_datafile('dev-requirements.txt', _bare_filename=True) - True - >>> PipRequirementsFileHandler.is_datafile('requirements.txt', _bare_filename=True) - True - >>> PipRequirementsFileHandler.is_datafile('requirement.txt', _bare_filename=True) - True - >>> PipRequirementsFileHandler.is_datafile('requirements.in', _bare_filename=True) - True - >>> PipRequirementsFileHandler.is_datafile('requirements.pip', _bare_filename=True) - True - >>> PipRequirementsFileHandler.is_datafile('requirements-dev.txt', _bare_filename=True) - True - >>> PipRequirementsFileHandler.is_datafile('some-requirements-dev.txt', _bare_filename=True) - True - >>> PipRequirementsFileHandler.is_datafile('requires.txt', _bare_filename=True) - True - >>> PipRequirementsFileHandler.is_datafile('requirements/base.txt', _bare_filename=True) - True - >>> PipRequirementsFileHandler.is_datafile('reqs.txt', _bare_filename=True) - True - """ datasource_id = 'pip_requirements' path_patterns = ( diff --git a/tests/cluecode/data/copyrights/AliasDotCom_Website.html.yml b/tests/cluecode/data/copyrights/AliasDotCom_Website.html.yml index aec5a9b9319..f0a2ce85a2c 100644 --- a/tests/cluecode/data/copyrights/AliasDotCom_Website.html.yml +++ b/tests/cluecode/data/copyrights/AliasDotCom_Website.html.yml @@ -1,9 +1,7 @@ what: - copyrights - holders - copyrights: - Copyright (c) AliasDotCom Ltd. - holders: - AliasDotCom Ltd. diff --git a/tests/cluecode/data/copyrights/copr.txt.yml b/tests/cluecode/data/copyrights/copr.txt.yml index 104c5442320..0253377c53b 100644 --- a/tests/cluecode/data/copyrights/copr.txt.yml +++ b/tests/cluecode/data/copyrights/copr.txt.yml @@ -3,17 +3,13 @@ what: - holders - copyrights_summary - holders_summary - copyrights: - copr. (c) Foobar Pvt. Ltd. - holders: - Foobar Pvt. Ltd. - -copyrights_summary: - - value: copr. (c) Foobar Pvt. Ltd. - count: 1 - holders_summary: - value: Foobar Pvt. Ltd. count: 1 +copyrights_summary: + - value: copr. (c) Foobar Pvt. Ltd. + count: 1 diff --git a/tests/cluecode/data/copyrights/copyright_in_docstring.py.yml b/tests/cluecode/data/copyrights/copyright_in_docstring.py.yml index 8ae7011edb8..d44abfce395 100644 --- a/tests/cluecode/data/copyrights/copyright_in_docstring.py.yml +++ b/tests/cluecode/data/copyrights/copyright_in_docstring.py.yml @@ -1,9 +1,7 @@ -what: - - copyrights - - holders - -copyrights: - - Copr. (c) 1999 Random Corp. Ltd. - -holders: - - Random Corp. Ltd. \ No newline at end of file +what: + - copyrights + - holders +copyrights: + - Copr. (c) 1999 Random Corp. Ltd. +holders: + - Random Corp. Ltd. diff --git a/tests/cluecode/data/copyrights/copyright_without_icon.txt.yml b/tests/cluecode/data/copyrights/copyright_without_icon.txt.yml index 83bf8978f5a..ea1c0a55193 100644 --- a/tests/cluecode/data/copyrights/copyright_without_icon.txt.yml +++ b/tests/cluecode/data/copyrights/copyright_without_icon.txt.yml @@ -1,19 +1,15 @@ -what: - - copyrights - - holders - - copyrights_summary - - holders_summary - -copyrights: - - Copyright Foobar Pvt. Ltd - -holders: - - Foobar Pvt. Ltd - -copyrights_summary: - - value: Copyright Foobar Pvt. Ltd - count: 1 - -holders_summary: - - value: Foobar Pvt. Ltd - count: 1 +what: + - copyrights + - holders + - copyrights_summary + - holders_summary +copyrights: + - Copyright Foobar Pvt. Ltd +holders: + - Foobar Pvt. Ltd +holders_summary: + - value: Foobar Pvt. Ltd + count: 1 +copyrights_summary: + - value: Copyright Foobar Pvt. Ltd + count: 1 diff --git a/tests/cluecode/data/copyrights/gibberish_holdername.c.yml b/tests/cluecode/data/copyrights/gibberish_holdername.c.yml index 7190db99743..ed048a797c9 100644 --- a/tests/cluecode/data/copyrights/gibberish_holdername.c.yml +++ b/tests/cluecode/data/copyrights/gibberish_holdername.c.yml @@ -1,3 +1,3 @@ -what: - - copyrights - - holders \ No newline at end of file +what: + - copyrights + - holders diff --git a/tests/cluecode/data/copyrights/gibberish_with_real_copyright.txt.yml b/tests/cluecode/data/copyrights/gibberish_with_real_copyright.txt.yml index db1a04dbb54..69b0f8a7fdb 100644 --- a/tests/cluecode/data/copyrights/gibberish_with_real_copyright.txt.yml +++ b/tests/cluecode/data/copyrights/gibberish_with_real_copyright.txt.yml @@ -1,9 +1,7 @@ -what: - - copyrights - - holders - -copyrights: - - Copyright (c) Microsoft - -holders: - - Microsoft \ No newline at end of file +what: + - copyrights + - holders +copyrights: + - Copyright (c) Microsoft +holders: + - Microsoft diff --git a/tests/cluecode/data/copyrights/in_docstring.py.yml b/tests/cluecode/data/copyrights/in_docstring.py.yml index b2f9504a786..c4b8c8350c5 100644 --- a/tests/cluecode/data/copyrights/in_docstring.py.yml +++ b/tests/cluecode/data/copyrights/in_docstring.py.yml @@ -2,9 +2,7 @@ what: - copyrights - holders - authors - copyrights: - (c) 1989-2000 Baz Corporation - holders: - Baz Corporation diff --git a/tests/cluecode/data/copyrights/invalid_copyright_year.py.yml b/tests/cluecode/data/copyrights/invalid_copyright_year.py.yml index dcc72bbcc8b..b6eb823446d 100644 --- a/tests/cluecode/data/copyrights/invalid_copyright_year.py.yml +++ b/tests/cluecode/data/copyrights/invalid_copyright_year.py.yml @@ -2,14 +2,10 @@ what: - copyrights - holders - copyrights_summary - copyrights: - Copyright (c) RandomCompany - holders: - RandomCompany - copyrights_summary: - value: Copyright (c) RandomCompany count: 1 - diff --git a/tests/cluecode/data/copyrights/multiple_copyrights.cpp.yml b/tests/cluecode/data/copyrights/multiple_copyrights.cpp.yml index 7b4ed5437d9..10bc38329e8 100644 --- a/tests/cluecode/data/copyrights/multiple_copyrights.cpp.yml +++ b/tests/cluecode/data/copyrights/multiple_copyrights.cpp.yml @@ -1,20 +1,16 @@ -what: - - copyrights - - holders - -copyrights: - - Copyright (c) Microsoft - - Copyright (c) 2000-2001 Alias Ltd. - - Copyright (c) Microsoft - -holders: - - Microsoft - - Alias Ltd. - - Microsoft - -copyrights_summary: - - value: Copyright (c) Microsoft - count: 2 - - - value: Copyright (c) 2000-2001 Alias Ltd. - count: 1 \ No newline at end of file +what: + - copyrights + - holders +copyrights: + - Copyright (c) Microsoft + - Copyright (c) 2000-2001 Alias Ltd. + - Copyright (c) Microsoft +holders: + - Microsoft + - Alias Ltd. + - Microsoft +copyrights_summary: + - value: Copyright (c) Microsoft + count: 2 + - value: Copyright (c) 2000-2001 Alias Ltd. + count: 1 diff --git a/tests/cluecode/data/copyrights/multiple_copyrights.txt.yml b/tests/cluecode/data/copyrights/multiple_copyrights.txt.yml index 034e745fb41..d7832a9f700 100644 --- a/tests/cluecode/data/copyrights/multiple_copyrights.txt.yml +++ b/tests/cluecode/data/copyrights/multiple_copyrights.txt.yml @@ -2,17 +2,14 @@ what: - copyrights - holders - copyrights_summary - copyrights: - Copyright (c) Microsoft - (c) Adobe 1999 - Copyright (c) Microsoft - holders: - Microsoft - Adobe - Microsoft - copyrights_summary: - value: Copyright (c) Microsoft count: 2 diff --git a/tests/cluecode/data/copyrights/no_punctuation_after_holder_name.txt.yml b/tests/cluecode/data/copyrights/no_punctuation_after_holder_name.txt.yml index 7eb276d922d..3a1a7d7fbcf 100644 --- a/tests/cluecode/data/copyrights/no_punctuation_after_holder_name.txt.yml +++ b/tests/cluecode/data/copyrights/no_punctuation_after_holder_name.txt.yml @@ -1,9 +1,7 @@ -what: - - copyrights - - holders - -copyrights: - - (c) 1990-2005 Microsoft - -holders: - - Microsoft \ No newline at end of file +what: + - copyrights + - holders +copyrights: + - (c) 1990-2005 Microsoft +holders: + - Microsoft diff --git a/tests/cluecode/data/copyrights/unlimited_copr.html.yml b/tests/cluecode/data/copyrights/unlimited_copr.html.yml index 36f9716e9f2..5c4caa288c1 100644 --- a/tests/cluecode/data/copyrights/unlimited_copr.html.yml +++ b/tests/cluecode/data/copyrights/unlimited_copr.html.yml @@ -1,9 +1,7 @@ -what: - - copyrights - - holders - -copyrights: - - Copyright (c) Unlimited Ltd. - -holders: - - Unlimited Ltd. \ No newline at end of file +what: + - copyrights + - holders +copyrights: + - Copyright (c) Unlimited Ltd. +holders: + - Unlimited Ltd. diff --git a/tests/cluecode/data/ics/chromium-sdch-open-vcdiff/aclocal.m4.yml b/tests/cluecode/data/ics/chromium-sdch-open-vcdiff/aclocal.m4.yml index bea2cb92000..88e00a32d6f 100644 --- a/tests/cluecode/data/ics/chromium-sdch-open-vcdiff/aclocal.m4.yml +++ b/tests/cluecode/data/ics/chromium-sdch-open-vcdiff/aclocal.m4.yml @@ -47,4 +47,4 @@ holders: - Free Software Foundation, Inc. holders_summary: - value: Free Software Foundation, Inc. - count: 19 + count: '19' diff --git a/tests/cluecode/data/plugin_email_url/emails-threshold.expected.json b/tests/cluecode/data/plugin_email_url/emails-threshold.expected.json index ab4513c0014..8835394f29d 100644 --- a/tests/cluecode/data/plugin_email_url/emails-threshold.expected.json +++ b/tests/cluecode/data/plugin_email_url/emails-threshold.expected.json @@ -15,6 +15,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 2 } diff --git a/tests/cluecode/data/plugin_email_url/emails.expected.json b/tests/cluecode/data/plugin_email_url/emails.expected.json index 946f18600ae..b96a27cd804 100644 --- a/tests/cluecode/data/plugin_email_url/emails.expected.json +++ b/tests/cluecode/data/plugin_email_url/emails.expected.json @@ -14,6 +14,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 2 } diff --git a/tests/cluecode/data/plugin_email_url/urls-threshold.expected.json b/tests/cluecode/data/plugin_email_url/urls-threshold.expected.json index c6df8d48544..33d2735b640 100644 --- a/tests/cluecode/data/plugin_email_url/urls-threshold.expected.json +++ b/tests/cluecode/data/plugin_email_url/urls-threshold.expected.json @@ -15,6 +15,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 2 } diff --git a/tests/cluecode/data/plugin_email_url/urls.expected.json b/tests/cluecode/data/plugin_email_url/urls.expected.json index 070893e191a..a45efb913d8 100644 --- a/tests/cluecode/data/plugin_email_url/urls.expected.json +++ b/tests/cluecode/data/plugin_email_url/urls.expected.json @@ -14,6 +14,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 2 } diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected.json index 6dc61322f26..825bd70a9d6 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected.json @@ -18,6 +18,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 1 } diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json index 01dcb868317..a669463fca3 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json @@ -18,6 +18,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 1 } diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json index c6142dc058e..cac76d43e13 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json @@ -18,6 +18,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 1 } diff --git a/tests/cluecode/data/plugin_ignore_copyrights/authors.expected.json b/tests/cluecode/data/plugin_ignore_copyrights/authors.expected.json index 926e5f72f1a..ee56e378206 100644 --- a/tests/cluecode/data/plugin_ignore_copyrights/authors.expected.json +++ b/tests/cluecode/data/plugin_ignore_copyrights/authors.expected.json @@ -16,6 +16,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 5 } diff --git a/tests/cluecode/data/plugin_ignore_copyrights/holders.expected.json b/tests/cluecode/data/plugin_ignore_copyrights/holders.expected.json index 09ea262cff8..765bd0c238e 100644 --- a/tests/cluecode/data/plugin_ignore_copyrights/holders.expected.json +++ b/tests/cluecode/data/plugin_ignore_copyrights/holders.expected.json @@ -16,6 +16,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 5 } diff --git a/tests/formattedcode/data/csv/livescan/expected.csv b/tests/formattedcode/data/csv/livescan/expected.csv index e30bebe1b0f..f315fdd57b8 100644 --- a/tests/formattedcode/data/csv/livescan/expected.csv +++ b/tests/formattedcode/data/csv/livescan/expected.csv @@ -1,5 +1,5 @@ path,type,name,base_name,extension,size,date,sha1,md5,sha256,mime_type,file_type,programming_language,is_binary,is_text,is_archive,is_media,is_source,is_script,percentage_of_license_text,files_count,dirs_count,size_count,scan_errors,license_expression,license__key,license__score,license__name,license__short_name,license__category,license__is_exception,license__is_unknown,license__owner,license__homepage_url,license__text_url,license__reference_url,license__scancode_text_url,license__scancode_data_url,license__spdx_license_key,license__spdx_url,start_line,end_line,matched_rule__identifier,matched_rule__license_expression,matched_rule__licenses,matched_rule__referenced_filenames,matched_rule__is_license_text,matched_rule__is_license_notice,matched_rule__is_license_reference,matched_rule__is_license_tag,matched_rule__is_license_intro,matched_rule__has_unknown,matched_rule__matcher,matched_rule__rule_length,matched_rule__matched_length,matched_rule__match_coverage,matched_rule__rule_relevance,copyright,holder,email,url,package__type,package__namespace,package__name,package__version,package__qualifiers,package__subpath,package__primary_language,package__description,package__release_date,package__homepage_url,package__download_url,package__size,package__sha1,package__md5,package__sha256,package__sha512,package__bug_tracking_url,package__code_view_url,package__vcs_url,package__copyright,package__license_expression,package__declared_license,package__notice_text,package__file_references,package__extra_data,package__repository_homepage_url,package__repository_download_url,package__api_data_url,package__datasource_id,package__purl -json2csv.rb,file,json2csv.rb,json2csv,.rb,912,2021-10-26,1236469a06a2bacbdd8e172ad718482af5b0a936,1307c281e0b153202e291b217eab85d5,12ba215313981dbe810d9ed696b7cc753d97adfcc26eba1e13f941dc7506aa4e,text/x-script.python,"Python script, ASCII text executable",Ruby,False,True,False,False,True,True,62.04,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +json2csv.rb,file,json2csv.rb,json2csv,.rb,912,2022-02-15,1236469a06a2bacbdd8e172ad718482af5b0a936,1307c281e0b153202e291b217eab85d5,12ba215313981dbe810d9ed696b7cc753d97adfcc26eba1e13f941dc7506aa4e,text/x-script.python,"Python script, ASCII text executable",Ruby,False,True,False,False,True,True,62.04,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,apache-2.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,apache-2.0,100.00,Apache License 2.0,Apache 2.0,Permissive,False,False,Apache Software Foundation,http://www.apache.org/licenses/,http://www.apache.org/licenses/LICENSE-2.0,https://scancode-licensedb.aboutcode.org/apache-2.0,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.yml,Apache-2.0,https://spdx.org/licenses/Apache-2.0,5,13,apache-2.0_7.RULE,apache-2.0,apache-2.0,,,True,,,,,2-aho,85,85,100.00,100.00,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3,3,,,,,,,,,,,,,,,,Copyright (c) 2017 nexB Inc. and others,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, @@ -7,10 +7,10 @@ json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3,3,,,,,,,,,,,,,,,,,nexB Inc. json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,4,4,,,,,,,,,,,,,,,,,,,http://nexb.com/,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,4,4,,,,,,,,,,,,,,,,,,,https://github.com/nexB/scancode-toolkit/,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,8,8,,,,,,,,,,,,,,,,,,,http://www.apache.org/licenses/LICENSE-2.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -license,file,license,license,,679,2021-10-26,75c5490a718ddd45e40e0cc7ce0c756abc373123,b965a762efb9421cf1bf4405f336e278,a34098a43e5677495f59dff825a3f9bc0f2b0261d75feb2356919f4c3ce049ab,text/plain,ASCII text,,False,True,False,False,False,False,100.0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +license,file,license,license,,679,2022-02-15,75c5490a718ddd45e40e0cc7ce0c756abc373123,b965a762efb9421cf1bf4405f336e278,a34098a43e5677495f59dff825a3f9bc0f2b0261d75feb2356919f4c3ce049ab,text/plain,ASCII text,,False,True,False,False,False,False,100.0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, license,,,,,,,,,,,,,,,,,,,,,,,,gpl-2.0-plus,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, license,,,,,,,,,,,,,,,,,,,,,,,,,gpl-2.0-plus,100.00,GNU General Public License 2.0 or later,GPL 2.0 or later,Copyleft,False,False,Free Software Foundation (FSF),http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html,http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html,https://scancode-licensedb.aboutcode.org/gpl-2.0-plus,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.yml,GPL-2.0-or-later,https://spdx.org/licenses/GPL-2.0-or-later,1,12,gpl-2.0-plus_420.RULE,gpl-2.0-plus,gpl-2.0-plus,,,True,,,,,1-hash,113,113,100.00,100.00,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,file,package.json,package,.json,2200,2021-10-26,918376afce796ef90eeda1d6695f2289c90491ac,1f66239a9b850c5e60a9382dbe2162d2,29f6068a1b6c7d06f115a5edc4ed8558edde42c6bbf0145ed77cf1108a0dd529,application/json,JSON data,,False,True,False,False,False,False,58.1,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,file,package.json,package,.json,2200,2022-02-15,918376afce796ef90eeda1d6695f2289c90491ac,1f66239a9b850c5e60a9382dbe2162d2,29f6068a1b6c7d06f115a5edc4ed8558edde42c6bbf0145ed77cf1108a0dd529,application/json,JSON data,,False,True,False,False,False,False,58.1,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, package.json,,,,,,,,,,,,,,,,,,,,,,,,mit,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, package.json,,,,,,,,,,,,,,,,,,,,,,,,mit,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, package.json,,,,,,,,,,,,,,,,,,,,,,,,,mit,100.00,MIT License,MIT License,Permissive,False,False,MIT,http://opensource.org/licenses/mit-license.php,http://opensource.org/licenses/mit-license.php,https://scancode-licensedb.aboutcode.org/mit,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.yml,MIT,https://spdx.org/licenses/MIT,24,24,mit_649.RULE,mit,mit,,,True,,,,,2-aho,4,4,100.00,100.00,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, diff --git a/tests/formattedcode/data/cyclonedx/expected.xml b/tests/formattedcode/data/cyclonedx/expected.xml index 3700c8127cd..e5a6bdb7600 100644 --- a/tests/formattedcode/data/cyclonedx/expected.xml +++ b/tests/formattedcode/data/cyclonedx/expected.xml @@ -1,12 +1,12 @@ - + - 2022-04-20T17:16:54Z + 2022-05-04T21:50:47Z AboutCode.org scancode-toolkit - 31.0.0b1 + 31.0.0b3 diff --git a/tests/formattedcode/data/json/simple-expected.json b/tests/formattedcode/data/json/simple-expected.json index dab8e332f85..c383b3d4ec1 100644 --- a/tests/formattedcode/data/json/simple-expected.json +++ b/tests/formattedcode/data/json/simple-expected.json @@ -16,6 +16,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 1 } diff --git a/tests/formattedcode/data/json/simple-expected.jsonlines b/tests/formattedcode/data/json/simple-expected.jsonlines index 8ab31041b21..2677022be56 100644 --- a/tests/formattedcode/data/json/simple-expected.jsonlines +++ b/tests/formattedcode/data/json/simple-expected.jsonlines @@ -14,6 +14,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 1 } diff --git a/tests/formattedcode/data/json/simple-expected.jsonpp b/tests/formattedcode/data/json/simple-expected.jsonpp index 5a27308eb8c..2c8a180e1c7 100644 --- a/tests/formattedcode/data/json/simple-expected.jsonpp +++ b/tests/formattedcode/data/json/simple-expected.jsonpp @@ -16,6 +16,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 1 } diff --git a/tests/formattedcode/data/json/tree/expected.json b/tests/formattedcode/data/json/tree/expected.json index cf025627dd1..b9b347392fe 100644 --- a/tests/formattedcode/data/json/tree/expected.json +++ b/tests/formattedcode/data/json/tree/expected.json @@ -17,6 +17,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 7 } diff --git a/tests/formattedcode/data/yaml/simple-expected.yaml b/tests/formattedcode/data/yaml/simple-expected.yaml index 00788c69e86..dcfd657e8a0 100644 --- a/tests/formattedcode/data/yaml/simple-expected.yaml +++ b/tests/formattedcode/data/yaml/simple-expected.yaml @@ -19,6 +19,12 @@ headers: errors: [] warnings: [] extra_data: + system_environment: + operating_system: linux + cpu_architecture: 64 + platform: Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic + platform_version: '#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022' + python_version: "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" spdx_license_list_version: '3.16' files_count: 1 dependencies: [] diff --git a/tests/formattedcode/data/yaml/tree/expected.yaml b/tests/formattedcode/data/yaml/tree/expected.yaml index 55bb5c179c6..3cec96804a9 100644 --- a/tests/formattedcode/data/yaml/tree/expected.yaml +++ b/tests/formattedcode/data/yaml/tree/expected.yaml @@ -20,6 +20,12 @@ headers: errors: [] warnings: [] extra_data: + system_environment: + operating_system: linux + cpu_architecture: 64 + platform: Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic + platform_version: '#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022' + python_version: "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" spdx_license_list_version: '3.16' files_count: 7 dependencies: [] diff --git a/tests/licensedcode/data/datadriven/lic4/W3C-TestSuite-LICENSE.txt.yml b/tests/licensedcode/data/datadriven/lic4/W3C-TestSuite-LICENSE.txt.yml index f638c080a44..ba34a86d175 100644 --- a/tests/licensedcode/data/datadriven/lic4/W3C-TestSuite-LICENSE.txt.yml +++ b/tests/licensedcode/data/datadriven/lic4/W3C-TestSuite-LICENSE.txt.yml @@ -1,3 +1,2 @@ license_expressions: - w3c-test-suite - diff --git a/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json b/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json index eca9c560459..ae899d2277d 100644 --- a/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json @@ -14,6 +14,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 2 } diff --git a/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json b/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json index ca2b86f3967..45e7ffc4e35 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json @@ -17,6 +17,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 2 } diff --git a/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json b/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json index f424bc0a36e..50de4bcece7 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json @@ -17,6 +17,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 2 } diff --git a/tests/licensedcode/data/plugin_license/license_reference/scan-wref.expected.json b/tests/licensedcode/data/plugin_license/license_reference/scan-wref.expected.json index 01c0a953d76..7ef1a164933 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/scan-wref.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/scan-wref.expected.json @@ -17,6 +17,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 1 } diff --git a/tests/licensedcode/data/plugin_license/license_url.expected.json b/tests/licensedcode/data/plugin_license/license_url.expected.json index 22c4c2dd2c9..23ad951f827 100644 --- a/tests/licensedcode/data/plugin_license/license_url.expected.json +++ b/tests/licensedcode/data/plugin_license/license_url.expected.json @@ -15,6 +15,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 1 } diff --git a/tests/licensedcode/data/plugin_license/package/package.expected.json b/tests/licensedcode/data/plugin_license/package/package.expected.json index 5c09d1e2cd0..07eb68085d8 100644 --- a/tests/licensedcode/data/plugin_license/package/package.expected.json +++ b/tests/licensedcode/data/plugin_license/package/package.expected.json @@ -17,8 +17,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json b/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json index 95ecb9b4d98..a107b7a8a4e 100644 --- a/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json +++ b/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json @@ -14,6 +14,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 1 } diff --git a/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json b/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json index da1c6d10462..6a9ee5f3fb6 100644 --- a/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json +++ b/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json @@ -16,6 +16,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 2 } diff --git a/tests/licensedcode/data/plugin_license/text/scan.expected.json b/tests/licensedcode/data/plugin_license/text/scan.expected.json index 14d28ebddc6..203c82ba390 100644 --- a/tests/licensedcode/data/plugin_license/text/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/text/scan.expected.json @@ -15,6 +15,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 2 } diff --git a/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json b/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json index 8e6df202b93..0ffb00ddd12 100644 --- a/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json +++ b/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json @@ -16,6 +16,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 2 } diff --git a/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json b/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json index 8d80daba10b..cb82828093c 100644 --- a/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json @@ -15,6 +15,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 2 } diff --git a/tests/licensedcode/data/plugin_license_text/scan.expected.json b/tests/licensedcode/data/plugin_license_text/scan.expected.json index bfde6224c41..eae938b9db6 100644 --- a/tests/licensedcode/data/plugin_license_text/scan.expected.json +++ b/tests/licensedcode/data/plugin_license_text/scan.expected.json @@ -16,6 +16,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 5 } diff --git a/tests/licensedcode/data/plugin_licenses_reference/scan.expected.json b/tests/licensedcode/data/plugin_licenses_reference/scan.expected.json index 7dfb326e35f..909db5edcd2 100644 --- a/tests/licensedcode/data/plugin_licenses_reference/scan.expected.json +++ b/tests/licensedcode/data/plugin_licenses_reference/scan.expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/about/aboutfiles.expected.json b/tests/packagedcode/data/about/aboutfiles.expected.json index aef24d4c543..b8f09a7649c 100644 --- a/tests/packagedcode/data/about/aboutfiles.expected.json +++ b/tests/packagedcode/data/about/aboutfiles.expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/bower/scan-expected.json b/tests/packagedcode/data/bower/scan-expected.json index 11c6ef90333..0b7131bc702 100644 --- a/tests/packagedcode/data/bower/scan-expected.json +++ b/tests/packagedcode/data/bower/scan-expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/build/bazel/end2end-expected.json b/tests/packagedcode/data/build/bazel/end2end-expected.json index 4f83405e185..bdf93441da2 100644 --- a/tests/packagedcode/data/build/bazel/end2end-expected.json +++ b/tests/packagedcode/data/build/bazel/end2end-expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/build/buck/end2end-expected.json b/tests/packagedcode/data/build/buck/end2end-expected.json index 186b8e11b05..648c86b4575 100644 --- a/tests/packagedcode/data/build/buck/end2end-expected.json +++ b/tests/packagedcode/data/build/buck/end2end-expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/build_gradle/end2end-expected.json b/tests/packagedcode/data/build_gradle/end2end-expected.json index 7c76614249a..95b2cc4b20e 100644 --- a/tests/packagedcode/data/build_gradle/end2end-expected.json +++ b/tests/packagedcode/data/build_gradle/end2end-expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/cargo/scan.expected.json b/tests/packagedcode/data/cargo/scan.expected.json index 4980f575ea0..a24785af4ca 100644 --- a/tests/packagedcode/data/cargo/scan.expected.json +++ b/tests/packagedcode/data/cargo/scan.expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/chef/package.scan.expected.json b/tests/packagedcode/data/chef/package.scan.expected.json index cb26ddf207f..1fcc52a14bc 100644 --- a/tests/packagedcode/data/chef/package.scan.expected.json +++ b/tests/packagedcode/data/chef/package.scan.expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/cocoapods/assemble/many-podspecs-expected.json b/tests/packagedcode/data/cocoapods/assemble/many-podspecs-expected.json index a689f849e48..4dd7df05b41 100644 --- a/tests/packagedcode/data/cocoapods/assemble/many-podspecs-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/many-podspecs-expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/cocoapods/assemble/multiple-podspec-expected.json b/tests/packagedcode/data/cocoapods/assemble/multiple-podspec-expected.json index da0558e6c19..f57842dfbc3 100644 --- a/tests/packagedcode/data/cocoapods/assemble/multiple-podspec-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/multiple-podspec-expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/cocoapods/assemble/single-podspec-expected.json b/tests/packagedcode/data/cocoapods/assemble/single-podspec-expected.json index c7ec1c6f95b..e4ac4f92209 100644 --- a/tests/packagedcode/data/cocoapods/assemble/single-podspec-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/single-podspec-expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/cocoapods/assemble/solo/Podfile-expected.json b/tests/packagedcode/data/cocoapods/assemble/solo/Podfile-expected.json index 3a6a36f5987..41525d5fb88 100644 --- a/tests/packagedcode/data/cocoapods/assemble/solo/Podfile-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/solo/Podfile-expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/cocoapods/assemble/solo/Podfile.lock-expected.json b/tests/packagedcode/data/cocoapods/assemble/solo/Podfile.lock-expected.json index 517fc4b9c0f..1b3664645f8 100644 --- a/tests/packagedcode/data/cocoapods/assemble/solo/Podfile.lock-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/solo/Podfile.lock-expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/cocoapods/assemble/solo/RxDataSources.podspec-expected.json b/tests/packagedcode/data/cocoapods/assemble/solo/RxDataSources.podspec-expected.json index 5ba7f48660e..36222548722 100644 --- a/tests/packagedcode/data/cocoapods/assemble/solo/RxDataSources.podspec-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/solo/RxDataSources.podspec-expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/debian/basic-rootfs-expected.json b/tests/packagedcode/data/debian/basic-rootfs-expected.json index ea929cdd32e..4518789af35 100644 --- a/tests/packagedcode/data/debian/basic-rootfs-expected.json +++ b/tests/packagedcode/data/debian/basic-rootfs-expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/debian/end-to-end.tgz.expected.json b/tests/packagedcode/data/debian/end-to-end.tgz.expected.json index 1521905e4a4..1c78e16366d 100644 --- a/tests/packagedcode/data/debian/end-to-end.tgz.expected.json +++ b/tests/packagedcode/data/debian/end-to-end.tgz.expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/debian/ubuntu-var-lib-dpkg/expected.json b/tests/packagedcode/data/debian/ubuntu-var-lib-dpkg/expected.json index 6ef7b35bcac..ecbdbe68015 100644 --- a/tests/packagedcode/data/debian/ubuntu-var-lib-dpkg/expected.json +++ b/tests/packagedcode/data/debian/ubuntu-var-lib-dpkg/expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/instance/python-package-instance-expected-with-test-manifests.json b/tests/packagedcode/data/instance/python-package-instance-expected-with-test-manifests.json index 82529158924..ab8377388e8 100644 --- a/tests/packagedcode/data/instance/python-package-instance-expected-with-test-manifests.json +++ b/tests/packagedcode/data/instance/python-package-instance-expected-with-test-manifests.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", @@ -223,44 +223,7 @@ { "path": "pkg_resources/tests/data/my-test-package-zip/my-test-package.zip", "type": "file", - "package_data": [ - { - "type": "pypi", - "namespace": null, - "name": "my-test-package", - "version": "1.0", - "qualifiers": {}, - "subpath": null, - "primary_language": "Python", - "description": "", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "license_expression": null, - "declared_license": {}, - "notice_text": null, - "source_packages": [], - "file_references": [], - "extra_data": {}, - "dependencies": [], - "repository_homepage_url": "https://pypi.org/project/my-test-package", - "repository_download_url": "https://pypi.org/packages/source/m/my-test-package/my-test-package-1.0.tar.gz", - "api_data_url": "https://pypi.org/pypi/my-test-package/1.0/json", - "datasource_id": "pypi_sdist", - "purl": "pkg:pypi/my-test-package@1.0" - } - ], + "package_data": [], "for_packages": [ "pkg:pypi/setuptools@58.2.0?uuid=fixed-uid-done-for-testing-5642512d1758" ], diff --git a/tests/packagedcode/data/instance/python-package-instance-expected-with-uuid.json b/tests/packagedcode/data/instance/python-package-instance-expected-with-uuid.json index 69a9c7977a0..32d2fe0d700 100644 --- a/tests/packagedcode/data/instance/python-package-instance-expected-with-uuid.json +++ b/tests/packagedcode/data/instance/python-package-instance-expected-with-uuid.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/instance/python-package-instance-expected.json b/tests/packagedcode/data/instance/python-package-instance-expected.json index 69a9c7977a0..32d2fe0d700 100644 --- a/tests/packagedcode/data/instance/python-package-instance-expected.json +++ b/tests/packagedcode/data/instance/python-package-instance-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/maven_misc/extracted-jar-expected.json b/tests/packagedcode/data/maven_misc/extracted-jar-expected.json index c4d2270b900..9d14bfbb9ba 100644 --- a/tests/packagedcode/data/maven_misc/extracted-jar-expected.json +++ b/tests/packagedcode/data/maven_misc/extracted-jar-expected.json @@ -17,8 +17,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/npm/electron/package.expected.json b/tests/packagedcode/data/npm/electron/package.expected.json index 5a102df29e5..31943c8bb64 100644 --- a/tests/packagedcode/data/npm/electron/package.expected.json +++ b/tests/packagedcode/data/npm/electron/package.expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/npm/get_package_resources.scan.expected.json b/tests/packagedcode/data/npm/get_package_resources.scan.expected.json index b579de993da..3d9baafeedb 100644 --- a/tests/packagedcode/data/npm/get_package_resources.scan.expected.json +++ b/tests/packagedcode/data/npm/get_package_resources.scan.expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/npm/scan-nested/scan.expected.json b/tests/packagedcode/data/npm/scan-nested/scan.expected.json index 16d94a8b2a5..5ab70e025e7 100644 --- a/tests/packagedcode/data/npm/scan-nested/scan.expected.json +++ b/tests/packagedcode/data/npm/scan-nested/scan.expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", @@ -26,6 +26,19 @@ } ], "dependencies": [ + { + "purl": "pkg:npm/lodash._baseclone", + "extracted_requirement": "~4.5.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "dependency_uid": "pkg:npm/lodash._baseclone?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/lodash.clonedeep@4.3.2?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, { "purl": "pkg:npm/ms@2.0.0", "extracted_requirement": "2.0.0", @@ -83,7 +96,7 @@ }, "dependency_uid": "pkg:npm/ms@2.0.0?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/lodash.clonedeep@4.3.2?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", + "datafile_path": "scan/package-lock.json", "datasource_id": "npm_package_lock_json" }, { @@ -143,7 +156,7 @@ }, "dependency_uid": "pkg:npm/regenerator-runtime@0.11.0?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/lodash.clonedeep@4.3.2?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", + "datafile_path": "scan/package-lock.json", "datasource_id": "npm_package_lock_json" }, { @@ -203,308 +216,73 @@ }, "dependency_uid": "pkg:npm/to-fast-properties@1.0.3?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/lodash.clonedeep@4.3.2?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", + "datafile_path": "scan/package-lock.json", "datasource_id": "npm_package_lock_json" }, { - "purl": "pkg:npm/ms@2.0.0", - "extracted_requirement": "2.0.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": true, - "resolved_package": { - "type": "npm", - "namespace": "", - "name": "ms", - "version": "2.0.0", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "size": null, - "sha1": "5608aeadfc00be6c2901df5f9861788de0d597c8", - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "license_expression": null, - "declared_license": null, - "notice_text": null, - "source_packages": [], - "file_references": [ - [ - { - "path": "ms", - "size": 0, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "extra_data": {} - } - ] - ], - "extra_data": {}, - "dependencies": [], - "repository_homepage_url": "https://www.npmjs.com/package/ms", - "repository_download_url": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "api_data_url": "https://registry.npmjs.org/ms/2.0.0", - "datasource_id": "npm_package_lock_json", - "purl": "pkg:npm/ms@2.0.0" - }, - "dependency_uid": "pkg:npm/ms@2.0.0?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/lodash.clonedeep@4.3.2?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package-lock.json", - "datasource_id": "npm_package_lock_json" + "purl": "pkg:npm/bluebird", + "extracted_requirement": "^3.3.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "dependency_uid": "pkg:npm/bluebird?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/sequelize@3.30.2?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/node_modules/sequelize/package.json", + "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/regenerator-runtime@0.11.0", - "extracted_requirement": "0.11.0", + "purl": "pkg:npm/wkx", + "extracted_requirement": "0.2.0", "scope": "dependencies", "is_runtime": true, "is_optional": false, - "is_resolved": true, - "resolved_package": { - "type": "npm", - "namespace": "", - "name": "regenerator-runtime", - "version": "0.11.0", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz", - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": "fda03490b7916f937d2b47787f0ee8a046c8fb10def83283e3df4442aca01aa792f0ddf1b68d79a74f6e636c63ee2c4ff35b0d3d7bd12e701022a7554ad81bd4", - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "license_expression": null, - "declared_license": null, - "notice_text": null, - "source_packages": [], - "file_references": [ - [ - { - "path": "regenerator-runtime", - "size": 0, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "extra_data": {} - } - ] - ], - "extra_data": {}, - "dependencies": [], - "repository_homepage_url": "https://www.npmjs.com/package/regenerator-runtime", - "repository_download_url": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz", - "api_data_url": "https://registry.npmjs.org/regenerator-runtime/0.11.0", - "datasource_id": "npm_package_lock_json", - "purl": "pkg:npm/regenerator-runtime@0.11.0" - }, - "dependency_uid": "pkg:npm/regenerator-runtime@0.11.0?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/lodash.clonedeep@4.3.2?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package-lock.json", - "datasource_id": "npm_package_lock_json" + "is_resolved": false, + "resolved_package": {}, + "dependency_uid": "pkg:npm/wkx?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/sequelize@3.30.2?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/node_modules/sequelize/package.json", + "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/to-fast-properties@1.0.3", - "extracted_requirement": "1.0.3", + "purl": "pkg:npm/chai", + "extracted_requirement": "^3.5.0", "scope": "devDependencies", "is_runtime": false, "is_optional": true, - "is_resolved": true, - "resolved_package": { - "type": "npm", - "namespace": "", - "name": "to-fast-properties", - "version": "1.0.3", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", - "size": null, - "sha1": "b83571fa4d8c25b82e231b06e3a3055de4ca1a47", - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "license_expression": null, - "declared_license": null, - "notice_text": null, - "source_packages": [], - "file_references": [ - [ - { - "path": "to-fast-properties", - "size": 0, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "extra_data": {} - } - ] - ], - "extra_data": {}, - "dependencies": [], - "repository_homepage_url": "https://www.npmjs.com/package/to-fast-properties", - "repository_download_url": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", - "api_data_url": "https://registry.npmjs.org/to-fast-properties/1.0.3", - "datasource_id": "npm_package_lock_json", - "purl": "pkg:npm/to-fast-properties@1.0.3" - }, - "dependency_uid": "pkg:npm/to-fast-properties@1.0.3?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/lodash.clonedeep@4.3.2?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package-lock.json", - "datasource_id": "npm_package_lock_json" + "is_resolved": false, + "resolved_package": {}, + "dependency_uid": "pkg:npm/chai?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/sequelize@3.30.2?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/node_modules/sequelize/package.json", + "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/ansi-regex@2.1.1", - "extracted_requirement": "2.1.1", + "purl": "pkg:npm/chai-as-promised", + "extracted_requirement": "^5.1.0", "scope": "devDependencies", "is_runtime": false, "is_optional": true, - "is_resolved": true, - "resolved_package": { - "type": "npm", - "namespace": "", - "name": "ansi-regex", - "version": "2.1.1", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "size": null, - "sha1": "c3b33ab5ee360d86e0e628f0468ae7ef27d654df", - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "license_expression": null, - "declared_license": null, - "notice_text": null, - "source_packages": [], - "file_references": [ - [ - { - "path": "ansi-regex", - "size": 0, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "extra_data": {} - } - ] - ], - "extra_data": {}, - "dependencies": [], - "repository_homepage_url": "https://www.npmjs.com/package/ansi-regex", - "repository_download_url": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "api_data_url": "https://registry.npmjs.org/ansi-regex/2.1.1", - "datasource_id": "npm_package_lock_json", - "purl": "pkg:npm/ansi-regex@2.1.1" - }, - "dependency_uid": "pkg:npm/ansi-regex@2.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "is_resolved": false, + "resolved_package": {}, + "dependency_uid": "pkg:npm/chai-as-promised?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/sequelize@3.30.2?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/node_modules/sequelize/package.json", - "datasource_id": "npm_package_lock_json" + "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/to-fast-properties@1.0.3", - "extracted_requirement": "1.0.3", + "purl": "pkg:npm/watchr", + "extracted_requirement": "~2.4.11", "scope": "devDependencies", "is_runtime": false, "is_optional": true, - "is_resolved": true, - "resolved_package": { - "type": "npm", - "namespace": "", - "name": "to-fast-properties", - "version": "1.0.3", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", - "size": null, - "sha1": "b83571fa4d8c25b82e231b06e3a3055de4ca1a47", - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "license_expression": null, - "declared_license": null, - "notice_text": null, - "source_packages": [], - "file_references": [ - [ - { - "path": "to-fast-properties", - "size": 0, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "extra_data": {} - } - ] - ], - "extra_data": {}, - "dependencies": [], - "repository_homepage_url": "https://www.npmjs.com/package/to-fast-properties", - "repository_download_url": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", - "api_data_url": "https://registry.npmjs.org/to-fast-properties/1.0.3", - "datasource_id": "npm_package_lock_json", - "purl": "pkg:npm/to-fast-properties@1.0.3" - }, - "dependency_uid": "pkg:npm/to-fast-properties@1.0.3?uuid=fixed-uid-done-for-testing-5642512d1758", + "is_resolved": false, + "resolved_package": {}, + "dependency_uid": "pkg:npm/watchr?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/sequelize@3.30.2?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/node_modules/sequelize/package.json", - "datasource_id": "npm_package_lock_json" + "datasource_id": "npm_package_json" }, { "purl": "pkg:npm/ansi-regex@2.1.1", @@ -838,12 +616,44 @@ "qualifiers": {}, "subpath": null, "primary_language": "JavaScript", - "description": null, + "description": "The lodash method `_.cloneDeep` exported as a module.", "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "John-David Dalton", + "email": "john.david.dalton@gmail.com", + "url": "http://allyoucanleet.com/" + }, + { + "type": "person", + "role": "contributor", + "name": "John-David Dalton", + "email": "john.david.dalton@gmail.com", + "url": "http://allyoucanleet.com/" + }, + { + "type": "person", + "role": "contributor", + "name": "Blaine Bublitz", + "email": "blaine.bublitz@gmail.com", + "url": "https://github.com/phated" + }, + { + "type": "person", + "role": "contributor", + "name": "Mathias Bynens", + "email": "mathias@qiwi.be", + "url": "https://mathiasbynens.be/" + } + ], + "keywords": [ + "lodash-modularized", + "clonedeep" + ], + "homepage_url": "https://lodash.com/", + "download_url": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.3.2.tgz", "size": null, "sha1": null, "md5": null, @@ -851,15 +661,15 @@ "sha512": null, "bug_tracking_url": null, "code_view_url": null, - "vcs_url": null, + "vcs_url": "https://github.com/lodash/lodash", "copyright": null, - "license_expression": null, - "declared_license": null, + "license_expression": "mit", + "declared_license": [ + "MIT" + ], "notice_text": null, "source_packages": [], - "extra_data": { - "lockfile_version": 1 - }, + "extra_data": {}, "repository_homepage_url": "https://www.npmjs.com/package/lodash.clonedeep", "repository_download_url": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.3.2.tgz", "api_data_url": "https://registry.npmjs.org/lodash.clonedeep/4.3.2", @@ -868,7 +678,7 @@ "scan/package.json" ], "datasource_ids": [ - "npm_package_lock_json" + "npm_package_json" ], "purl": "pkg:npm/lodash.clonedeep@4.3.2" }, @@ -880,28 +690,68 @@ "qualifiers": {}, "subpath": null, "primary_language": "JavaScript", - "description": null, + "description": "Multi dialect ORM for Node.JS/io.js", "release_date": null, - "parties": [], - "keywords": [], + "parties": [ + { + "type": "person", + "role": "author", + "name": "Sascha Depold", + "email": "sascha@depold.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Sascha Depold", + "email": "sascha@depold.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Jan Aagaard Meier", + "email": "janzeh@gmail.com\njmei@itu.dk", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Daniel Durante", + "email": "me@danieldurante.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Mick Hansen", + "email": "mick.kasper.hansen@gmail.com", + "url": null + } + ], + "keywords": [ + "mysql", + "nodejs", + "object relational mapper" + ], "homepage_url": null, - "download_url": null, + "download_url": "https://registry.npmjs.org/sequelize/-/sequelize-3.30.2.tgz", "size": null, "sha1": null, "md5": null, "sha256": null, "sha512": null, - "bug_tracking_url": null, + "bug_tracking_url": "https://github.com/sequelize/sequelize/issues", "code_view_url": null, - "vcs_url": null, + "vcs_url": "git+https://github.com/sequelize/sequelize.git", "copyright": null, - "license_expression": null, - "declared_license": null, + "license_expression": "mit", + "declared_license": [ + "MIT" + ], "notice_text": null, "source_packages": [], - "extra_data": { - "lockfile_version": 1 - }, + "extra_data": {}, "repository_homepage_url": "https://www.npmjs.com/package/sequelize", "repository_download_url": "https://registry.npmjs.org/sequelize/-/sequelize-3.30.2.tgz", "api_data_url": "https://registry.npmjs.org/sequelize/3.30.2", @@ -910,7 +760,7 @@ "scan/node_modules/sequelize/package.json" ], "datasource_ids": [ - "npm_package_lock_json" + "npm_package_json" ], "purl": "pkg:npm/sequelize@3.30.2" } diff --git a/tests/packagedcode/data/plugin/about-package-expected.json b/tests/packagedcode/data/plugin/about-package-expected.json index 500363cec21..737f784170f 100644 --- a/tests/packagedcode/data/plugin/about-package-expected.json +++ b/tests/packagedcode/data/plugin/about-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/bower-package-expected.json b/tests/packagedcode/data/plugin/bower-package-expected.json index 0bd5294fdda..13bde491601 100644 --- a/tests/packagedcode/data/plugin/bower-package-expected.json +++ b/tests/packagedcode/data/plugin/bower-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/cargo-package-expected.json b/tests/packagedcode/data/plugin/cargo-package-expected.json index fc3a5daf283..ec0a14b137f 100644 --- a/tests/packagedcode/data/plugin/cargo-package-expected.json +++ b/tests/packagedcode/data/plugin/cargo-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/chef-package-expected.json b/tests/packagedcode/data/plugin/chef-package-expected.json index 488f165fa94..0433b3c3f37 100644 --- a/tests/packagedcode/data/plugin/chef-package-expected.json +++ b/tests/packagedcode/data/plugin/chef-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/com-package-expected.json b/tests/packagedcode/data/plugin/com-package-expected.json index d05cf97e77b..648653f45e3 100644 --- a/tests/packagedcode/data/plugin/com-package-expected.json +++ b/tests/packagedcode/data/plugin/com-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/conda-package-expected.json b/tests/packagedcode/data/plugin/conda-package-expected.json index dc6a464e92b..f83024df784 100644 --- a/tests/packagedcode/data/plugin/conda-package-expected.json +++ b/tests/packagedcode/data/plugin/conda-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/cran-package-expected.json b/tests/packagedcode/data/plugin/cran-package-expected.json index 87b4a5be4e3..a0129eb12ee 100644 --- a/tests/packagedcode/data/plugin/cran-package-expected.json +++ b/tests/packagedcode/data/plugin/cran-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/freebsd-package-expected.json b/tests/packagedcode/data/plugin/freebsd-package-expected.json index b6a9c6a2dde..6f043ba26f9 100644 --- a/tests/packagedcode/data/plugin/freebsd-package-expected.json +++ b/tests/packagedcode/data/plugin/freebsd-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/haxe-package-expected.json b/tests/packagedcode/data/plugin/haxe-package-expected.json index 7cf5c265cdf..3fbde81931f 100644 --- a/tests/packagedcode/data/plugin/haxe-package-expected.json +++ b/tests/packagedcode/data/plugin/haxe-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/help.txt b/tests/packagedcode/data/plugin/help.txt index a604e7c30f4..d4e853f6934 100644 --- a/tests/packagedcode/data/plugin/help.txt +++ b/tests/packagedcode/data/plugin/help.txt @@ -671,13 +671,6 @@ Package type: pypi description: Python pyproject.toml path_patterns: '*pyproject.toml' -------------------------------------------- -Package type: pypi - datasource_id: pypi_sdist - documentation URL: https://peps.python.org/pep-0643/ - primary language: Python - description: Python source distribution - path_patterns: '*.tar.gz', '*.tar.bz2', '*.zip' --------------------------------------------- Package type: pypi datasource_id: pypi_sdist_pkginfo documentation URL: https://peps.python.org/pep-0314/ diff --git a/tests/packagedcode/data/plugin/maven-package-expected.json b/tests/packagedcode/data/plugin/maven-package-expected.json index 31eb8f83783..266bffaa102 100644 --- a/tests/packagedcode/data/plugin/maven-package-expected.json +++ b/tests/packagedcode/data/plugin/maven-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/mui-package-expected.json b/tests/packagedcode/data/plugin/mui-package-expected.json index 55af4f640a0..8e66fe6bd44 100644 --- a/tests/packagedcode/data/plugin/mui-package-expected.json +++ b/tests/packagedcode/data/plugin/mui-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/mum-package-expected.json b/tests/packagedcode/data/plugin/mum-package-expected.json index 54be5c208f0..12fa2b24601 100644 --- a/tests/packagedcode/data/plugin/mum-package-expected.json +++ b/tests/packagedcode/data/plugin/mum-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/mun-package-expected.json b/tests/packagedcode/data/plugin/mun-package-expected.json index f4e926eac52..b87e525420e 100644 --- a/tests/packagedcode/data/plugin/mun-package-expected.json +++ b/tests/packagedcode/data/plugin/mun-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/npm-package-expected.json b/tests/packagedcode/data/plugin/npm-package-expected.json index 5fc9db4889a..ee28937b4d9 100644 --- a/tests/packagedcode/data/plugin/npm-package-expected.json +++ b/tests/packagedcode/data/plugin/npm-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/nuget-package-expected.json b/tests/packagedcode/data/plugin/nuget-package-expected.json index 1640e1f6ffa..ef14394454d 100644 --- a/tests/packagedcode/data/plugin/nuget-package-expected.json +++ b/tests/packagedcode/data/plugin/nuget-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/opam-package-expected.json b/tests/packagedcode/data/plugin/opam-package-expected.json index 981b9b24241..d51826f5e7d 100644 --- a/tests/packagedcode/data/plugin/opam-package-expected.json +++ b/tests/packagedcode/data/plugin/opam-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/phpcomposer-package-expected.json b/tests/packagedcode/data/plugin/phpcomposer-package-expected.json index ca89c1da33e..3d8c238a5a9 100644 --- a/tests/packagedcode/data/plugin/phpcomposer-package-expected.json +++ b/tests/packagedcode/data/plugin/phpcomposer-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/pubspec-expected.json b/tests/packagedcode/data/plugin/pubspec-expected.json index 36a79d756aa..c08e0179dbc 100644 --- a/tests/packagedcode/data/plugin/pubspec-expected.json +++ b/tests/packagedcode/data/plugin/pubspec-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/pubspec-lock-expected.json b/tests/packagedcode/data/plugin/pubspec-lock-expected.json index 29d249541f0..41020f406d3 100644 --- a/tests/packagedcode/data/plugin/pubspec-lock-expected.json +++ b/tests/packagedcode/data/plugin/pubspec-lock-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/python-package-expected.json b/tests/packagedcode/data/plugin/python-package-expected.json index 30417d8d59b..eaf6f61398c 100644 --- a/tests/packagedcode/data/plugin/python-package-expected.json +++ b/tests/packagedcode/data/plugin/python-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/rpm-package-expected.json b/tests/packagedcode/data/plugin/rpm-package-expected.json index 41b33b4e059..dfd113ea033 100644 --- a/tests/packagedcode/data/plugin/rpm-package-expected.json +++ b/tests/packagedcode/data/plugin/rpm-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/rubygems-package-expected.json b/tests/packagedcode/data/plugin/rubygems-package-expected.json index 82f698d8956..745e7177a4a 100644 --- a/tests/packagedcode/data/plugin/rubygems-package-expected.json +++ b/tests/packagedcode/data/plugin/rubygems-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/sys-package-expected.json b/tests/packagedcode/data/plugin/sys-package-expected.json index b91c099c745..434d5b5f0e6 100644 --- a/tests/packagedcode/data/plugin/sys-package-expected.json +++ b/tests/packagedcode/data/plugin/sys-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/tlb-package-expected.json b/tests/packagedcode/data/plugin/tlb-package-expected.json index aca3f1a3503..91b1d56b19e 100644 --- a/tests/packagedcode/data/plugin/tlb-package-expected.json +++ b/tests/packagedcode/data/plugin/tlb-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/win_pe-package-expected.json b/tests/packagedcode/data/plugin/win_pe-package-expected.json index 36bf334c4d8..02f55f97c8e 100644 --- a/tests/packagedcode/data/plugin/win_pe-package-expected.json +++ b/tests/packagedcode/data/plugin/win_pe-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/plugin/winmd-package-expected.json b/tests/packagedcode/data/plugin/winmd-package-expected.json index a3b1dec3d2a..cb850f0c671 100644 --- a/tests/packagedcode/data/plugin/winmd-package-expected.json +++ b/tests/packagedcode/data/plugin/winmd-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/pypi/site-packages/codebase/PKG-INFO b/tests/packagedcode/data/pypi/site-packages/codebase/PKG-INFO new file mode 100644 index 00000000000..f91bd943262 --- /dev/null +++ b/tests/packagedcode/data/pypi/site-packages/codebase/PKG-INFO @@ -0,0 +1,11 @@ +Metadata-Version: 1.0 +Name: PyJPString +Version: 0.0.3 +Summary: Python japanese string utilities. +Home-page: http://github.com/odoku/PyJPString +Author: odoku +Author-email: masashi.onogawa@wamw.jp +License: MIT +Description: UNKNOWN +Keywords: japanese,string +Platform: UNKNOWN diff --git a/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/INSTALLER b/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/INSTALLER new file mode 100644 index 00000000000..a1b589e38a3 --- /dev/null +++ b/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/LICENSE.rst b/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/LICENSE.rst new file mode 100644 index 00000000000..d12a8491869 --- /dev/null +++ b/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/LICENSE.rst @@ -0,0 +1,28 @@ +Copyright 2014 Pallets + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/METADATA b/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/METADATA new file mode 100644 index 00000000000..74471c7ba9f --- /dev/null +++ b/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/METADATA @@ -0,0 +1,111 @@ +Metadata-Version: 2.1 +Name: click +Version: 8.0.4 +Summary: Composable command line interface toolkit +Home-page: https://palletsprojects.com/p/click/ +Author: Armin Ronacher +Author-email: armin.ronacher@active-4.com +Maintainer: Pallets +Maintainer-email: contact@palletsprojects.com +License: BSD-3-Clause +Project-URL: Donate, https://palletsprojects.com/donate +Project-URL: Documentation, https://click.palletsprojects.com/ +Project-URL: Changes, https://click.palletsprojects.com/changes/ +Project-URL: Source Code, https://github.com/pallets/click/ +Project-URL: Issue Tracker, https://github.com/pallets/click/issues/ +Project-URL: Twitter, https://twitter.com/PalletsTeam +Project-URL: Chat, https://discord.gg/pallets +Platform: UNKNOWN +Classifier: Development Status :: 5 - Production/Stable +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: BSD License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Requires-Python: >=3.6 +Description-Content-Type: text/x-rst +License-File: LICENSE.rst +Requires-Dist: colorama ; platform_system == "Windows" +Requires-Dist: importlib-metadata ; python_version < "3.8" + +\$ click\_ +========== + +Click is a Python package for creating beautiful command line interfaces +in a composable way with as little code as necessary. It's the "Command +Line Interface Creation Kit". It's highly configurable but comes with +sensible defaults out of the box. + +It aims to make the process of writing command line tools quick and fun +while also preventing any frustration caused by the inability to +implement an intended CLI API. + +Click in three points: + +- Arbitrary nesting of commands +- Automatic help page generation +- Supports lazy loading of subcommands at runtime + + +Installing +---------- + +Install and update using `pip`_: + +.. code-block:: text + + $ pip install -U click + +.. _pip: https://pip.pypa.io/en/stable/getting-started/ + + +A Simple Example +---------------- + +.. code-block:: python + + import click + + @click.command() + @click.option("--count", default=1, help="Number of greetings.") + @click.option("--name", prompt="Your name", help="The person to greet.") + def hello(count, name): + """Simple program that greets NAME for a total of COUNT times.""" + for _ in range(count): + click.echo(f"Hello, {name}!") + + if __name__ == '__main__': + hello() + +.. code-block:: text + + $ python hello.py --count=3 + Your name: Click + Hello, Click! + Hello, Click! + Hello, Click! + + +Donate +------ + +The Pallets organization develops and supports Click and other popular +packages. In order to grow the community of contributors and users, and +allow the maintainers to devote more time to the projects, `please +donate today`_. + +.. _please donate today: https://palletsprojects.com/donate + + +Links +----- + +- Documentation: https://click.palletsprojects.com/ +- Changes: https://click.palletsprojects.com/changes/ +- PyPI Releases: https://pypi.org/project/click/ +- Source Code: https://github.com/pallets/click +- Issue Tracker: https://github.com/pallets/click/issues +- Website: https://palletsprojects.com/p/click +- Twitter: https://twitter.com/PalletsTeam +- Chat: https://discord.gg/pallets + + diff --git a/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/RECORD b/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/RECORD new file mode 100644 index 00000000000..ba7172c4fb0 --- /dev/null +++ b/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/RECORD @@ -0,0 +1,41 @@ +click-8.0.4.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +click-8.0.4.dist-info/LICENSE.rst,sha256=morRBqOU6FO_4h9C9OctWSgZoigF2ZG18ydQKSkrZY0,1475 +click-8.0.4.dist-info/METADATA,sha256=zcuHOwCuWGOxyQO9MNOlHVHnEqfFAUi2lHHEpCMtLJw,3247 +click-8.0.4.dist-info/RECORD,, +click-8.0.4.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92 +click-8.0.4.dist-info/top_level.txt,sha256=J1ZQogalYS4pphY_lPECoNMfw0HzTSrZglC4Yfwo4xA,6 +click/__init__.py,sha256=bOKrvMqmR9rN07vN_ycyrdF-EcTCl-EmuAjq-Fp4yPM,3243 +click/__pycache__/__init__.cpython-36.pyc,, +click/__pycache__/_compat.cpython-36.pyc,, +click/__pycache__/_termui_impl.cpython-36.pyc,, +click/__pycache__/_textwrap.cpython-36.pyc,, +click/__pycache__/_unicodefun.cpython-36.pyc,, +click/__pycache__/_winconsole.cpython-36.pyc,, +click/__pycache__/core.cpython-36.pyc,, +click/__pycache__/decorators.cpython-36.pyc,, +click/__pycache__/exceptions.cpython-36.pyc,, +click/__pycache__/formatting.cpython-36.pyc,, +click/__pycache__/globals.cpython-36.pyc,, +click/__pycache__/parser.cpython-36.pyc,, +click/__pycache__/shell_completion.cpython-36.pyc,, +click/__pycache__/termui.cpython-36.pyc,, +click/__pycache__/testing.cpython-36.pyc,, +click/__pycache__/types.cpython-36.pyc,, +click/__pycache__/utils.cpython-36.pyc,, +click/_compat.py,sha256=JIHLYs7Jzz4KT9t-ds4o4jBzLjnwCiJQKqur-5iwCKI,18810 +click/_termui_impl.py,sha256=qK6Cfy4mRFxvxE8dya8RBhLpSC8HjF-lvBc6aNrPdwg,23451 +click/_textwrap.py,sha256=10fQ64OcBUMuK7mFvh8363_uoOxPlRItZBmKzRJDgoY,1353 +click/_unicodefun.py,sha256=JKSh1oSwG_zbjAu4TBCa9tQde2P9FiYcf4MBfy5NdT8,3201 +click/_winconsole.py,sha256=5ju3jQkcZD0W27WEMGqmEP4y_crUVzPCqsX_FYb7BO0,7860 +click/core.py,sha256=MYYmvqVa_dh4x4f-mr7VyNi6197ucYbJ0fsWW5EnCrA,111432 +click/decorators.py,sha256=5ZngOD72Flo8VLN29iarI0A5u_F-dxmqtUqx4KN8hOg,14879 +click/exceptions.py,sha256=7gDaLGuFZBeCNwY9ERMsF2-Z3R9Fvq09Zc6IZSKjseo,9167 +click/formatting.py,sha256=Frf0-5W33-loyY_i9qrwXR8-STnW3m5gvyxLVUdyxyk,9706 +click/globals.py,sha256=TP-qM88STzc7f127h35TD_v920FgfOD2EwzqA0oE8XU,1961 +click/parser.py,sha256=cAEt1uQR8gq3-S9ysqbVU-fdAZNvilxw4ReJ_T1OQMk,19044 +click/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +click/shell_completion.py,sha256=HHH0wMwlDW4WQhs8rRcS9M8MAo9gltGBN6V2PEbsTp0,18003 +click/termui.py,sha256=mZ12uc3-loFaV__vr8buxn9uIjAhy7QwVuZOQ8jDdjc,28873 +click/testing.py,sha256=ptpMYgRY7dVfE3UDgkgwayu9ePw98sQI3D7zZXiCpj4,16063 +click/types.py,sha256=rj2g3biAXKkNKV8vlwbIKSUlixhXybH84N84fwCYqUU,35092 +click/utils.py,sha256=M8tuplcFFHROha3vQ60ZRSakSB_ng6w9e8Uc1AugPZ0,18934 diff --git a/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/WHEEL b/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/WHEEL new file mode 100644 index 00000000000..becc9a66ea7 --- /dev/null +++ b/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/WHEEL @@ -0,0 +1,5 @@ +Wheel-Version: 1.0 +Generator: bdist_wheel (0.37.1) +Root-Is-Purelib: true +Tag: py3-none-any + diff --git a/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/top_level.txt b/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/top_level.txt new file mode 100644 index 00000000000..dca9a909647 --- /dev/null +++ b/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click-8.0.4.dist-info/top_level.txt @@ -0,0 +1 @@ +click diff --git a/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click/core.py b/tests/packagedcode/data/pypi/site-packages/codebase/lib/python3.9/site-packages/click/core.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/packagedcode/data/pypi/site-packages/codebase/setup.cfg b/tests/packagedcode/data/pypi/site-packages/codebase/setup.cfg new file mode 100644 index 00000000000..8bfd5a12f85 --- /dev/null +++ b/tests/packagedcode/data/pypi/site-packages/codebase/setup.cfg @@ -0,0 +1,4 @@ +[egg_info] +tag_build = +tag_date = 0 + diff --git a/tests/packagedcode/data/pypi/site-packages/codebase/setup.py b/tests/packagedcode/data/pypi/site-packages/codebase/setup.py new file mode 100644 index 00000000000..a69fba7e188 --- /dev/null +++ b/tests/packagedcode/data/pypi/site-packages/codebase/setup.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- + +from setuptools import setup + + +setup( + name='PyJPString', + version='0.0.3', + description='Python japanese string utilities.', + author='odoku', + author_email='masashi.onogawa@wamw.jp', + keywords='japanese,string', + url='http://github.com/odoku/PyJPString', + license='MIT', + + packages=[ + 'jpstring', + 'jpstring.django', + ], + install_requires=[ + 'six>=1.10.0', + 'zenhan>=0.5.2', + ], + extras_require={ + 'test': [ + 'django', + 'pytest==2.9.1', + ], + } +) diff --git a/tests/packagedcode/data/pypi/site-packages/site-packages-expected.json b/tests/packagedcode/data/pypi/site-packages/site-packages-expected.json new file mode 100644 index 00000000000..62ac6517c2f --- /dev/null +++ b/tests/packagedcode/data/pypi/site-packages/site-packages-expected.json @@ -0,0 +1,912 @@ +{ + "headers": [ + { + "tool_name": "scancode-toolkit", + "options": { + "input": "", + "--json": "", + "--package": true, + "--processes": "-1", + "--strip-root": true + }, + "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", + "output_format_version": "2.0.0", + "message": null, + "errors": [], + "warnings": [], + "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, + "spdx_license_list_version": "3.16", + "files_count": 10 + } + } + ], + "dependencies": [ + { + "purl": "pkg:pypi/colorama", + "extracted_requirement": null, + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "dependency_uid": "pkg:pypi/colorama?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:pypi/click@8.0.4?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "lib/python3.9/site-packages/click-8.0.4.dist-info/METADATA", + "datasource_id": "pypi_wheel_metadata" + }, + { + "purl": "pkg:pypi/importlib-metadata", + "extracted_requirement": null, + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "dependency_uid": "pkg:pypi/importlib-metadata?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:pypi/click@8.0.4?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "lib/python3.9/site-packages/click-8.0.4.dist-info/METADATA", + "datasource_id": "pypi_wheel_metadata" + } + ], + "packages": [ + { + "type": "pypi", + "namespace": null, + "name": "PyJPString", + "version": "0.0.3", + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": "Python japanese string utilities.\nUNKNOWN", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "odoku", + "email": "masashi.onogawa@wamw.jp", + "url": null + } + ], + "keywords": [ + "japanese", + "string" + ], + "homepage_url": "http://github.com/odoku/PyJPString", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "mit", + "declared_license": { + "license": "MIT" + }, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://pypi.org/project/PyJPString", + "repository_download_url": "https://pypi.org/packages/source/P/PyJPString/PyJPString-0.0.3.tar.gz", + "api_data_url": "https://pypi.org/pypi/PyJPString/0.0.3/json", + "package_uid": "pkg:pypi/pyjpstring@0.0.3?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "PKG-INFO" + ], + "datasource_ids": [ + "pypi_sdist_pkginfo" + ], + "purl": "pkg:pypi/pyjpstring@0.0.3" + }, + { + "type": "pypi", + "namespace": null, + "name": "click", + "version": "8.0.4", + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": "Composable command line interface toolkit\n\\$ click\\_\n==========\n\nClick is a Python package for creating beautiful command line interfaces\nin a composable way with as little code as necessary. It's the \"Command\nLine Interface Creation Kit\". It's highly configurable but comes with\nsensible defaults out of the box.\n\nIt aims to make the process of writing command line tools quick and fun\nwhile also preventing any frustration caused by the inability to\nimplement an intended CLI API.\n\nClick in three points:\n\n- Arbitrary nesting of commands\n- Automatic help page generation\n- Supports lazy loading of subcommands at runtime\n\n\nInstalling\n----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n $ pip install -U click\n\n.. _pip: https://pip.pypa.io/en/stable/getting-started/\n\n\nA Simple Example\n----------------\n\n.. code-block:: python\n\n import click\n\n @click.command()\n @click.option(\"--count\", default=1, help=\"Number of greetings.\")\n @click.option(\"--name\", prompt=\"Your name\", help=\"The person to greet.\")\n def hello(count, name):\n \"\"\"Simple program that greets NAME for a total of COUNT times.\"\"\"\n for _ in range(count):\n click.echo(f\"Hello, {name}!\")\n\n if __name__ == '__main__':\n hello()\n\n.. code-block:: text\n\n $ python hello.py --count=3\n Your name: Click\n Hello, Click!\n Hello, Click!\n Hello, Click!\n\n\nDonate\n------\n\nThe Pallets organization develops and supports Click and other popular\npackages. In order to grow the community of contributors and users, and\nallow the maintainers to devote more time to the projects, `please\ndonate today`_.\n\n.. _please donate today: https://palletsprojects.com/donate\n\n\nLinks\n-----\n\n- Documentation: https://click.palletsprojects.com/\n- Changes: https://click.palletsprojects.com/changes/\n- PyPI Releases: https://pypi.org/project/click/\n- Source Code: https://github.com/pallets/click\n- Issue Tracker: https://github.com/pallets/click/issues\n- Website: https://palletsprojects.com/p/click\n- Twitter: https://twitter.com/PalletsTeam\n- Chat: https://discord.gg/pallets", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Armin Ronacher", + "email": "armin.ronacher@active-4.com", + "url": null + }, + { + "type": "person", + "role": "maintainer", + "name": "Pallets", + "email": "contact@palletsprojects.com", + "url": null + } + ], + "keywords": [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Programming Language :: Python" + ], + "homepage_url": "https://palletsprojects.com/p/click/", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "Issue Tracker, https://github.com/pallets/click/issues/", + "code_view_url": "Source Code, https://github.com/pallets/click/", + "vcs_url": null, + "copyright": null, + "license_expression": "bsd-new AND bsd-new", + "declared_license": { + "license": "BSD-3-Clause", + "classifiers": [ + "License :: OSI Approved :: BSD License" + ] + }, + "notice_text": null, + "source_packages": [], + "extra_data": { + "Donate": "Donate, https://palletsprojects.com/donate", + "Documentation": "Documentation, https://click.palletsprojects.com/", + "Changes": "Changes, https://click.palletsprojects.com/changes/", + "Twitter": "Twitter, https://twitter.com/PalletsTeam", + "Chat": "Chat, https://discord.gg/pallets" + }, + "repository_homepage_url": "https://pypi.org/project/click", + "repository_download_url": "https://pypi.org/packages/source/c/click/click-8.0.4.tar.gz", + "api_data_url": "https://pypi.org/pypi/click/8.0.4/json", + "package_uid": "pkg:pypi/click@8.0.4?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "lib/python3.9/site-packages/click-8.0.4.dist-info/METADATA" + ], + "datasource_ids": [ + "pypi_wheel_metadata" + ], + "purl": "pkg:pypi/click@8.0.4" + } + ], + "files": [ + { + "path": "PKG-INFO", + "type": "file", + "package_data": [ + { + "type": "pypi", + "namespace": null, + "name": "PyJPString", + "version": "0.0.3", + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": "Python japanese string utilities.\nUNKNOWN", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "odoku", + "email": "masashi.onogawa@wamw.jp", + "url": null + } + ], + "keywords": [ + "japanese", + "string" + ], + "homepage_url": "http://github.com/odoku/PyJPString", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "mit", + "declared_license": { + "license": "MIT" + }, + "notice_text": null, + "source_packages": [], + "file_references": [], + "extra_data": {}, + "dependencies": [], + "repository_homepage_url": "https://pypi.org/project/PyJPString", + "repository_download_url": "https://pypi.org/packages/source/P/PyJPString/PyJPString-0.0.3.tar.gz", + "api_data_url": "https://pypi.org/pypi/PyJPString/0.0.3/json", + "datasource_id": "pypi_sdist_pkginfo", + "purl": "pkg:pypi/pyjpstring@0.0.3" + } + ], + "for_packages": [ + "pkg:pypi/pyjpstring@0.0.3?uuid=fixed-uid-done-for-testing-5642512d1758" + ], + "scan_errors": [] + }, + { + "path": "lib", + "type": "directory", + "package_data": [], + "for_packages": [], + "scan_errors": [] + }, + { + "path": "lib/python3.9", + "type": "directory", + "package_data": [], + "for_packages": [], + "scan_errors": [] + }, + { + "path": "lib/python3.9/site-packages", + "type": "directory", + "package_data": [], + "for_packages": [], + "scan_errors": [] + }, + { + "path": "lib/python3.9/site-packages/click", + "type": "directory", + "package_data": [], + "for_packages": [], + "scan_errors": [] + }, + { + "path": "lib/python3.9/site-packages/click-8.0.4.dist-info", + "type": "directory", + "package_data": [], + "for_packages": [], + "scan_errors": [] + }, + { + "path": "lib/python3.9/site-packages/click-8.0.4.dist-info/INSTALLER", + "type": "file", + "package_data": [], + "for_packages": [], + "scan_errors": [] + }, + { + "path": "lib/python3.9/site-packages/click-8.0.4.dist-info/LICENSE.rst", + "type": "file", + "package_data": [], + "for_packages": [], + "scan_errors": [] + }, + { + "path": "lib/python3.9/site-packages/click-8.0.4.dist-info/METADATA", + "type": "file", + "package_data": [ + { + "type": "pypi", + "namespace": null, + "name": "click", + "version": "8.0.4", + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": "Composable command line interface toolkit\n\\$ click\\_\n==========\n\nClick is a Python package for creating beautiful command line interfaces\nin a composable way with as little code as necessary. It's the \"Command\nLine Interface Creation Kit\". It's highly configurable but comes with\nsensible defaults out of the box.\n\nIt aims to make the process of writing command line tools quick and fun\nwhile also preventing any frustration caused by the inability to\nimplement an intended CLI API.\n\nClick in three points:\n\n- Arbitrary nesting of commands\n- Automatic help page generation\n- Supports lazy loading of subcommands at runtime\n\n\nInstalling\n----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n $ pip install -U click\n\n.. _pip: https://pip.pypa.io/en/stable/getting-started/\n\n\nA Simple Example\n----------------\n\n.. code-block:: python\n\n import click\n\n @click.command()\n @click.option(\"--count\", default=1, help=\"Number of greetings.\")\n @click.option(\"--name\", prompt=\"Your name\", help=\"The person to greet.\")\n def hello(count, name):\n \"\"\"Simple program that greets NAME for a total of COUNT times.\"\"\"\n for _ in range(count):\n click.echo(f\"Hello, {name}!\")\n\n if __name__ == '__main__':\n hello()\n\n.. code-block:: text\n\n $ python hello.py --count=3\n Your name: Click\n Hello, Click!\n Hello, Click!\n Hello, Click!\n\n\nDonate\n------\n\nThe Pallets organization develops and supports Click and other popular\npackages. In order to grow the community of contributors and users, and\nallow the maintainers to devote more time to the projects, `please\ndonate today`_.\n\n.. _please donate today: https://palletsprojects.com/donate\n\n\nLinks\n-----\n\n- Documentation: https://click.palletsprojects.com/\n- Changes: https://click.palletsprojects.com/changes/\n- PyPI Releases: https://pypi.org/project/click/\n- Source Code: https://github.com/pallets/click\n- Issue Tracker: https://github.com/pallets/click/issues\n- Website: https://palletsprojects.com/p/click\n- Twitter: https://twitter.com/PalletsTeam\n- Chat: https://discord.gg/pallets", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Armin Ronacher", + "email": "armin.ronacher@active-4.com", + "url": null + }, + { + "type": "person", + "role": "maintainer", + "name": "Pallets", + "email": "contact@palletsprojects.com", + "url": null + } + ], + "keywords": [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Programming Language :: Python" + ], + "homepage_url": "https://palletsprojects.com/p/click/", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "Issue Tracker, https://github.com/pallets/click/issues/", + "code_view_url": "Source Code, https://github.com/pallets/click/", + "vcs_url": null, + "copyright": null, + "license_expression": "bsd-new AND bsd-new", + "declared_license": { + "license": "BSD-3-Clause", + "classifiers": [ + "License :: OSI Approved :: BSD License" + ] + }, + "notice_text": null, + "source_packages": [], + "file_references": [ + { + "path": "click-8.0.4.dist-info/INSTALLER", + "size": 4, + "sha1": null, + "md5": null, + "sha256": "ceebae7b8927a3227e5303cf5e0f1f7b34bb542ad7250ac03fbcde36ec2f1508", + "sha512": null, + "extra_data": {} + }, + { + "path": "click-8.0.4.dist-info/LICENSE.rst", + "size": 1475, + "sha1": null, + "md5": null, + "sha256": "9a8ad106a394e853bfe21f42f4e72d592819a22805d991b5f3275029292b658d", + "sha512": null, + "extra_data": {} + }, + { + "path": "click-8.0.4.dist-info/METADATA", + "size": 3247, + "sha1": null, + "md5": null, + "sha256": "cdcb873b00ae5863b1c903bd30d3a51d51e712a7c50148b69471c4a4232d2c9c", + "sha512": null, + "extra_data": {} + }, + { + "path": "click-8.0.4.dist-info/RECORD", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click-8.0.4.dist-info/WHEEL", + "size": 92, + "sha1": null, + "md5": null, + "sha256": "1b5e87e00dc87a84269cead8578b9e6462928e18a95f1f3373c9eef451a5bcc0", + "sha512": null, + "extra_data": {} + }, + { + "path": "click-8.0.4.dist-info/top_level.txt", + "size": 6, + "sha1": null, + "md5": null, + "sha256": "275650a206a5612e29a6163f94f102a0d31fc341f34d2ad98250b861fc28e310", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__init__.py", + "size": 3243, + "sha1": null, + "md5": null, + "sha256": "6ce2abbccaa647dacdd3bbcdff2732add17e11c4c297e126b808eaf85a78c8f3", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__pycache__/__init__.cpython-36.pyc", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__pycache__/_compat.cpython-36.pyc", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__pycache__/_termui_impl.cpython-36.pyc", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__pycache__/_textwrap.cpython-36.pyc", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__pycache__/_unicodefun.cpython-36.pyc", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__pycache__/_winconsole.cpython-36.pyc", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__pycache__/core.cpython-36.pyc", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__pycache__/decorators.cpython-36.pyc", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__pycache__/exceptions.cpython-36.pyc", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__pycache__/formatting.cpython-36.pyc", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__pycache__/globals.cpython-36.pyc", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__pycache__/parser.cpython-36.pyc", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__pycache__/shell_completion.cpython-36.pyc", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__pycache__/termui.cpython-36.pyc", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__pycache__/testing.cpython-36.pyc", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__pycache__/types.cpython-36.pyc", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click/__pycache__/utils.cpython-36.pyc", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "extra_data": {} + }, + { + "path": "click/_compat.py", + "size": 18810, + "sha1": null, + "md5": null, + "sha256": "2481cb62cec9cf3e0a4fdb7e76ce28e230732e39f00a22502aababfb98b008a2", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/_termui_impl.py", + "size": 23451, + "sha1": null, + "md5": null, + "sha256": "a8ae827f2e26445c6fc44f1dc9af110612e9482f078c5fa5bc173a68dacf7708", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/_textwrap.py", + "size": 1353, + "sha1": null, + "md5": null, + "sha256": "d747d0eb839c05432e2bb985be1f37eb7feea0ec4f95122d64198acd12438286", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/_unicodefun.py", + "size": 3201, + "sha1": null, + "md5": null, + "sha256": "24a4a1d684b01bfcdb8c0bb84c109af6d41d7b63fd16261c7f83017f2e4d753f", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/_winconsole.py", + "size": 7860, + "sha1": null, + "md5": null, + "sha256": "e63bb78d091c643d16dbb584306aa610fe32fdcad45733c2aac5ff1586fb04ed", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/core.py", + "size": 111432, + "sha1": null, + "md5": null, + "sha256": "318626bea55afdd878c787fe9abed5c8d8bad7deee7186c9d1fb165b91270ab0", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/decorators.py", + "size": 14879, + "sha1": null, + "md5": null, + "sha256": "e599e0383ef6165a3c54b376f626ab234039bbf17e7719aab54ab1e0a37c84e8", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/exceptions.py", + "size": 9167, + "sha1": null, + "md5": null, + "sha256": "ee00da2c6b8564178237063d11132c176f99dd1f45bead3d65ce886522a3b1ea", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/formatting.py", + "size": 9706, + "sha1": null, + "md5": null, + "sha256": "16b7f4fb95b7dfe968c98fe2f6aaf05d1f3e4939d6de6e60bf2c4b554772c729", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/globals.py", + "size": 1961, + "sha1": null, + "md5": null, + "sha256": "4cffaa33cf124f373b7f5dbb877e530ffbfddb41607ce0f6130cea034a04f175", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/parser.py", + "size": 19044, + "sha1": null, + "md5": null, + "sha256": "70012dd6e411f20ab7f92f72b2a6d553e7dd01936f8a5c70e11789fd3d4e40c9", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/py.typed", + "size": 0, + "sha1": null, + "md5": null, + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/shell_completion.py", + "size": 18003, + "sha1": null, + "md5": null, + "sha256": "1c71f4c0cc250d6e16421b3cad1712f4cf0c028f6096d18137a5763c46ec4e9d", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/termui.py", + "size": 28873, + "sha1": null, + "md5": null, + "sha256": "999d76b9cdfe96815a57ffefafc6eec67f6e223021cbb43056e64e43c8c37637", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/testing.py", + "size": 16063, + "sha1": null, + "md5": null, + "sha256": "a6da4c620458edd55f1375038248306b2bbd78fc3df2c408dc3ef3657882a63e", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/types.py", + "size": 35092, + "sha1": null, + "md5": null, + "sha256": "ae3da0ddb8805ca90d295f2f9706c82925258b1857c9b1fce0df387f0098a945", + "sha512": null, + "extra_data": {} + }, + { + "path": "click/utils.py", + "size": 18934, + "sha1": null, + "md5": null, + "sha256": "33cb6ea6570514744e85adef43ad194526a4481fe783ac3d7bc51cd40ba03d9d", + "sha512": null, + "extra_data": {} + } + ], + "extra_data": { + "Donate": "Donate, https://palletsprojects.com/donate", + "Documentation": "Documentation, https://click.palletsprojects.com/", + "Changes": "Changes, https://click.palletsprojects.com/changes/", + "Twitter": "Twitter, https://twitter.com/PalletsTeam", + "Chat": "Chat, https://discord.gg/pallets" + }, + "dependencies": [ + { + "purl": "pkg:pypi/colorama", + "extracted_requirement": null, + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {} + }, + { + "purl": "pkg:pypi/importlib-metadata", + "extracted_requirement": null, + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {} + } + ], + "repository_homepage_url": "https://pypi.org/project/click", + "repository_download_url": "https://pypi.org/packages/source/c/click/click-8.0.4.tar.gz", + "api_data_url": "https://pypi.org/pypi/click/8.0.4/json", + "datasource_id": "pypi_wheel_metadata", + "purl": "pkg:pypi/click@8.0.4" + } + ], + "for_packages": [ + "pkg:pypi/click@8.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" + ], + "scan_errors": [] + }, + { + "path": "lib/python3.9/site-packages/click-8.0.4.dist-info/RECORD", + "type": "file", + "package_data": [], + "for_packages": [], + "scan_errors": [] + }, + { + "path": "lib/python3.9/site-packages/click-8.0.4.dist-info/WHEEL", + "type": "file", + "package_data": [], + "for_packages": [], + "scan_errors": [] + }, + { + "path": "lib/python3.9/site-packages/click-8.0.4.dist-info/top_level.txt", + "type": "file", + "package_data": [], + "for_packages": [], + "scan_errors": [] + }, + { + "path": "lib/python3.9/site-packages/click/core.py", + "type": "file", + "package_data": [], + "for_packages": [], + "scan_errors": [] + }, + { + "path": "setup.cfg", + "type": "file", + "package_data": [ + { + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "source_packages": [], + "file_references": [], + "extra_data": {}, + "dependencies": [], + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "datasource_id": "pypi_setup_cfg", + "purl": null + } + ], + "for_packages": [ + "pkg:pypi/pyjpstring@0.0.3?uuid=fixed-uid-done-for-testing-5642512d1758" + ], + "scan_errors": [] + }, + { + "path": "setup.py", + "type": "file", + "package_data": [ + { + "type": "pypi", + "namespace": null, + "name": "PyJPString", + "version": "0.0.3", + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": "Python japanese string utilities.", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "odoku", + "email": null, + "url": null + } + ], + "keywords": [ + "japanese", + "string" + ], + "homepage_url": "http://github.com/odoku/PyJPString", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": { + "license": "MIT" + }, + "notice_text": null, + "source_packages": [], + "file_references": [], + "extra_data": {}, + "dependencies": [ + { + "purl": "pkg:pypi/six", + "extracted_requirement": ">=1.10.0", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {} + }, + { + "purl": "pkg:pypi/zenhan", + "extracted_requirement": ">=0.5.2", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {} + } + ], + "repository_homepage_url": "https://pypi.org/project/PyJPString", + "repository_download_url": "https://pypi.org/packages/source/P/PyJPString/PyJPString-0.0.3.tar.gz", + "api_data_url": "https://pypi.org/pypi/PyJPString/0.0.3/json", + "datasource_id": "pypi_setup_py", + "purl": "pkg:pypi/pyjpstring@0.0.3" + } + ], + "for_packages": [ + "pkg:pypi/pyjpstring@0.0.3?uuid=fixed-uid-done-for-testing-5642512d1758" + ], + "scan_errors": [] + } + ] +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/solo-metadata/expected.json b/tests/packagedcode/data/pypi/solo-metadata/expected.json index 4d1c37a3968..46528c2e1b9 100644 --- a/tests/packagedcode/data/pypi/solo-metadata/expected.json +++ b/tests/packagedcode/data/pypi/solo-metadata/expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-expected.json b/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-expected.json index eaafc7b05df..d1bf3494712 100644 --- a/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-expected.json +++ b/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-expected.json @@ -18,8 +18,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/data/win_reg/get_installed_packages_docker/expected-results b/tests/packagedcode/data/win_reg/get_installed_packages_docker/expected-results index a4829530b55..935f6d47159 100644 --- a/tests/packagedcode/data/win_reg/get_installed_packages_docker/expected-results +++ b/tests/packagedcode/data/win_reg/get_installed_packages_docker/expected-results @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/packagedcode/test_pypi.py b/tests/packagedcode/test_pypi.py index 36810010a05..7b4528ca9d1 100644 --- a/tests/packagedcode/test_pypi.py +++ b/tests/packagedcode/test_pypi.py @@ -25,12 +25,19 @@ class TestPyPiEndtoEnd(PackageTester): - test_data_dir = os.path.join(os.path.dirname(__file__), 'data/pypi/source-package/') + test_data_dir = os.path.join(os.path.dirname(__file__), 'data') def test_package_scan_pypi_end_to_end(self): - test_dir = self.get_test_loc('pip-22.0.4/') + test_dir = self.get_test_loc('pypi/source-package/pip-22.0.4/') + result_file = self.get_temp_file('json') + expected_file = self.get_test_loc('pypi/source-package/pip-22.0.4-pypi-package-expected.json') + run_scan_click(['--package', '--strip-root', '--processes', '-1', test_dir, '--json', result_file]) + check_json_scan(expected_file, result_file, remove_uuid=True, regen=REGEN_TEST_FIXTURES) + + def test_package_scan_pypi_end_to_end_skip_site_packages(self): + test_dir = self.get_test_loc('pypi/site-packages/codebase') result_file = self.get_temp_file('json') - expected_file = self.get_test_loc('pip-22.0.4-pypi-package-expected.json') + expected_file = self.get_test_loc('pypi/site-packages/site-packages-expected.json') run_scan_click(['--package', '--strip-root', '--processes', '-1', test_dir, '--json', result_file]) check_json_scan(expected_file, result_file, remove_uuid=True, regen=REGEN_TEST_FIXTURES) @@ -388,6 +395,48 @@ def test_parse_dependency_file_with_invalid_does_not_fail(self): expected_loc = self.get_test_loc('pypi/requirements_txt/invalid_spec/output.expected.json') self.check_packages_data(package, expected_loc, regen=REGEN_TEST_FIXTURES) + def test_PipRequirementsFileHandler_is_datafile(self): + self.assertEqual( + pypi.PipRequirementsFileHandler.is_datafile('dev-requirements.txt', _bare_filename=True), + True + ) + self.assertEqual( + pypi.PipRequirementsFileHandler.is_datafile('requirements.txt', _bare_filename=True), + True + ) + self.assertEqual( + pypi.PipRequirementsFileHandler.is_datafile('requirement.txt', _bare_filename=True), + True + ) + self.assertEqual( + pypi.PipRequirementsFileHandler.is_datafile('requirements.in', _bare_filename=True), + True + ) + self.assertEqual( + pypi.PipRequirementsFileHandler.is_datafile('requirements.pip', _bare_filename=True), + True + ) + self.assertEqual( + pypi.PipRequirementsFileHandler.is_datafile('requirements-dev.txt', _bare_filename=True), + True + ) + self.assertEqual( + pypi.PipRequirementsFileHandler.is_datafile('some-requirements-dev.txt', _bare_filename=True), + True + ) + self.assertEqual( + pypi.PipRequirementsFileHandler.is_datafile('requires.txt', _bare_filename=True), + True + ) + self.assertEqual( + pypi.PipRequirementsFileHandler.is_datafile('requirements/base.txt', _bare_filename=True), + True + ) + self.assertEqual( + pypi.PipRequirementsFileHandler.is_datafile('reqs.txt', _bare_filename=True), + True + ) + class TestPyPiPipfile(PackageTester): test_data_dir = os.path.join(os.path.dirname(__file__), 'data') diff --git a/tests/scancode/data/altpath/copyright.expected.json b/tests/scancode/data/altpath/copyright.expected.json index c01d2fb22f0..8e710240298 100644 --- a/tests/scancode/data/altpath/copyright.expected.json +++ b/tests/scancode/data/altpath/copyright.expected.json @@ -15,6 +15,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 1 } diff --git a/tests/scancode/data/composer/composer.expected.json b/tests/scancode/data/composer/composer.expected.json index bc596b11ce3..37bd84fafe4 100644 --- a/tests/scancode/data/composer/composer.expected.json +++ b/tests/scancode/data/composer/composer.expected.json @@ -13,6 +13,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 1 } diff --git a/tests/scancode/data/failing/patchelf.expected.json b/tests/scancode/data/failing/patchelf.expected.json index c82ff8f12b2..e9769912c70 100644 --- a/tests/scancode/data/failing/patchelf.expected.json +++ b/tests/scancode/data/failing/patchelf.expected.json @@ -14,6 +14,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 1 } diff --git a/tests/scancode/data/info/all.expected.json b/tests/scancode/data/info/all.expected.json index 28505d2b1ef..0cae37dd490 100644 --- a/tests/scancode/data/info/all.expected.json +++ b/tests/scancode/data/info/all.expected.json @@ -16,6 +16,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 6 } diff --git a/tests/scancode/data/info/all.rooted.expected.json b/tests/scancode/data/info/all.rooted.expected.json index 1167751ce74..606c9d9253e 100644 --- a/tests/scancode/data/info/all.rooted.expected.json +++ b/tests/scancode/data/info/all.rooted.expected.json @@ -16,6 +16,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 6 } diff --git a/tests/scancode/data/info/basic.expected.json b/tests/scancode/data/info/basic.expected.json index 37aa80c72f9..141ea9657c0 100644 --- a/tests/scancode/data/info/basic.expected.json +++ b/tests/scancode/data/info/basic.expected.json @@ -14,6 +14,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 6 } diff --git a/tests/scancode/data/info/basic.rooted.expected.json b/tests/scancode/data/info/basic.rooted.expected.json index 875f6d68d4e..db30cd20d2c 100644 --- a/tests/scancode/data/info/basic.rooted.expected.json +++ b/tests/scancode/data/info/basic.rooted.expected.json @@ -13,6 +13,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 6 } diff --git a/tests/scancode/data/info/email_url_info.expected.json b/tests/scancode/data/info/email_url_info.expected.json index 3fad38a1554..953d6952b90 100644 --- a/tests/scancode/data/info/email_url_info.expected.json +++ b/tests/scancode/data/info/email_url_info.expected.json @@ -16,6 +16,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 6 } diff --git a/tests/scancode/data/license_text/test.expected b/tests/scancode/data/license_text/test.expected index da59f1b33a9..19cd6bdf4cb 100644 --- a/tests/scancode/data/license_text/test.expected +++ b/tests/scancode/data/license_text/test.expected @@ -15,6 +15,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 1 } diff --git a/tests/scancode/data/non_utf8/expected-linux.json b/tests/scancode/data/non_utf8/expected-linux.json index 0a7a48e9690..86bab4d44d8 100644 --- a/tests/scancode/data/non_utf8/expected-linux.json +++ b/tests/scancode/data/non_utf8/expected-linux.json @@ -14,6 +14,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 18 } diff --git a/tests/scancode/data/plugin_mark_source/with_info.expected.json b/tests/scancode/data/plugin_mark_source/with_info.expected.json index 4cfb18bdcf7..3649b5c90a0 100644 --- a/tests/scancode/data/plugin_mark_source/with_info.expected.json +++ b/tests/scancode/data/plugin_mark_source/with_info.expected.json @@ -14,6 +14,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 12 } diff --git a/tests/scancode/data/plugin_only_findings/basic.expected.json b/tests/scancode/data/plugin_only_findings/basic.expected.json index 09627bd1cfd..13179361d2a 100644 --- a/tests/scancode/data/plugin_only_findings/basic.expected.json +++ b/tests/scancode/data/plugin_only_findings/basic.expected.json @@ -17,6 +17,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 2 } diff --git a/tests/scancode/data/plugin_only_findings/errors.expected.json b/tests/scancode/data/plugin_only_findings/errors.expected.json index 331cf7e0f99..c29a0458821 100644 --- a/tests/scancode/data/plugin_only_findings/errors.expected.json +++ b/tests/scancode/data/plugin_only_findings/errors.expected.json @@ -38,6 +38,13 @@ ], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 1 } diff --git a/tests/scancode/data/plugin_only_findings/info.expected.json b/tests/scancode/data/plugin_only_findings/info.expected.json index e7d6e95c3a1..0f2520990b4 100644 --- a/tests/scancode/data/plugin_only_findings/info.expected.json +++ b/tests/scancode/data/plugin_only_findings/info.expected.json @@ -14,6 +14,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 0 } diff --git a/tests/scancode/data/rpm/fping-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json b/tests/scancode/data/rpm/fping-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json index e4666bfd4ff..9777889fece 100644 --- a/tests/scancode/data/rpm/fping-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json +++ b/tests/scancode/data/rpm/fping-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json @@ -13,6 +13,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 1 } diff --git a/tests/scancode/data/single/iproute.expected.json b/tests/scancode/data/single/iproute.expected.json index 9280f14190c..cb7ec8e04f2 100644 --- a/tests/scancode/data/single/iproute.expected.json +++ b/tests/scancode/data/single/iproute.expected.json @@ -14,6 +14,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 1 } diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json index 9eddcbad5ba..624be89bc67 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json @@ -19,6 +19,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 3 } diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--quiet b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--quiet index 96b8369adf8..4b61a2c743b 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--quiet +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--quiet @@ -20,6 +20,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 3 } diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--verbose b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--verbose index 9eddcbad5ba..624be89bc67 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--verbose +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--verbose @@ -19,6 +19,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 3 } diff --git a/tests/scancode/data/weird_file_name/expected-posix.json b/tests/scancode/data/weird_file_name/expected-posix.json index 3213c13fb41..a97916c8b24 100644 --- a/tests/scancode/data/weird_file_name/expected-posix.json +++ b/tests/scancode/data/weird_file_name/expected-posix.json @@ -15,6 +15,13 @@ "errors": [], "warnings": [], "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", + "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" + }, "spdx_license_list_version": "3.16", "files_count": 5 } diff --git a/tests/summarycode/data/classify/cli.expected.json b/tests/summarycode/data/classify/cli.expected.json index 9ab283b9720..0505aa71093 100644 --- a/tests/summarycode/data/classify/cli.expected.json +++ b/tests/summarycode/data/classify/cli.expected.json @@ -17,8 +17,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/facet/cli.expected.json b/tests/summarycode/data/facet/cli.expected.json index ba5c0baa0b1..b932c62310e 100644 --- a/tests/summarycode/data/facet/cli.expected.json +++ b/tests/summarycode/data/facet/cli.expected.json @@ -21,8 +21,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/generated/cli.expected.json b/tests/summarycode/data/generated/cli.expected.json index c788f1d373d..61595db8447 100644 --- a/tests/summarycode/data/generated/cli.expected.json +++ b/tests/summarycode/data/generated/cli.expected.json @@ -16,8 +16,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json b/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json index 4003ea9bab1..765a4fef9dd 100644 --- a/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json +++ b/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json @@ -22,8 +22,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/plugin_consolidate/component-package-expected.json b/tests/summarycode/data/plugin_consolidate/component-package-expected.json index dac756977dd..45d9d6999c1 100644 --- a/tests/summarycode/data/plugin_consolidate/component-package-expected.json +++ b/tests/summarycode/data/plugin_consolidate/component-package-expected.json @@ -19,8 +19,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", @@ -46,8 +46,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/plugin_consolidate/e2fsprogs-expected.json b/tests/summarycode/data/plugin_consolidate/e2fsprogs-expected.json index f70b6cd9f04..c61e13629ca 100644 --- a/tests/summarycode/data/plugin_consolidate/e2fsprogs-expected.json +++ b/tests/summarycode/data/plugin_consolidate/e2fsprogs-expected.json @@ -44,8 +44,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json b/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json index 8b9a1b0c0a8..1a5b829c6ab 100644 --- a/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json +++ b/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json @@ -22,8 +22,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json b/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json index e76b7a5907c..a213e3092ad 100644 --- a/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json +++ b/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json @@ -22,8 +22,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json b/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json index 61b097c58d5..9d1bfabd021 100644 --- a/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json @@ -22,8 +22,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json b/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json index f2a586ad69d..a07eaf5b705 100644 --- a/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json @@ -22,8 +22,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json b/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json index 949ae52c52f..f483d0c0f39 100644 --- a/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json @@ -22,8 +22,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json b/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json index 7dc5f7914b4..045afdf150c 100644 --- a/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json +++ b/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json @@ -22,8 +22,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json b/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json index e7130e1785e..6eec7b38aa9 100644 --- a/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json +++ b/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json @@ -22,8 +22,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/plugin_consolidate/zlib-expected.json b/tests/summarycode/data/plugin_consolidate/zlib-expected.json index f353b23b610..636fd462e27 100644 --- a/tests/summarycode/data/plugin_consolidate/zlib-expected.json +++ b/tests/summarycode/data/plugin_consolidate/zlib-expected.json @@ -44,8 +44,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/score/basic-expected.json b/tests/summarycode/data/score/basic-expected.json index 3fcc0a49233..63f44d1b9f0 100644 --- a/tests/summarycode/data/score/basic-expected.json +++ b/tests/summarycode/data/score/basic-expected.json @@ -20,8 +20,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json b/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json index a13fdeac7ca..fe562fd9e04 100644 --- a/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json +++ b/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json @@ -20,8 +20,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/score/no_license_ambiguity-expected.json b/tests/summarycode/data/score/no_license_ambiguity-expected.json index dbf7251113e..0aeef4fb3ab 100644 --- a/tests/summarycode/data/score/no_license_ambiguity-expected.json +++ b/tests/summarycode/data/score/no_license_ambiguity-expected.json @@ -20,8 +20,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/score/no_license_or_copyright-expected.json b/tests/summarycode/data/score/no_license_or_copyright-expected.json index 48fdb514fc1..e94bcd1a071 100644 --- a/tests/summarycode/data/score/no_license_or_copyright-expected.json +++ b/tests/summarycode/data/score/no_license_or_copyright-expected.json @@ -20,8 +20,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/score/no_license_text-expected.json b/tests/summarycode/data/score/no_license_text-expected.json index 6e4c4a3ebcb..3b14ba18e7c 100644 --- a/tests/summarycode/data/score/no_license_text-expected.json +++ b/tests/summarycode/data/score/no_license_text-expected.json @@ -20,8 +20,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json b/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json index 2f1a29b71d2..7fa434ba1b6 100644 --- a/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json +++ b/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json @@ -21,8 +21,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json b/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json index 021e4b5222e..f65b38b046f 100644 --- a/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json +++ b/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json @@ -21,8 +21,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/summary/holders/clear_holder.expected.json b/tests/summarycode/data/summary/holders/clear_holder.expected.json index ab6f36849ab..74c9f5e588c 100644 --- a/tests/summarycode/data/summary/holders/clear_holder.expected.json +++ b/tests/summarycode/data/summary/holders/clear_holder.expected.json @@ -21,8 +21,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/summary/holders/combined_holders.expected.json b/tests/summarycode/data/summary/holders/combined_holders.expected.json index 917d6ae5657..5cfac30528c 100644 --- a/tests/summarycode/data/summary/holders/combined_holders.expected.json +++ b/tests/summarycode/data/summary/holders/combined_holders.expected.json @@ -21,8 +21,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json b/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json index 88c2dfd4f15..7284b40780c 100644 --- a/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json +++ b/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json @@ -21,8 +21,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json b/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json index 466d544d840..b6720623181 100644 --- a/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json +++ b/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json @@ -21,8 +21,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json b/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json index 798626cddf4..3aaa756b8c9 100644 --- a/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json +++ b/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json @@ -21,8 +21,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/summary/single_file/single_file.expected.json b/tests/summarycode/data/summary/single_file/single_file.expected.json index c2cdd5f452f..bd4f6309127 100644 --- a/tests/summarycode/data/summary/single_file/single_file.expected.json +++ b/tests/summarycode/data/summary/single_file/single_file.expected.json @@ -21,8 +21,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json b/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json index 6c279561ddd..d1e5dbe1b30 100644 --- a/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json +++ b/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json @@ -21,8 +21,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json b/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json index beaccce1e80..bef224aa9d3 100644 --- a/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json +++ b/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json @@ -21,8 +21,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/tallies/copyright_tallies/tallies.expected.json b/tests/summarycode/data/tallies/copyright_tallies/tallies.expected.json index 2f1374bcd6b..fc6bd72a4c3 100644 --- a/tests/summarycode/data/tallies/copyright_tallies/tallies.expected.json +++ b/tests/summarycode/data/tallies/copyright_tallies/tallies.expected.json @@ -17,8 +17,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/tallies/copyright_tallies/tallies2.expected.json b/tests/summarycode/data/tallies/copyright_tallies/tallies2.expected.json index 09225924b57..377e2b1ffa8 100644 --- a/tests/summarycode/data/tallies/copyright_tallies/tallies2.expected.json +++ b/tests/summarycode/data/tallies/copyright_tallies/tallies2.expected.json @@ -17,8 +17,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected.json b/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected.json index 75e68fa5be9..02ac9f684ef 100644 --- a/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected.json +++ b/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected.json @@ -17,8 +17,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected2.json b/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected2.json index aaaf089926c..cc0a8047ce2 100644 --- a/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected2.json +++ b/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected2.json @@ -17,8 +17,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/tallies/copyright_tallies/tallies_key_files.expected.json b/tests/summarycode/data/tallies/copyright_tallies/tallies_key_files.expected.json index 23ff501b054..8df7119189b 100644 --- a/tests/summarycode/data/tallies/copyright_tallies/tallies_key_files.expected.json +++ b/tests/summarycode/data/tallies/copyright_tallies/tallies_key_files.expected.json @@ -20,8 +20,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json b/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json index 7ed8d47b7b0..f34b9c797e3 100644 --- a/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json +++ b/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json @@ -25,8 +25,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/tallies/full_tallies/tallies.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies.expected.json index 79d95721a05..0c8032c7f86 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies.expected.json @@ -20,8 +20,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json index 9ec2c9db360..c16e1e97bdd 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json @@ -31,8 +31,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json index 5ce53df907f..2e9fc776159 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json @@ -20,8 +20,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines b/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines index 208b429a730..c7579bdaf27 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines +++ b/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines @@ -22,8 +22,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json index dafb4b2f0af..125be46aad7 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json @@ -21,8 +21,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16", diff --git a/tests/summarycode/data/tallies/packages/expected.json b/tests/summarycode/data/tallies/packages/expected.json index 4f3ef4d36c4..1dda28b96a7 100644 --- a/tests/summarycode/data/tallies/packages/expected.json +++ b/tests/summarycode/data/tallies/packages/expected.json @@ -17,8 +17,8 @@ "system_environment": { "operating_system": "linux", "cpu_architecture": "64", - "platform": "Linux-5.4.0-107-generic-x86_64-with-Ubuntu-18.04-bionic", - "platform_version": "#121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022", + "platform": "Linux-5.4.0-109-generic-x86_64-with-Ubuntu-18.04-bionic", + "platform_version": "#123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022", "python_version": "3.6.9 (default, Mar 15 2022, 13:55:28) \n[GCC 8.4.0]" }, "spdx_license_list_version": "3.16",