From 45ecc841c16a8022ed33a9ea4c34c02b9f610166 Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Thu, 18 May 2023 14:26:47 +0530 Subject: [PATCH 1/4] Format extracted_license_statement as YAML Signed-off-by: Ayan Sinha Mahapatra --- src/packagedcode/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/packagedcode/models.py b/src/packagedcode/models.py index ca8d80cf251..dc99ad58c88 100644 --- a/src/packagedcode/models.py +++ b/src/packagedcode/models.py @@ -16,6 +16,7 @@ import attr from packageurl import normalize_qualifiers from packageurl import PackageURL +import saneyaml from commoncode import filetype from commoncode.datautils import choices @@ -780,7 +781,7 @@ def populate_license_fields(self): ) if self.extracted_license_statement and not isinstance(self.extracted_license_statement, str): - self.extracted_license_statement = repr(self.extracted_license_statement) + self.extracted_license_statement = saneyaml.dump(self.extracted_license_statement) def to_dict(self, with_details=True, **kwargs): mapping = super().to_dict(with_details=with_details, **kwargs) From f1d83fa3284e1342df9a76e991b5f11aa420ecda Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Thu, 18 May 2023 14:44:46 +0530 Subject: [PATCH 2/4] Update test expectations for extracted license statements Signed-off-by: Ayan Sinha Mahapatra --- .../data/csv/packages/expected-no-root.csv | 3 +- .../data/csv/packages/expected.csv | 3 +- ...-matched-text-with-reference.expected.json | 4 +- .../scan-with-reference.expected.json | 4 +- .../package/package.expected.json | 4 +- .../data/bower/author-objects/expected.json | 2 +- .../data/bower/list-of-licenses/expected.json | 2 +- .../data/bower/scan-expected.json | 4 +- .../data/build/buck/end2end-expected.json | 2 +- .../data/debian/basic-rootfs-expected.json | 4 +- ...r-layer.tar.xz.get-installed-expected.json | 4 +- ...-container-layer.tar.xz.scan-expected.json | 4 +- ...instance-expected-with-test-manifests.json | 4 +- .../reference-to-package/base.expected.json | 4 +- .../google_appengine_sdk.expected.json | 10 ++-- .../paddlenlp.expected.json | 4 +- .../1.0/aopalliance-1.0.pom.package.json | 2 +- .../1.5.3/aspectjrt-1.5.3.pom.package.json | 2 +- .../0.0.203/bndlib-0.0.203.pom.package.json | 2 +- .../0.0.238/bndlib-0.0.238.pom.package.json | 2 +- .../data/m2/bytebuddy/pom.xml.package.json | 2 +- .../0.9.0.4/c3p0-0.9.0.4.pom.package.json | 2 +- .../1.3/commons-codec-1.3.pom.package.json | 2 +- .../commons-collections-3.2.pom.package.json | 2 +- .../jsch/0.1.23/jsch-0.1.23.pom.package.json | 2 +- .../jsch/0.1.27/jsch-0.1.27.pom.package.json | 2 +- .../xstream-parent-1.2.2.pom.package.json | 2 +- .../data/m2/depman/foo.pom.package.json | 2 +- .../1.8/commons-digester-1.8.pom.package.json | 2 +- .../1.0/commons-el-1.0.pom.package.json | 2 +- .../1.8.0.7/hsqldb-1.8.0.7.pom.package.json | 2 +- .../1.6.2/httpunit-1.6.2.pom.package.json | 2 +- .../1.3.1/commons-io-1.3.1.pom.package.json | 2 +- .../3.4.GA/javassist-3.4.GA.pom.package.json | 2 +- .../1.0/persistence-api-1.0.pom.package.json | 2 +- .../3.3.ga/javassist-3.3.ga.pom.package.json | 2 +- ...-5.0.0alpha-200607201-119.pom.package.json | 2 +- .../jtidy-4aug2000r7-dev.pom.package.json | 2 +- .../junit/3.8.1/junit-3.8.1.pom.package.json | 2 +- .../junit/3.8.2/junit-3.8.2.pom.package.json | 2 +- .../junit/4.4/junit-4.4.pom.package.json | 2 +- .../2.1/commons-lang-2.1.pom.package.json | 2 +- .../2.3/commons-lang-2.3.pom.package.json | 2 +- .../1.2.15/log4j-1.2.15.pom.package.json | 2 +- .../commons-logging-1.0.4.pom.package.json | 2 +- .../1.1/commons-logging-1.1.pom.package.json | 2 +- ...ysql-connector-java-5.0.4.pom.package.json | 2 +- .../1.2.3/ehcache-1.2.3.pom.package.json | 2 +- .../kxml2/2.2.2/kxml2-2.2.2.pom.package.json | 2 +- ...egi-security-parent-1.0.5.pom.package.json | 2 +- ...egi-security-parent-1.0.7.pom.package.json | 2 +- .../1.1.1/master-1.1.1.pom.package.json | 2 +- .../apache/apache/1/apache-1.pom.package.json | 2 +- .../apache/apache/3/apache-3.pom.package.json | 2 +- .../apache/apache/4/apache-4.pom.package.json | 2 +- .../1.22/commons-jaxrs-1.22.pom.package.json | 2 +- .../1.1/project-config-1.1.pom.package.json | 2 +- .../maven/2.0.1/maven-2.0.1.pom.package.json | 2 +- .../maven/2.0.2/maven-2.0.2.pom.package.json | 2 +- .../maven/2.0.4/maven-2.0.4.pom.package.json | 2 +- .../maven/2.0/maven-2.0.pom.package.json | 2 +- ...ven-dependency-plugin-2.0.pom.package.json | 2 +- .../wagon-file-1.0-alpha-5.pom.package.json | 2 +- ...p-lightweight-1.0-alpha-5.pom.package.json | 2 +- ...-provider-api-1.0-alpha-5.pom.package.json | 2 +- .../wagon-ssh-1.0-alpha-5.pom.package.json | 2 +- .../wagon-1.0-alpha-6.pom.package.json | 2 +- .../build/1.1.1/build-1.1.1.pom.package.json | 2 +- .../myfaces-master-1.0.5.pom.package.json | 2 +- .../1.5/velocity-1.5.pom.package.json | 2 +- .../1.5.4/aspectjrt-1.5.4.pom.package.json | 2 +- .../1.6.0/aspectjrt-1.6.0.pom.package.json | 2 +- .../1.5.4/aspectjtools-1.5.4.pom.package.json | 2 +- .../1.6.0/aspectjtools-1.6.0.pom.package.json | 2 +- .../aspectjweaver-1.5.4.pom.package.json | 2 +- .../aspectjweaver-1.6.0.pom.package.json | 2 +- .../aspectj-maven-plugin-1.0.pom.package.json | 2 +- ...gin-1.2-20080813.143116-6.pom.package.json | 2 +- ...maven-plugin-1.2-SNAPSHOT.pom.package.json | 2 +- ...obertura-maven-plugin-2.2.pom.package.json | 2 +- ...ndbugs-maven-plugin-1.1.1.pom.package.json | 2 +- ...-buildnumber-plugin-0.9.6.pom.package.json | 2 +- .../1.0.11/plexus-1.0.11.pom.package.json | 2 +- .../2.3/easymock-2.3.pom.package.json | 2 +- ...asymockclassextension-2.3.pom.package.json | 2 +- ...nate-annotations-3.2.1.ga.pom.package.json | 2 +- ...nate-annotations-3.3.1.GA.pom.package.json | 2 +- ...mons-annotations-3.0.0.ga.pom.package.json | 2 +- ...te-entitymanager-3.2.1.ga.pom.package.json | 2 +- ...te-entitymanager-3.3.2.GA.pom.package.json | 2 +- .../hibernate-3.2.1.ga.pom.package.json | 2 +- .../hibernate-3.2.6.ga.pom.package.json | 2 +- .../7/jetty-parent-7.pom.package.json | 2 +- .../6.1.5/project-6.1.5.pom.package.json | 2 +- .../servlet-api-2.5-6.1.5.pom.package.json | 2 +- .../2.5.3/spring-aop-2.5.3.pom.package.json | 2 +- .../spring-aspects-2.5.3.pom.package.json | 2 +- .../spring-aspects-2.5.4.pom.package.json | 2 +- .../2.5.3/spring-beans-2.5.3.pom.package.json | 2 +- ...ing-context-support-2.5.3.pom.package.json | 2 +- .../spring-context-2.5.3.pom.package.json | 2 +- .../2.5.3/spring-core-2.5.3.pom.package.json | 2 +- .../2.5.3/spring-jdbc-2.5.3.pom.package.json | 2 +- .../2.5.3/spring-orm-2.5.3.pom.package.json | 2 +- .../2.5.3/spring-test-2.5.3.pom.package.json | 2 +- .../2.5.4/spring-test-2.5.4.pom.package.json | 2 +- .../2.5.3/spring-tx-2.5.3.pom.package.json | 2 +- .../2.5.3/spring-web-2.5.3.pom.package.json | 2 +- .../spring-webmvc-2.5.3.pom.package.json | 2 +- .../spring-webmvc-2.5.4.pom.package.json | 2 +- .../2.5.4/spring-2.5.4.pom.package.json | 2 +- .../testng/5.7/testng-5.7.pom.package.json | 2 +- .../testng/5.8/testng-5.8.pom.package.json | 2 +- .../p6spy/1.3/p6spy-1.3.pom.package.json | 2 +- .../jds-2.17.0718b.pom.package.json | 2 +- .../parse_error/jds-3.0.1.pom.package.json | 2 +- .../common-object-1.0.2.pom.package.json | 2 +- .../osgl-http-1.1.2.pom.package.json | 2 +- .../commons-validator-1.2.0.pom.package.json | 2 +- .../commons-validator-1.3.1.pom.package.json | 2 +- .../1.4/velocity-1.4.pom.package.json | 2 +- .../1.0.b2/xml-apis-1.0.b2.pom.package.json | 2 +- .../1.1.3.1/xmlpull-1.1.3.1.pom.package.json | 2 +- .../aopalliance-1.0.pom.package.json | 2 +- .../commons-validator-1.2.0.pom.package.json | 2 +- ...ndbugs-maven-plugin-1.1.1.pom.package.json | 2 +- .../maven2/foo-pom/foo-pom.xml.package.json | 2 +- .../jrecordbind-2.3.4.pom.package.json | 2 +- .../maven2/log4j/log4j-pom.xml.package.json | 2 +- .../logback-access.pom.package.json | 2 +- .../spring-2.5.4.pom.package.json | 2 +- .../spring-orm-2.5.3.pom.package.json | 2 +- .../spring-webmvc-2.5.3.pom.package.json | 2 +- .../npm/as_installed/package.json.expected | 2 +- .../authors_list_dicts/package.json.expected | 2 +- .../package.json.expected | 2 +- .../data/npm/casepath/package.json.expected | 2 +- .../data/npm/chartist/package.json.expected | 2 +- .../data/npm/dist/package.json.expected | 2 +- .../npm/double_license/package.json.expected | 2 +- .../data/npm/electron/package.expected.json | 4 +- .../express-jwt-3.4.0/package.json.expected | 2 +- .../data/npm/from_npmjs/package.json.expected | 2 +- .../npm/from_tarball/package.json.expected | 2 +- .../get_package_resources.scan.expected.json | 4 +- .../homepage-as-list/package.json.expected | 2 +- .../npm/invalid-dep/package.json.expected | 2 +- .../data/npm/keywords/package.json.expected | 2 +- .../legacy_license_dict/package.json.expected | 2 +- .../data/npm/mime-1.3.4/package.json.expected | 2 +- .../data/npm/scan-nested/scan.expected.json | 8 +-- .../data/npm/scoped1/package.json.expected | 2 +- .../data/npm/scoped2/package.json.expected | 2 +- .../data/npm/sequelize/package.json.expected | 2 +- .../data/npm/uri_vcs/package.json.expected | 2 +- .../data/npm/urls_dict/package.json.expected | 2 +- .../utils-merge-1.0.0/package.json.expected | 2 +- .../data/npm/with_name/package.json.expected | 2 +- .../phpcomposer/composer.lock-expected.json | 60 +++++++++---------- .../phpcomposer/fake2/composer.json.expected | 2 +- .../data/plugin/com-package-expected.json | 2 +- .../get_installed_packages-expected.json | 4 +- .../data/plugin/maven-package-expected.json | 40 ++++++------- .../data/plugin/mui-package-expected.json | 2 +- .../data/plugin/mun-package-expected.json | 2 +- .../data/plugin/python-package-expected.json | 16 ++--- .../plugin/rubygems-package-expected.json | 4 +- .../data/plugin/sys-package-expected.json | 2 +- .../data/plugin/tlb-package-expected.json | 2 +- .../data/plugin/win_pe-package-expected.json | 2 +- .../data/plugin/winmd-package-expected.json | 2 +- ...s-1.2.1-py2.py3-none-any.whl-expected.json | 2 +- ...commoncode-21.5.12-py3.9.egg-expected.json | 2 +- .../scancode_toolkit.egg-info-expected.json | 2 +- .../dist-info-metadata/METADATA-expected.json | 2 +- .../data/pypi/metadata/PKG-INFO-expected.json | 2 +- .../pypi/metadata/v10/PKG-INFO-expected.json | 2 +- .../pypi/metadata/v11/PKG-INFO-expected.json | 2 +- .../pypi/metadata/v12/PKG-INFO-expected.json | 2 +- .../pypi/metadata/v20/PKG-INFO-expected.json | 2 +- .../pypi/metadata/v21/PKG-INFO-expected.json | 2 +- .../flask_setup.py-expected.json | 2 +- .../pyyaml_setup.py-expected.json | 2 +- .../requests_setup.py-expected.json | 2 +- .../sqlalchemy_setup.py-expected.json | 2 +- .../unpack_kwargs_setup.py-expected.json | 2 +- .../with_name-setup.py.expected.json | 2 +- .../arpy_setup.py-expected.json | 2 +- .../setup.py-expected.json | 2 +- .../certifi-2020.6.20/setup.py-expected.json | 2 +- .../cffi-1.14.0/setup.py-expected.json | 2 +- .../chardet-3.0.4/setup.py-expected.json | 2 +- .../docutils-0.16/setup.py-expected.json | 2 +- .../idna-2.9/setup.py-expected.json | 2 +- .../paho-mqtt-1.5.0/setup.py-expected.json | 2 +- .../pexpect-4.6.0/setup.py-expected.json | 2 +- .../pip-22.0.4/setup.py-expected.json | 2 +- .../pycparser-2.20/setup.py-expected.json | 2 +- .../pyserial-3.4/setup.py-expected.json | 2 +- .../pytoml-0.1.21/setup.py-expected.json | 2 +- .../requests-2.24.0/setup.py-expected.json | 2 +- .../setupreader-0.0.3/setup.py-expected.json | 2 +- .../six-1.14.0/setup.py-expected.json | 2 +- .../urllib3-1.25.9/setup.py-expected.json | 2 +- .../setup.py/bluepyopt_setup.py-expected.json | 2 +- .../boolean2_py_setup.py-expected.json | 2 +- .../setup.py/complex_setup.py-expected.json | 2 +- .../container_check_setup.py-expected.json | 2 +- .../setup.py/fb303_py_setup.py-expected.json | 2 +- .../setup.py/frell_src_setup.py-expected.json | 2 +- .../setup.py/interlap_setup.py-expected.json | 2 +- .../pypi/setup.py/mb_setup.py-expected.json | 2 +- .../pypi/setup.py/ntfs_setup.py-expected.json | 2 +- .../setup.py/nvchecker_setup.py-expected.json | 2 +- ..._agents_common_code_setup.py-expected.json | 2 +- .../packageurl_python_setup.py-expected.json | 2 +- .../pipdeptree_setup.py-expected.json | 2 +- .../setup.py/pluggy_setup.py-expected.json | 2 +- ...pygtrie_with_kwargs_setup.py-expected.json | 2 +- .../setup.py/pyrpm_2_setup.py-expected.json | 2 +- ...python_publicsuffix_setup.py-expected.json | 2 +- ...ology_py_libversion_setup.py-expected.json | 2 +- .../setup.py/saneyaml_setup.py-expected.json | 2 +- .../setuppycheck_setup.py-expected.json | 2 +- .../setup.py/simple-setup.py-expected.json | 2 +- .../setup.py/url_py_setup.py-expected.json | 2 +- .../pypi/setup.py/venv_setup.py-expected.json | 2 +- .../whatsapp-play-setup.py-expected.json | 2 +- .../setup.py/xmltodict_setup.py-expected.json | 2 +- .../site-packages/site-packages-expected.json | 10 ++-- .../data/pypi/solo-metadata/expected.json | 4 +- .../data/pypi/solo-setup/expected.json | 2 +- .../pip-22.0.4-pypi-package-expected.json | 8 +-- ...ip-22.0.4-pypi-package-setup-expected.json | 2 +- .../PyJPString-0.0.3-expected.json | 2 +- .../PyJPString-0.0.3-subdir-expected.json | 2 +- .../python-mimeparse-1.6.0-expected.json | 2 +- .../pyup-django-0.4.0-expected.json | 2 +- .../metadata-1.2/anonapi-0.0.19-expected.json | 2 +- .../commoncode-21.5.12-expected.json | 2 +- .../celery-expected.json | 6 +- .../daglib_wheel_extracted-expected.json | 4 +- .../Jinja2-2.10.dist-info-expected.json | 2 +- ...on_mimeparse-1.6.0.dist-info-expected.json | 2 +- .../toml-0.10.1.dist-info-expected.json | 2 +- .../urllib3-1.26.4.dist-info-expected.json | 2 +- .../haruka_bot-1.2.3.dist-info-expected.json | 2 +- .../pip-20.2.2.dist-info-expected.json | 2 +- ...plugincode-21.1.21.dist-info-expected.json | 2 +- .../anonapi-0.0.19.dist-info-expected.json | 2 +- .../gem/action_tracker-1.0.2.gem.json | 2 +- .../data/rubygems/gem/m2r-2.1.0.gem.json | 2 +- .../new/dependabot-omnibus-0.87.15.gem.json | 2 +- .../gem/new/hiredis-0.6.3-java.gem.json | 2 +- .../rubygems/gem/new/int_time-0.0.2.gem.json | 2 +- .../gem/new/jaro_winkler-1.5.1-java.gem.json | 2 +- .../rubygems/gem/new/rubocop-0.62.0.gem.json | 2 +- ...eLibrary.Caching.dll.package-expected.json | 2 +- .../Moq.Silverlight.dll.package-expected.json | 2 +- .../Windows.AI.winmd.package-expected.json | 2 +- .../_ctypes_test.pyd.package-expected.json | 2 +- .../win_pe/chcp.com.package-expected.json | 2 +- .../win_pe/clfs.sys.mui.package-expected.json | 2 +- .../crypt32.dll.mun.package-expected.json | 2 +- .../win_pe/euc-jp.so.package-expected.json | 2 +- .../win_pe/file.exe.package-expected.json | 2 +- .../libiconv2.dll.package-expected.json | 2 +- .../win_pe/libintl3.dll.package-expected.json | 2 +- .../win_pe/stdole2.tlb.package-expected.json | 2 +- .../data/win_pe/tbs.sys.package-expected.json | 2 +- .../win_pe/tre4.dll.package-expected.json | 2 +- .../win_pe/zlib1.dll.package-expected.json | 2 +- .../classify/with_package_data.expected.json | 4 +- .../component-package-build-expected.json | 4 +- .../component-package-expected.json | 4 +- ...t-counted-in-license-holders-expected.json | 4 +- .../package-fileset-expected.json | 4 +- .../package-manifest-expected.json | 4 +- .../data/score/basic-expected.json | 4 +- ...consistent_licenses_copyleft-expected.json | 4 +- .../summarycode/data/score/jar-expected.json | 4 +- .../data/score/no_license_text-expected.json | 4 +- .../multiple_package_data.expected.json | 4 +- .../summary-without-holder-pypi.expected.json | 6 +- .../with_package_data.expected.json | 4 +- .../full_tallies/tallies.expected.json | 4 +- .../tallies_by_facet.expected.json | 4 +- .../tallies_details.expected.json | 4 +- .../data/tallies/packages/expected.json | 8 +-- 289 files changed, 398 insertions(+), 396 deletions(-) diff --git a/tests/formattedcode/data/csv/packages/expected-no-root.csv b/tests/formattedcode/data/csv/packages/expected-no-root.csv index 3398c0f72b9..731aab85792 100644 --- a/tests/formattedcode/data/csv/packages/expected-no-root.csv +++ b/tests/formattedcode/data/csv/packages/expected-no-root.csv @@ -1,3 +1,4 @@ path,type,scan_errors,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__holder,package__declared_license_expression,package__declared_license_expression_spdx,package__license_detections,package__other_license_expression,package__other_license_expression_spdx,package__other_license_detections,package__extracted_license_statement,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 package.json,file,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,npm,,npm,v 2.13.5,,,JavaScript,a package manager for JavaScript,,https://docs.npmjs.com/,https://registry.npmjs.org/npm/-/npm-2.13.5.tgz,,a124386bce4a90506f28ad4b1d1a804a17baaf32,,,,http://github.com/npm/npm/issues,,git+https://github.com/npm/npm.git@fc7bbf03e39cc48a8924b90696d28345a6a90f3c,,,artistic-2.0,Artistic-2.0,"[{'license_expression': 'artistic-2.0', 'matches': [{'score': 50.0, 'start_line': 1, 'end_line': 1, 'matched_length': 3, 'match_coverage': 100.0, 'matcher': '1-hash', 'license_expression': 'artistic-2.0', 'rule_identifier': 'spdx_license_id_artistic-2.0_for_artistic-2.0.RULE', 'rule_relevance': 50, 'rule_url': 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE', 'matched_text': 'Artistic-2.0'}], 'identifier': 'artistic_2_0-2ca48deb-7b37-fc93-edd9-b349ad073774'}]",,,,['Artistic-2.0'],,,,https://www.npmjs.com/package/npm,https://registry.npmjs.org/npm/-/npm-2.13.5.tgz,https://registry.npmjs.org/npm/2.13.5,npm_package_json,pkg:npm/npm@2.13.5 +package.json,,,npm,,npm,v 2.13.5,,,JavaScript,a package manager for JavaScript,,https://docs.npmjs.com/,https://registry.npmjs.org/npm/-/npm-2.13.5.tgz,,a124386bce4a90506f28ad4b1d1a804a17baaf32,,,,http://github.com/npm/npm/issues,,git+https://github.com/npm/npm.git@fc7bbf03e39cc48a8924b90696d28345a6a90f3c,,,artistic-2.0,Artistic-2.0,"[{'license_expression': 'artistic-2.0', 'matches': [{'score': 50.0, 'start_line': 1, 'end_line': 1, 'matched_length': 3, 'match_coverage': 100.0, 'matcher': '1-hash', 'license_expression': 'artistic-2.0', 'rule_identifier': 'spdx_license_id_artistic-2.0_for_artistic-2.0.RULE', 'rule_relevance': 50, 'rule_url': 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE', 'matched_text': 'Artistic-2.0'}], 'identifier': 'artistic_2_0-2ca48deb-7b37-fc93-edd9-b349ad073774'}]",,,,"- Artistic-2.0 +",,,,https://www.npmjs.com/package/npm,https://registry.npmjs.org/npm/-/npm-2.13.5.tgz,https://registry.npmjs.org/npm/2.13.5,npm_package_json,pkg:npm/npm@2.13.5 diff --git a/tests/formattedcode/data/csv/packages/expected.csv b/tests/formattedcode/data/csv/packages/expected.csv index be6704ed87e..954cba6712b 100644 --- a/tests/formattedcode/data/csv/packages/expected.csv +++ b/tests/formattedcode/data/csv/packages/expected.csv @@ -1,4 +1,5 @@ path,type,scan_errors,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__holder,package__declared_license_expression,package__declared_license_expression_spdx,package__license_detections,package__other_license_expression,package__other_license_expression_spdx,package__other_license_detections,package__extracted_license_statement,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 scan/,directory,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, scan/package.json,file,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -scan/package.json,,,npm,,npm,v 2.13.5,,,JavaScript,a package manager for JavaScript,,https://docs.npmjs.com/,https://registry.npmjs.org/npm/-/npm-2.13.5.tgz,,a124386bce4a90506f28ad4b1d1a804a17baaf32,,,,http://github.com/npm/npm/issues,,git+https://github.com/npm/npm.git@fc7bbf03e39cc48a8924b90696d28345a6a90f3c,,,artistic-2.0,Artistic-2.0,"[{'license_expression': 'artistic-2.0', 'matches': [{'score': 50.0, 'start_line': 1, 'end_line': 1, 'matched_length': 3, 'match_coverage': 100.0, 'matcher': '1-hash', 'license_expression': 'artistic-2.0', 'rule_identifier': 'spdx_license_id_artistic-2.0_for_artistic-2.0.RULE', 'rule_relevance': 50, 'rule_url': 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE', 'matched_text': 'Artistic-2.0'}], 'identifier': 'artistic_2_0-2ca48deb-7b37-fc93-edd9-b349ad073774'}]",,,,['Artistic-2.0'],,,,https://www.npmjs.com/package/npm,https://registry.npmjs.org/npm/-/npm-2.13.5.tgz,https://registry.npmjs.org/npm/2.13.5,npm_package_json,pkg:npm/npm@2.13.5 +scan/package.json,,,npm,,npm,v 2.13.5,,,JavaScript,a package manager for JavaScript,,https://docs.npmjs.com/,https://registry.npmjs.org/npm/-/npm-2.13.5.tgz,,a124386bce4a90506f28ad4b1d1a804a17baaf32,,,,http://github.com/npm/npm/issues,,git+https://github.com/npm/npm.git@fc7bbf03e39cc48a8924b90696d28345a6a90f3c,,,artistic-2.0,Artistic-2.0,"[{'license_expression': 'artistic-2.0', 'matches': [{'score': 50.0, 'start_line': 1, 'end_line': 1, 'matched_length': 3, 'match_coverage': 100.0, 'matcher': '1-hash', 'license_expression': 'artistic-2.0', 'rule_identifier': 'spdx_license_id_artistic-2.0_for_artistic-2.0.RULE', 'rule_relevance': 50, 'rule_url': 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE', 'matched_text': 'Artistic-2.0'}], 'identifier': 'artistic_2_0-2ca48deb-7b37-fc93-edd9-b349ad073774'}]",,,,"- Artistic-2.0 +",,,,https://www.npmjs.com/package/npm,https://registry.npmjs.org/npm/-/npm-2.13.5.tgz,https://registry.npmjs.org/npm/2.13.5,npm_package_json,pkg:npm/npm@2.13.5 diff --git a/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json b/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json index 7a9c9a63839..71be31b2270 100644 --- a/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json +++ b/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json @@ -63,7 +63,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0 OR MIT']", + "extracted_license_statement": "- Artistic-2.0 OR MIT\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -514,7 +514,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0 OR MIT']", + "extracted_license_statement": "- Artistic-2.0 OR MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json b/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json index d900e639462..d503931d0a8 100644 --- a/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json +++ b/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json @@ -63,7 +63,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0 OR MIT']", + "extracted_license_statement": "- Artistic-2.0 OR MIT\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -508,7 +508,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0 OR MIT']", + "extracted_license_statement": "- Artistic-2.0 OR MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/licensedcode/data/plugin_license/package/package.expected.json b/tests/licensedcode/data/plugin_license/package/package.expected.json index 99133cbff2f..647f3c12747 100644 --- a/tests/licensedcode/data/plugin_license/package/package.expected.json +++ b/tests/licensedcode/data/plugin_license/package/package.expected.json @@ -63,7 +63,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'type': 'MIT', 'url': 'http://github.com/mscdex/busboy/raw/master/LICENSE'}]", + "extracted_license_statement": "- type: MIT\n url: http://github.com/mscdex/busboy/raw/master/LICENSE\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -190,7 +190,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'type': 'MIT', 'url': 'http://github.com/mscdex/busboy/raw/master/LICENSE'}]", + "extracted_license_statement": "- type: MIT\n url: http://github.com/mscdex/busboy/raw/master/LICENSE\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/bower/author-objects/expected.json b/tests/packagedcode/data/bower/author-objects/expected.json index 8623966374f..44ccc965e3a 100644 --- a/tests/packagedcode/data/bower/author-objects/expected.json +++ b/tests/packagedcode/data/bower/author-objects/expected.json @@ -106,7 +106,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT', 'Apache 2.0', 'BSD-3-Clause']", + "extracted_license_statement": "- MIT\n- Apache 2.0\n- BSD-3-Clause\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/bower/list-of-licenses/expected.json b/tests/packagedcode/data/bower/list-of-licenses/expected.json index f2613746674..e6e21eaf2b1 100644 --- a/tests/packagedcode/data/bower/list-of-licenses/expected.json +++ b/tests/packagedcode/data/bower/list-of-licenses/expected.json @@ -99,7 +99,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT', 'Apache 2.0', 'BSD-3-Clause']", + "extracted_license_statement": "- MIT\n- Apache 2.0\n- BSD-3-Clause\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/bower/scan-expected.json b/tests/packagedcode/data/bower/scan-expected.json index 4f7f26743c3..0383ecab8a1 100644 --- a/tests/packagedcode/data/bower/scan-expected.json +++ b/tests/packagedcode/data/bower/scan-expected.json @@ -107,7 +107,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT', 'Apache 2.0', 'BSD-3-Clause']", + "extracted_license_statement": "- MIT\n- Apache 2.0\n- BSD-3-Clause\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -287,7 +287,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT', 'Apache 2.0', 'BSD-3-Clause']", + "extracted_license_statement": "- MIT\n- Apache 2.0\n- BSD-3-Clause\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/build/buck/end2end-expected.json b/tests/packagedcode/data/build/buck/end2end-expected.json index a8081c2dcfe..948641f3495 100644 --- a/tests/packagedcode/data/build/buck/end2end-expected.json +++ b/tests/packagedcode/data/build/buck/end2end-expected.json @@ -96,7 +96,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['LICENSE']", + "extracted_license_statement": "- LICENSE\n", "notice_text": null, "source_packages": [], "extra_data": {}, diff --git a/tests/packagedcode/data/debian/basic-rootfs-expected.json b/tests/packagedcode/data/debian/basic-rootfs-expected.json index 9801a290d99..6b5f1a47671 100644 --- a/tests/packagedcode/data/debian/basic-rootfs-expected.json +++ b/tests/packagedcode/data/debian/basic-rootfs-expected.json @@ -341,7 +341,7 @@ "identifier": "lgpl_2_1_plus_and_lgpl_2_1-1018860f-b475-01e3-bdd4-39bf3444650e" } ], - "extracted_license_statement": "['LGPL-2.1+', 'LGPL-2.1+', 'LGPL-2.1+']", + "extracted_license_statement": "- LGPL-2.1+\n- LGPL-2.1+\n- LGPL-2.1+\n", "notice_text": null, "source_packages": [ "pkg:deb/libndp" @@ -711,7 +711,7 @@ "identifier": "lgpl_2_1_plus_and_lgpl_2_1-1018860f-b475-01e3-bdd4-39bf3444650e" } ], - "extracted_license_statement": "['LGPL-2.1+', 'LGPL-2.1+', 'LGPL-2.1+']", + "extracted_license_statement": "- LGPL-2.1+\n- LGPL-2.1+\n- LGPL-2.1+\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/debian/debian-container-layer.tar.xz.get-installed-expected.json b/tests/packagedcode/data/debian/debian-container-layer.tar.xz.get-installed-expected.json index f4b6bd437d2..5d1590b0b60 100644 --- a/tests/packagedcode/data/debian/debian-container-layer.tar.xz.get-installed-expected.json +++ b/tests/packagedcode/data/debian/debian-container-layer.tar.xz.get-installed-expected.json @@ -562,7 +562,7 @@ "identifier": "lgpl_2_1_plus_and_lgpl_2_1-1018860f-b475-01e3-bdd4-39bf3444650e" } ], - "extracted_license_statement": "['LGPL-2.1+', 'LGPL-2.1+', 'LGPL-2.1+']", + "extracted_license_statement": "- LGPL-2.1+\n- LGPL-2.1+\n- LGPL-2.1+\n", "notice_text": null, "source_packages": [ "pkg:deb/libndp" @@ -757,7 +757,7 @@ "identifier": "lgpl_2_1_plus_and_lgpl_2_1-1018860f-b475-01e3-bdd4-39bf3444650e" } ], - "extracted_license_statement": "['LGPL-2.1+', 'LGPL-2.1+', 'LGPL-2.1+']", + "extracted_license_statement": "- LGPL-2.1+\n- LGPL-2.1+\n- LGPL-2.1+\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/debian/debian-container-layer.tar.xz.scan-expected.json b/tests/packagedcode/data/debian/debian-container-layer.tar.xz.scan-expected.json index e52423b44a6..1885e8588f6 100644 --- a/tests/packagedcode/data/debian/debian-container-layer.tar.xz.scan-expected.json +++ b/tests/packagedcode/data/debian/debian-container-layer.tar.xz.scan-expected.json @@ -341,7 +341,7 @@ "identifier": "lgpl_2_1_plus_and_lgpl_2_1-1018860f-b475-01e3-bdd4-39bf3444650e" } ], - "extracted_license_statement": "['LGPL-2.1+', 'LGPL-2.1+', 'LGPL-2.1+']", + "extracted_license_statement": "- LGPL-2.1+\n- LGPL-2.1+\n- LGPL-2.1+\n", "notice_text": null, "source_packages": [ "pkg:deb/libndp" @@ -725,7 +725,7 @@ "identifier": "lgpl_2_1_plus_and_lgpl_2_1-1018860f-b475-01e3-bdd4-39bf3444650e" } ], - "extracted_license_statement": "['LGPL-2.1+', 'LGPL-2.1+', 'LGPL-2.1+']", + "extracted_license_statement": "- LGPL-2.1+\n- LGPL-2.1+\n- LGPL-2.1+\n", "notice_text": null, "source_packages": [], "file_references": [], 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 59c5a3d3b55..5c1be64f629 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 @@ -68,7 +68,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "classifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "extra_data": { @@ -179,7 +179,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "classifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json index 8ed2e363fd7..6491feb1af8 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json @@ -70,7 +70,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "classifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "extra_data": { @@ -179,7 +179,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "classifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json index 4887e8defb6..71d8324934d 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json @@ -70,7 +70,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "classifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "extra_data": { @@ -162,7 +162,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "classifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "extra_data": { @@ -783,7 +783,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "classifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -1031,7 +1031,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "classifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -1443,7 +1443,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "classifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json index 6e458886214..c0c7af7e0e8 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json @@ -83,7 +83,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Apache 2.0', 'classifiers': ['License :: OSI Approved :: Apache Software License']}", + "extracted_license_statement": "license: Apache 2.0\nclassifiers:\n - 'License :: OSI Approved :: Apache Software License'\n", "notice_text": null, "source_packages": [], "extra_data": { @@ -1386,7 +1386,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Apache 2.0', 'classifiers': ['License :: OSI Approved :: Apache Software License']}", + "extracted_license_statement": "license: Apache 2.0\nclassifiers:\n - 'License :: OSI Approved :: Apache Software License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/m2/aopalliance/aopalliance/1.0/aopalliance-1.0.pom.package.json b/tests/packagedcode/data/m2/aopalliance/aopalliance/1.0/aopalliance-1.0.pom.package.json index 177d13a9d8c..a35e15832f0 100644 --- a/tests/packagedcode/data/m2/aopalliance/aopalliance/1.0/aopalliance-1.0.pom.package.json +++ b/tests/packagedcode/data/m2/aopalliance/aopalliance/1.0/aopalliance-1.0.pom.package.json @@ -48,7 +48,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Public Domain', 'url': None, 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Public Domain\n url:\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/aopalliance/aopalliance@1.0?classifier=sources" diff --git a/tests/packagedcode/data/m2/aspectj/aspectjrt/1.5.3/aspectjrt-1.5.3.pom.package.json b/tests/packagedcode/data/m2/aspectj/aspectjrt/1.5.3/aspectjrt-1.5.3.pom.package.json index f0237009003..eabee0abd70 100644 --- a/tests/packagedcode/data/m2/aspectj/aspectjrt/1.5.3/aspectjrt-1.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/aspectj/aspectjrt/1.5.3/aspectjrt-1.5.3.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Eclipse Public License - v 1.0', 'url': 'http://www.eclipse.org/legal/epl-v10.html', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: Eclipse Public License - v 1.0\n url: http://www.eclipse.org/legal/epl-v10.html\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/aspectj/aspectjrt@1.5.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/biz/aQute/bndlib/0.0.203/bndlib-0.0.203.pom.package.json b/tests/packagedcode/data/m2/biz/aQute/bndlib/0.0.203/bndlib-0.0.203.pom.package.json index 428cb488ffc..516b2003af8 100644 --- a/tests/packagedcode/data/m2/biz/aQute/bndlib/0.0.203/bndlib-0.0.203.pom.package.json +++ b/tests/packagedcode/data/m2/biz/aQute/bndlib/0.0.203/bndlib-0.0.203.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'This material is licensed under the Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: This material is licensed under the Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/biz.aQute/bndlib@0.0.203?classifier=sources" diff --git a/tests/packagedcode/data/m2/biz/aQute/bndlib/0.0.238/bndlib-0.0.238.pom.package.json b/tests/packagedcode/data/m2/biz/aQute/bndlib/0.0.238/bndlib-0.0.238.pom.package.json index 91126a2a6ed..a0c144872fa 100644 --- a/tests/packagedcode/data/m2/biz/aQute/bndlib/0.0.238/bndlib-0.0.238.pom.package.json +++ b/tests/packagedcode/data/m2/biz/aQute/bndlib/0.0.238/bndlib-0.0.238.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'This material is licensed under the Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: This material is licensed under the Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/biz.aQute/bndlib@0.0.238?classifier=sources" diff --git a/tests/packagedcode/data/m2/bytebuddy/pom.xml.package.json b/tests/packagedcode/data/m2/bytebuddy/pom.xml.package.json index d08bc38489a..ee02615ba11 100644 --- a/tests/packagedcode/data/m2/bytebuddy/pom.xml.package.json +++ b/tests/packagedcode/data/m2/bytebuddy/pom.xml.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': 'A business-friendly OSS license', 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments: A business-friendly OSS license\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/net.bytebuddy/byte-buddy-parent@1.7.1-SNAPSHOT?classifier=sources" diff --git a/tests/packagedcode/data/m2/c3p0/c3p0/0.9.0.4/c3p0-0.9.0.4.pom.package.json b/tests/packagedcode/data/m2/c3p0/c3p0/0.9.0.4/c3p0-0.9.0.4.pom.package.json index 2d2529ced78..edf5833b20e 100644 --- a/tests/packagedcode/data/m2/c3p0/c3p0/0.9.0.4/c3p0-0.9.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/c3p0/c3p0/0.9.0.4/c3p0-0.9.0.4.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'GNU LESSER GENERAL PUBLIC LICENSE', 'url': 'http://www.gnu.org/licenses/lgpl.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/c3p0/c3p0@0.9.0.4?classifier=sources" diff --git a/tests/packagedcode/data/m2/codec/commons-codec/1.3/commons-codec-1.3.pom.package.json b/tests/packagedcode/data/m2/codec/commons-codec/1.3/commons-codec-1.3.pom.package.json index d9660dba429..57f7414796d 100644 --- a/tests/packagedcode/data/m2/codec/commons-codec/1.3/commons-codec-1.3.pom.package.json +++ b/tests/packagedcode/data/m2/codec/commons-codec/1.3/commons-codec-1.3.pom.package.json @@ -175,7 +175,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': '/LICENSE.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: /LICENSE.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/commons-codec/commons-codec@1.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/collections/commons-collections/3.2/commons-collections-3.2.pom.package.json b/tests/packagedcode/data/m2/collections/commons-collections/3.2/commons-collections-3.2.pom.package.json index 20ea597203a..2019c304b05 100644 --- a/tests/packagedcode/data/m2/collections/commons-collections/3.2/commons-collections-3.2.pom.package.json +++ b/tests/packagedcode/data/m2/collections/commons-collections/3.2/commons-collections-3.2.pom.package.json @@ -714,7 +714,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': '/LICENSE.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: /LICENSE.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/commons-collections/commons-collections@3.2?classifier=sources" diff --git a/tests/packagedcode/data/m2/com/jcraft/jsch/0.1.23/jsch-0.1.23.pom.package.json b/tests/packagedcode/data/m2/com/jcraft/jsch/0.1.23/jsch-0.1.23.pom.package.json index 9088fd94c3d..be8885b3c1e 100644 --- a/tests/packagedcode/data/m2/com/jcraft/jsch/0.1.23/jsch-0.1.23.pom.package.json +++ b/tests/packagedcode/data/m2/com/jcraft/jsch/0.1.23/jsch-0.1.23.pom.package.json @@ -94,7 +94,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'BSD', 'url': 'http://www.jcraft.com/jsch/LICENSE.txt', 'comments': 'License information from http://www.jcraft.com/jsch', 'distribution': None}]", + "extracted_license_statement": "- name: BSD\n url: http://www.jcraft.com/jsch/LICENSE.txt\n comments: License information from http://www.jcraft.com/jsch\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/com.jcraft/jsch@0.1.23?classifier=sources" diff --git a/tests/packagedcode/data/m2/com/jcraft/jsch/0.1.27/jsch-0.1.27.pom.package.json b/tests/packagedcode/data/m2/com/jcraft/jsch/0.1.27/jsch-0.1.27.pom.package.json index b63abb7bf42..aa762a9ca9b 100644 --- a/tests/packagedcode/data/m2/com/jcraft/jsch/0.1.27/jsch-0.1.27.pom.package.json +++ b/tests/packagedcode/data/m2/com/jcraft/jsch/0.1.27/jsch-0.1.27.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'BSD', 'url': 'http://www.jcraft.com/jsch/LICENSE.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: BSD\n url: http://www.jcraft.com/jsch/LICENSE.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/com.jcraft/jsch@0.1.27?classifier=sources" diff --git a/tests/packagedcode/data/m2/com/thoughtworks/xstream/xstream-parent/1.2.2/xstream-parent-1.2.2.pom.package.json b/tests/packagedcode/data/m2/com/thoughtworks/xstream/xstream-parent/1.2.2/xstream-parent-1.2.2.pom.package.json index c79f460985c..0142687236d 100644 --- a/tests/packagedcode/data/m2/com/thoughtworks/xstream/xstream-parent/1.2.2/xstream-parent-1.2.2.pom.package.json +++ b/tests/packagedcode/data/m2/com/thoughtworks/xstream/xstream-parent/1.2.2/xstream-parent-1.2.2.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'BSD style', 'url': 'http://xstream.codehaus.com/license.html', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: BSD style\n url: http://xstream.codehaus.com/license.html\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/com.thoughtworks.xstream/xstream-parent@1.2.2?classifier=sources" diff --git a/tests/packagedcode/data/m2/depman/foo.pom.package.json b/tests/packagedcode/data/m2/depman/foo.pom.package.json index ecadb9526b1..e4d0d560ba6 100644 --- a/tests/packagedcode/data/m2/depman/foo.pom.package.json +++ b/tests/packagedcode/data/m2/depman/foo.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Apache License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Apache License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-bom@3.0.1?classifier=sources" diff --git a/tests/packagedcode/data/m2/digester/commons-digester/1.8/commons-digester-1.8.pom.package.json b/tests/packagedcode/data/m2/digester/commons-digester/1.8/commons-digester-1.8.pom.package.json index c1416193fff..77ae9fcb10d 100644 --- a/tests/packagedcode/data/m2/digester/commons-digester/1.8/commons-digester-1.8.pom.package.json +++ b/tests/packagedcode/data/m2/digester/commons-digester/1.8/commons-digester-1.8.pom.package.json @@ -210,7 +210,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': '/LICENSE.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: /LICENSE.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/commons-digester/commons-digester@1.8?classifier=sources" diff --git a/tests/packagedcode/data/m2/el/commons-el/1.0/commons-el-1.0.pom.package.json b/tests/packagedcode/data/m2/el/commons-el/1.0/commons-el-1.0.pom.package.json index 3978e10f0b4..d3a320a1337 100644 --- a/tests/packagedcode/data/m2/el/commons-el/1.0/commons-el-1.0.pom.package.json +++ b/tests/packagedcode/data/m2/el/commons-el/1.0/commons-el-1.0.pom.package.json @@ -91,7 +91,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': '/LICENSE.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: /LICENSE.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/commons-el/commons-el@1.0?classifier=sources" diff --git a/tests/packagedcode/data/m2/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.pom.package.json b/tests/packagedcode/data/m2/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.pom.package.json index ef6fa8fbf36..d3b921e29fe 100644 --- a/tests/packagedcode/data/m2/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.pom.package.json +++ b/tests/packagedcode/data/m2/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'HSQLDB License', 'url': 'http://hsqldb.org/web/hsqlLicense.html', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: HSQLDB License\n url: http://hsqldb.org/web/hsqlLicense.html\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/hsqldb/hsqldb@1.8.0.7?classifier=sources" diff --git a/tests/packagedcode/data/m2/httpunit/httpunit/1.6.2/httpunit-1.6.2.pom.package.json b/tests/packagedcode/data/m2/httpunit/httpunit/1.6.2/httpunit-1.6.2.pom.package.json index 0ca6af75b5e..b30573daae0 100644 --- a/tests/packagedcode/data/m2/httpunit/httpunit/1.6.2/httpunit-1.6.2.pom.package.json +++ b/tests/packagedcode/data/m2/httpunit/httpunit/1.6.2/httpunit-1.6.2.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'MIT License', 'url': 'http://httpunit.sourceforge.net/doc/license.html', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: MIT License\n url: http://httpunit.sourceforge.net/doc/license.html\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/httpunit/httpunit@1.6.2?classifier=sources" diff --git a/tests/packagedcode/data/m2/io/commons-io/1.3.1/commons-io-1.3.1.pom.package.json b/tests/packagedcode/data/m2/io/commons-io/1.3.1/commons-io-1.3.1.pom.package.json index e9624703e98..40642bbc07f 100644 --- a/tests/packagedcode/data/m2/io/commons-io/1.3.1/commons-io-1.3.1.pom.package.json +++ b/tests/packagedcode/data/m2/io/commons-io/1.3.1/commons-io-1.3.1.pom.package.json @@ -245,7 +245,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': '/LICENSE.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: /LICENSE.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/commons-io/commons-io@1.3.1?classifier=sources" diff --git a/tests/packagedcode/data/m2/javassist/javassist/3.4.GA/javassist-3.4.GA.pom.package.json b/tests/packagedcode/data/m2/javassist/javassist/3.4.GA/javassist-3.4.GA.pom.package.json index 038ca8f2021..14a3e7170d1 100644 --- a/tests/packagedcode/data/m2/javassist/javassist/3.4.GA/javassist-3.4.GA.pom.package.json +++ b/tests/packagedcode/data/m2/javassist/javassist/3.4.GA/javassist-3.4.GA.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'lgpl', 'url': 'http://repository.jboss.com/licenses/lgpl.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: lgpl\n url: http://repository.jboss.com/licenses/lgpl.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/javassist/javassist@3.4.GA?classifier=sources" diff --git a/tests/packagedcode/data/m2/javax/persistence/persistence-api/1.0/persistence-api-1.0.pom.package.json b/tests/packagedcode/data/m2/javax/persistence/persistence-api/1.0/persistence-api-1.0.pom.package.json index 768abf5fac6..9f64ca21e29 100644 --- a/tests/packagedcode/data/m2/javax/persistence/persistence-api/1.0/persistence-api-1.0.pom.package.json +++ b/tests/packagedcode/data/m2/javax/persistence/persistence-api/1.0/persistence-api-1.0.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Common Development and Distribution License (CDDL) v1.0', 'url': 'http://www.sun.com/cddl/cddl.html', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: Common Development and Distribution License (CDDL) v1.0\n url: http://www.sun.com/cddl/cddl.html\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/javax.persistence/persistence-api@1.0?classifier=sources" diff --git a/tests/packagedcode/data/m2/jboss/javassist/3.3.ga/javassist-3.3.ga.pom.package.json b/tests/packagedcode/data/m2/jboss/javassist/3.3.ga/javassist-3.3.ga.pom.package.json index f53b5a703dc..f06b43797bf 100644 --- a/tests/packagedcode/data/m2/jboss/javassist/3.3.ga/javassist-3.3.ga.pom.package.json +++ b/tests/packagedcode/data/m2/jboss/javassist/3.3.ga/javassist-3.3.ga.pom.package.json @@ -94,7 +94,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'MPL 1.1', 'url': 'http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/jboss/javassist/License.html?rev=HEAD&content-type=text/html', 'comments': 'Dual-license; LGPL if downloaded as part of JBoss, MPL if downloaded separately.', 'distribution': None}]", + "extracted_license_statement": "- name: MPL 1.1\n url: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/jboss/javassist/License.html?rev=HEAD&content-type=text/html\n comments: Dual-license; LGPL if downloaded as part of JBoss, MPL if downloaded separately.\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/jboss/javassist@3.3.ga?classifier=sources" diff --git a/tests/packagedcode/data/m2/jboss/jboss-archive-browsing/5.0.0alpha-200607201-119/jboss-archive-browsing-5.0.0alpha-200607201-119.pom.package.json b/tests/packagedcode/data/m2/jboss/jboss-archive-browsing/5.0.0alpha-200607201-119/jboss-archive-browsing-5.0.0alpha-200607201-119.pom.package.json index 2ebf67b0549..ac0a94413fb 100644 --- a/tests/packagedcode/data/m2/jboss/jboss-archive-browsing/5.0.0alpha-200607201-119/jboss-archive-browsing-5.0.0alpha-200607201-119.pom.package.json +++ b/tests/packagedcode/data/m2/jboss/jboss-archive-browsing/5.0.0alpha-200607201-119/jboss-archive-browsing-5.0.0alpha-200607201-119.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'GNU LESSER GENERAL PUBLIC LICENSE', 'url': 'http://www.gnu.org/licenses/lgpl.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/jboss/jboss-archive-browsing@5.0.0alpha-200607201-119?classifier=sources" diff --git a/tests/packagedcode/data/m2/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.pom.package.json b/tests/packagedcode/data/m2/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.pom.package.json index 5b510976695..7f742b9e36a 100644 --- a/tests/packagedcode/data/m2/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.pom.package.json +++ b/tests/packagedcode/data/m2/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.pom.package.json @@ -56,7 +56,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Java HTML Tidy License', 'url': 'http://svn.sourceforge.net/viewvc/*checkout*/jtidy/trunk/jtidy/LICENSE.txt?revision=95', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: Java HTML Tidy License\n url: http://svn.sourceforge.net/viewvc/*checkout*/jtidy/trunk/jtidy/LICENSE.txt?revision=95\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/jtidy/jtidy@4aug2000r7-dev?classifier=sources" diff --git a/tests/packagedcode/data/m2/junit/junit/3.8.1/junit-3.8.1.pom.package.json b/tests/packagedcode/data/m2/junit/junit/3.8.1/junit-3.8.1.pom.package.json index f3e6c42e1d3..4d8d76e11db 100644 --- a/tests/packagedcode/data/m2/junit/junit/3.8.1/junit-3.8.1.pom.package.json +++ b/tests/packagedcode/data/m2/junit/junit/3.8.1/junit-3.8.1.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Common Public License Version 1.0', 'url': 'http://www.opensource.org/licenses/cpl1.0.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Common Public License Version 1.0\n url: http://www.opensource.org/licenses/cpl1.0.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/junit/junit@3.8.1?classifier=sources" diff --git a/tests/packagedcode/data/m2/junit/junit/3.8.2/junit-3.8.2.pom.package.json b/tests/packagedcode/data/m2/junit/junit/3.8.2/junit-3.8.2.pom.package.json index 93e119953e7..7b95e32b8b1 100644 --- a/tests/packagedcode/data/m2/junit/junit/3.8.2/junit-3.8.2.pom.package.json +++ b/tests/packagedcode/data/m2/junit/junit/3.8.2/junit-3.8.2.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Common Public License Version 1.0', 'url': 'http://www.opensource.org/licenses/cpl1.0.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Common Public License Version 1.0\n url: http://www.opensource.org/licenses/cpl1.0.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/junit/junit@3.8.2?classifier=sources" diff --git a/tests/packagedcode/data/m2/junit/junit/4.4/junit-4.4.pom.package.json b/tests/packagedcode/data/m2/junit/junit/4.4/junit-4.4.pom.package.json index afc2c9af609..016cfc41190 100644 --- a/tests/packagedcode/data/m2/junit/junit/4.4/junit-4.4.pom.package.json +++ b/tests/packagedcode/data/m2/junit/junit/4.4/junit-4.4.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Common Public License Version 1.0', 'url': 'http://www.opensource.org/licenses/cpl1.0.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Common Public License Version 1.0\n url: http://www.opensource.org/licenses/cpl1.0.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/junit/junit@4.4?classifier=sources" diff --git a/tests/packagedcode/data/m2/lang/commons-lang/2.1/commons-lang-2.1.pom.package.json b/tests/packagedcode/data/m2/lang/commons-lang/2.1/commons-lang-2.1.pom.package.json index 471db418c2b..8d960cbfc13 100644 --- a/tests/packagedcode/data/m2/lang/commons-lang/2.1/commons-lang-2.1.pom.package.json +++ b/tests/packagedcode/data/m2/lang/commons-lang/2.1/commons-lang-2.1.pom.package.json @@ -553,7 +553,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': '/LICENSE.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: /LICENSE.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/commons-lang/commons-lang@2.1?classifier=sources" diff --git a/tests/packagedcode/data/m2/lang/commons-lang/2.3/commons-lang-2.3.pom.package.json b/tests/packagedcode/data/m2/lang/commons-lang/2.3/commons-lang-2.3.pom.package.json index 593b83cfb37..36071480571 100644 --- a/tests/packagedcode/data/m2/lang/commons-lang/2.3/commons-lang-2.3.pom.package.json +++ b/tests/packagedcode/data/m2/lang/commons-lang/2.3/commons-lang-2.3.pom.package.json @@ -630,7 +630,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': '/LICENSE.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: /LICENSE.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/commons-lang/commons-lang@2.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/log4j/log4j/1.2.15/log4j-1.2.15.pom.package.json b/tests/packagedcode/data/m2/log4j/log4j/1.2.15/log4j-1.2.15.pom.package.json index 32eabf70f9b..7c282203d0c 100644 --- a/tests/packagedcode/data/m2/log4j/log4j/1.2.15/log4j-1.2.15.pom.package.json +++ b/tests/packagedcode/data/m2/log4j/log4j/1.2.15/log4j-1.2.15.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/log4j/log4j@1.2.15?classifier=sources" diff --git a/tests/packagedcode/data/m2/logging/commons-logging/1.0.4/commons-logging-1.0.4.pom.package.json b/tests/packagedcode/data/m2/logging/commons-logging/1.0.4/commons-logging-1.0.4.pom.package.json index 4f67f07d9fb..d91e9b5258d 100644 --- a/tests/packagedcode/data/m2/logging/commons-logging/1.0.4/commons-logging-1.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/logging/commons-logging/1.0.4/commons-logging-1.0.4.pom.package.json @@ -119,7 +119,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': '/LICENSE.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: /LICENSE.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/commons-logging/commons-logging@1.0.4?classifier=sources" diff --git a/tests/packagedcode/data/m2/logging/commons-logging/1.1/commons-logging-1.1.pom.package.json b/tests/packagedcode/data/m2/logging/commons-logging/1.1/commons-logging-1.1.pom.package.json index 6bfab84a9d1..4e6e2b9c65e 100644 --- a/tests/packagedcode/data/m2/logging/commons-logging/1.1/commons-logging-1.1.pom.package.json +++ b/tests/packagedcode/data/m2/logging/commons-logging/1.1/commons-logging-1.1.pom.package.json @@ -140,7 +140,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': '/LICENSE.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: /LICENSE.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/commons-logging/commons-logging@1.1?classifier=sources" diff --git a/tests/packagedcode/data/m2/mysql/mysql-connector-java/5.0.4/mysql-connector-java-5.0.4.pom.package.json b/tests/packagedcode/data/m2/mysql/mysql-connector-java/5.0.4/mysql-connector-java-5.0.4.pom.package.json index 6793fc7fafa..8551f6e7505 100644 --- a/tests/packagedcode/data/m2/mysql/mysql-connector-java/5.0.4/mysql-connector-java-5.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/mysql/mysql-connector-java/5.0.4/mysql-connector-java-5.0.4.pom.package.json @@ -86,7 +86,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The GNU General Public License, Version 2', 'url': 'http://www.gnu.org/licenses/gpl.txt', 'comments': 'MySQL Connector/J contains exceptions to GPL requirements when linking with other components\\n \\t\\tthat are licensed under OSI-approved open source licenses, see EXCEPTIONS-CONNECTOR-J\\n \\t\\tin this distribution for more details.', 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The GNU General Public License, Version 2\n url: http://www.gnu.org/licenses/gpl.txt\n comments: \"MySQL Connector/J contains exceptions to GPL requirements when linking with other\\\n \\ components\\n \\t\\tthat are licensed under OSI-approved open source licenses, see EXCEPTIONS-CONNECTOR-J\\n\\\n \\ \\t\\tin this distribution for more details.\"\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/mysql/mysql-connector-java@5.0.4?classifier=sources" diff --git a/tests/packagedcode/data/m2/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.pom.package.json b/tests/packagedcode/data/m2/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.pom.package.json index 8edfbf6c24a..dc475d29531 100644 --- a/tests/packagedcode/data/m2/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.pom.package.json +++ b/tests/packagedcode/data/m2/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.pom.package.json @@ -136,7 +136,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://ehcache.sourceforge.net/LICENSE.txt', 'comments': 'The license is the standard wording from the Apache license, but with\\n Greg Luck as copyright\\n owner.', 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://ehcache.sourceforge.net/LICENSE.txt\n comments: |\n The license is the standard wording from the Apache license, but with\n Greg Luck as copyright\n owner.\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/net.sf.ehcache/ehcache@1.2.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/net/sf/kxml/kxml2/2.2.2/kxml2-2.2.2.pom.package.json b/tests/packagedcode/data/m2/net/sf/kxml/kxml2/2.2.2/kxml2-2.2.2.pom.package.json index 70c6342d354..3f225794a00 100644 --- a/tests/packagedcode/data/m2/net/sf/kxml/kxml2/2.2.2/kxml2-2.2.2.pom.package.json +++ b/tests/packagedcode/data/m2/net/sf/kxml/kxml2/2.2.2/kxml2-2.2.2.pom.package.json @@ -82,7 +82,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The BSD License', 'url': 'http://www.opensource.org/licenses/bsd-license.html', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The BSD License\n url: http://www.opensource.org/licenses/bsd-license.html\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/net.sf.kxml/kxml2@2.2.2?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.5/acegi-security-parent-1.0.5.pom.package.json b/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.5/acegi-security-parent-1.0.5.pom.package.json index d6ce512df96..998c8ec4900 100644 --- a/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.5/acegi-security-parent-1.0.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.5/acegi-security-parent-1.0.5.pom.package.json @@ -271,7 +271,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.acegisecurity/acegi-security-parent@1.0.5?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.7/acegi-security-parent-1.0.7.pom.package.json b/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.7/acegi-security-parent-1.0.7.pom.package.json index c90cae9f3b5..5cee7137d39 100644 --- a/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.7/acegi-security-parent-1.0.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.7/acegi-security-parent-1.0.7.pom.package.json @@ -271,7 +271,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.acegisecurity/acegi-security-parent@1.0.7?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/ajax4jsf/master/1.1.1/master-1.1.1.pom.package.json b/tests/packagedcode/data/m2/org/ajax4jsf/master/1.1.1/master-1.1.1.pom.package.json index 51c65de630e..266af4aefa0 100644 --- a/tests/packagedcode/data/m2/org/ajax4jsf/master/1.1.1/master-1.1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/ajax4jsf/master/1.1.1/master-1.1.1.pom.package.json @@ -108,7 +108,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'LGPL 2.1', 'url': 'http://www.gnu.org/licenses/lgpl.html', 'comments': 'GNU LESSER GENERAL PUBLIC LICENSE Version 2.1', 'distribution': 'repo'}]", + "extracted_license_statement": "- name: LGPL 2.1\n url: http://www.gnu.org/licenses/lgpl.html\n comments: GNU LESSER GENERAL PUBLIC LICENSE Version 2.1\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.ajax4jsf/master@1.1.1?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/apache/1/apache-1.pom.package.json b/tests/packagedcode/data/m2/org/apache/apache/1/apache-1.pom.package.json index 77b7993fc69..afe8e72a043 100644 --- a/tests/packagedcode/data/m2/org/apache/apache/1/apache-1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/apache/1/apache-1.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.apache/apache@1?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/apache/3/apache-3.pom.package.json b/tests/packagedcode/data/m2/org/apache/apache/3/apache-3.pom.package.json index bbdf36c9c1e..7aff2865753 100644 --- a/tests/packagedcode/data/m2/org/apache/apache/3/apache-3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/apache/3/apache-3.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.apache/apache@3?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/apache/4/apache-4.pom.package.json b/tests/packagedcode/data/m2/org/apache/apache/4/apache-4.pom.package.json index 6f5ccc9cf9a..0aec00fe831 100644 --- a/tests/packagedcode/data/m2/org/apache/apache/4/apache-4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/apache/4/apache-4.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.apache/apache@4?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/commons/commons-jaxrs/1.22/commons-jaxrs-1.22.pom.package.json b/tests/packagedcode/data/m2/org/apache/commons/commons-jaxrs/1.22/commons-jaxrs-1.22.pom.package.json index 405daad7db6..c171afa60a0 100644 --- a/tests/packagedcode/data/m2/org/apache/commons/commons-jaxrs/1.22/commons-jaxrs-1.22.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/commons/commons-jaxrs/1.22/commons-jaxrs-1.22.pom.package.json @@ -110,7 +110,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The Apache License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/edu.psu.swe.commons/commons-jaxrs@1.22?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/geronimo/genesis/config/project-config/1.1/project-config-1.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/geronimo/genesis/config/project-config/1.1/project-config-1.1.pom.package.json index 822f8f128ac..57a572f7234 100644 --- a/tests/packagedcode/data/m2/org/apache/geronimo/genesis/config/project-config/1.1/project-config-1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/geronimo/genesis/config/project-config/1.1/project-config-1.1.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.apache.geronimo.genesis.config/project-config@1.1?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom.package.json index ed54901561e..ffdd6e24624 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom.package.json @@ -131,7 +131,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.apache.maven/maven@2.0.1?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.2/maven-2.0.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.2/maven-2.0.2.pom.package.json index 125bb12a1ed..b90be1b4c9f 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.2/maven-2.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.2/maven-2.0.2.pom.package.json @@ -131,7 +131,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.apache.maven/maven@2.0.2?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.4/maven-2.0.4.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.4/maven-2.0.4.pom.package.json index 023feb1ac57..c0fccdb8719 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.4/maven-2.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.4/maven-2.0.4.pom.package.json @@ -131,7 +131,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.apache.maven/maven@2.0.4?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0/maven-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0/maven-2.0.pom.package.json index 7d0b2bba1d0..3a738a3c44c 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0/maven-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0/maven-2.0.pom.package.json @@ -131,7 +131,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.apache.maven/maven@2.0?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-dependency-plugin/2.0/maven-dependency-plugin-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-dependency-plugin/2.0/maven-dependency-plugin-2.0.pom.package.json index d48017c5c83..77b1fc148e1 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-dependency-plugin/2.0/maven-dependency-plugin-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-dependency-plugin/2.0/maven-dependency-plugin-2.0.pom.package.json @@ -89,7 +89,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Apache License 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: Apache License 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-dependency-plugin@2.0?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-file/1.0-alpha-5/wagon-file-1.0-alpha-5.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-file/1.0-alpha-5/wagon-file-1.0-alpha-5.pom.package.json index bfae95eb309..9cbe24ad1cd 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-file/1.0-alpha-5/wagon-file-1.0-alpha-5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-file/1.0-alpha-5/wagon-file-1.0-alpha-5.pom.package.json @@ -96,7 +96,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon-file@1.0-alpha-5?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-http-lightweight/1.0-alpha-5/wagon-http-lightweight-1.0-alpha-5.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-http-lightweight/1.0-alpha-5/wagon-http-lightweight-1.0-alpha-5.pom.package.json index 0733b851d85..52638618a88 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-http-lightweight/1.0-alpha-5/wagon-http-lightweight-1.0-alpha-5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-http-lightweight/1.0-alpha-5/wagon-http-lightweight-1.0-alpha-5.pom.package.json @@ -96,7 +96,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon-http-lightweight@1.0-alpha-5?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.pom.package.json index 62509bb6c23..958c053ec20 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.pom.package.json @@ -96,7 +96,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-alpha-5?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh/1.0-alpha-5/wagon-ssh-1.0-alpha-5.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh/1.0-alpha-5/wagon-ssh-1.0-alpha-5.pom.package.json index cc12d897b58..ed68a2909b8 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh/1.0-alpha-5/wagon-ssh-1.0-alpha-5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh/1.0-alpha-5/wagon-ssh-1.0-alpha-5.pom.package.json @@ -96,7 +96,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon-ssh@1.0-alpha-5?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom.package.json index b8058ce1ab8..99ddf8c613f 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom.package.json @@ -96,7 +96,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon@1.0-alpha-6?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/mina/build/1.1.1/build-1.1.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/mina/build/1.1.1/build-1.1.1.pom.package.json index 0090778ae68..7b624731b3c 100644 --- a/tests/packagedcode/data/m2/org/apache/mina/build/1.1.1/build-1.1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/mina/build/1.1.1/build-1.1.1.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Apache 2.0 License', 'url': 'http://www.apache.org/licenses/LICENSE-2.0', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: Apache 2.0 License\n url: http://www.apache.org/licenses/LICENSE-2.0\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.apache.mina/build@1.1.1?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/myfaces/maven/myfaces-master/1.0.5/myfaces-master-1.0.5.pom.package.json b/tests/packagedcode/data/m2/org/apache/myfaces/maven/myfaces-master/1.0.5/myfaces-master-1.0.5.pom.package.json index 0179a5e5541..72a7038630e 100644 --- a/tests/packagedcode/data/m2/org/apache/myfaces/maven/myfaces-master/1.0.5/myfaces-master-1.0.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/myfaces/maven/myfaces-master/1.0.5/myfaces-master-1.0.5.pom.package.json @@ -334,7 +334,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.apache.myfaces.maven/myfaces-master@1.0.5?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/apache/velocity/velocity/1.5/velocity-1.5.pom.package.json b/tests/packagedcode/data/m2/org/apache/velocity/velocity/1.5/velocity-1.5.pom.package.json index c66c1cc0222..ce31409f9e8 100644 --- a/tests/packagedcode/data/m2/org/apache/velocity/velocity/1.5/velocity-1.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/velocity/velocity/1.5/velocity-1.5.pom.package.json @@ -110,7 +110,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.apache.velocity/velocity@1.5?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/aspectj/aspectjrt/1.5.4/aspectjrt-1.5.4.pom.package.json b/tests/packagedcode/data/m2/org/aspectj/aspectjrt/1.5.4/aspectjrt-1.5.4.pom.package.json index a338a747c02..efd69983e47 100644 --- a/tests/packagedcode/data/m2/org/aspectj/aspectjrt/1.5.4/aspectjrt-1.5.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/aspectj/aspectjrt/1.5.4/aspectjrt-1.5.4.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Eclipse Public License - v 1.0', 'url': 'http://www.eclipse.org/legal/epl-v10.html', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: Eclipse Public License - v 1.0\n url: http://www.eclipse.org/legal/epl-v10.html\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.aspectj/aspectjrt@1.5.4?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/aspectj/aspectjrt/1.6.0/aspectjrt-1.6.0.pom.package.json b/tests/packagedcode/data/m2/org/aspectj/aspectjrt/1.6.0/aspectjrt-1.6.0.pom.package.json index 5510ac8cffa..aca3e96f936 100644 --- a/tests/packagedcode/data/m2/org/aspectj/aspectjrt/1.6.0/aspectjrt-1.6.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/aspectj/aspectjrt/1.6.0/aspectjrt-1.6.0.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Eclipse Public License - v 1.0', 'url': 'http://www.eclipse.org/legal/epl-v10.html', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: Eclipse Public License - v 1.0\n url: http://www.eclipse.org/legal/epl-v10.html\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.aspectj/aspectjrt@1.6.0?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/aspectj/aspectjtools/1.5.4/aspectjtools-1.5.4.pom.package.json b/tests/packagedcode/data/m2/org/aspectj/aspectjtools/1.5.4/aspectjtools-1.5.4.pom.package.json index 1e5c592d763..f77a7b08de6 100644 --- a/tests/packagedcode/data/m2/org/aspectj/aspectjtools/1.5.4/aspectjtools-1.5.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/aspectj/aspectjtools/1.5.4/aspectjtools-1.5.4.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Eclipse Public License - v 1.0', 'url': 'http://www.eclipse.org/legal/epl-v10.html', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: Eclipse Public License - v 1.0\n url: http://www.eclipse.org/legal/epl-v10.html\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.aspectj/aspectjtools@1.5.4?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/aspectj/aspectjtools/1.6.0/aspectjtools-1.6.0.pom.package.json b/tests/packagedcode/data/m2/org/aspectj/aspectjtools/1.6.0/aspectjtools-1.6.0.pom.package.json index da9e46c4497..2748a5c0726 100644 --- a/tests/packagedcode/data/m2/org/aspectj/aspectjtools/1.6.0/aspectjtools-1.6.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/aspectj/aspectjtools/1.6.0/aspectjtools-1.6.0.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Eclipse Public License - v 1.0', 'url': 'http://www.eclipse.org/legal/epl-v10.html', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: Eclipse Public License - v 1.0\n url: http://www.eclipse.org/legal/epl-v10.html\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.aspectj/aspectjtools@1.6.0?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/aspectj/aspectjweaver/1.5.4/aspectjweaver-1.5.4.pom.package.json b/tests/packagedcode/data/m2/org/aspectj/aspectjweaver/1.5.4/aspectjweaver-1.5.4.pom.package.json index a3e75294c36..c851d4fb0a9 100644 --- a/tests/packagedcode/data/m2/org/aspectj/aspectjweaver/1.5.4/aspectjweaver-1.5.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/aspectj/aspectjweaver/1.5.4/aspectjweaver-1.5.4.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Eclipse Public License - v 1.0', 'url': 'http://www.eclipse.org/legal/epl-v10.html', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: Eclipse Public License - v 1.0\n url: http://www.eclipse.org/legal/epl-v10.html\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.aspectj/aspectjweaver@1.5.4?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/aspectj/aspectjweaver/1.6.0/aspectjweaver-1.6.0.pom.package.json b/tests/packagedcode/data/m2/org/aspectj/aspectjweaver/1.6.0/aspectjweaver-1.6.0.pom.package.json index 73d4d5107de..ef33dfa24b7 100644 --- a/tests/packagedcode/data/m2/org/aspectj/aspectjweaver/1.6.0/aspectjweaver-1.6.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/aspectj/aspectjweaver/1.6.0/aspectjweaver-1.6.0.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Eclipse Public License - v 1.0', 'url': 'http://www.eclipse.org/legal/epl-v10.html', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: Eclipse Public License - v 1.0\n url: http://www.eclipse.org/legal/epl-v10.html\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.aspectj/aspectjweaver@1.6.0?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/aspectj-maven-plugin/1.0/aspectj-maven-plugin-1.0.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/aspectj-maven-plugin/1.0/aspectj-maven-plugin-1.0.pom.package.json index 117a3045472..c3d7ef69446 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/aspectj-maven-plugin/1.0/aspectj-maven-plugin-1.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/aspectj-maven-plugin/1.0/aspectj-maven-plugin-1.0.pom.package.json @@ -63,7 +63,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The MIT License', 'url': 'LICENSE.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The MIT License\n url: LICENSE.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/aspectj-maven-plugin@1.0?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-20080813.143116-6.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-20080813.143116-6.pom.package.json index 211dfcf9fe4..3c7fd417f1f 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-20080813.143116-6.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-20080813.143116-6.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The MIT License', 'url': 'http://www.opensource.org/licenses/mit-license.php', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The MIT License\n url: http://www.opensource.org/licenses/mit-license.php\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/build-helper-maven-plugin@1.2-SNAPSHOT?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-SNAPSHOT.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-SNAPSHOT.pom.package.json index 211dfcf9fe4..3c7fd417f1f 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-SNAPSHOT.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-SNAPSHOT.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The MIT License', 'url': 'http://www.opensource.org/licenses/mit-license.php', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The MIT License\n url: http://www.opensource.org/licenses/mit-license.php\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/build-helper-maven-plugin@1.2-SNAPSHOT?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/cobertura-maven-plugin/2.2/cobertura-maven-plugin-2.2.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/cobertura-maven-plugin/2.2/cobertura-maven-plugin-2.2.pom.package.json index 86962d83ded..44f708b71f5 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/cobertura-maven-plugin/2.2/cobertura-maven-plugin-2.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/cobertura-maven-plugin/2.2/cobertura-maven-plugin-2.2.pom.package.json @@ -89,7 +89,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/cobertura-maven-plugin@2.2?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/findbugs-maven-plugin/1.1.1/findbugs-maven-plugin-1.1.1.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/findbugs-maven-plugin/1.1.1/findbugs-maven-plugin-1.1.1.pom.package.json index b0d16ef8a66..47087e78817 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/findbugs-maven-plugin/1.1.1/findbugs-maven-plugin-1.1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/findbugs-maven-plugin/1.1.1/findbugs-maven-plugin-1.1.1.pom.package.json @@ -77,7 +77,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'MIT', 'url': 'LICENSE.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: MIT\n url: LICENSE.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/findbugs-maven-plugin@1.1.1?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/maven-buildnumber-plugin/0.9.6/maven-buildnumber-plugin-0.9.6.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/maven-buildnumber-plugin/0.9.6/maven-buildnumber-plugin-0.9.6.pom.package.json index 05625c88ad5..c65bb643334 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/maven-buildnumber-plugin/0.9.6/maven-buildnumber-plugin-0.9.6.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/maven-buildnumber-plugin/0.9.6/maven-buildnumber-plugin-0.9.6.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The MIT License', 'url': 'http://commons.ucalgary.ca/projects/licenses/mit-license.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The MIT License\n url: http://commons.ucalgary.ca/projects/licenses/mit-license.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/maven-buildnumber-plugin@0.9.6?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.11/plexus-1.0.11.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.11/plexus-1.0.11.pom.package.json index 068f83f6fd2..b983b15e083 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.11/plexus-1.0.11.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.11/plexus-1.0.11.pom.package.json @@ -201,7 +201,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus@1.0.11?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/easymock/easymock/2.3/easymock-2.3.pom.package.json b/tests/packagedcode/data/m2/org/easymock/easymock/2.3/easymock-2.3.pom.package.json index ea462591466..c521be75952 100644 --- a/tests/packagedcode/data/m2/org/easymock/easymock/2.3/easymock-2.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/easymock/easymock/2.3/easymock-2.3.pom.package.json @@ -48,7 +48,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'MIT License', 'url': 'http://www.easymock.org/License.html', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: MIT License\n url: http://www.easymock.org/License.html\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.easymock/easymock@2.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.pom.package.json b/tests/packagedcode/data/m2/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.pom.package.json index 97c8838de24..9237fff7daf 100644 --- a/tests/packagedcode/data/m2/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.pom.package.json @@ -48,7 +48,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'MIT License', 'url': 'http://www.easymock.org/License.html', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: MIT License\n url: http://www.easymock.org/License.html\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.easymock/easymockclassextension@2.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.2.1.ga/hibernate-annotations-3.2.1.ga.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.2.1.ga/hibernate-annotations-3.2.1.ga.pom.package.json index 98904afae06..99b20cea41a 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.2.1.ga/hibernate-annotations-3.2.1.ga.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.2.1.ga/hibernate-annotations-3.2.1.ga.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'GNU LESSER GENERAL PUBLIC LICENSE', 'url': 'http://www.gnu.org/licenses/lgpl.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/org.hibernate/hibernate-annotations@3.2.1.ga?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.pom.package.json index 7716b539772..d5a7523e463 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'GNU LESSER GENERAL PUBLIC LICENSE', 'url': 'http://www.gnu.org/licenses/lgpl.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/org.hibernate/hibernate-annotations@3.3.1.GA?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.pom.package.json index 77bb913839f..a8905a58f7e 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'GNU LESSER GENERAL PUBLIC LICENSE', 'url': 'http://www.gnu.org/licenses/lgpl.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.hibernate/hibernate-commons-annotations@3.0.0.ga?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.2.1.ga/hibernate-entitymanager-3.2.1.ga.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.2.1.ga/hibernate-entitymanager-3.2.1.ga.pom.package.json index 95fd3e4514f..1db0927a05f 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.2.1.ga/hibernate-entitymanager-3.2.1.ga.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.2.1.ga/hibernate-entitymanager-3.2.1.ga.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'GNU LESSER GENERAL PUBLIC LICENSE', 'url': 'http://www.gnu.org/licenses/lgpl.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.hibernate/hibernate-entitymanager@3.2.1.ga?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.pom.package.json index af1dc75099d..4f3b45bc228 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'GNU LESSER GENERAL PUBLIC LICENSE', 'url': 'http://www.gnu.org/licenses/lgpl.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/org.hibernate/hibernate-entitymanager@3.3.2.GA?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.1.ga/hibernate-3.2.1.ga.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.1.ga/hibernate-3.2.1.ga.pom.package.json index 81b2c28c1e7..96b6ae3d27b 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.1.ga/hibernate-3.2.1.ga.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.1.ga/hibernate-3.2.1.ga.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'GNU LESSER GENERAL PUBLIC LICENSE', 'url': 'http://www.gnu.org/licenses/lgpl.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/org.hibernate/hibernate@3.2.1.ga?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.pom.package.json index 9b24d3cb088..520e869e0fc 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'GNU LESSER GENERAL PUBLIC LICENSE', 'url': 'http://www.gnu.org/licenses/lgpl.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/org.hibernate/hibernate@3.2.6.ga?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/mortbay/jetty/jetty-parent/7/jetty-parent-7.pom.package.json b/tests/packagedcode/data/m2/org/mortbay/jetty/jetty-parent/7/jetty-parent-7.pom.package.json index 72cfa4cefb1..cc6ee9851f0 100644 --- a/tests/packagedcode/data/m2/org/mortbay/jetty/jetty-parent/7/jetty-parent-7.pom.package.json +++ b/tests/packagedcode/data/m2/org/mortbay/jetty/jetty-parent/7/jetty-parent-7.pom.package.json @@ -152,7 +152,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Apache License Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Apache License Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/org.mortbay.jetty/jetty-parent@7?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1.5/project-6.1.5.pom.package.json b/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1.5/project-6.1.5.pom.package.json index 1a7b2db1d3b..17bebfe9af4 100644 --- a/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1.5/project-6.1.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1.5/project-6.1.5.pom.package.json @@ -131,7 +131,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Apache License Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Apache License Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/org.mortbay.jetty/project@6.1.5?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.pom.package.json b/tests/packagedcode/data/m2/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.pom.package.json index 45a24ff1b58..5fdbf708d76 100644 --- a/tests/packagedcode/data/m2/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'CDDL 1.0', 'url': 'https://glassfish.dev.java.net/public/CDDLv1.0.html', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: CDDL 1.0\n url: https://glassfish.dev.java.net/public/CDDLv1.0.html\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/org.mortbay.jetty/servlet-api-2.5@6.1.5?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/springframework/spring-aop/2.5.3/spring-aop-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-aop/2.5.3/spring-aop-2.5.3.pom.package.json index 56aa3c7d647..6d73ca35b41 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-aop/2.5.3/spring-aop-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-aop/2.5.3/spring-aop-2.5.3.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-aop@2.5.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/springframework/spring-aspects/2.5.3/spring-aspects-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-aspects/2.5.3/spring-aspects-2.5.3.pom.package.json index 1137ccf95a4..faa3969cd03 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-aspects/2.5.3/spring-aspects-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-aspects/2.5.3/spring-aspects-2.5.3.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-aspects@2.5.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/springframework/spring-aspects/2.5.4/spring-aspects-2.5.4.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-aspects/2.5.4/spring-aspects-2.5.4.pom.package.json index 374c26f7142..22bdafe73e0 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-aspects/2.5.4/spring-aspects-2.5.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-aspects/2.5.4/spring-aspects-2.5.4.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-aspects@2.5.4?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/springframework/spring-beans/2.5.3/spring-beans-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-beans/2.5.3/spring-beans-2.5.3.pom.package.json index 188aed8f91a..d170313f1be 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-beans/2.5.3/spring-beans-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-beans/2.5.3/spring-beans-2.5.3.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-beans@2.5.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/springframework/spring-context-support/2.5.3/spring-context-support-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-context-support/2.5.3/spring-context-support-2.5.3.pom.package.json index 8ad9fd6921f..65fa89dc293 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-context-support/2.5.3/spring-context-support-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-context-support/2.5.3/spring-context-support-2.5.3.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-context-support@2.5.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/springframework/spring-context/2.5.3/spring-context-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-context/2.5.3/spring-context-2.5.3.pom.package.json index e277e7b6291..ae556b21a34 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-context/2.5.3/spring-context-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-context/2.5.3/spring-context-2.5.3.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-context@2.5.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/springframework/spring-core/2.5.3/spring-core-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-core/2.5.3/spring-core-2.5.3.pom.package.json index 0d05ba7bac4..da32e29ba0e 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-core/2.5.3/spring-core-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-core/2.5.3/spring-core-2.5.3.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-core@2.5.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/springframework/spring-jdbc/2.5.3/spring-jdbc-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-jdbc/2.5.3/spring-jdbc-2.5.3.pom.package.json index 28a097f43d6..36bfb887d6a 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-jdbc/2.5.3/spring-jdbc-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-jdbc/2.5.3/spring-jdbc-2.5.3.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-jdbc@2.5.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/springframework/spring-orm/2.5.3/spring-orm-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-orm/2.5.3/spring-orm-2.5.3.pom.package.json index c10c39db03e..731c619306d 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-orm/2.5.3/spring-orm-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-orm/2.5.3/spring-orm-2.5.3.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-orm@2.5.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/springframework/spring-test/2.5.3/spring-test-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-test/2.5.3/spring-test-2.5.3.pom.package.json index 5745963c156..17faf0b7592 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-test/2.5.3/spring-test-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-test/2.5.3/spring-test-2.5.3.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-test@2.5.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/springframework/spring-test/2.5.4/spring-test-2.5.4.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-test/2.5.4/spring-test-2.5.4.pom.package.json index 3b658243b93..3739689acaf 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-test/2.5.4/spring-test-2.5.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-test/2.5.4/spring-test-2.5.4.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-test@2.5.4?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/springframework/spring-tx/2.5.3/spring-tx-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-tx/2.5.3/spring-tx-2.5.3.pom.package.json index b265d69f5cd..7302a779735 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-tx/2.5.3/spring-tx-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-tx/2.5.3/spring-tx-2.5.3.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-tx@2.5.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/springframework/spring-web/2.5.3/spring-web-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-web/2.5.3/spring-web-2.5.3.pom.package.json index 05b2168894a..328cee920f8 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-web/2.5.3/spring-web-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-web/2.5.3/spring-web-2.5.3.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-web@2.5.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/springframework/spring-webmvc/2.5.3/spring-webmvc-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-webmvc/2.5.3/spring-webmvc-2.5.3.pom.package.json index 80792ab4d6f..63ea0778863 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-webmvc/2.5.3/spring-webmvc-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-webmvc/2.5.3/spring-webmvc-2.5.3.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-webmvc@2.5.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/springframework/spring-webmvc/2.5.4/spring-webmvc-2.5.4.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-webmvc/2.5.4/spring-webmvc-2.5.4.pom.package.json index bd2349b771c..9162f6c3e4c 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-webmvc/2.5.4/spring-webmvc-2.5.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-webmvc/2.5.4/spring-webmvc-2.5.4.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-webmvc@2.5.4?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/springframework/spring/2.5.4/spring-2.5.4.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring/2.5.4/spring-2.5.4.pom.package.json index ee5f16a73b1..3d795d77176 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring/2.5.4/spring-2.5.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring/2.5.4/spring-2.5.4.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring@2.5.4?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/testng/testng/5.7/testng-5.7.pom.package.json b/tests/packagedcode/data/m2/org/testng/testng/5.7/testng-5.7.pom.package.json index c1029cfbca4..d42298b1425 100644 --- a/tests/packagedcode/data/m2/org/testng/testng/5.7/testng-5.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/testng/testng/5.7/testng-5.7.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Apache License, Version 2.0', 'url': 'http://apache.org/licenses/LICENSE-2.0', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Apache License, Version 2.0\n url: http://apache.org/licenses/LICENSE-2.0\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/org.testng/testng@5.7?classifier=sources" diff --git a/tests/packagedcode/data/m2/org/testng/testng/5.8/testng-5.8.pom.package.json b/tests/packagedcode/data/m2/org/testng/testng/5.8/testng-5.8.pom.package.json index d384cf5e7be..264d994621e 100644 --- a/tests/packagedcode/data/m2/org/testng/testng/5.8/testng-5.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/testng/testng/5.8/testng-5.8.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Apache License, Version 2.0', 'url': 'http://apache.org/licenses/LICENSE-2.0', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Apache License, Version 2.0\n url: http://apache.org/licenses/LICENSE-2.0\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/org.testng/testng@5.8?classifier=sources" diff --git a/tests/packagedcode/data/m2/p6spy/p6spy/1.3/p6spy-1.3.pom.package.json b/tests/packagedcode/data/m2/p6spy/p6spy/1.3/p6spy-1.3.pom.package.json index 60381065e09..4b5a65f750f 100644 --- a/tests/packagedcode/data/m2/p6spy/p6spy/1.3/p6spy-1.3.pom.package.json +++ b/tests/packagedcode/data/m2/p6spy/p6spy/1.3/p6spy-1.3.pom.package.json @@ -103,7 +103,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The P6Spy Software License, Version 1.1', 'url': 'http://cvs.sourceforge.net/viewcvs.py/*checkout*/p6spy/p6spy/license.txt?rev=HEAD', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The P6Spy Software License, Version 1.1\n url: http://cvs.sourceforge.net/viewcvs.py/*checkout*/p6spy/p6spy/license.txt?rev=HEAD\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/p6spy/p6spy@1.3?classifier=sources" diff --git a/tests/packagedcode/data/m2/parsing_issues/parse_error/jds-2.17.0718b.pom.package.json b/tests/packagedcode/data/m2/parsing_issues/parse_error/jds-2.17.0718b.pom.package.json index 596911bc6ff..dcdce0d3e05 100644 --- a/tests/packagedcode/data/m2/parsing_issues/parse_error/jds-2.17.0718b.pom.package.json +++ b/tests/packagedcode/data/m2/parsing_issues/parse_error/jds-2.17.0718b.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The 3-Clause BSD License', 'url': 'https://opensource.org/licenses/BSD-3-Clause', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The 3-Clause BSD License\n url: https://opensource.org/licenses/BSD-3-Clause\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/io.github.subiyacryolite/jds@2.17.0718b?classifier=sources" diff --git a/tests/packagedcode/data/m2/parsing_issues/parse_error/jds-3.0.1.pom.package.json b/tests/packagedcode/data/m2/parsing_issues/parse_error/jds-3.0.1.pom.package.json index 237cad0b129..973641ea2ec 100644 --- a/tests/packagedcode/data/m2/parsing_issues/parse_error/jds-3.0.1.pom.package.json +++ b/tests/packagedcode/data/m2/parsing_issues/parse_error/jds-3.0.1.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The 3-Clause BSD License', 'url': 'https://opensource.org/licenses/BSD-3-Clause', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The 3-Clause BSD License\n url: https://opensource.org/licenses/BSD-3-Clause\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/io.github.subiyacryolite/jds@3.0.1?classifier=sources" diff --git a/tests/packagedcode/data/m2/parsing_issues/was_empty/common-object-1.0.2.pom.package.json b/tests/packagedcode/data/m2/parsing_issues/was_empty/common-object-1.0.2.pom.package.json index 1359a01342e..3155ca799a4 100644 --- a/tests/packagedcode/data/m2/parsing_issues/was_empty/common-object-1.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/parsing_issues/was_empty/common-object-1.0.2.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/org.xson/common-object@1.0.2?classifier=sources" diff --git a/tests/packagedcode/data/m2/parsing_issues/was_empty/osgl-http-1.1.2.pom.package.json b/tests/packagedcode/data/m2/parsing_issues/was_empty/osgl-http-1.1.2.pom.package.json index 042f40d6310..ee921400825 100644 --- a/tests/packagedcode/data/m2/parsing_issues/was_empty/osgl-http-1.1.2.pom.package.json +++ b/tests/packagedcode/data/m2/parsing_issues/was_empty/osgl-http-1.1.2.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.osgl/osgl-http@1.1.2?classifier=sources" diff --git a/tests/packagedcode/data/m2/validator/commons-validator/1.2.0/commons-validator-1.2.0.pom.package.json b/tests/packagedcode/data/m2/validator/commons-validator/1.2.0/commons-validator-1.2.0.pom.package.json index cb0387b848a..8b835e52abf 100644 --- a/tests/packagedcode/data/m2/validator/commons-validator/1.2.0/commons-validator-1.2.0.pom.package.json +++ b/tests/packagedcode/data/m2/validator/commons-validator/1.2.0/commons-validator-1.2.0.pom.package.json @@ -273,7 +273,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': '/LICENSE.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: /LICENSE.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/commons-validator/commons-validator@1.2.0?classifier=sources" diff --git a/tests/packagedcode/data/m2/validator/commons-validator/1.3.1/commons-validator-1.3.1.pom.package.json b/tests/packagedcode/data/m2/validator/commons-validator/1.3.1/commons-validator-1.3.1.pom.package.json index 379d8aafd0e..ecbe84dd932 100644 --- a/tests/packagedcode/data/m2/validator/commons-validator/1.3.1/commons-validator-1.3.1.pom.package.json +++ b/tests/packagedcode/data/m2/validator/commons-validator/1.3.1/commons-validator-1.3.1.pom.package.json @@ -280,7 +280,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': '/LICENSE.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: /LICENSE.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/commons-validator/commons-validator@1.3.1?classifier=sources" diff --git a/tests/packagedcode/data/m2/velocity/velocity/1.4/velocity-1.4.pom.package.json b/tests/packagedcode/data/m2/velocity/velocity/1.4/velocity-1.4.pom.package.json index 11fc35f9c3a..988a6b18ad8 100644 --- a/tests/packagedcode/data/m2/velocity/velocity/1.4/velocity-1.4.pom.package.json +++ b/tests/packagedcode/data/m2/velocity/velocity/1.4/velocity-1.4.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/velocity/velocity@1.4?classifier=sources" diff --git a/tests/packagedcode/data/m2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom.package.json b/tests/packagedcode/data/m2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom.package.json index 23f14ab0852..ff3d16ac27b 100644 --- a/tests/packagedcode/data/m2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom.package.json +++ b/tests/packagedcode/data/m2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/xml-apis/xml-apis@1.0.b2?classifier=sources" diff --git a/tests/packagedcode/data/m2/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.pom.package.json b/tests/packagedcode/data/m2/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.pom.package.json index 8a46e8fabc7..9a8db3bc49d 100644 --- a/tests/packagedcode/data/m2/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.pom.package.json +++ b/tests/packagedcode/data/m2/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Public Domain', 'url': 'http://www.xmlpull.org/v1/download/unpacked/LICENSE.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Public Domain\n url: http://www.xmlpull.org/v1/download/unpacked/LICENSE.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/xmlpull/xmlpull@1.1.3.1?classifier=sources" diff --git a/tests/packagedcode/data/maven2/aopalliance-1.0/aopalliance-1.0.pom.package.json b/tests/packagedcode/data/maven2/aopalliance-1.0/aopalliance-1.0.pom.package.json index f9c3f9eb323..70a1c2717fa 100644 --- a/tests/packagedcode/data/maven2/aopalliance-1.0/aopalliance-1.0.pom.package.json +++ b/tests/packagedcode/data/maven2/aopalliance-1.0/aopalliance-1.0.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Public Domain', 'url': None, 'comments': None, 'distribution': None}, {'name': 'GPL', 'url': 'http://nexb.com', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Public Domain\n url:\n comments:\n distribution:\n- name: GPL\n url: http://nexb.com\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/aopalliance/aopalliance@1.0?classifier=sources" diff --git a/tests/packagedcode/data/maven2/commons-validator-1.2.0/commons-validator-1.2.0.pom.package.json b/tests/packagedcode/data/maven2/commons-validator-1.2.0/commons-validator-1.2.0.pom.package.json index cb0387b848a..8b835e52abf 100644 --- a/tests/packagedcode/data/maven2/commons-validator-1.2.0/commons-validator-1.2.0.pom.package.json +++ b/tests/packagedcode/data/maven2/commons-validator-1.2.0/commons-validator-1.2.0.pom.package.json @@ -273,7 +273,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': '/LICENSE.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: /LICENSE.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/commons-validator/commons-validator@1.2.0?classifier=sources" diff --git a/tests/packagedcode/data/maven2/findbugs-maven-plugin-1.1.1/findbugs-maven-plugin-1.1.1.pom.package.json b/tests/packagedcode/data/maven2/findbugs-maven-plugin-1.1.1/findbugs-maven-plugin-1.1.1.pom.package.json index b0d16ef8a66..47087e78817 100644 --- a/tests/packagedcode/data/maven2/findbugs-maven-plugin-1.1.1/findbugs-maven-plugin-1.1.1.pom.package.json +++ b/tests/packagedcode/data/maven2/findbugs-maven-plugin-1.1.1/findbugs-maven-plugin-1.1.1.pom.package.json @@ -77,7 +77,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'MIT', 'url': 'LICENSE.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: MIT\n url: LICENSE.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/findbugs-maven-plugin@1.1.1?classifier=sources" diff --git a/tests/packagedcode/data/maven2/foo-pom/foo-pom.xml.package.json b/tests/packagedcode/data/maven2/foo-pom/foo-pom.xml.package.json index 3dd91f93127..06a4c79d19a 100644 --- a/tests/packagedcode/data/maven2/foo-pom/foo-pom.xml.package.json +++ b/tests/packagedcode/data/maven2/foo-pom/foo-pom.xml.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Eclipse Public License - v 1.0', 'url': 'http://www.eclipse.org/legal/epl-v10.html', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Eclipse Public License - v 1.0\n url: http://www.eclipse.org/legal/epl-v10.html\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/com.myco.foo.bar.baz/baz-bar-parent@1.0?classifier=sources" diff --git a/tests/packagedcode/data/maven2/jrecordbind-2.3.4/jrecordbind-2.3.4.pom.package.json b/tests/packagedcode/data/maven2/jrecordbind-2.3.4/jrecordbind-2.3.4.pom.package.json index bd14035f3ed..331d4216ad0 100644 --- a/tests/packagedcode/data/maven2/jrecordbind-2.3.4/jrecordbind-2.3.4.pom.package.json +++ b/tests/packagedcode/data/maven2/jrecordbind-2.3.4/jrecordbind-2.3.4.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'LGPL', 'url': 'http://www.gnu.org/copyleft/lesser.html', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: LGPL\n url: http://www.gnu.org/copyleft/lesser.html\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/it.assist.jrecordbind/jrecordbind%24%7BartifactId.ext%7D@2.3.4?classifier=sources" diff --git a/tests/packagedcode/data/maven2/log4j/log4j-pom.xml.package.json b/tests/packagedcode/data/maven2/log4j/log4j-pom.xml.package.json index 32eabf70f9b..7c282203d0c 100644 --- a/tests/packagedcode/data/maven2/log4j/log4j-pom.xml.package.json +++ b/tests/packagedcode/data/maven2/log4j/log4j-pom.xml.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/log4j/log4j@1.2.15?classifier=sources" diff --git a/tests/packagedcode/data/maven2/logback-access/logback-access.pom.package.json b/tests/packagedcode/data/maven2/logback-access/logback-access.pom.package.json index 47ee3a2df2e..9fc4e322bdd 100644 --- a/tests/packagedcode/data/maven2/logback-access/logback-access.pom.package.json +++ b/tests/packagedcode/data/maven2/logback-access/logback-access.pom.package.json @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'GNU Lesser General Public License', 'url': 'http://www.gnu.org/licenses/lgpl.html', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: GNU Lesser General Public License\n url: http://www.gnu.org/licenses/lgpl.html\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/ch.qos.logback/logback-access@0.2.5?classifier=sources" diff --git a/tests/packagedcode/data/maven2/spring-2.5.4/spring-2.5.4.pom.package.json b/tests/packagedcode/data/maven2/spring-2.5.4/spring-2.5.4.pom.package.json index ee5f16a73b1..3d795d77176 100644 --- a/tests/packagedcode/data/maven2/spring-2.5.4/spring-2.5.4.pom.package.json +++ b/tests/packagedcode/data/maven2/spring-2.5.4/spring-2.5.4.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring@2.5.4?classifier=sources" diff --git a/tests/packagedcode/data/maven2/spring-orm-2.5.3/spring-orm-2.5.3.pom.package.json b/tests/packagedcode/data/maven2/spring-orm-2.5.3/spring-orm-2.5.3.pom.package.json index c10c39db03e..731c619306d 100644 --- a/tests/packagedcode/data/maven2/spring-orm-2.5.3/spring-orm-2.5.3.pom.package.json +++ b/tests/packagedcode/data/maven2/spring-orm-2.5.3/spring-orm-2.5.3.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-orm@2.5.3?classifier=sources" diff --git a/tests/packagedcode/data/maven2/spring-webmvc-2.5.3/spring-webmvc-2.5.3.pom.package.json b/tests/packagedcode/data/maven2/spring-webmvc-2.5.3/spring-webmvc-2.5.3.pom.package.json index 80792ab4d6f..63ea0778863 100644 --- a/tests/packagedcode/data/maven2/spring-webmvc-2.5.3/spring-webmvc-2.5.3.pom.package.json +++ b/tests/packagedcode/data/maven2/spring-webmvc-2.5.3/spring-webmvc-2.5.3.pom.package.json @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-webmvc@2.5.3?classifier=sources" diff --git a/tests/packagedcode/data/npm/as_installed/package.json.expected b/tests/packagedcode/data/npm/as_installed/package.json.expected index c8d807e8f54..ebc50eb3f53 100644 --- a/tests/packagedcode/data/npm/as_installed/package.json.expected +++ b/tests/packagedcode/data/npm/as_installed/package.json.expected @@ -2232,7 +2232,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0']", + "extracted_license_statement": "- Artistic-2.0\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/authors_list_dicts/package.json.expected b/tests/packagedcode/data/npm/authors_list_dicts/package.json.expected index cdf9fc2bd54..051abe95065 100644 --- a/tests/packagedcode/data/npm/authors_list_dicts/package.json.expected +++ b/tests/packagedcode/data/npm/authors_list_dicts/package.json.expected @@ -96,7 +96,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'type': 'MIT', 'url': 'https://github.com/csscomb/grunt-csscomb/blob/master/LICENSE-MIT'}]", + "extracted_license_statement": "- type: MIT\n url: https://github.com/csscomb/grunt-csscomb/blob/master/LICENSE-MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/authors_list_strings/package.json.expected b/tests/packagedcode/data/npm/authors_list_strings/package.json.expected index f7fe2d357d8..4e2dd1b1610 100644 --- a/tests/packagedcode/data/npm/authors_list_strings/package.json.expected +++ b/tests/packagedcode/data/npm/authors_list_strings/package.json.expected @@ -75,7 +75,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/casepath/package.json.expected b/tests/packagedcode/data/npm/casepath/package.json.expected index b4ac2e86afe..4f7eebcf2d6 100644 --- a/tests/packagedcode/data/npm/casepath/package.json.expected +++ b/tests/packagedcode/data/npm/casepath/package.json.expected @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/chartist/package.json.expected b/tests/packagedcode/data/npm/chartist/package.json.expected index 16c29c4e5d3..00d679a5eb6 100644 --- a/tests/packagedcode/data/npm/chartist/package.json.expected +++ b/tests/packagedcode/data/npm/chartist/package.json.expected @@ -138,7 +138,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT OR WTFPL', {'type': 'WTFPL', 'url': 'https://github.com/gionkunz/chartist-js/blob/master/LICENSE-WTFPL'}, {'type': 'MIT', 'url': 'https://github.com/gionkunz/chartist-js/blob/master/LICENSE-MIT'}]", + "extracted_license_statement": "- MIT OR WTFPL\n- type: WTFPL\n url: https://github.com/gionkunz/chartist-js/blob/master/LICENSE-WTFPL\n- type: MIT\n url: https://github.com/gionkunz/chartist-js/blob/master/LICENSE-MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/dist/package.json.expected b/tests/packagedcode/data/npm/dist/package.json.expected index fb1b32bfac1..1690a9b5ddd 100644 --- a/tests/packagedcode/data/npm/dist/package.json.expected +++ b/tests/packagedcode/data/npm/dist/package.json.expected @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/double_license/package.json.expected b/tests/packagedcode/data/npm/double_license/package.json.expected index dc843cfb0c8..1df155eed5b 100644 --- a/tests/packagedcode/data/npm/double_license/package.json.expected +++ b/tests/packagedcode/data/npm/double_license/package.json.expected @@ -78,7 +78,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['Apache-2.0', {'type': 'Apache 2.0', 'url': 'https://github.com/spenceralger/grunt-esvm/blob/master/LICENSE.md'}]", + "extracted_license_statement": "- Apache-2.0\n- type: Apache 2.0\n url: https://github.com/spenceralger/grunt-esvm/blob/master/LICENSE.md\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/electron/package.expected.json b/tests/packagedcode/data/npm/electron/package.expected.json index 2ae583bfb04..d4558217908 100644 --- a/tests/packagedcode/data/npm/electron/package.expected.json +++ b/tests/packagedcode/data/npm/electron/package.expected.json @@ -60,7 +60,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -244,7 +244,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/express-jwt-3.4.0/package.json.expected b/tests/packagedcode/data/npm/express-jwt-3.4.0/package.json.expected index 97315e07ca3..bfd96f47a04 100644 --- a/tests/packagedcode/data/npm/express-jwt-3.4.0/package.json.expected +++ b/tests/packagedcode/data/npm/express-jwt-3.4.0/package.json.expected @@ -87,7 +87,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'type': 'MIT', 'url': 'http://www.opensource.org/licenses/MIT'}]", + "extracted_license_statement": "- type: MIT\n url: http://www.opensource.org/licenses/MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/from_npmjs/package.json.expected b/tests/packagedcode/data/npm/from_npmjs/package.json.expected index 6730386c1a8..46279ab9be0 100644 --- a/tests/packagedcode/data/npm/from_npmjs/package.json.expected +++ b/tests/packagedcode/data/npm/from_npmjs/package.json.expected @@ -2232,7 +2232,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0']", + "extracted_license_statement": "- Artistic-2.0\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/from_tarball/package.json.expected b/tests/packagedcode/data/npm/from_tarball/package.json.expected index ab5edef9371..c3538d7dc69 100644 --- a/tests/packagedcode/data/npm/from_tarball/package.json.expected +++ b/tests/packagedcode/data/npm/from_tarball/package.json.expected @@ -62,7 +62,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0']", + "extracted_license_statement": "- Artistic-2.0\n", "notice_text": null, "source_packages": [], "file_references": [], 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 a52f50e44f6..d0799d5b244 100644 --- a/tests/packagedcode/data/npm/get_package_resources.scan.expected.json +++ b/tests/packagedcode/data/npm/get_package_resources.scan.expected.json @@ -50,7 +50,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -144,7 +144,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/homepage-as-list/package.json.expected b/tests/packagedcode/data/npm/homepage-as-list/package.json.expected index eded67a4484..6e0d334ad99 100644 --- a/tests/packagedcode/data/npm/homepage-as-list/package.json.expected +++ b/tests/packagedcode/data/npm/homepage-as-list/package.json.expected @@ -72,7 +72,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'type': 'MIT', 'url': ''}]", + "extracted_license_statement": "- type: MIT\n url:\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/invalid-dep/package.json.expected b/tests/packagedcode/data/npm/invalid-dep/package.json.expected index 4aabc3143d3..989a11563bd 100644 --- a/tests/packagedcode/data/npm/invalid-dep/package.json.expected +++ b/tests/packagedcode/data/npm/invalid-dep/package.json.expected @@ -66,7 +66,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/keywords/package.json.expected b/tests/packagedcode/data/npm/keywords/package.json.expected index 74c56c1324d..c7127cedc06 100644 --- a/tests/packagedcode/data/npm/keywords/package.json.expected +++ b/tests/packagedcode/data/npm/keywords/package.json.expected @@ -81,7 +81,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/legacy_license_dict/package.json.expected b/tests/packagedcode/data/npm/legacy_license_dict/package.json.expected index 6dd7a1e75c0..9222af29984 100644 --- a/tests/packagedcode/data/npm/legacy_license_dict/package.json.expected +++ b/tests/packagedcode/data/npm/legacy_license_dict/package.json.expected @@ -83,7 +83,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'type': 'MIT', 'url': 'https://github.com/sartak/grunt-inline-imgsize/blob/master/LICENSE-MIT'}]", + "extracted_license_statement": "- type: MIT\n url: https://github.com/sartak/grunt-inline-imgsize/blob/master/LICENSE-MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/mime-1.3.4/package.json.expected b/tests/packagedcode/data/npm/mime-1.3.4/package.json.expected index 0319332d55d..1ad2ac3acf9 100644 --- a/tests/packagedcode/data/npm/mime-1.3.4/package.json.expected +++ b/tests/packagedcode/data/npm/mime-1.3.4/package.json.expected @@ -67,7 +67,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'type': 'MIT', 'url': 'https://raw.github.com/broofa/node-mime/master/LICENSE'}]", + "extracted_license_statement": "- type: MIT\n url: https://raw.github.com/broofa/node-mime/master/LICENSE\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/scan-nested/scan.expected.json b/tests/packagedcode/data/npm/scan-nested/scan.expected.json index c9a23606a12..6d7b3d798a2 100644 --- a/tests/packagedcode/data/npm/scan-nested/scan.expected.json +++ b/tests/packagedcode/data/npm/scan-nested/scan.expected.json @@ -82,7 +82,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -188,7 +188,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -1154,7 +1154,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -1821,7 +1821,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/scoped1/package.json.expected b/tests/packagedcode/data/npm/scoped1/package.json.expected index b0efeafc76d..750cef01621 100644 --- a/tests/packagedcode/data/npm/scoped1/package.json.expected +++ b/tests/packagedcode/data/npm/scoped1/package.json.expected @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/scoped2/package.json.expected b/tests/packagedcode/data/npm/scoped2/package.json.expected index 0b02fbc7d7f..4aaee5941a9 100644 --- a/tests/packagedcode/data/npm/scoped2/package.json.expected +++ b/tests/packagedcode/data/npm/scoped2/package.json.expected @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/sequelize/package.json.expected b/tests/packagedcode/data/npm/sequelize/package.json.expected index 14ebfb5bc0b..c7ca933471a 100644 --- a/tests/packagedcode/data/npm/sequelize/package.json.expected +++ b/tests/packagedcode/data/npm/sequelize/package.json.expected @@ -94,7 +94,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/uri_vcs/package.json.expected b/tests/packagedcode/data/npm/uri_vcs/package.json.expected index 0a0b66b1e33..97fd5627e63 100644 --- a/tests/packagedcode/data/npm/uri_vcs/package.json.expected +++ b/tests/packagedcode/data/npm/uri_vcs/package.json.expected @@ -76,7 +76,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'type': 'MIT', 'url': 'http://www.opensource.org/licenses/MIT'}]", + "extracted_license_statement": "- type: MIT\n url: http://www.opensource.org/licenses/MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/urls_dict/package.json.expected b/tests/packagedcode/data/npm/urls_dict/package.json.expected index 6952724b919..813da22f392 100644 --- a/tests/packagedcode/data/npm/urls_dict/package.json.expected +++ b/tests/packagedcode/data/npm/urls_dict/package.json.expected @@ -62,7 +62,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'type': 'MIT', 'url': 'https://github.com/Postmedia/jsonp-filter/blob/master/LICENSE'}]", + "extracted_license_statement": "- type: MIT\n url: https://github.com/Postmedia/jsonp-filter/blob/master/LICENSE\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/utils-merge-1.0.0/package.json.expected b/tests/packagedcode/data/npm/utils-merge-1.0.0/package.json.expected index ea24a494bac..09d6e5e9957 100644 --- a/tests/packagedcode/data/npm/utils-merge-1.0.0/package.json.expected +++ b/tests/packagedcode/data/npm/utils-merge-1.0.0/package.json.expected @@ -78,7 +78,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'type': 'MIT', 'url': 'http://www.opensource.org/licenses/MIT'}]", + "extracted_license_statement": "- type: MIT\n url: http://www.opensource.org/licenses/MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/npm/with_name/package.json.expected b/tests/packagedcode/data/npm/with_name/package.json.expected index 0955bfd8fc5..74c7f84123b 100644 --- a/tests/packagedcode/data/npm/with_name/package.json.expected +++ b/tests/packagedcode/data/npm/with_name/package.json.expected @@ -68,7 +68,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'type': 'Apache License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0'}]", + "extracted_license_statement": "- type: Apache License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/phpcomposer/composer.lock-expected.json b/tests/packagedcode/data/phpcomposer/composer.lock-expected.json index d9b57511764..bb41c2d3c78 100644 --- a/tests/packagedcode/data/phpcomposer/composer.lock-expected.json +++ b/tests/packagedcode/data/phpcomposer/composer.lock-expected.json @@ -435,7 +435,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -563,7 +563,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -681,7 +681,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -809,7 +809,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -947,7 +947,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -1052,7 +1052,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -1260,7 +1260,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -1372,7 +1372,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -1474,7 +1474,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -1582,7 +1582,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -1718,7 +1718,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -1850,7 +1850,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -1955,7 +1955,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -2353,7 +2353,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -2475,7 +2475,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['BSD-3-Clause']", + "extracted_license_statement": "- BSD-3-Clause\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -2576,7 +2576,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -2704,7 +2704,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -2792,7 +2792,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['BSD-3-Clause']", + "extracted_license_statement": "- BSD-3-Clause\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -2927,7 +2927,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -3172,7 +3172,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -3297,7 +3297,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -3472,7 +3472,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -3577,7 +3577,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -3672,7 +3672,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -3767,7 +3767,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -3872,7 +3872,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -3977,7 +3977,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -4082,7 +4082,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -4177,7 +4177,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -4272,7 +4272,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/phpcomposer/fake2/composer.json.expected b/tests/packagedcode/data/phpcomposer/fake2/composer.json.expected index f1cbb2eac0d..60ad14b63d4 100644 --- a/tests/packagedcode/data/phpcomposer/fake2/composer.json.expected +++ b/tests/packagedcode/data/phpcomposer/fake2/composer.json.expected @@ -83,7 +83,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['LGPL-2.1-only', 'GPL-3.0-or-later']", + "extracted_license_statement": "- LGPL-2.1-only\n- GPL-3.0-or-later\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/plugin/com-package-expected.json b/tests/packagedcode/data/plugin/com-package-expected.json index 93454c88cf9..ad686c6a135 100644 --- a/tests/packagedcode/data/plugin/com-package-expected.json +++ b/tests/packagedcode/data/plugin/com-package-expected.json @@ -64,7 +64,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 Microsoft Corporation. All rights reserved.', 'LegalTrademarks': '', 'License': None}", + "extracted_license_statement": "LegalCopyright: \u00a9 Microsoft Corporation. All rights reserved.\nLegalTrademarks:\nLicense:\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/plugin/get_installed_packages-expected.json b/tests/packagedcode/data/plugin/get_installed_packages-expected.json index da72605da4d..aa3664d0b90 100644 --- a/tests/packagedcode/data/plugin/get_installed_packages-expected.json +++ b/tests/packagedcode/data/plugin/get_installed_packages-expected.json @@ -562,7 +562,7 @@ "identifier": "lgpl_2_1_plus_and_lgpl_2_1-1018860f-b475-01e3-bdd4-39bf3444650e" } ], - "extracted_license_statement": "['LGPL-2.1+', 'LGPL-2.1+', 'LGPL-2.1+']", + "extracted_license_statement": "- LGPL-2.1+\n- LGPL-2.1+\n- LGPL-2.1+\n", "notice_text": null, "source_packages": [ "pkg:deb/libndp" @@ -757,7 +757,7 @@ "identifier": "lgpl_2_1_plus_and_lgpl_2_1-1018860f-b475-01e3-bdd4-39bf3444650e" } ], - "extracted_license_statement": "['LGPL-2.1+', 'LGPL-2.1+', 'LGPL-2.1+']", + "extracted_license_statement": "- LGPL-2.1+\n- LGPL-2.1+\n- LGPL-2.1+\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/plugin/maven-package-expected.json b/tests/packagedcode/data/plugin/maven-package-expected.json index 3deff1c470c..c959a1c674e 100644 --- a/tests/packagedcode/data/plugin/maven-package-expected.json +++ b/tests/packagedcode/data/plugin/maven-package-expected.json @@ -321,7 +321,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Public Domain', 'url': None, 'comments': None, 'distribution': None}, {'name': 'GPL', 'url': 'http://nexb.com', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Public Domain\n url:\n comments:\n distribution:\n- name: GPL\n url: http://nexb.com\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/aopalliance/aopalliance@1.0?classifier=sources" @@ -837,7 +837,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': '/LICENSE.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: /LICENSE.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/commons-validator/commons-validator@1.2.0?classifier=sources" @@ -1066,7 +1066,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'MIT', 'url': 'LICENSE.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: MIT\n url: LICENSE.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/findbugs-maven-plugin@1.1.1?classifier=sources" @@ -1257,7 +1257,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Eclipse Public License - v 1.0', 'url': 'http://www.eclipse.org/legal/epl-v10.html', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Eclipse Public License - v 1.0\n url: http://www.eclipse.org/legal/epl-v10.html\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/com.myco.foo.bar.baz/baz-bar-parent@1.0?classifier=sources" @@ -1497,7 +1497,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'LGPL', 'url': 'http://www.gnu.org/copyleft/lesser.html', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: LGPL\n url: http://www.gnu.org/copyleft/lesser.html\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/it.assist.jrecordbind/jrecordbind%24%7BartifactId.ext%7D@2.3.4?classifier=sources" @@ -1592,7 +1592,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/log4j/log4j@1.2.15?classifier=sources" @@ -1679,7 +1679,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'GNU Lesser General Public License', 'url': 'http://www.gnu.org/licenses/lgpl.html', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: GNU Lesser General Public License\n url: http://www.gnu.org/licenses/lgpl.html\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/ch.qos.logback/logback-access@0.2.5?classifier=sources" @@ -2209,7 +2209,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring@2.5.4?classifier=sources" @@ -2304,7 +2304,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-orm@2.5.3?classifier=sources" @@ -2399,7 +2399,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-webmvc@2.5.3?classifier=sources" @@ -6958,7 +6958,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Public Domain', 'url': None, 'comments': None, 'distribution': None}, {'name': 'GPL', 'url': 'http://nexb.com', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Public Domain\n url:\n comments:\n distribution:\n- name: GPL\n url: http://nexb.com\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/aopalliance/aopalliance@1.0?classifier=sources" @@ -7627,7 +7627,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': '/LICENSE.txt', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: /LICENSE.txt\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/commons-validator/commons-validator@1.2.0?classifier=sources" @@ -8197,7 +8197,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'MIT', 'url': 'LICENSE.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: MIT\n url: LICENSE.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/findbugs-maven-plugin@1.1.1?classifier=sources" @@ -8710,7 +8710,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Eclipse Public License - v 1.0', 'url': 'http://www.eclipse.org/legal/epl-v10.html', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Eclipse Public License - v 1.0\n url: http://www.eclipse.org/legal/epl-v10.html\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/com.myco.foo.bar.baz/baz-bar-parent@1.0?classifier=sources" @@ -9182,7 +9182,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'LGPL', 'url': 'http://www.gnu.org/copyleft/lesser.html', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: LGPL\n url: http://www.gnu.org/copyleft/lesser.html\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/it.assist.jrecordbind/jrecordbind%24%7BartifactId.ext%7D@2.3.4?classifier=sources" @@ -9351,7 +9351,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/log4j/log4j@1.2.15?classifier=sources" @@ -9532,7 +9532,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'GNU Lesser General Public License', 'url': 'http://www.gnu.org/licenses/lgpl.html', 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: GNU Lesser General Public License\n url: http://www.gnu.org/licenses/lgpl.html\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/ch.qos.logback/logback-access@0.2.5?classifier=sources" @@ -10869,7 +10869,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring@2.5.4?classifier=sources" @@ -11648,7 +11648,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-orm@2.5.3?classifier=sources" @@ -11937,7 +11937,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'The Apache Software License, Version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: The Apache Software License, Version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.springframework/spring-webmvc@2.5.3?classifier=sources" diff --git a/tests/packagedcode/data/plugin/mui-package-expected.json b/tests/packagedcode/data/plugin/mui-package-expected.json index aa5cb504a4f..3b289781d1e 100644 --- a/tests/packagedcode/data/plugin/mui-package-expected.json +++ b/tests/packagedcode/data/plugin/mui-package-expected.json @@ -64,7 +64,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 Microsoft Corporation. All rights reserved.', 'LegalTrademarks': '', 'License': None}", + "extracted_license_statement": "LegalCopyright: \u00a9 Microsoft Corporation. All rights reserved.\nLegalTrademarks:\nLicense:\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/plugin/mun-package-expected.json b/tests/packagedcode/data/plugin/mun-package-expected.json index 9ad8a00615b..ea0706ddbe1 100644 --- a/tests/packagedcode/data/plugin/mun-package-expected.json +++ b/tests/packagedcode/data/plugin/mun-package-expected.json @@ -64,7 +64,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 Microsoft Corporation. All rights reserved.', 'LegalTrademarks': '', 'License': None}", + "extracted_license_statement": "LegalCopyright: \u00a9 Microsoft Corporation. All rights reserved.\nLegalTrademarks:\nLicense:\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/plugin/python-package-expected.json b/tests/packagedcode/data/plugin/python-package-expected.json index fcf17408d4a..dc4852f1f7d 100644 --- a/tests/packagedcode/data/plugin/python-package-expected.json +++ b/tests/packagedcode/data/plugin/python-package-expected.json @@ -58,7 +58,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Simplified BSD'}", + "extracted_license_statement": "license: Simplified BSD\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -159,7 +159,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -324,7 +324,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -398,7 +398,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'BSD'}", + "extracted_license_statement": "license: BSD\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -839,7 +839,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -998,7 +998,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'BSD'}", + "extracted_license_statement": "license: BSD\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -1085,7 +1085,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Simplified BSD'}", + "extracted_license_statement": "license: Simplified BSD\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -1420,7 +1420,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [ diff --git a/tests/packagedcode/data/plugin/rubygems-package-expected.json b/tests/packagedcode/data/plugin/rubygems-package-expected.json index 85b3d4c20fd..ee47c0b3f04 100644 --- a/tests/packagedcode/data/plugin/rubygems-package-expected.json +++ b/tests/packagedcode/data/plugin/rubygems-package-expected.json @@ -79,7 +79,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -364,7 +364,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/plugin/sys-package-expected.json b/tests/packagedcode/data/plugin/sys-package-expected.json index 7f9c4a4f7ad..bd3b6315a53 100644 --- a/tests/packagedcode/data/plugin/sys-package-expected.json +++ b/tests/packagedcode/data/plugin/sys-package-expected.json @@ -64,7 +64,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 Microsoft Corporation. All rights reserved.', 'LegalTrademarks': '', 'License': None}", + "extracted_license_statement": "LegalCopyright: \u00a9 Microsoft Corporation. All rights reserved.\nLegalTrademarks:\nLicense:\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/plugin/tlb-package-expected.json b/tests/packagedcode/data/plugin/tlb-package-expected.json index 86e18c4efa9..c429b23c1e8 100644 --- a/tests/packagedcode/data/plugin/tlb-package-expected.json +++ b/tests/packagedcode/data/plugin/tlb-package-expected.json @@ -64,7 +64,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 Microsoft Corporation. All rights reserved.', 'LegalTrademarks': '', 'License': None}", + "extracted_license_statement": "LegalCopyright: \u00a9 Microsoft Corporation. All rights reserved.\nLegalTrademarks:\nLicense:\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/plugin/win_pe-package-expected.json b/tests/packagedcode/data/plugin/win_pe-package-expected.json index e1ebf38c9dd..3801abea231 100644 --- a/tests/packagedcode/data/plugin/win_pe-package-expected.json +++ b/tests/packagedcode/data/plugin/win_pe-package-expected.json @@ -64,7 +64,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 2009 Ian F. Darwin', 'LegalTrademarks': 'GnuWin32\u00ae, File\u00ae, file\u00ae', 'License': \"Copyright (c) Ian F. Darwin 1986, 1987, 1989, 1990, 1991, 1992, 1994, 1995. Software written by Ian F. Darwin and others; maintained 1994-2004 Christos Zoulas. This software is not subject to any export provision of the United States Department of Commerce, and may be exported to any country or planet. 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 immediately at the beginning of the file, without modification, 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. THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.\"}", + "extracted_license_statement": "LegalCopyright: \u00a9 2009 Ian F. Darwin\nLegalTrademarks: GnuWin32\u00ae, File\u00ae, file\u00ae\nLicense: 'Copyright (c) Ian F. Darwin 1986, 1987, 1989, 1990, 1991, 1992, 1994, 1995. Software\n written by Ian F. Darwin and others; maintained 1994-2004 Christos Zoulas. This software is\n not subject to any export provision of the United States Department of Commerce, and may be\n exported to any country or planet. Redistribution and use in source and binary forms, with\n or without modification, are permitted provided that the following conditions are met: 1.\n Redistributions of source code must retain the above copyright notice immediately at the beginning\n of the file, without modification, this list of conditions, and the following disclaimer.\n 2. Redistributions in binary form must reproduce the above copyright notice, this list of\n conditions and the following disclaimer in the documentation and/or other materials provided\n with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS''''\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL\n THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\n OF SUCH DAMAGE.'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/plugin/winmd-package-expected.json b/tests/packagedcode/data/plugin/winmd-package-expected.json index 5ad4088d5dc..dd729949003 100644 --- a/tests/packagedcode/data/plugin/winmd-package-expected.json +++ b/tests/packagedcode/data/plugin/winmd-package-expected.json @@ -64,7 +64,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 Microsoft Corporation. All rights reserved.', 'LegalTrademarks': '', 'License': None}", + "extracted_license_statement": "LegalCopyright: \u00a9 Microsoft Corporation. All rights reserved.\nLegalTrademarks:\nLicense:\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/archive/atomicwrites-1.2.1-py2.py3-none-any.whl-expected.json b/tests/packagedcode/data/pypi/archive/atomicwrites-1.2.1-py2.py3-none-any.whl-expected.json index 8070a7ecd96..7e4ed717d2f 100644 --- a/tests/packagedcode/data/pypi/archive/atomicwrites-1.2.1-py2.py3-none-any.whl-expected.json +++ b/tests/packagedcode/data/pypi/archive/atomicwrites-1.2.1-py2.py3-none-any.whl-expected.json @@ -84,7 +84,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [ diff --git a/tests/packagedcode/data/pypi/archive/commoncode-21.5.12-py3.9.egg-expected.json b/tests/packagedcode/data/pypi/archive/commoncode-21.5.12-py3.9.egg-expected.json index 0f119dc39db..a3c3690ce81 100644 --- a/tests/packagedcode/data/pypi/archive/commoncode-21.5.12-py3.9.egg-expected.json +++ b/tests/packagedcode/data/pypi/archive/commoncode-21.5.12-py3.9.egg-expected.json @@ -66,7 +66,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Apache-2.0'}", + "extracted_license_statement": "license: Apache-2.0\n", "notice_text": null, "source_packages": [], "file_references": [ diff --git a/tests/packagedcode/data/pypi/develop/scancode_toolkit.egg-info-expected.json b/tests/packagedcode/data/pypi/develop/scancode_toolkit.egg-info-expected.json index 34aa7d1080a..08a6b8e1424 100644 --- a/tests/packagedcode/data/pypi/develop/scancode_toolkit.egg-info-expected.json +++ b/tests/packagedcode/data/pypi/develop/scancode_toolkit.egg-info-expected.json @@ -77,7 +77,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Apache-2.0 AND CC-BY-4.0 AND LicenseRef-scancode-other-permissive AND LicenseRef-scancode-other-copyleft'}", + "extracted_license_statement": "license: Apache-2.0 AND CC-BY-4.0 AND LicenseRef-scancode-other-permissive AND LicenseRef-scancode-other-copyleft\n", "notice_text": null, "source_packages": [], "file_references": [ diff --git a/tests/packagedcode/data/pypi/dist-info-metadata/METADATA-expected.json b/tests/packagedcode/data/pypi/dist-info-metadata/METADATA-expected.json index 58e03b753e2..7ecf52301bb 100644 --- a/tests/packagedcode/data/pypi/dist-info-metadata/METADATA-expected.json +++ b/tests/packagedcode/data/pypi/dist-info-metadata/METADATA-expected.json @@ -82,7 +82,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/metadata/PKG-INFO-expected.json b/tests/packagedcode/data/pypi/metadata/PKG-INFO-expected.json index 19c20f1ddd6..40d325131ed 100644 --- a/tests/packagedcode/data/pypi/metadata/PKG-INFO-expected.json +++ b/tests/packagedcode/data/pypi/metadata/PKG-INFO-expected.json @@ -66,7 +66,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "classifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/metadata/v10/PKG-INFO-expected.json b/tests/packagedcode/data/pypi/metadata/v10/PKG-INFO-expected.json index 25161fd340f..4a6cd874416 100644 --- a/tests/packagedcode/data/pypi/metadata/v10/PKG-INFO-expected.json +++ b/tests/packagedcode/data/pypi/metadata/v10/PKG-INFO-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'LICENSE.txt'}", + "extracted_license_statement": "license: LICENSE.txt\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/metadata/v11/PKG-INFO-expected.json b/tests/packagedcode/data/pypi/metadata/v11/PKG-INFO-expected.json index 19c20f1ddd6..40d325131ed 100644 --- a/tests/packagedcode/data/pypi/metadata/v11/PKG-INFO-expected.json +++ b/tests/packagedcode/data/pypi/metadata/v11/PKG-INFO-expected.json @@ -66,7 +66,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "classifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/metadata/v12/PKG-INFO-expected.json b/tests/packagedcode/data/pypi/metadata/v12/PKG-INFO-expected.json index 7844f2ce97c..b5c2ca5bdd4 100644 --- a/tests/packagedcode/data/pypi/metadata/v12/PKG-INFO-expected.json +++ b/tests/packagedcode/data/pypi/metadata/v12/PKG-INFO-expected.json @@ -97,7 +97,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Python style', 'classifiers': ['License :: OSI Approved :: Python Software Foundation License']}", + "extracted_license_statement": "license: Python style\nclassifiers:\n - 'License :: OSI Approved :: Python Software Foundation License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/metadata/v20/PKG-INFO-expected.json b/tests/packagedcode/data/pypi/metadata/v20/PKG-INFO-expected.json index 174dcc1087b..3b952192227 100644 --- a/tests/packagedcode/data/pypi/metadata/v20/PKG-INFO-expected.json +++ b/tests/packagedcode/data/pypi/metadata/v20/PKG-INFO-expected.json @@ -97,7 +97,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Apache License, Version 2.0', 'classifiers': ['License :: OSI Approved :: Apache Software License']}", + "extracted_license_statement": "license: Apache License, Version 2.0\nclassifiers:\n - 'License :: OSI Approved :: Apache Software License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/metadata/v21/PKG-INFO-expected.json b/tests/packagedcode/data/pypi/metadata/v21/PKG-INFO-expected.json index 84a765569ed..3988286b7df 100644 --- a/tests/packagedcode/data/pypi/metadata/v21/PKG-INFO-expected.json +++ b/tests/packagedcode/data/pypi/metadata/v21/PKG-INFO-expected.json @@ -71,7 +71,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: Apache Software License']}", + "extracted_license_statement": "classifiers:\n - 'License :: OSI Approved :: Apache Software License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/more_setup.py/flask_setup.py-expected.json b/tests/packagedcode/data/pypi/more_setup.py/flask_setup.py-expected.json index 8370abffdb6..5ebcaf50018 100644 --- a/tests/packagedcode/data/pypi/more_setup.py/flask_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/more_setup.py/flask_setup.py-expected.json @@ -100,7 +100,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'BSD', 'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "license: BSD\nclassifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/more_setup.py/pyyaml_setup.py-expected.json b/tests/packagedcode/data/pypi/more_setup.py/pyyaml_setup.py-expected.json index 7772a5b3b42..341becee2c2 100644 --- a/tests/packagedcode/data/pypi/more_setup.py/pyyaml_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/more_setup.py/pyyaml_setup.py-expected.json @@ -88,7 +88,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/more_setup.py/requests_setup.py-expected.json b/tests/packagedcode/data/pypi/more_setup.py/requests_setup.py-expected.json index 767e0df5ce8..9ba2c934f3a 100644 --- a/tests/packagedcode/data/pypi/more_setup.py/requests_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/more_setup.py/requests_setup.py-expected.json @@ -63,7 +63,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: Apache Software License']}", + "extracted_license_statement": "classifiers:\n - 'License :: OSI Approved :: Apache Software License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/more_setup.py/sqlalchemy_setup.py-expected.json b/tests/packagedcode/data/pypi/more_setup.py/sqlalchemy_setup.py-expected.json index 7c9e53fb0dd..f95b58e5d51 100644 --- a/tests/packagedcode/data/pypi/more_setup.py/sqlalchemy_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/more_setup.py/sqlalchemy_setup.py-expected.json @@ -85,7 +85,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT License', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT License\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/more_setup.py/unpack_kwargs_setup.py-expected.json b/tests/packagedcode/data/pypi/more_setup.py/unpack_kwargs_setup.py-expected.json index 01d7343ba17..7b41032d6c5 100644 --- a/tests/packagedcode/data/pypi/more_setup.py/unpack_kwargs_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/more_setup.py/unpack_kwargs_setup.py-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT'}", + "extracted_license_statement": "license: MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-name-or-no-name/with_name-setup.py.expected.json b/tests/packagedcode/data/pypi/setup.py-name-or-no-name/with_name-setup.py.expected.json index 17b07663813..6c8fa6f0801 100644 --- a/tests/packagedcode/data/pypi/setup.py-name-or-no-name/with_name-setup.py.expected.json +++ b/tests/packagedcode/data/pypi/setup.py-name-or-no-name/with_name-setup.py.expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Simplified BSD'}", + "extracted_license_statement": "license: Simplified BSD\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-not-win/arpy_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py-not-win/arpy_setup.py-expected.json index 17b07663813..6c8fa6f0801 100644 --- a/tests/packagedcode/data/pypi/setup.py-not-win/arpy_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py-not-win/arpy_setup.py-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Simplified BSD'}", + "extracted_license_statement": "license: Simplified BSD\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-versions/cdp-seattle-backend-1.0.0/setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py-versions/cdp-seattle-backend-1.0.0/setup.py-expected.json index 8a4d2a35f11..bee18a90a37 100644 --- a/tests/packagedcode/data/pypi/setup.py-versions/cdp-seattle-backend-1.0.0/setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py-versions/cdp-seattle-backend-1.0.0/setup.py-expected.json @@ -83,7 +83,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT license', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT license\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-versions/certifi-2020.6.20/setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py-versions/certifi-2020.6.20/setup.py-expected.json index 0bf93103fcb..9bfbdc2ca59 100644 --- a/tests/packagedcode/data/pypi/setup.py-versions/certifi-2020.6.20/setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py-versions/certifi-2020.6.20/setup.py-expected.json @@ -88,7 +88,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MPL-2.0', 'classifiers': ['License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)']}", + "extracted_license_statement": "license: MPL-2.0\nclassifiers:\n - 'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-versions/cffi-1.14.0/setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py-versions/cffi-1.14.0/setup.py-expected.json index 43aec937d58..ef091df4d45 100644 --- a/tests/packagedcode/data/pypi/setup.py-versions/cffi-1.14.0/setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py-versions/cffi-1.14.0/setup.py-expected.json @@ -89,7 +89,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-versions/chardet-3.0.4/setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py-versions/chardet-3.0.4/setup.py-expected.json index 846642999b1..5d675cc5a97 100644 --- a/tests/packagedcode/data/pypi/setup.py-versions/chardet-3.0.4/setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py-versions/chardet-3.0.4/setup.py-expected.json @@ -101,7 +101,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'LGPL', 'classifiers': ['License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)']}", + "extracted_license_statement": "license: LGPL\nclassifiers:\n - 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-versions/docutils-0.16/setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py-versions/docutils-0.16/setup.py-expected.json index 220a50d99fe..2dcc16c681b 100644 --- a/tests/packagedcode/data/pypi/setup.py-versions/docutils-0.16/setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py-versions/docutils-0.16/setup.py-expected.json @@ -165,7 +165,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt)', 'classifiers': ['License :: Public Domain', 'License :: OSI Approved :: Python Software Foundation License', 'License :: OSI Approved :: BSD License', 'License :: OSI Approved :: GNU General Public License (GPL)']}", + "extracted_license_statement": "license: public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt)\nclassifiers:\n - 'License :: Public Domain'\n - 'License :: OSI Approved :: Python Software Foundation License'\n - 'License :: OSI Approved :: BSD License'\n - 'License :: OSI Approved :: GNU General Public License (GPL)'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-versions/idna-2.9/setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py-versions/idna-2.9/setup.py-expected.json index c886698aabb..6b3092548f7 100644 --- a/tests/packagedcode/data/pypi/setup.py-versions/idna-2.9/setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py-versions/idna-2.9/setup.py-expected.json @@ -95,7 +95,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'BSD-like', 'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "license: BSD-like\nclassifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-versions/paho-mqtt-1.5.0/setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py-versions/paho-mqtt-1.5.0/setup.py-expected.json index 779b14b1e63..005ca7940f8 100644 --- a/tests/packagedcode/data/pypi/setup.py-versions/paho-mqtt-1.5.0/setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py-versions/paho-mqtt-1.5.0/setup.py-expected.json @@ -106,7 +106,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Eclipse Public License v1.0 / Eclipse Distribution License v1.0', 'classifiers': ['License :: OSI Approved']}", + "extracted_license_statement": "license: Eclipse Public License v1.0 / Eclipse Distribution License v1.0\nclassifiers:\n - 'License :: OSI Approved'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-versions/pexpect-4.6.0/setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py-versions/pexpect-4.6.0/setup.py-expected.json index 1ad24c218b0..fb8e8444f87 100644 --- a/tests/packagedcode/data/pypi/setup.py-versions/pexpect-4.6.0/setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py-versions/pexpect-4.6.0/setup.py-expected.json @@ -96,7 +96,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'ISC license', 'classifiers': ['License :: OSI Approved :: ISC License (ISCL)']}", + "extracted_license_statement": "license: ISC license\nclassifiers:\n - 'License :: OSI Approved :: ISC License (ISCL)'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-versions/pip-22.0.4/setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py-versions/pip-22.0.4/setup.py-expected.json index 5575d534cb6..246491fdbd0 100644 --- a/tests/packagedcode/data/pypi/setup.py-versions/pip-22.0.4/setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py-versions/pip-22.0.4/setup.py-expected.json @@ -89,7 +89,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-versions/pycparser-2.20/setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py-versions/pycparser-2.20/setup.py-expected.json index f4e50bd25dc..8313257c048 100644 --- a/tests/packagedcode/data/pypi/setup.py-versions/pycparser-2.20/setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py-versions/pycparser-2.20/setup.py-expected.json @@ -91,7 +91,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'BSD', 'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "license: BSD\nclassifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-versions/pyserial-3.4/setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py-versions/pyserial-3.4/setup.py-expected.json index 9c483201e96..c51587978d9 100644 --- a/tests/packagedcode/data/pypi/setup.py-versions/pyserial-3.4/setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py-versions/pyserial-3.4/setup.py-expected.json @@ -97,7 +97,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'BSD', 'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "license: BSD\nclassifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-versions/pytoml-0.1.21/setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py-versions/pytoml-0.1.21/setup.py-expected.json index caade9df59c..b2e0760088d 100644 --- a/tests/packagedcode/data/pypi/setup.py-versions/pytoml-0.1.21/setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py-versions/pytoml-0.1.21/setup.py-expected.json @@ -84,7 +84,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-versions/requests-2.24.0/setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py-versions/requests-2.24.0/setup.py-expected.json index e54823ad702..0c86c1de673 100644 --- a/tests/packagedcode/data/pypi/setup.py-versions/requests-2.24.0/setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py-versions/requests-2.24.0/setup.py-expected.json @@ -63,7 +63,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: Apache Software License']}", + "extracted_license_statement": "classifiers:\n - 'License :: OSI Approved :: Apache Software License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-versions/setupreader-0.0.3/setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py-versions/setupreader-0.0.3/setup.py-expected.json index 3bda69707b0..ce87ec7e0b1 100644 --- a/tests/packagedcode/data/pypi/setup.py-versions/setupreader-0.0.3/setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py-versions/setupreader-0.0.3/setup.py-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'GPL'}", + "extracted_license_statement": "license: GPL\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-versions/six-1.14.0/setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py-versions/six-1.14.0/setup.py-expected.json index 3255b8ae3fd..08701f04808 100644 --- a/tests/packagedcode/data/pypi/setup.py-versions/six-1.14.0/setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py-versions/six-1.14.0/setup.py-expected.json @@ -83,7 +83,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py-versions/urllib3-1.25.9/setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py-versions/urllib3-1.25.9/setup.py-expected.json index aab19d929b1..9ddcc0569a1 100644 --- a/tests/packagedcode/data/pypi/setup.py-versions/urllib3-1.25.9/setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py-versions/urllib3-1.25.9/setup.py-expected.json @@ -101,7 +101,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/bluepyopt_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/bluepyopt_setup.py-expected.json index 7466efc25b1..c3b8b19456b 100644 --- a/tests/packagedcode/data/pypi/setup.py/bluepyopt_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/bluepyopt_setup.py-expected.json @@ -86,7 +86,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'LGPLv3', 'classifiers': ['License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)']}", + "extracted_license_statement": "license: LGPLv3\nclassifiers:\n - 'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/boolean2_py_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/boolean2_py_setup.py-expected.json index 398b3d94338..fb64ab90e59 100644 --- a/tests/packagedcode/data/pypi/setup.py/boolean2_py_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/boolean2_py_setup.py-expected.json @@ -91,7 +91,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'revised BSD license', 'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "license: revised BSD license\nclassifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/complex_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/complex_setup.py-expected.json index 155aaa4970e..a69a66ebd88 100644 --- a/tests/packagedcode/data/pypi/setup.py/complex_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/complex_setup.py-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT'}", + "extracted_license_statement": "license: MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/container_check_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/container_check_setup.py-expected.json index 1a514b73138..69f1a7f0b9b 100644 --- a/tests/packagedcode/data/pypi/setup.py/container_check_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/container_check_setup.py-expected.json @@ -90,7 +90,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Apache Software License', 'classifiers': ['License :: OSI Approved :: Apache Software License']}", + "extracted_license_statement": "license: Apache Software License\nclassifiers:\n - 'License :: OSI Approved :: Apache Software License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/fb303_py_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/fb303_py_setup.py-expected.json index 2666e09a2f8..1525cd85564 100644 --- a/tests/packagedcode/data/pypi/setup.py/fb303_py_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/fb303_py_setup.py-expected.json @@ -69,7 +69,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Apache License 2.0'}", + "extracted_license_statement": "license: Apache License 2.0\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/frell_src_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/frell_src_setup.py-expected.json index 5dd812d6f77..bc6c552144b 100644 --- a/tests/packagedcode/data/pypi/setup.py/frell_src_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/frell_src_setup.py-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Apache License 2.0'}", + "extracted_license_statement": "license: Apache License 2.0\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/interlap_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/interlap_setup.py-expected.json index ae47c8ea44a..dc4206a75f1 100644 --- a/tests/packagedcode/data/pypi/setup.py/interlap_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/interlap_setup.py-expected.json @@ -87,7 +87,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/mb_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/mb_setup.py-expected.json index bb2d2850a3e..ad33aa17151 100644 --- a/tests/packagedcode/data/pypi/setup.py/mb_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/mb_setup.py-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'GPLv2'}", + "extracted_license_statement": "license: GPLv2\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/ntfs_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/ntfs_setup.py-expected.json index 699fda70f7c..743f5410d95 100644 --- a/tests/packagedcode/data/pypi/setup.py/ntfs_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/ntfs_setup.py-expected.json @@ -87,7 +87,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'BSD', 'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "license: BSD\nclassifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/nvchecker_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/nvchecker_setup.py-expected.json index 347cac9cf93..7fcb89b9258 100644 --- a/tests/packagedcode/data/pypi/setup.py/nvchecker_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/nvchecker_setup.py-expected.json @@ -97,7 +97,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/oi_agents_common_code_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/oi_agents_common_code_setup.py-expected.json index 31c7ff07c94..2db75ce665f 100644 --- a/tests/packagedcode/data/pypi/setup.py/oi_agents_common_code_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/oi_agents_common_code_setup.py-expected.json @@ -101,7 +101,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'GPLv3', 'classifiers': ['License :: OSI Approved :: GPLv3 License']}", + "extracted_license_statement": "license: GPLv3\nclassifiers:\n - 'License :: OSI Approved :: GPLv3 License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/packageurl_python_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/packageurl_python_setup.py-expected.json index 9bc470f922e..077ec23061a 100644 --- a/tests/packagedcode/data/pypi/setup.py/packageurl_python_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/packageurl_python_setup.py-expected.json @@ -91,7 +91,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/pipdeptree_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/pipdeptree_setup.py-expected.json index bad294420b6..cf3b2723f6f 100644 --- a/tests/packagedcode/data/pypi/setup.py/pipdeptree_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/pipdeptree_setup.py-expected.json @@ -86,7 +86,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT License', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT License\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/pluggy_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/pluggy_setup.py-expected.json index e47c95f458d..5e75fcc6009 100644 --- a/tests/packagedcode/data/pypi/setup.py/pluggy_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/pluggy_setup.py-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT license'}", + "extracted_license_statement": "license: MIT license\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/pygtrie_with_kwargs_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/pygtrie_with_kwargs_setup.py-expected.json index 1901e799fe3..3eac5de44a5 100644 --- a/tests/packagedcode/data/pypi/setup.py/pygtrie_with_kwargs_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/pygtrie_with_kwargs_setup.py-expected.json @@ -88,7 +88,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Apache-2.0', 'classifiers': ['License :: OSI Approved :: Apache Software License']}", + "extracted_license_statement": "license: Apache-2.0\nclassifiers:\n - 'License :: OSI Approved :: Apache Software License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/pyrpm_2_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/pyrpm_2_setup.py-expected.json index 67a5f344fd8..321f8e3e31a 100644 --- a/tests/packagedcode/data/pypi/setup.py/pyrpm_2_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/pyrpm_2_setup.py-expected.json @@ -88,7 +88,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'BSD', 'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "license: BSD\nclassifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/python_publicsuffix_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/python_publicsuffix_setup.py-expected.json index 04982c5065b..213762955fc 100644 --- a/tests/packagedcode/data/pypi/setup.py/python_publicsuffix_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/python_publicsuffix_setup.py-expected.json @@ -81,7 +81,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/repology_py_libversion_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/repology_py_libversion_setup.py-expected.json index 79f9b147e95..8488128903d 100644 --- a/tests/packagedcode/data/pypi/setup.py/repology_py_libversion_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/repology_py_libversion_setup.py-expected.json @@ -86,7 +86,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/saneyaml_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/saneyaml_setup.py-expected.json index 13ab3120593..f39e0ce0cca 100644 --- a/tests/packagedcode/data/pypi/setup.py/saneyaml_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/saneyaml_setup.py-expected.json @@ -91,7 +91,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Apache-2.0', 'classifiers': ['License :: OSI Approved :: Apache Software License']}", + "extracted_license_statement": "license: Apache-2.0\nclassifiers:\n - 'License :: OSI Approved :: Apache Software License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/setuppycheck_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/setuppycheck_setup.py-expected.json index 5d98c8cba2a..dee40d6b704 100644 --- a/tests/packagedcode/data/pypi/setup.py/setuppycheck_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/setuppycheck_setup.py-expected.json @@ -61,7 +61,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT'}", + "extracted_license_statement": "license: MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/simple-setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/simple-setup.py-expected.json index e14150940df..044308079a2 100644 --- a/tests/packagedcode/data/pypi/setup.py/simple-setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/simple-setup.py-expected.json @@ -132,7 +132,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Apache-2.0 with ScanCode acknowledgment and CC0-1.0 and others', 'classifiers': ['License :: OSI Approved :: Apache Software License', 'License :: OSI Approved :: CC0']}", + "extracted_license_statement": "license: Apache-2.0 with ScanCode acknowledgment and CC0-1.0 and others\nclassifiers:\n - 'License :: OSI Approved :: Apache Software License'\n - 'License :: OSI Approved :: CC0'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/url_py_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/url_py_setup.py-expected.json index fbed3a84923..7d4502a41f6 100644 --- a/tests/packagedcode/data/pypi/setup.py/url_py_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/url_py_setup.py-expected.json @@ -81,7 +81,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/venv_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/venv_setup.py-expected.json index b74f28f814a..e5daf86143e 100644 --- a/tests/packagedcode/data/pypi/setup.py/venv_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/venv_setup.py-expected.json @@ -97,7 +97,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/whatsapp-play-setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/whatsapp-play-setup.py-expected.json index 5dd174e09e0..2a9466cc9b3 100644 --- a/tests/packagedcode/data/pypi/setup.py/whatsapp-play-setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/whatsapp-play-setup.py-expected.json @@ -96,7 +96,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/setup.py/xmltodict_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/xmltodict_setup.py-expected.json index 54a1f4ec299..b2edf52d5f2 100644 --- a/tests/packagedcode/data/pypi/setup.py/xmltodict_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/xmltodict_setup.py-expected.json @@ -73,7 +73,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "classifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/site-packages/site-packages-expected.json b/tests/packagedcode/data/pypi/site-packages/site-packages-expected.json index 4dad7ca1192..f3533539067 100644 --- a/tests/packagedcode/data/pypi/site-packages/site-packages-expected.json +++ b/tests/packagedcode/data/pypi/site-packages/site-packages-expected.json @@ -61,7 +61,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT'}", + "extracted_license_statement": "license: MIT\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -166,7 +166,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'BSD-3-Clause', 'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "license: BSD-3-Clause\nclassifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "extra_data": { @@ -285,7 +285,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT'}", + "extracted_license_statement": "license: MIT\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -449,7 +449,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'BSD-3-Clause', 'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "license: BSD-3-Clause\nclassifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "file_references": [ @@ -1017,7 +1017,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT'}", + "extracted_license_statement": "license: MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/solo-metadata/expected.json b/tests/packagedcode/data/pypi/solo-metadata/expected.json index 1b3175f6ffc..7a6de53c929 100644 --- a/tests/packagedcode/data/pypi/solo-metadata/expected.json +++ b/tests/packagedcode/data/pypi/solo-metadata/expected.json @@ -85,7 +85,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Apache-2.0 AND CC-BY-4.0 AND LicenseRef-scancode-other-permissive AND LicenseRef-scancode-other-copyleft'}", + "extracted_license_statement": "license: Apache-2.0 AND CC-BY-4.0 AND LicenseRef-scancode-other-permissive AND LicenseRef-scancode-other-copyleft\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -193,7 +193,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Apache-2.0 AND CC-BY-4.0 AND LicenseRef-scancode-other-permissive AND LicenseRef-scancode-other-copyleft'}", + "extracted_license_statement": "license: Apache-2.0 AND CC-BY-4.0 AND LicenseRef-scancode-other-permissive AND LicenseRef-scancode-other-copyleft\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/solo-setup/expected.json b/tests/packagedcode/data/pypi/solo-setup/expected.json index 7112ecf7b21..33298237f90 100644 --- a/tests/packagedcode/data/pypi/solo-setup/expected.json +++ b/tests/packagedcode/data/pypi/solo-setup/expected.json @@ -90,7 +90,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT license', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT license\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], 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 ce94291aca9..e1371bc0719 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 @@ -90,7 +90,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "extra_data": { @@ -242,7 +242,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -754,7 +754,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -891,7 +891,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [ diff --git a/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-setup-expected.json b/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-setup-expected.json index a22d2c600b1..52ccb301767 100644 --- a/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-setup-expected.json +++ b/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-setup-expected.json @@ -96,7 +96,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.0/PyJPString-0.0.3-expected.json b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.0/PyJPString-0.0.3-expected.json index 9037081fa39..b8dc46a985a 100644 --- a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.0/PyJPString-0.0.3-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.0/PyJPString-0.0.3-expected.json @@ -60,7 +60,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT'}", + "extracted_license_statement": "license: MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.0/PyJPString-0.0.3-subdir-expected.json b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.0/PyJPString-0.0.3-subdir-expected.json index 20c18820de2..b0c5f9b8540 100644 --- a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.0/PyJPString-0.0.3-subdir-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.0/PyJPString-0.0.3-subdir-expected.json @@ -60,7 +60,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT'}", + "extracted_license_statement": "license: MIT\n", "notice_text": null, "source_packages": [], "file_references": [ diff --git a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.1/python-mimeparse-1.6.0-expected.json b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.1/python-mimeparse-1.6.0-expected.json index 19c20f1ddd6..40d325131ed 100644 --- a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.1/python-mimeparse-1.6.0-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.1/python-mimeparse-1.6.0-expected.json @@ -66,7 +66,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "classifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.1/pyup-django-0.4.0-expected.json b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.1/pyup-django-0.4.0-expected.json index 7793d05480c..f693858f328 100644 --- a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.1/pyup-django-0.4.0-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.1/pyup-django-0.4.0-expected.json @@ -88,7 +88,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT license', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT license\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.2/anonapi-0.0.19-expected.json b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.2/anonapi-0.0.19-expected.json index 064422999db..22fb2902bd2 100644 --- a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.2/anonapi-0.0.19-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.2/anonapi-0.0.19-expected.json @@ -83,7 +83,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT license', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT license\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-2.1/commoncode-21.5.12-expected.json b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-2.1/commoncode-21.5.12-expected.json index 74ce7eff0bb..81f9d1277f3 100644 --- a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-2.1/commoncode-21.5.12-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-2.1/commoncode-21.5.12-expected.json @@ -66,7 +66,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Apache-2.0'}", + "extracted_license_statement": "license: Apache-2.0\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/pypi/unpacked_sdist/prefer-egg-info-pkg-info/celery-expected.json b/tests/packagedcode/data/pypi/unpacked_sdist/prefer-egg-info-pkg-info/celery-expected.json index dc2a1402634..f1c480d07ae 100644 --- a/tests/packagedcode/data/pypi/unpacked_sdist/prefer-egg-info-pkg-info/celery-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_sdist/prefer-egg-info-pkg-info/celery-expected.json @@ -93,7 +93,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'BSD', 'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "license: BSD\nclassifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "extra_data": { @@ -809,7 +809,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'BSD', 'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "license: BSD\nclassifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -935,7 +935,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'BSD', 'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "license: BSD\nclassifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "file_references": [ diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/daglib_wheel_extracted-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/daglib_wheel_extracted-expected.json index 8fdc1ab89bd..e0fe3d0c3c6 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/daglib_wheel_extracted-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/daglib_wheel_extracted-expected.json @@ -81,7 +81,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "extra_data": { @@ -274,7 +274,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [ diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/Jinja2-2.10.dist-info-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/Jinja2-2.10.dist-info-expected.json index aac62aa8d51..60f19b9f0b0 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/Jinja2-2.10.dist-info-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/Jinja2-2.10.dist-info-expected.json @@ -93,7 +93,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'BSD', 'classifiers': ['License :: OSI Approved :: BSD License']}", + "extracted_license_statement": "license: BSD\nclassifiers:\n - 'License :: OSI Approved :: BSD License'\n", "notice_text": null, "source_packages": [], "file_references": [ diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/python_mimeparse-1.6.0.dist-info-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/python_mimeparse-1.6.0.dist-info-expected.json index 60093ec4add..bd1781fcdeb 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/python_mimeparse-1.6.0.dist-info-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/python_mimeparse-1.6.0.dist-info-expected.json @@ -66,7 +66,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "classifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [ diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/toml-0.10.1.dist-info-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/toml-0.10.1.dist-info-expected.json index 7deba6a9b39..9ad704b0064 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/toml-0.10.1.dist-info-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/toml-0.10.1.dist-info-expected.json @@ -93,7 +93,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [ diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/urllib3-1.26.4.dist-info-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/urllib3-1.26.4.dist-info-expected.json index 0aed67ad7dc..e8611d5619c 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/urllib3-1.26.4.dist-info-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/urllib3-1.26.4.dist-info-expected.json @@ -94,7 +94,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [ diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/haruka_bot-1.2.3.dist-info-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/haruka_bot-1.2.3.dist-info-expected.json index b40ead1ca6a..ce4f9737355 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/haruka_bot-1.2.3.dist-info-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/haruka_bot-1.2.3.dist-info-expected.json @@ -85,7 +85,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'AGPL-3.0-or-later', 'classifiers': ['License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)']}", + "extracted_license_statement": "license: AGPL-3.0-or-later\nclassifiers:\n - 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)'\n", "notice_text": null, "source_packages": [], "file_references": [ diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/pip-20.2.2.dist-info-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/pip-20.2.2.dist-info-expected.json index d70948ec730..464edc93c20 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/pip-20.2.2.dist-info-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/pip-20.2.2.dist-info-expected.json @@ -91,7 +91,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [ diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/plugincode-21.1.21.dist-info-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/plugincode-21.1.21.dist-info-expected.json index 8d2d733f6db..8e21b2894cb 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/plugincode-21.1.21.dist-info-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/plugincode-21.1.21.dist-info-expected.json @@ -69,7 +69,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'Apache-2.0'}", + "extracted_license_statement": "license: Apache-2.0\n", "notice_text": null, "source_packages": [], "file_references": [ diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/with_sources/anonapi-0.0.19.dist-info-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/with_sources/anonapi-0.0.19.dist-info-expected.json index 79979ba7f1f..856caf6b07f 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/with_sources/anonapi-0.0.19.dist-info-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/with_sources/anonapi-0.0.19.dist-info-expected.json @@ -83,7 +83,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT license', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT license\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [ diff --git a/tests/packagedcode/data/rubygems/gem/action_tracker-1.0.2.gem.json b/tests/packagedcode/data/rubygems/gem/action_tracker-1.0.2.gem.json index c646a423388..f6bd91e3c5e 100644 --- a/tests/packagedcode/data/rubygems/gem/action_tracker-1.0.2.gem.json +++ b/tests/packagedcode/data/rubygems/gem/action_tracker-1.0.2.gem.json @@ -64,7 +64,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/rubygems/gem/m2r-2.1.0.gem.json b/tests/packagedcode/data/rubygems/gem/m2r-2.1.0.gem.json index 105ecbbdfcd..67d6276432c 100644 --- a/tests/packagedcode/data/rubygems/gem/m2r-2.1.0.gem.json +++ b/tests/packagedcode/data/rubygems/gem/m2r-2.1.0.gem.json @@ -78,7 +78,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/rubygems/gem/new/dependabot-omnibus-0.87.15.gem.json b/tests/packagedcode/data/rubygems/gem/new/dependabot-omnibus-0.87.15.gem.json index 44c30a9a8eb..223f656dc75 100644 --- a/tests/packagedcode/data/rubygems/gem/new/dependabot-omnibus-0.87.15.gem.json +++ b/tests/packagedcode/data/rubygems/gem/new/dependabot-omnibus-0.87.15.gem.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['Nonstandard']", + "extracted_license_statement": "- Nonstandard\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/rubygems/gem/new/hiredis-0.6.3-java.gem.json b/tests/packagedcode/data/rubygems/gem/new/hiredis-0.6.3-java.gem.json index 7a745114155..8249a3420b4 100644 --- a/tests/packagedcode/data/rubygems/gem/new/hiredis-0.6.3-java.gem.json +++ b/tests/packagedcode/data/rubygems/gem/new/hiredis-0.6.3-java.gem.json @@ -59,7 +59,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['BSD-3-Clause']", + "extracted_license_statement": "- BSD-3-Clause\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/rubygems/gem/new/int_time-0.0.2.gem.json b/tests/packagedcode/data/rubygems/gem/new/int_time-0.0.2.gem.json index 264408b1009..29c7b226981 100644 --- a/tests/packagedcode/data/rubygems/gem/new/int_time-0.0.2.gem.json +++ b/tests/packagedcode/data/rubygems/gem/new/int_time-0.0.2.gem.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/rubygems/gem/new/jaro_winkler-1.5.1-java.gem.json b/tests/packagedcode/data/rubygems/gem/new/jaro_winkler-1.5.1-java.gem.json index 6c3c0c4a2cc..38c10bae04e 100644 --- a/tests/packagedcode/data/rubygems/gem/new/jaro_winkler-1.5.1-java.gem.json +++ b/tests/packagedcode/data/rubygems/gem/new/jaro_winkler-1.5.1-java.gem.json @@ -59,7 +59,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/rubygems/gem/new/rubocop-0.62.0.gem.json b/tests/packagedcode/data/rubygems/gem/new/rubocop-0.62.0.gem.json index 811a9a1db35..4976b06288b 100644 --- a/tests/packagedcode/data/rubygems/gem/new/rubocop-0.62.0.gem.json +++ b/tests/packagedcode/data/rubygems/gem/new/rubocop-0.62.0.gem.json @@ -71,7 +71,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/win_pe/Microsoft.Practices.EnterpriseLibrary.Caching.dll.package-expected.json b/tests/packagedcode/data/win_pe/Microsoft.Practices.EnterpriseLibrary.Caching.dll.package-expected.json index 082bea5c2ad..ad5c6928f7f 100644 --- a/tests/packagedcode/data/win_pe/Microsoft.Practices.EnterpriseLibrary.Caching.dll.package-expected.json +++ b/tests/packagedcode/data/win_pe/Microsoft.Practices.EnterpriseLibrary.Caching.dll.package-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': None, 'LegalTrademarks': '', 'License': None}", + "extracted_license_statement": "LegalCopyright:\nLegalTrademarks:\nLicense:\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/win_pe/Moq.Silverlight.dll.package-expected.json b/tests/packagedcode/data/win_pe/Moq.Silverlight.dll.package-expected.json index e597ca6df06..6381ad6f8e1 100644 --- a/tests/packagedcode/data/win_pe/Moq.Silverlight.dll.package-expected.json +++ b/tests/packagedcode/data/win_pe/Moq.Silverlight.dll.package-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': None, 'LegalTrademarks': '', 'License': None}", + "extracted_license_statement": "LegalCopyright:\nLegalTrademarks:\nLicense:\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/win_pe/Windows.AI.winmd.package-expected.json b/tests/packagedcode/data/win_pe/Windows.AI.winmd.package-expected.json index a007b442be9..289eba3da2c 100644 --- a/tests/packagedcode/data/win_pe/Windows.AI.winmd.package-expected.json +++ b/tests/packagedcode/data/win_pe/Windows.AI.winmd.package-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 Microsoft Corporation. All rights reserved.', 'LegalTrademarks': '', 'License': None}", + "extracted_license_statement": "LegalCopyright: \u00a9 Microsoft Corporation. All rights reserved.\nLegalTrademarks:\nLicense:\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/win_pe/_ctypes_test.pyd.package-expected.json b/tests/packagedcode/data/win_pe/_ctypes_test.pyd.package-expected.json index 93d54e07a55..dd1613c91cd 100644 --- a/tests/packagedcode/data/win_pe/_ctypes_test.pyd.package-expected.json +++ b/tests/packagedcode/data/win_pe/_ctypes_test.pyd.package-expected.json @@ -49,7 +49,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': None, 'LegalTrademarks': '', 'License': None}", + "extracted_license_statement": "LegalCopyright:\nLegalTrademarks:\nLicense:\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/win_pe/chcp.com.package-expected.json b/tests/packagedcode/data/win_pe/chcp.com.package-expected.json index b314ca596b7..a3d039f8f5a 100644 --- a/tests/packagedcode/data/win_pe/chcp.com.package-expected.json +++ b/tests/packagedcode/data/win_pe/chcp.com.package-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 Microsoft Corporation. All rights reserved.', 'LegalTrademarks': '', 'License': None}", + "extracted_license_statement": "LegalCopyright: \u00a9 Microsoft Corporation. All rights reserved.\nLegalTrademarks:\nLicense:\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/win_pe/clfs.sys.mui.package-expected.json b/tests/packagedcode/data/win_pe/clfs.sys.mui.package-expected.json index e0ed625b7ac..052928c89b6 100644 --- a/tests/packagedcode/data/win_pe/clfs.sys.mui.package-expected.json +++ b/tests/packagedcode/data/win_pe/clfs.sys.mui.package-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 Microsoft Corporation. All rights reserved.', 'LegalTrademarks': '', 'License': None}", + "extracted_license_statement": "LegalCopyright: \u00a9 Microsoft Corporation. All rights reserved.\nLegalTrademarks:\nLicense:\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/win_pe/crypt32.dll.mun.package-expected.json b/tests/packagedcode/data/win_pe/crypt32.dll.mun.package-expected.json index 2a8174be2aa..0801116c63c 100644 --- a/tests/packagedcode/data/win_pe/crypt32.dll.mun.package-expected.json +++ b/tests/packagedcode/data/win_pe/crypt32.dll.mun.package-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 Microsoft Corporation. All rights reserved.', 'LegalTrademarks': '', 'License': None}", + "extracted_license_statement": "LegalCopyright: \u00a9 Microsoft Corporation. All rights reserved.\nLegalTrademarks:\nLicense:\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/win_pe/euc-jp.so.package-expected.json b/tests/packagedcode/data/win_pe/euc-jp.so.package-expected.json index 93d54e07a55..dd1613c91cd 100644 --- a/tests/packagedcode/data/win_pe/euc-jp.so.package-expected.json +++ b/tests/packagedcode/data/win_pe/euc-jp.so.package-expected.json @@ -49,7 +49,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': None, 'LegalTrademarks': '', 'License': None}", + "extracted_license_statement": "LegalCopyright:\nLegalTrademarks:\nLicense:\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/win_pe/file.exe.package-expected.json b/tests/packagedcode/data/win_pe/file.exe.package-expected.json index 1212e2ae7e1..3b4b626b8f4 100644 --- a/tests/packagedcode/data/win_pe/file.exe.package-expected.json +++ b/tests/packagedcode/data/win_pe/file.exe.package-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 2009 Ian F. Darwin', 'LegalTrademarks': 'GnuWin32\u00ae, File\u00ae, file\u00ae', 'License': \"Copyright (c) Ian F. Darwin 1986, 1987, 1989, 1990, 1991, 1992, 1994, 1995. Software written by Ian F. Darwin and others; maintained 1994-2004 Christos Zoulas. This software is not subject to any export provision of the United States Department of Commerce, and may be exported to any country or planet. 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 immediately at the beginning of the file, without modification, 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. THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.\"}", + "extracted_license_statement": "LegalCopyright: \u00a9 2009 Ian F. Darwin\nLegalTrademarks: GnuWin32\u00ae, File\u00ae, file\u00ae\nLicense: 'Copyright (c) Ian F. Darwin 1986, 1987, 1989, 1990, 1991, 1992, 1994, 1995. Software\n written by Ian F. Darwin and others; maintained 1994-2004 Christos Zoulas. This software is\n not subject to any export provision of the United States Department of Commerce, and may be\n exported to any country or planet. Redistribution and use in source and binary forms, with\n or without modification, are permitted provided that the following conditions are met: 1.\n Redistributions of source code must retain the above copyright notice immediately at the beginning\n of the file, without modification, this list of conditions, and the following disclaimer.\n 2. Redistributions in binary form must reproduce the above copyright notice, this list of\n conditions and the following disclaimer in the documentation and/or other materials provided\n with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS''''\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL\n THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\n OF SUCH DAMAGE.'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/win_pe/libiconv2.dll.package-expected.json b/tests/packagedcode/data/win_pe/libiconv2.dll.package-expected.json index 0827811b892..019c23c5ed9 100644 --- a/tests/packagedcode/data/win_pe/libiconv2.dll.package-expected.json +++ b/tests/packagedcode/data/win_pe/libiconv2.dll.package-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 2004 Free Software Foundation ', 'LegalTrademarks': 'GNU\u00ae, LibIconv\u00ae, libiconv2\u00ae', 'License': 'This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License;see www.gnu.org/copyleft/lesser.html.'}", + "extracted_license_statement": "LegalCopyright: \u00a9 2004 Free Software Foundation \nLegalTrademarks: GNU\u00ae, LibIconv\u00ae, libiconv2\u00ae\nLicense: This program is free software; you can redistribute it and/or modify it under the terms\n of the GNU Lesser General Public License;see www.gnu.org/copyleft/lesser.html.\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/win_pe/libintl3.dll.package-expected.json b/tests/packagedcode/data/win_pe/libintl3.dll.package-expected.json index f00d988c202..86a817c8ab9 100644 --- a/tests/packagedcode/data/win_pe/libintl3.dll.package-expected.json +++ b/tests/packagedcode/data/win_pe/libintl3.dll.package-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 2005 Free Software Foundation ', 'LegalTrademarks': 'GNU\u00ae, GetText\u00ae, libintl3\u00ae', 'License': 'This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License;see www.gnu.org/copyleft/gpl.html.'}", + "extracted_license_statement": "LegalCopyright: \u00a9 2005 Free Software Foundation \nLegalTrademarks: GNU\u00ae, GetText\u00ae, libintl3\u00ae\nLicense: This program is free software; you can redistribute it and/or modify it under the terms\n of the GNU General Public License;see www.gnu.org/copyleft/gpl.html.\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/win_pe/stdole2.tlb.package-expected.json b/tests/packagedcode/data/win_pe/stdole2.tlb.package-expected.json index f16306ba44b..f987330cc61 100644 --- a/tests/packagedcode/data/win_pe/stdole2.tlb.package-expected.json +++ b/tests/packagedcode/data/win_pe/stdole2.tlb.package-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 Microsoft Corporation. All rights reserved.', 'LegalTrademarks': '', 'License': None}", + "extracted_license_statement": "LegalCopyright: \u00a9 Microsoft Corporation. All rights reserved.\nLegalTrademarks:\nLicense:\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/win_pe/tbs.sys.package-expected.json b/tests/packagedcode/data/win_pe/tbs.sys.package-expected.json index 157e6bcdb1b..c7fbab09173 100644 --- a/tests/packagedcode/data/win_pe/tbs.sys.package-expected.json +++ b/tests/packagedcode/data/win_pe/tbs.sys.package-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 Microsoft Corporation. All rights reserved.', 'LegalTrademarks': '', 'License': None}", + "extracted_license_statement": "LegalCopyright: \u00a9 Microsoft Corporation. All rights reserved.\nLegalTrademarks:\nLicense:\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/win_pe/tre4.dll.package-expected.json b/tests/packagedcode/data/win_pe/tre4.dll.package-expected.json index 59e05e22de7..663bc995ef7 100644 --- a/tests/packagedcode/data/win_pe/tre4.dll.package-expected.json +++ b/tests/packagedcode/data/win_pe/tre4.dll.package-expected.json @@ -57,7 +57,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 2008 Ville Laurikari ', 'LegalTrademarks': 'GnuWin32\u00ae, Tre\u00ae, tre4\u00ae', 'License': 'This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License; see www.gnu.org/copyleft/gpl.html.'}", + "extracted_license_statement": "LegalCopyright: \u00a9 2008 Ville Laurikari \nLegalTrademarks: GnuWin32\u00ae, Tre\u00ae, tre4\u00ae\nLicense: This program is free software; you can redistribute it and/or modify it under the terms\n of the GNU General Public License; see www.gnu.org/copyleft/gpl.html.\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/packagedcode/data/win_pe/zlib1.dll.package-expected.json b/tests/packagedcode/data/win_pe/zlib1.dll.package-expected.json index 4f966243b1a..8f2569b9b2e 100644 --- a/tests/packagedcode/data/win_pe/zlib1.dll.package-expected.json +++ b/tests/packagedcode/data/win_pe/zlib1.dll.package-expected.json @@ -76,7 +76,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'LegalCopyright': '\u00a9 2006 Jean-loup Gailly , Mark Adler ', 'LegalTrademarks': 'GnuWin32\u00ae, Zlib\u00ae, zlib1\u00ae', 'License': \"(C) 1995-2002 Jean-loup Gailly and Mark Adler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. Jean-loup Gailly Mark Adler jloup@gzip.org madler@alumni.caltech.edu\"}", + "extracted_license_statement": "LegalCopyright: \u00a9 2006 Jean-loup Gailly , Mark Adler \nLegalTrademarks: GnuWin32\u00ae, Zlib\u00ae, zlib1\u00ae\nLicense: '(C) 1995-2002 Jean-loup Gailly and Mark Adler This software is provided ''as-is'',\n without any express or implied warranty. In no event will the authors be held liable for any\n damages arising from the use of this software. Permission is granted to anyone to use this\n software for any purpose, including commercial applications, and to alter it and redistribute\n it freely, subject to the following restrictions: 1. The origin of this software must not\n be misrepresented; you must not claim that you wrote the original software. If you use this\n software in a product, an acknowledgment in the product documentation would be appreciated\n but is not required. 2. Altered source versions must be plainly marked as such, and must not\n be misrepresented as being the original software. 3. This notice may not be removed or altered\n from any source distribution. Jean-loup Gailly Mark Adler jloup@gzip.org madler@alumni.caltech.edu'\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/summarycode/data/classify/with_package_data.expected.json b/tests/summarycode/data/classify/with_package_data.expected.json index 3fbf4d22009..8f1792a1d59 100644 --- a/tests/summarycode/data/classify/with_package_data.expected.json +++ b/tests/summarycode/data/classify/with_package_data.expected.json @@ -69,7 +69,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Apache License, version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: Apache License, version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.jboss.logging/jboss-logging@3.4.2.Final?classifier=sources" @@ -603,7 +603,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Apache License, version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: Apache License, version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.jboss.logging/jboss-logging@3.4.2.Final?classifier=sources" 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 93c5092309f..146bf7fb8e4 100644 --- a/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json +++ b/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json @@ -96,7 +96,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", + "extracted_license_statement": "- apache-2.0\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -772,7 +772,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", + "extracted_license_statement": "- apache-2.0\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/summarycode/data/plugin_consolidate/component-package-expected.json b/tests/summarycode/data/plugin_consolidate/component-package-expected.json index 3538d781588..e929a4b6565 100644 --- a/tests/summarycode/data/plugin_consolidate/component-package-expected.json +++ b/tests/summarycode/data/plugin_consolidate/component-package-expected.json @@ -50,7 +50,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", + "extracted_license_statement": "- apache-2.0\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -611,7 +611,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", + "extracted_license_statement": "- apache-2.0\n", "notice_text": null, "source_packages": [], "file_references": [], 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 529dd8878f2..b9f8a49ecf1 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 @@ -50,7 +50,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", + "extracted_license_statement": "- apache-2.0\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -260,7 +260,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", + "extracted_license_statement": "- apache-2.0\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json b/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json index 00eff599886..257a9108e91 100644 --- a/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json @@ -50,7 +50,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", + "extracted_license_statement": "- apache-2.0\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -207,7 +207,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", + "extracted_license_statement": "- apache-2.0\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json b/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json index b18a71b034e..1b6d533a3d0 100644 --- a/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json @@ -50,7 +50,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", + "extracted_license_statement": "- apache-2.0\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -188,7 +188,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", + "extracted_license_statement": "- apache-2.0\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/summarycode/data/score/basic-expected.json b/tests/summarycode/data/score/basic-expected.json index 81d4d79d34e..52bdef3d74e 100644 --- a/tests/summarycode/data/score/basic-expected.json +++ b/tests/summarycode/data/score/basic-expected.json @@ -70,7 +70,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -545,7 +545,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json b/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json index 47d4190329d..7801200a0b0 100644 --- a/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json +++ b/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json @@ -70,7 +70,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -550,7 +550,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/summarycode/data/score/jar-expected.json b/tests/summarycode/data/score/jar-expected.json index a0a662fc1fd..5657668455a 100644 --- a/tests/summarycode/data/score/jar-expected.json +++ b/tests/summarycode/data/score/jar-expected.json @@ -81,7 +81,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Apache License, version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: Apache License, version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.jboss.logging/jboss-logging@3.4.2.Final?classifier=sources" @@ -723,7 +723,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Apache License, version 2.0', 'url': 'http://www.apache.org/licenses/LICENSE-2.0.txt', 'comments': None, 'distribution': 'repo'}]", + "extracted_license_statement": "- name: Apache License, version 2.0\n url: http://www.apache.org/licenses/LICENSE-2.0.txt\n comments:\n distribution: repo\n", "notice_text": null, "source_packages": [ "pkg:maven/org.jboss.logging/jboss-logging@3.4.2.Final?classifier=sources" diff --git a/tests/summarycode/data/score/no_license_text-expected.json b/tests/summarycode/data/score/no_license_text-expected.json index cd08916a0f1..23ddee842d7 100644 --- a/tests/summarycode/data/score/no_license_text-expected.json +++ b/tests/summarycode/data/score/no_license_text-expected.json @@ -70,7 +70,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -490,7 +490,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], 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 49e8cd1024c..eacce8a66ca 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 @@ -171,7 +171,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'apache-2.0'}", + "extracted_license_statement": "license: apache-2.0\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -681,7 +681,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'apache-2.0'}", + "extracted_license_statement": "license: apache-2.0\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json b/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json index 73cc6e7afc6..fdd9eb54ec8 100644 --- a/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json +++ b/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json @@ -104,7 +104,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "extra_data": { @@ -356,7 +356,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], @@ -1045,7 +1045,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "extracted_license_statement": "license: MIT\nclassifiers:\n - 'License :: OSI Approved :: MIT License'\n", "notice_text": null, "source_packages": [], "file_references": [], 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 2e246ac5c0a..eb8fac195c8 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 @@ -93,7 +93,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'apache-2.0'}", + "extracted_license_statement": "license: apache-2.0\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -460,7 +460,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "{'license': 'apache-2.0'}", + "extracted_license_statement": "license: apache-2.0\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/summarycode/data/tallies/full_tallies/tallies.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies.expected.json index 07b0fb0b7b4..22ab897e66b 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies.expected.json @@ -2233,7 +2233,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0']", + "extracted_license_statement": "- Artistic-2.0\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -6680,7 +6680,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0']", + "extracted_license_statement": "- Artistic-2.0\n", "notice_text": null, "source_packages": [], "file_references": [], 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 104c791d220..9f06bfdb920 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 @@ -2233,7 +2233,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0']", + "extracted_license_statement": "- Artistic-2.0\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -7062,7 +7062,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0']", + "extracted_license_statement": "- Artistic-2.0\n", "notice_text": null, "source_packages": [], "file_references": [], 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 a7225485dbd..75813fae6b1 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json @@ -2233,7 +2233,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0']", + "extracted_license_statement": "- Artistic-2.0\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -7448,7 +7448,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0']", + "extracted_license_statement": "- Artistic-2.0\n", "notice_text": null, "source_packages": [], "file_references": [], diff --git a/tests/summarycode/data/tallies/packages/expected.json b/tests/summarycode/data/tallies/packages/expected.json index 03f10fd5bc2..9348afb17aa 100644 --- a/tests/summarycode/data/tallies/packages/expected.json +++ b/tests/summarycode/data/tallies/packages/expected.json @@ -50,7 +50,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Public Domain', 'url': None, 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Public Domain\n url:\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/aopalliance/aopalliance@1.0?classifier=sources" @@ -205,7 +205,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "extra_data": {}, @@ -1164,7 +1164,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "[{'name': 'Public Domain', 'url': None, 'comments': None, 'distribution': None}]", + "extracted_license_statement": "- name: Public Domain\n url:\n comments:\n distribution:\n", "notice_text": null, "source_packages": [ "pkg:maven/aopalliance/aopalliance@1.0?classifier=sources" @@ -1352,7 +1352,7 @@ "other_license_expression": null, "other_license_expression_spdx": null, "other_license_detections": [], - "extracted_license_statement": "['MIT']", + "extracted_license_statement": "- MIT\n", "notice_text": null, "source_packages": [], "file_references": [], From c77e724ffd0d958ad3b980a2e85d835f71a99fc8 Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Thu, 18 May 2023 14:53:16 +0530 Subject: [PATCH 3/4] Update CHANGELOG Signed-off-by: Ayan Sinha Mahapatra --- CHANGELOG.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index bd20fa71f8f..ffa151b7a5c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -135,7 +135,9 @@ License detection: These expressions are parallel to detections. - The ``declared_license`` attribute is renamed ``extracted_license_statement`` - and is now a YAML-encoded string. + and is now a YAML-encoded string, which can be parsed to recreate the + original extracted license statement. Previously this used to be nested + python objects lists/dicts/string, but now this is always a YAML string. See `license updates documentation `_ for examples and details. From 3ce9efcb3a9842a1e106f73bcc8c5e5bda01d170 Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Mon, 22 May 2023 16:46:05 +0530 Subject: [PATCH 4/4] Add formattedcode tests with yaml encoded strings Signed-off-by: Ayan Sinha Mahapatra --- src/scancode/cli_test_utils.py | 7 + .../data/common/manifests-expected.json | 1588 +++++++++++ .../data/common/manifests-expected.jsonlines | 1659 ++++++++++++ .../data/common/manifests-expected.yaml | 2370 +++++++++++++++++ .../manifests/maven/persistence-api-1.0.pom | 37 + .../npm-license-mapping/package.json | 51 + .../manifests/npm-license-string/package.json | 45 + .../common/manifests/pypi/bluepyopt_setup.py | 87 + tests/formattedcode/test_output_json.py | 8 + tests/formattedcode/test_output_jsonlines.py | 10 + tests/formattedcode/test_output_yaml.py | 13 + 11 files changed, 5875 insertions(+) create mode 100644 tests/formattedcode/data/common/manifests-expected.json create mode 100644 tests/formattedcode/data/common/manifests-expected.jsonlines create mode 100644 tests/formattedcode/data/common/manifests-expected.yaml create mode 100644 tests/formattedcode/data/common/manifests/maven/persistence-api-1.0.pom create mode 100644 tests/formattedcode/data/common/manifests/npm-license-mapping/package.json create mode 100644 tests/formattedcode/data/common/manifests/npm-license-string/package.json create mode 100644 tests/formattedcode/data/common/manifests/pypi/bluepyopt_setup.py diff --git a/src/scancode/cli_test_utils.py b/src/scancode/cli_test_utils.py index c1fa0c190e7..7e86d493aef 100644 --- a/src/scancode/cli_test_utils.py +++ b/src/scancode/cli_test_utils.py @@ -340,6 +340,7 @@ def check_jsonlines_scan( regen=False, remove_file_date=False, check_headers=False, + remove_uuid=True, ): """ Check the scan result_file JSON Lines results against the expected_file @@ -352,6 +353,9 @@ def check_jsonlines_scan( with io.open(result_file, encoding='utf-8') as res: results = [json.loads(line) for line in res] + if remove_uuid: + for result in results: + result = remove_uuid_from_scan(result) streamline_jsonlines_scan(results, remove_file_date) if regen: @@ -360,6 +364,9 @@ def check_jsonlines_scan( with io.open(expected_file, encoding='utf-8') as res: expected = json.load(res) + if remove_uuid: + for result in results: + result = remove_uuid_from_scan(result) streamline_jsonlines_scan(expected, remove_file_date) diff --git a/tests/formattedcode/data/common/manifests-expected.json b/tests/formattedcode/data/common/manifests-expected.json new file mode 100644 index 00000000000..5ef470f7419 --- /dev/null +++ b/tests/formattedcode/data/common/manifests-expected.json @@ -0,0 +1,1588 @@ +{ + "packages": [ + { + "type": "maven", + "namespace": "javax.persistence", + "name": "persistence-api", + "version": "1.0", + "qualifiers": {}, + "subpath": null, + "primary_language": "Java", + "description": "Enterprise JavaBeans (EJB) 3.0\nThe Enterprise JavaBeans architecture is a component architecture for the development and deployment of component-based business applications.\n The purpose of Enterprise JavaBeans (EJB) 3.0 is to improve the EJB architecture by reducing its complexity from the developer's point of view.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": "http://www.jcp.org/en/jsr/detail?id=220", + "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, + "holder": null, + "declared_license_expression": "cddl-1.0", + "declared_license_expression_spdx": "CDDL-1.0", + "license_detections": [ + { + "license_expression": "cddl-1.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 8, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "cddl-1.0", + "rule_identifier": "cddl-1.0.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0.RULE", + "matched_text": "Common Development and Distribution License (CDDL) v1.0" + } + ], + "identifier": "cddl_1_0-9893b55c-3b2b-4ee8-a932-6c6c93a63fc5" + }, + { + "license_expression": "cddl-1.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 7, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "cddl-1.0", + "rule_identifier": "cddl-1.0_4.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0_4.RULE", + "matched_text": "http://www.sun.com/cddl/cddl.html" + } + ], + "identifier": "cddl_1_0-ef82fc8c-50cb-6f35-1814-d2eb0bc13e83" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "- name: Common Development and Distribution License (CDDL) v1.0\n url: http://www.sun.com/cddl/cddl.html\n comments:\n distribution: repo\n", + "notice_text": null, + "source_packages": [ + "pkg:maven/javax.persistence/persistence-api@1.0?classifier=sources" + ], + "extra_data": {}, + "repository_homepage_url": "https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/", + "repository_download_url": "https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar", + "api_data_url": "https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/persistence-api-1.0.pom", + "package_uid": "pkg:maven/javax.persistence/persistence-api@1.0?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "manifests/maven/persistence-api-1.0.pom" + ], + "datasource_ids": [ + "maven_pom" + ], + "purl": "pkg:maven/javax.persistence/persistence-api@1.0" + }, + { + "type": "npm", + "namespace": null, + "name": "grunt-esvm", + "version": "3.2.8", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "Create elasticsearch clusters from grunt.", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Spencer Alger", + "email": "spencer.alger@elasticsearch.com", + "url": null + } + ], + "keywords": [ + "gruntplugin" + ], + "homepage_url": "https://github.com/spenceralger/grunt-esvm", + "download_url": "https://registry.npmjs.org/grunt-esvm/-/grunt-esvm-3.2.8.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "https://github.com/spenceralger/grunt-esvm/issues", + "code_view_url": null, + "vcs_url": "git://github.com/spenceralger/grunt-esvm.git", + "copyright": null, + "holder": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "Apache-2.0" + } + ], + "identifier": "apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8" + }, + { + "license_expression": "apache-2.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "Apache 2.0" + } + ], + "identifier": "apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "- Apache-2.0\n- type: Apache 2.0\n url: https://github.com/spenceralger/grunt-esvm/blob/master/LICENSE.md\n", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/grunt-esvm", + "repository_download_url": "https://registry.npmjs.org/grunt-esvm/-/grunt-esvm-3.2.8.tgz", + "api_data_url": "https://registry.npmjs.org/grunt-esvm/3.2.8", + "package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "manifests/npm-license-mapping/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/grunt-esvm@3.2.8" + }, + { + "type": "npm", + "namespace": null, + "name": "angular-compare-validator", + "version": "0.1.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "Angular form validation directive to compare two inputs", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "maintainer", + "name": "georgdangl", + "email": "npm@dan.gl", + "url": null + } + ], + "keywords": [], + "homepage_url": "https://github.com/GeorgDangl/angular-compare-validator#readme", + "download_url": "https://registry.npmjs.org/angular-compare-validator/-/angular-compare-validator-0.1.1.tgz", + "size": null, + "sha1": "d35a0754c8587b0502874e3636cf0f19565d09b7", + "md5": null, + "sha256": null, + "sha512": "8f70ed5e3513185ad58fb2a3114769ac93ddd68836ce89146e586fc03e03ac93dcfb1f11354ac26f408b75c0ebf51663d5e4e8e27c38752a3c06bdde749a7c03", + "bug_tracking_url": "https://github.com/GeorgDangl/angular-compare-validator/issues", + "code_view_url": null, + "vcs_url": "git+https://github.com/GeorgDangl/angular-compare-validator.git", + "copyright": null, + "holder": null, + "declared_license_expression": "mit", + "declared_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier-mit-5da48780aba670b0860c46d899ed42a0f243ff06", + "rule_relevance": 100, + "rule_url": null, + "matched_text": "MIT" + } + ], + "identifier": "mit-a822f434-d61f-f2b1-c792-8b8cb9e7b9bf" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "- MIT\n", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/angular-compare-validator", + "repository_download_url": "https://registry.npmjs.org/angular-compare-validator/-/angular-compare-validator-0.1.1.tgz", + "api_data_url": "https://registry.npmjs.org/angular-compare-validator/0.1.1", + "package_uid": "pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "manifests/npm-license-string/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/angular-compare-validator@0.1.1" + } + ], + "dependencies": [ + { + "purl": "pkg:npm/bluebird", + "extracted_requirement": "^2.9.30", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/bluebird?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/cli-color", + "extracted_requirement": "~0.3.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/cli-color?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/cli-table", + "extracted_requirement": "~0.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/cli-table?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/libesvm", + "extracted_requirement": "^3.8.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/libesvm?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/lodash", + "extracted_requirement": "^3.9.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/lodash?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/moment", + "extracted_requirement": "^2.10.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/moment?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/wreck", + "extracted_requirement": "^5.6.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/wreck?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/grunt", + "extracted_requirement": ">=0.4.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/grunt?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/load-grunt-config", + "extracted_requirement": "~0.19.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/load-grunt-config?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/grunt", + "extracted_requirement": ">=0.4.0", + "scope": "peerDependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/grunt?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/%40angular/core", + "extracted_requirement": ">=2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/%40angular/core?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-string/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/%40angular/forms", + "extracted_requirement": ">=2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/%40angular/forms?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-string/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/%40angular/common", + "extracted_requirement": ">=2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/%40angular/common?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-string/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/rxjs", + "extracted_requirement": ">=5.0.0-beta.12", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/rxjs?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-string/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/zone.js", + "extracted_requirement": ">=0.6.21", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/zone.js?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-string/package.json", + "datasource_id": "npm_package_json" + } + ], + "license_detections": [ + { + "identifier": "cddl_1_0-ce8b3a58-f284-e7dd-22b3-c4d82f97dfe3", + "license_expression": "cddl-1.0", + "detection_count": 1 + }, + { + "identifier": "apache_2_0-ec759ae0-ea5a-f138-793e-388520e080c0", + "license_expression": "apache-2.0", + "detection_count": 1 + }, + { + "identifier": "apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8", + "license_expression": "apache-2.0", + "detection_count": 1 + }, + { + "identifier": "mit-3fce6ea2-8abd-6c6b-3ede-a37af7c6efee", + "license_expression": "mit", + "detection_count": 1 + }, + { + "identifier": "lgpl_3_0-121be3c2-9c80-df84-d3da-8f674e4125c0", + "license_expression": "lgpl-3.0", + "detection_count": 1 + }, + { + "identifier": "lgpl_3_0-2db87bcf-56b4-9d7d-7075-2effae31c631", + "license_expression": "lgpl-3.0", + "detection_count": 1 + }, + { + "identifier": "lgpl_3_0-272571eb-5e68-95b6-ddb0-71de2d8df321", + "license_expression": "lgpl-3.0", + "detection_count": 2 + }, + { + "identifier": "lgpl_3_0-38174920-e8ed-7bda-41ec-94df7380b7d5", + "license_expression": "lgpl-3.0", + "detection_count": 1 + } + ], + "files": [ + { + "path": "manifests", + "type": "directory", + "name": "manifests", + "base_name": "manifests", + "extension": "", + "size": 0, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "files_count": 4, + "dirs_count": 4, + "size_count": 6962, + "scan_errors": [] + }, + { + "path": "manifests/maven", + "type": "directory", + "name": "maven", + "base_name": "maven", + "extension": "", + "size": 0, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:maven/javax.persistence/persistence-api@1.0?uuid=fixed-uid-done-for-testing-5642512d1758" + ], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "files_count": 1, + "dirs_count": 0, + "size_count": 1307, + "scan_errors": [] + }, + { + "path": "manifests/maven/persistence-api-1.0.pom", + "type": "file", + "name": "persistence-api-1.0.pom", + "base_name": "persistence-api-1.0", + "extension": ".pom", + "size": 1307, + "sha1": "82107f6781df8da9aa7cb60abc649208256af5cb", + "md5": "e79938fe4e630b02e3526c0195292cc6", + "sha256": "f94648bd92ddf2464e62c56c3833b36927fa8b9803e8ebf3e4cfa7f2d797f3ad", + "mime_type": "text/xml", + "file_type": "XML 1.0 document, ASCII text", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [ + { + "type": "maven", + "namespace": "javax.persistence", + "name": "persistence-api", + "version": "1.0", + "qualifiers": {}, + "subpath": null, + "primary_language": "Java", + "description": "Enterprise JavaBeans (EJB) 3.0\nThe Enterprise JavaBeans architecture is a component architecture for the development and deployment of component-based business applications.\n The purpose of Enterprise JavaBeans (EJB) 3.0 is to improve the EJB architecture by reducing its complexity from the developer's point of view.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": "http://www.jcp.org/en/jsr/detail?id=220", + "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, + "holder": null, + "declared_license_expression": "cddl-1.0", + "declared_license_expression_spdx": "CDDL-1.0", + "license_detections": [ + { + "license_expression": "cddl-1.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 8, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "cddl-1.0", + "rule_identifier": "cddl-1.0.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0.RULE", + "matched_text": "Common Development and Distribution License (CDDL) v1.0" + } + ], + "identifier": "cddl_1_0-9893b55c-3b2b-4ee8-a932-6c6c93a63fc5" + }, + { + "license_expression": "cddl-1.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 7, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "cddl-1.0", + "rule_identifier": "cddl-1.0_4.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0_4.RULE", + "matched_text": "http://www.sun.com/cddl/cddl.html" + } + ], + "identifier": "cddl_1_0-ef82fc8c-50cb-6f35-1814-d2eb0bc13e83" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "- name: Common Development and Distribution License (CDDL) v1.0\n url: http://www.sun.com/cddl/cddl.html\n comments:\n distribution: repo\n", + "notice_text": null, + "source_packages": [ + "pkg:maven/javax.persistence/persistence-api@1.0?classifier=sources" + ], + "file_references": [], + "extra_data": {}, + "dependencies": [], + "repository_homepage_url": "https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/", + "repository_download_url": "https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar", + "api_data_url": "https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/persistence-api-1.0.pom", + "datasource_id": "maven_pom", + "purl": "pkg:maven/javax.persistence/persistence-api@1.0" + } + ], + "for_packages": [ + "pkg:maven/javax.persistence/persistence-api@1.0?uuid=fixed-uid-done-for-testing-5642512d1758" + ], + "detected_license_expression": "cddl-1.0", + "detected_license_expression_spdx": "CDDL-1.0", + "license_detections": [ + { + "license_expression": "cddl-1.0", + "matches": [ + { + "score": 82.35, + "start_line": 18, + "end_line": 20, + "matched_length": 14, + "match_coverage": 82.35, + "matcher": "3-seq", + "license_expression": "cddl-1.0", + "rule_identifier": "cddl-1.0_32.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0_32.RULE" + } + ], + "identifier": "cddl_1_0-ce8b3a58-f284-e7dd-22b3-c4d82f97dfe3" + } + ], + "license_clues": [], + "percentage_of_license_text": 8.09, + "copyrights": [], + "holders": [], + "authors": [], + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "manifests/npm-license-mapping", + "type": "directory", + "name": "npm-license-mapping", + "base_name": "npm-license-mapping", + "extension": "", + "size": 0, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "files_count": 1, + "dirs_count": 0, + "size_count": 1184, + "scan_errors": [] + }, + { + "path": "manifests/npm-license-mapping/package.json", + "type": "file", + "name": "package.json", + "base_name": "package", + "extension": ".json", + "size": 1184, + "sha1": "0ed61bf6912407a143ce96c95bea56ad13463f5b", + "md5": "427e6d3b579b128fed50328ac65b698e", + "sha256": "d292aa647dc82e007ba319c878ec182d6f235f0a923cfe012ffc0ae8b7fa23be", + "mime_type": "application/json", + "file_type": "JSON data", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [ + { + "type": "npm", + "namespace": null, + "name": "grunt-esvm", + "version": "3.2.8", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "Create elasticsearch clusters from grunt.", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Spencer Alger", + "email": "spencer.alger@elasticsearch.com", + "url": null + } + ], + "keywords": [ + "gruntplugin" + ], + "homepage_url": "https://github.com/spenceralger/grunt-esvm", + "download_url": "https://registry.npmjs.org/grunt-esvm/-/grunt-esvm-3.2.8.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "https://github.com/spenceralger/grunt-esvm/issues", + "code_view_url": null, + "vcs_url": "git://github.com/spenceralger/grunt-esvm.git", + "copyright": null, + "holder": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "Apache-2.0" + } + ], + "identifier": "apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8" + }, + { + "license_expression": "apache-2.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "Apache 2.0" + } + ], + "identifier": "apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "- Apache-2.0\n- type: Apache 2.0\n url: https://github.com/spenceralger/grunt-esvm/blob/master/LICENSE.md\n", + "notice_text": null, + "source_packages": [], + "file_references": [], + "extra_data": {}, + "dependencies": [ + { + "purl": "pkg:npm/bluebird", + "extracted_requirement": "^2.9.30", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/cli-color", + "extracted_requirement": "~0.3.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/cli-table", + "extracted_requirement": "~0.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/libesvm", + "extracted_requirement": "^3.8.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/lodash", + "extracted_requirement": "^3.9.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/moment", + "extracted_requirement": "^2.10.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/wreck", + "extracted_requirement": "^5.6.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/grunt", + "extracted_requirement": ">=0.4.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/load-grunt-config", + "extracted_requirement": "~0.19.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/grunt", + "extracted_requirement": ">=0.4.0", + "scope": "peerDependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + } + ], + "repository_homepage_url": "https://www.npmjs.com/package/grunt-esvm", + "repository_download_url": "https://registry.npmjs.org/grunt-esvm/-/grunt-esvm-3.2.8.tgz", + "api_data_url": "https://registry.npmjs.org/grunt-esvm/3.2.8", + "datasource_id": "npm_package_json", + "purl": "pkg:npm/grunt-esvm@3.2.8" + } + ], + "for_packages": [ + "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758" + ], + "detected_license_expression": "apache-2.0", + "detected_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 6, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" + } + ], + "identifier": "apache_2_0-ec759ae0-ea5a-f138-793e-388520e080c0" + }, + { + "license_expression": "apache-2.0", + "matches": [ + { + "score": 100.0, + "start_line": 20, + "end_line": 20, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + } + ], + "identifier": "apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8" + } + ], + "license_clues": [], + "percentage_of_license_text": 5.51, + "copyrights": [], + "holders": [], + "authors": [], + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "manifests/npm-license-string", + "type": "directory", + "name": "npm-license-string", + "base_name": "npm-license-string", + "extension": "", + "size": 0, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "files_count": 1, + "dirs_count": 0, + "size_count": 1544, + "scan_errors": [] + }, + { + "path": "manifests/npm-license-string/package.json", + "type": "file", + "name": "package.json", + "base_name": "package", + "extension": ".json", + "size": 1544, + "sha1": "e6acddf907b7089d197d9d46879cd18ffb8f5198", + "md5": "5ba816691af915c02567f459ae26ebd6", + "sha256": "11129bc3bbf44b2567307ad13a31bc231f08416919e36bbdeabb9195b3e6ad58", + "mime_type": "application/json", + "file_type": "JSON data", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [ + { + "type": "npm", + "namespace": null, + "name": "angular-compare-validator", + "version": "0.1.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "Angular form validation directive to compare two inputs", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "maintainer", + "name": "georgdangl", + "email": "npm@dan.gl", + "url": null + } + ], + "keywords": [], + "homepage_url": "https://github.com/GeorgDangl/angular-compare-validator#readme", + "download_url": "https://registry.npmjs.org/angular-compare-validator/-/angular-compare-validator-0.1.1.tgz", + "size": null, + "sha1": "d35a0754c8587b0502874e3636cf0f19565d09b7", + "md5": null, + "sha256": null, + "sha512": "8f70ed5e3513185ad58fb2a3114769ac93ddd68836ce89146e586fc03e03ac93dcfb1f11354ac26f408b75c0ebf51663d5e4e8e27c38752a3c06bdde749a7c03", + "bug_tracking_url": "https://github.com/GeorgDangl/angular-compare-validator/issues", + "code_view_url": null, + "vcs_url": "git+https://github.com/GeorgDangl/angular-compare-validator.git", + "copyright": null, + "holder": null, + "declared_license_expression": "mit", + "declared_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier-mit-5da48780aba670b0860c46d899ed42a0f243ff06", + "rule_relevance": 100, + "rule_url": null, + "matched_text": "MIT" + } + ], + "identifier": "mit-a822f434-d61f-f2b1-c792-8b8cb9e7b9bf" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "- MIT\n", + "notice_text": null, + "source_packages": [], + "file_references": [], + "extra_data": {}, + "dependencies": [ + { + "purl": "pkg:npm/%40angular/core", + "extracted_requirement": ">=2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/%40angular/forms", + "extracted_requirement": ">=2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/%40angular/common", + "extracted_requirement": ">=2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/rxjs", + "extracted_requirement": ">=5.0.0-beta.12", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/zone.js", + "extracted_requirement": ">=0.6.21", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + } + ], + "repository_homepage_url": "https://www.npmjs.com/package/angular-compare-validator", + "repository_download_url": "https://registry.npmjs.org/angular-compare-validator/-/angular-compare-validator-0.1.1.tgz", + "api_data_url": "https://registry.npmjs.org/angular-compare-validator/0.1.1", + "datasource_id": "npm_package_json", + "purl": "pkg:npm/angular-compare-validator@0.1.1" + } + ], + "for_packages": [ + "pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], + "detected_license_expression": "mit", + "detected_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 4, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" + } + ], + "identifier": "mit-3fce6ea2-8abd-6c6b-3ede-a37af7c6efee" + } + ], + "license_clues": [], + "percentage_of_license_text": 1.32, + "copyrights": [], + "holders": [], + "authors": [], + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "manifests/pypi", + "type": "directory", + "name": "pypi", + "base_name": "pypi", + "extension": "", + "size": 0, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "files_count": 1, + "dirs_count": 0, + "size_count": 2927, + "scan_errors": [] + }, + { + "path": "manifests/pypi/bluepyopt_setup.py", + "type": "file", + "name": "bluepyopt_setup.py", + "base_name": "bluepyopt_setup", + "extension": ".py", + "size": 2927, + "sha1": "5507192502255517e006c531d07dd84dc2325be8", + "md5": "6795bed0c9c6b6cb915bfa959a2d1d4a", + "sha256": "4378d297df9fcb4f65fdcd1299e17eef7db86883baf149bc41b0335f943cf006", + "mime_type": "text/x-script.python", + "file_type": "Python script, ASCII text executable", + "programming_language": "Python", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": true, + "package_data": [ + { + "type": "pypi", + "namespace": null, + "name": "bluepyopt", + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": "Bluebrain Python Optimisation Library (bluepyopt)", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "BlueBrain Project, EPFL", + "email": "werner.vangeit@epfl.ch", + "url": null + } + ], + "keywords": [ + "optimisation", + "neuroscience", + "BlueBrainProject", + "Development Status :: 5 - Production/Stable", + "Environment :: Console", + "Programming Language :: Python :: 3 :: Only", + "Operating System :: POSIX", + "Topic :: Scientific/Engineering", + "Topic :: Utilities" + ], + "homepage_url": "https://github.com/BlueBrain/BluePyOpt", + "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, + "holder": null, + "declared_license_expression": "lgpl-3.0", + "declared_license_expression_spdx": "LGPL-3.0-only", + "license_detections": [ + { + "license_expression": "lgpl-3.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_29.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE", + "matched_text": "LGPLv3" + } + ], + "identifier": "lgpl_3_0-38174920-e8ed-7bda-41ec-94df7380b7d5" + }, + { + "license_expression": "lgpl-3.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 10, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "lgpl-3.0", + "rule_identifier": "pypi_gnu_lesser_general_public_license_v3.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_gnu_lesser_general_public_license_v3.RULE", + "matched_text": "['License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)']" + } + ], + "identifier": "lgpl_3_0-272571eb-5e68-95b6-ddb0-71de2d8df321" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "license: LGPLv3\nclassifiers:\n - 'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)'\n", + "notice_text": null, + "source_packages": [], + "file_references": [], + "extra_data": {}, + "dependencies": [ + { + "purl": "pkg:pypi/numpy", + "extracted_requirement": "numpy>=1.6", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/pandas", + "extracted_requirement": "pandas>=0.18", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/deap", + "extracted_requirement": "deap", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/efel", + "extracted_requirement": "efel>=2.13", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/ipyparallel", + "extracted_requirement": "ipyparallel", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/pickleshare", + "extracted_requirement": "pickleshare>=0.7.3", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/jinja2", + "extracted_requirement": "Jinja2>=2.8", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/future", + "extracted_requirement": "future", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/pebble", + "extracted_requirement": "Pebble>=4.3.10", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/scoop", + "extracted_requirement": "scoop>=0.7", + "scope": "all", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/scoop", + "extracted_requirement": "scoop>=0.7", + "scope": "scoop", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + } + ], + "repository_homepage_url": "https://pypi.org/project/bluepyopt", + "repository_download_url": null, + "api_data_url": "https://pypi.org/pypi/bluepyopt/json", + "datasource_id": "pypi_setup_py", + "purl": "pkg:pypi/bluepyopt" + } + ], + "for_packages": [], + "detected_license_expression": "lgpl-3.0", + "detected_license_expression_spdx": "LGPL-3.0-only", + "license_detections": [ + { + "license_expression": "lgpl-3.0", + "matches": [ + { + "score": 100.0, + "start_line": 9, + "end_line": 20, + "matched_length": 106, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_276.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_276.RULE" + } + ], + "identifier": "lgpl_3_0-121be3c2-9c80-df84-d3da-8f674e4125c0" + }, + { + "license_expression": "lgpl-3.0", + "matches": [ + { + "score": 100.0, + "start_line": 65, + "end_line": 65, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_152.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_152.RULE" + } + ], + "identifier": "lgpl_3_0-2db87bcf-56b4-9d7d-7075-2effae31c631" + }, + { + "license_expression": "lgpl-3.0", + "matches": [ + { + "score": 100.0, + "start_line": 74, + "end_line": 75, + "matched_length": 10, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "pypi_gnu_lesser_general_public_license_v3.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_gnu_lesser_general_public_license_v3.RULE" + } + ], + "identifier": "lgpl_3_0-272571eb-5e68-95b6-ddb0-71de2d8df321" + } + ], + "license_clues": [], + "percentage_of_license_text": 34.71, + "copyrights": [ + { + "copyright": "Copyright (c) 2016-2020, EPFL/Blue Brain Project", + "start_line": 5, + "end_line": 5 + } + ], + "holders": [ + { + "holder": "EPFL/Blue Brain Project", + "start_line": 5, + "end_line": 5 + } + ], + "authors": [ + { + "author": "BlueBrain Project", + "start_line": 54, + "end_line": 54 + } + ], + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + } + ] +} \ No newline at end of file diff --git a/tests/formattedcode/data/common/manifests-expected.jsonlines b/tests/formattedcode/data/common/manifests-expected.jsonlines new file mode 100644 index 00000000000..05c7052ee62 --- /dev/null +++ b/tests/formattedcode/data/common/manifests-expected.jsonlines @@ -0,0 +1,1659 @@ +[ + { + "headers": [ + { + "tool_name": "scancode-toolkit", + "options": { + "input": "", + "--copyright": true, + "--info": true, + "--json-lines": "", + "--license": true, + "--package": 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": "3.0.0", + "message": null, + "errors": [], + "warnings": [], + "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.15.0-72-generic-x86_64-with-glibc2.29", + "platform_version": "#79~20.04.1-Ubuntu SMP Thu Apr 20 22:12:07 UTC 2023", + "python_version": "3.8.10 (default, Mar 13 2023, 10:26:41) \n[GCC 9.4.0]" + }, + "spdx_license_list_version": "3.20", + "files_count": 4 + } + } + ] + }, + { + "packages": [ + { + "type": "maven", + "namespace": "javax.persistence", + "name": "persistence-api", + "version": "1.0", + "qualifiers": {}, + "subpath": null, + "primary_language": "Java", + "description": "Enterprise JavaBeans (EJB) 3.0\nThe Enterprise JavaBeans architecture is a component architecture for the development and deployment of component-based business applications.\n The purpose of Enterprise JavaBeans (EJB) 3.0 is to improve the EJB architecture by reducing its complexity from the developer's point of view.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": "http://www.jcp.org/en/jsr/detail?id=220", + "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, + "holder": null, + "declared_license_expression": "cddl-1.0", + "declared_license_expression_spdx": "CDDL-1.0", + "license_detections": [ + { + "license_expression": "cddl-1.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 8, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "cddl-1.0", + "rule_identifier": "cddl-1.0.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0.RULE", + "matched_text": "Common Development and Distribution License (CDDL) v1.0" + } + ], + "identifier": "cddl_1_0-9893b55c-3b2b-4ee8-a932-6c6c93a63fc5" + }, + { + "license_expression": "cddl-1.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 7, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "cddl-1.0", + "rule_identifier": "cddl-1.0_4.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0_4.RULE", + "matched_text": "http://www.sun.com/cddl/cddl.html" + } + ], + "identifier": "cddl_1_0-ef82fc8c-50cb-6f35-1814-d2eb0bc13e83" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "- name: Common Development and Distribution License (CDDL) v1.0\n url: http://www.sun.com/cddl/cddl.html\n comments:\n distribution: repo\n", + "notice_text": null, + "source_packages": [ + "pkg:maven/javax.persistence/persistence-api@1.0?classifier=sources" + ], + "extra_data": {}, + "repository_homepage_url": "https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/", + "repository_download_url": "https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar", + "api_data_url": "https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/persistence-api-1.0.pom", + "package_uid": "pkg:maven/javax.persistence/persistence-api@1.0?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "manifests/maven/persistence-api-1.0.pom" + ], + "datasource_ids": [ + "maven_pom" + ], + "purl": "pkg:maven/javax.persistence/persistence-api@1.0" + }, + { + "type": "npm", + "namespace": null, + "name": "grunt-esvm", + "version": "3.2.8", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "Create elasticsearch clusters from grunt.", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Spencer Alger", + "email": "spencer.alger@elasticsearch.com", + "url": null + } + ], + "keywords": [ + "gruntplugin" + ], + "homepage_url": "https://github.com/spenceralger/grunt-esvm", + "download_url": "https://registry.npmjs.org/grunt-esvm/-/grunt-esvm-3.2.8.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "https://github.com/spenceralger/grunt-esvm/issues", + "code_view_url": null, + "vcs_url": "git://github.com/spenceralger/grunt-esvm.git", + "copyright": null, + "holder": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "Apache-2.0" + } + ], + "identifier": "apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8" + }, + { + "license_expression": "apache-2.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "Apache 2.0" + } + ], + "identifier": "apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "- Apache-2.0\n- type: Apache 2.0\n url: https://github.com/spenceralger/grunt-esvm/blob/master/LICENSE.md\n", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/grunt-esvm", + "repository_download_url": "https://registry.npmjs.org/grunt-esvm/-/grunt-esvm-3.2.8.tgz", + "api_data_url": "https://registry.npmjs.org/grunt-esvm/3.2.8", + "package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "manifests/npm-license-mapping/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/grunt-esvm@3.2.8" + }, + { + "type": "npm", + "namespace": null, + "name": "angular-compare-validator", + "version": "0.1.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "Angular form validation directive to compare two inputs", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "maintainer", + "name": "georgdangl", + "email": "npm@dan.gl", + "url": null + } + ], + "keywords": [], + "homepage_url": "https://github.com/GeorgDangl/angular-compare-validator#readme", + "download_url": "https://registry.npmjs.org/angular-compare-validator/-/angular-compare-validator-0.1.1.tgz", + "size": null, + "sha1": "d35a0754c8587b0502874e3636cf0f19565d09b7", + "md5": null, + "sha256": null, + "sha512": "8f70ed5e3513185ad58fb2a3114769ac93ddd68836ce89146e586fc03e03ac93dcfb1f11354ac26f408b75c0ebf51663d5e4e8e27c38752a3c06bdde749a7c03", + "bug_tracking_url": "https://github.com/GeorgDangl/angular-compare-validator/issues", + "code_view_url": null, + "vcs_url": "git+https://github.com/GeorgDangl/angular-compare-validator.git", + "copyright": null, + "holder": null, + "declared_license_expression": "mit", + "declared_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier-mit-5da48780aba670b0860c46d899ed42a0f243ff06", + "rule_relevance": 100, + "rule_url": null, + "matched_text": "MIT" + } + ], + "identifier": "mit-a822f434-d61f-f2b1-c792-8b8cb9e7b9bf" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "- MIT\n", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/angular-compare-validator", + "repository_download_url": "https://registry.npmjs.org/angular-compare-validator/-/angular-compare-validator-0.1.1.tgz", + "api_data_url": "https://registry.npmjs.org/angular-compare-validator/0.1.1", + "package_uid": "pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "manifests/npm-license-string/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/angular-compare-validator@0.1.1" + } + ] + }, + { + "dependencies": [ + { + "purl": "pkg:npm/bluebird", + "extracted_requirement": "^2.9.30", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/bluebird?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/cli-color", + "extracted_requirement": "~0.3.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/cli-color?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/cli-table", + "extracted_requirement": "~0.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/cli-table?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/libesvm", + "extracted_requirement": "^3.8.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/libesvm?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/lodash", + "extracted_requirement": "^3.9.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/lodash?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/moment", + "extracted_requirement": "^2.10.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/moment?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/wreck", + "extracted_requirement": "^5.6.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/wreck?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/grunt", + "extracted_requirement": ">=0.4.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/grunt?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/load-grunt-config", + "extracted_requirement": "~0.19.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/load-grunt-config?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/grunt", + "extracted_requirement": ">=0.4.0", + "scope": "peerDependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/grunt?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-mapping/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/%40angular/core", + "extracted_requirement": ">=2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/%40angular/core?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-string/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/%40angular/forms", + "extracted_requirement": ">=2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/%40angular/forms?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-string/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/%40angular/common", + "extracted_requirement": ">=2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/%40angular/common?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-string/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/rxjs", + "extracted_requirement": ">=5.0.0-beta.12", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/rxjs?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-string/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/zone.js", + "extracted_requirement": ">=0.6.21", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/zone.js?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "manifests/npm-license-string/package.json", + "datasource_id": "npm_package_json" + } + ] + }, + { + "license_detections": [ + { + "identifier": "cddl_1_0-ce8b3a58-f284-e7dd-22b3-c4d82f97dfe3", + "license_expression": "cddl-1.0", + "detection_count": 1 + }, + { + "identifier": "apache_2_0-ec759ae0-ea5a-f138-793e-388520e080c0", + "license_expression": "apache-2.0", + "detection_count": 1 + }, + { + "identifier": "apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8", + "license_expression": "apache-2.0", + "detection_count": 1 + }, + { + "identifier": "mit-3fce6ea2-8abd-6c6b-3ede-a37af7c6efee", + "license_expression": "mit", + "detection_count": 1 + }, + { + "identifier": "lgpl_3_0-121be3c2-9c80-df84-d3da-8f674e4125c0", + "license_expression": "lgpl-3.0", + "detection_count": 1 + }, + { + "identifier": "lgpl_3_0-2db87bcf-56b4-9d7d-7075-2effae31c631", + "license_expression": "lgpl-3.0", + "detection_count": 1 + }, + { + "identifier": "lgpl_3_0-272571eb-5e68-95b6-ddb0-71de2d8df321", + "license_expression": "lgpl-3.0", + "detection_count": 2 + }, + { + "identifier": "lgpl_3_0-38174920-e8ed-7bda-41ec-94df7380b7d5", + "license_expression": "lgpl-3.0", + "detection_count": 1 + } + ] + }, + { + "files": [ + { + "path": "manifests", + "type": "directory", + "name": "manifests", + "base_name": "manifests", + "extension": "", + "size": 0, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "files_count": 4, + "dirs_count": 4, + "size_count": 6962, + "scan_errors": [] + } + ] + }, + { + "files": [ + { + "path": "manifests/maven", + "type": "directory", + "name": "maven", + "base_name": "maven", + "extension": "", + "size": 0, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:maven/javax.persistence/persistence-api@1.0?uuid=fixed-uid-done-for-testing-5642512d1758" + ], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "files_count": 1, + "dirs_count": 0, + "size_count": 1307, + "scan_errors": [] + } + ] + }, + { + "files": [ + { + "path": "manifests/maven/persistence-api-1.0.pom", + "type": "file", + "name": "persistence-api-1.0.pom", + "base_name": "persistence-api-1.0", + "extension": ".pom", + "size": 1307, + "sha1": "82107f6781df8da9aa7cb60abc649208256af5cb", + "md5": "e79938fe4e630b02e3526c0195292cc6", + "sha256": "f94648bd92ddf2464e62c56c3833b36927fa8b9803e8ebf3e4cfa7f2d797f3ad", + "mime_type": "text/xml", + "file_type": "XML 1.0 document, ASCII text", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [ + { + "type": "maven", + "namespace": "javax.persistence", + "name": "persistence-api", + "version": "1.0", + "qualifiers": {}, + "subpath": null, + "primary_language": "Java", + "description": "Enterprise JavaBeans (EJB) 3.0\nThe Enterprise JavaBeans architecture is a component architecture for the development and deployment of component-based business applications.\n The purpose of Enterprise JavaBeans (EJB) 3.0 is to improve the EJB architecture by reducing its complexity from the developer's point of view.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": "http://www.jcp.org/en/jsr/detail?id=220", + "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, + "holder": null, + "declared_license_expression": "cddl-1.0", + "declared_license_expression_spdx": "CDDL-1.0", + "license_detections": [ + { + "license_expression": "cddl-1.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 8, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "cddl-1.0", + "rule_identifier": "cddl-1.0.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0.RULE", + "matched_text": "Common Development and Distribution License (CDDL) v1.0" + } + ], + "identifier": "cddl_1_0-9893b55c-3b2b-4ee8-a932-6c6c93a63fc5" + }, + { + "license_expression": "cddl-1.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 7, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "cddl-1.0", + "rule_identifier": "cddl-1.0_4.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0_4.RULE", + "matched_text": "http://www.sun.com/cddl/cddl.html" + } + ], + "identifier": "cddl_1_0-ef82fc8c-50cb-6f35-1814-d2eb0bc13e83" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "- name: Common Development and Distribution License (CDDL) v1.0\n url: http://www.sun.com/cddl/cddl.html\n comments:\n distribution: repo\n", + "notice_text": null, + "source_packages": [ + "pkg:maven/javax.persistence/persistence-api@1.0?classifier=sources" + ], + "file_references": [], + "extra_data": {}, + "dependencies": [], + "repository_homepage_url": "https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/", + "repository_download_url": "https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar", + "api_data_url": "https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/persistence-api-1.0.pom", + "datasource_id": "maven_pom", + "purl": "pkg:maven/javax.persistence/persistence-api@1.0" + } + ], + "for_packages": [ + "pkg:maven/javax.persistence/persistence-api@1.0?uuid=fixed-uid-done-for-testing-5642512d1758" + ], + "detected_license_expression": "cddl-1.0", + "detected_license_expression_spdx": "CDDL-1.0", + "license_detections": [ + { + "license_expression": "cddl-1.0", + "matches": [ + { + "score": 82.35, + "start_line": 18, + "end_line": 20, + "matched_length": 14, + "match_coverage": 82.35, + "matcher": "3-seq", + "license_expression": "cddl-1.0", + "rule_identifier": "cddl-1.0_32.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0_32.RULE" + } + ], + "identifier": "cddl_1_0-ce8b3a58-f284-e7dd-22b3-c4d82f97dfe3" + } + ], + "license_clues": [], + "percentage_of_license_text": 8.09, + "copyrights": [], + "holders": [], + "authors": [], + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + } + ] + }, + { + "files": [ + { + "path": "manifests/npm-license-mapping", + "type": "directory", + "name": "npm-license-mapping", + "base_name": "npm-license-mapping", + "extension": "", + "size": 0, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "files_count": 1, + "dirs_count": 0, + "size_count": 1184, + "scan_errors": [] + } + ] + }, + { + "files": [ + { + "path": "manifests/npm-license-mapping/package.json", + "type": "file", + "name": "package.json", + "base_name": "package", + "extension": ".json", + "size": 1184, + "sha1": "0ed61bf6912407a143ce96c95bea56ad13463f5b", + "md5": "427e6d3b579b128fed50328ac65b698e", + "sha256": "d292aa647dc82e007ba319c878ec182d6f235f0a923cfe012ffc0ae8b7fa23be", + "mime_type": "application/json", + "file_type": "JSON data", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [ + { + "type": "npm", + "namespace": null, + "name": "grunt-esvm", + "version": "3.2.8", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "Create elasticsearch clusters from grunt.", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Spencer Alger", + "email": "spencer.alger@elasticsearch.com", + "url": null + } + ], + "keywords": [ + "gruntplugin" + ], + "homepage_url": "https://github.com/spenceralger/grunt-esvm", + "download_url": "https://registry.npmjs.org/grunt-esvm/-/grunt-esvm-3.2.8.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "https://github.com/spenceralger/grunt-esvm/issues", + "code_view_url": null, + "vcs_url": "git://github.com/spenceralger/grunt-esvm.git", + "copyright": null, + "holder": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "Apache-2.0" + } + ], + "identifier": "apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8" + }, + { + "license_expression": "apache-2.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "Apache 2.0" + } + ], + "identifier": "apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "- Apache-2.0\n- type: Apache 2.0\n url: https://github.com/spenceralger/grunt-esvm/blob/master/LICENSE.md\n", + "notice_text": null, + "source_packages": [], + "file_references": [], + "extra_data": {}, + "dependencies": [ + { + "purl": "pkg:npm/bluebird", + "extracted_requirement": "^2.9.30", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/cli-color", + "extracted_requirement": "~0.3.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/cli-table", + "extracted_requirement": "~0.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/libesvm", + "extracted_requirement": "^3.8.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/lodash", + "extracted_requirement": "^3.9.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/moment", + "extracted_requirement": "^2.10.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/wreck", + "extracted_requirement": "^5.6.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/grunt", + "extracted_requirement": ">=0.4.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/load-grunt-config", + "extracted_requirement": "~0.19.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/grunt", + "extracted_requirement": ">=0.4.0", + "scope": "peerDependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + } + ], + "repository_homepage_url": "https://www.npmjs.com/package/grunt-esvm", + "repository_download_url": "https://registry.npmjs.org/grunt-esvm/-/grunt-esvm-3.2.8.tgz", + "api_data_url": "https://registry.npmjs.org/grunt-esvm/3.2.8", + "datasource_id": "npm_package_json", + "purl": "pkg:npm/grunt-esvm@3.2.8" + } + ], + "for_packages": [ + "pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758" + ], + "detected_license_expression": "apache-2.0", + "detected_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 6, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" + } + ], + "identifier": "apache_2_0-ec759ae0-ea5a-f138-793e-388520e080c0" + }, + { + "license_expression": "apache-2.0", + "matches": [ + { + "score": 100.0, + "start_line": 20, + "end_line": 20, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + } + ], + "identifier": "apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8" + } + ], + "license_clues": [], + "percentage_of_license_text": 5.51, + "copyrights": [], + "holders": [], + "authors": [], + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + } + ] + }, + { + "files": [ + { + "path": "manifests/npm-license-string", + "type": "directory", + "name": "npm-license-string", + "base_name": "npm-license-string", + "extension": "", + "size": 0, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "files_count": 1, + "dirs_count": 0, + "size_count": 1544, + "scan_errors": [] + } + ] + }, + { + "files": [ + { + "path": "manifests/npm-license-string/package.json", + "type": "file", + "name": "package.json", + "base_name": "package", + "extension": ".json", + "size": 1544, + "sha1": "e6acddf907b7089d197d9d46879cd18ffb8f5198", + "md5": "5ba816691af915c02567f459ae26ebd6", + "sha256": "11129bc3bbf44b2567307ad13a31bc231f08416919e36bbdeabb9195b3e6ad58", + "mime_type": "application/json", + "file_type": "JSON data", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [ + { + "type": "npm", + "namespace": null, + "name": "angular-compare-validator", + "version": "0.1.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "Angular form validation directive to compare two inputs", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "maintainer", + "name": "georgdangl", + "email": "npm@dan.gl", + "url": null + } + ], + "keywords": [], + "homepage_url": "https://github.com/GeorgDangl/angular-compare-validator#readme", + "download_url": "https://registry.npmjs.org/angular-compare-validator/-/angular-compare-validator-0.1.1.tgz", + "size": null, + "sha1": "d35a0754c8587b0502874e3636cf0f19565d09b7", + "md5": null, + "sha256": null, + "sha512": "8f70ed5e3513185ad58fb2a3114769ac93ddd68836ce89146e586fc03e03ac93dcfb1f11354ac26f408b75c0ebf51663d5e4e8e27c38752a3c06bdde749a7c03", + "bug_tracking_url": "https://github.com/GeorgDangl/angular-compare-validator/issues", + "code_view_url": null, + "vcs_url": "git+https://github.com/GeorgDangl/angular-compare-validator.git", + "copyright": null, + "holder": null, + "declared_license_expression": "mit", + "declared_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier-mit-5da48780aba670b0860c46d899ed42a0f243ff06", + "rule_relevance": 100, + "rule_url": null, + "matched_text": "MIT" + } + ], + "identifier": "mit-a822f434-d61f-f2b1-c792-8b8cb9e7b9bf" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "- MIT\n", + "notice_text": null, + "source_packages": [], + "file_references": [], + "extra_data": {}, + "dependencies": [ + { + "purl": "pkg:npm/%40angular/core", + "extracted_requirement": ">=2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/%40angular/forms", + "extracted_requirement": ">=2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/%40angular/common", + "extracted_requirement": ">=2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/rxjs", + "extracted_requirement": ">=5.0.0-beta.12", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/zone.js", + "extracted_requirement": ">=0.6.21", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + } + ], + "repository_homepage_url": "https://www.npmjs.com/package/angular-compare-validator", + "repository_download_url": "https://registry.npmjs.org/angular-compare-validator/-/angular-compare-validator-0.1.1.tgz", + "api_data_url": "https://registry.npmjs.org/angular-compare-validator/0.1.1", + "datasource_id": "npm_package_json", + "purl": "pkg:npm/angular-compare-validator@0.1.1" + } + ], + "for_packages": [ + "pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], + "detected_license_expression": "mit", + "detected_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 4, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" + } + ], + "identifier": "mit-3fce6ea2-8abd-6c6b-3ede-a37af7c6efee" + } + ], + "license_clues": [], + "percentage_of_license_text": 1.32, + "copyrights": [], + "holders": [], + "authors": [], + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + } + ] + }, + { + "files": [ + { + "path": "manifests/pypi", + "type": "directory", + "name": "pypi", + "base_name": "pypi", + "extension": "", + "size": 0, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "files_count": 1, + "dirs_count": 0, + "size_count": 2927, + "scan_errors": [] + } + ] + }, + { + "files": [ + { + "path": "manifests/pypi/bluepyopt_setup.py", + "type": "file", + "name": "bluepyopt_setup.py", + "base_name": "bluepyopt_setup", + "extension": ".py", + "size": 2927, + "sha1": "5507192502255517e006c531d07dd84dc2325be8", + "md5": "6795bed0c9c6b6cb915bfa959a2d1d4a", + "sha256": "4378d297df9fcb4f65fdcd1299e17eef7db86883baf149bc41b0335f943cf006", + "mime_type": "text/x-script.python", + "file_type": "Python script, ASCII text executable", + "programming_language": "Python", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": true, + "package_data": [ + { + "type": "pypi", + "namespace": null, + "name": "bluepyopt", + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": "Bluebrain Python Optimisation Library (bluepyopt)", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "BlueBrain Project, EPFL", + "email": "werner.vangeit@epfl.ch", + "url": null + } + ], + "keywords": [ + "optimisation", + "neuroscience", + "BlueBrainProject", + "Development Status :: 5 - Production/Stable", + "Environment :: Console", + "Programming Language :: Python :: 3 :: Only", + "Operating System :: POSIX", + "Topic :: Scientific/Engineering", + "Topic :: Utilities" + ], + "homepage_url": "https://github.com/BlueBrain/BluePyOpt", + "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, + "holder": null, + "declared_license_expression": "lgpl-3.0", + "declared_license_expression_spdx": "LGPL-3.0-only", + "license_detections": [ + { + "license_expression": "lgpl-3.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_29.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE", + "matched_text": "LGPLv3" + } + ], + "identifier": "lgpl_3_0-38174920-e8ed-7bda-41ec-94df7380b7d5" + }, + { + "license_expression": "lgpl-3.0", + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 10, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "lgpl-3.0", + "rule_identifier": "pypi_gnu_lesser_general_public_license_v3.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_gnu_lesser_general_public_license_v3.RULE", + "matched_text": "['License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)']" + } + ], + "identifier": "lgpl_3_0-272571eb-5e68-95b6-ddb0-71de2d8df321" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "license: LGPLv3\nclassifiers:\n - 'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)'\n", + "notice_text": null, + "source_packages": [], + "file_references": [], + "extra_data": {}, + "dependencies": [ + { + "purl": "pkg:pypi/numpy", + "extracted_requirement": "numpy>=1.6", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/pandas", + "extracted_requirement": "pandas>=0.18", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/deap", + "extracted_requirement": "deap", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/efel", + "extracted_requirement": "efel>=2.13", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/ipyparallel", + "extracted_requirement": "ipyparallel", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/pickleshare", + "extracted_requirement": "pickleshare>=0.7.3", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/jinja2", + "extracted_requirement": "Jinja2>=2.8", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/future", + "extracted_requirement": "future", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/pebble", + "extracted_requirement": "Pebble>=4.3.10", + "scope": "install", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/scoop", + "extracted_requirement": "scoop>=0.7", + "scope": "all", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:pypi/scoop", + "extracted_requirement": "scoop>=0.7", + "scope": "scoop", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + } + ], + "repository_homepage_url": "https://pypi.org/project/bluepyopt", + "repository_download_url": null, + "api_data_url": "https://pypi.org/pypi/bluepyopt/json", + "datasource_id": "pypi_setup_py", + "purl": "pkg:pypi/bluepyopt" + } + ], + "for_packages": [], + "detected_license_expression": "lgpl-3.0", + "detected_license_expression_spdx": "LGPL-3.0-only", + "license_detections": [ + { + "license_expression": "lgpl-3.0", + "matches": [ + { + "score": 100.0, + "start_line": 9, + "end_line": 20, + "matched_length": 106, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_276.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_276.RULE" + } + ], + "identifier": "lgpl_3_0-121be3c2-9c80-df84-d3da-8f674e4125c0" + }, + { + "license_expression": "lgpl-3.0", + "matches": [ + { + "score": 100.0, + "start_line": 65, + "end_line": 65, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_152.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_152.RULE" + } + ], + "identifier": "lgpl_3_0-2db87bcf-56b4-9d7d-7075-2effae31c631" + }, + { + "license_expression": "lgpl-3.0", + "matches": [ + { + "score": 100.0, + "start_line": 74, + "end_line": 75, + "matched_length": 10, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "pypi_gnu_lesser_general_public_license_v3.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_gnu_lesser_general_public_license_v3.RULE" + } + ], + "identifier": "lgpl_3_0-272571eb-5e68-95b6-ddb0-71de2d8df321" + } + ], + "license_clues": [], + "percentage_of_license_text": 34.71, + "copyrights": [ + { + "copyright": "Copyright (c) 2016-2020, EPFL/Blue Brain Project", + "start_line": 5, + "end_line": 5 + } + ], + "holders": [ + { + "holder": "EPFL/Blue Brain Project", + "start_line": 5, + "end_line": 5 + } + ], + "authors": [ + { + "author": "BlueBrain Project", + "start_line": 54, + "end_line": 54 + } + ], + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + } + ] + } +] \ No newline at end of file diff --git a/tests/formattedcode/data/common/manifests-expected.yaml b/tests/formattedcode/data/common/manifests-expected.yaml new file mode 100644 index 00000000000..0e73c02b5b9 --- /dev/null +++ b/tests/formattedcode/data/common/manifests-expected.yaml @@ -0,0 +1,2370 @@ +headers: + - tool_name: scancode-toolkit + options: + input: + --classify: yes + --copyright: yes + --email: yes + --info: yes + --license: yes + --license-clarity-score: yes + --license-references: yes + --license-text: yes + --package: yes + --summary: yes + --url: yes + --yaml: + notice: | + Generated with ScanCode and provided on an "AS IS" BASIS, WITHOUT WARRANTIES + OR CONDITIONS OF ANY KIND, either express or implied. No content created from + ScanCode should be considered or used as legal advice. Consult an Attorney + for any legal advice. + ScanCode is a free software code scanning tool from nexB Inc. and others. + Visit https://github.com/nexB/scancode-toolkit/ for support and download. + output_format_version: 3.0.0 + message: + errors: [] + warnings: [] + extra_data: + system_environment: + operating_system: linux + cpu_architecture: 64 + platform: Linux-5.15.0-72-generic-x86_64-with-glibc2.29 + platform_version: '#79~20.04.1-Ubuntu SMP Thu Apr 20 22:12:07 UTC 2023' + python_version: "3.8.10 (default, Mar 13 2023, 10:26:41) \n[GCC 9.4.0]" + spdx_license_list_version: '3.20' + files_count: 4 +summary: + declared_license_expression: apache-2.0 AND cddl-1.0 AND mit + license_clarity_score: + score: '0' + declared_license: no + identification_precision: no + has_license_text: no + declared_copyrights: no + conflicting_license_categories: no + ambiguous_compound_licensing: yes + declared_holder: + primary_language: Python + other_license_expressions: + - value: + count: 1 + - value: apache-2.0 + count: 1 + - value: cddl-1.0 + count: 1 + - value: lgpl-3.0 + count: 1 + - value: mit + count: 1 + other_holders: + - value: + count: 3 + - value: EPFL/Blue Brain Project + count: 1 + other_languages: [] +packages: + - type: maven + namespace: javax.persistence + name: persistence-api + version: '1.0' + qualifiers: {} + subpath: + primary_language: Java + description: | + Enterprise JavaBeans (EJB) 3.0 + The Enterprise JavaBeans architecture is a component architecture for the development and deployment of component-based business applications. + The purpose of Enterprise JavaBeans (EJB) 3.0 is to improve the EJB architecture by reducing its complexity from the developer's point of view. + release_date: + parties: [] + keywords: [] + homepage_url: http://www.jcp.org/en/jsr/detail?id=220 + download_url: + size: + sha1: + md5: + sha256: + sha512: + bug_tracking_url: + code_view_url: + vcs_url: + copyright: + holder: + declared_license_expression: cddl-1.0 + declared_license_expression_spdx: CDDL-1.0 + license_detections: + - license_expression: cddl-1.0 + matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matched_length: 8 + match_coverage: '100.0' + matcher: 1-hash + license_expression: cddl-1.0 + rule_identifier: cddl-1.0.RULE + rule_relevance: 100 + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0.RULE + matched_text: Common Development and Distribution License (CDDL) v1.0 + identifier: cddl_1_0-9893b55c-3b2b-4ee8-a932-6c6c93a63fc5 + - license_expression: cddl-1.0 + matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matched_length: 7 + match_coverage: '100.0' + matcher: 1-hash + license_expression: cddl-1.0 + rule_identifier: cddl-1.0_4.RULE + rule_relevance: 100 + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0_4.RULE + matched_text: http://www.sun.com/cddl/cddl.html + identifier: cddl_1_0-ef82fc8c-50cb-6f35-1814-d2eb0bc13e83 + other_license_expression: + other_license_expression_spdx: + other_license_detections: [] + extracted_license_statement: | + - name: Common Development and Distribution License (CDDL) v1.0 + url: http://www.sun.com/cddl/cddl.html + comments: + distribution: repo + notice_text: + source_packages: + - pkg:maven/javax.persistence/persistence-api@1.0?classifier=sources + extra_data: {} + repository_homepage_url: https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/ + repository_download_url: https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar + api_data_url: https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/persistence-api-1.0.pom + package_uid: pkg:maven/javax.persistence/persistence-api@1.0?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_paths: + - manifests/maven/persistence-api-1.0.pom + datasource_ids: + - maven_pom + purl: pkg:maven/javax.persistence/persistence-api@1.0 + - type: npm + namespace: + name: grunt-esvm + version: 3.2.8 + qualifiers: {} + subpath: + primary_language: JavaScript + description: Create elasticsearch clusters from grunt. + release_date: + parties: + - type: person + role: author + name: Spencer Alger + email: spencer.alger@elasticsearch.com + url: + keywords: + - gruntplugin + homepage_url: https://github.com/spenceralger/grunt-esvm + download_url: https://registry.npmjs.org/grunt-esvm/-/grunt-esvm-3.2.8.tgz + size: + sha1: + md5: + sha256: + sha512: + bug_tracking_url: https://github.com/spenceralger/grunt-esvm/issues + code_view_url: + vcs_url: git://github.com/spenceralger/grunt-esvm.git + copyright: + holder: + declared_license_expression: apache-2.0 + declared_license_expression_spdx: Apache-2.0 + license_detections: + - license_expression: apache-2.0 + matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matched_length: 3 + match_coverage: '100.0' + matcher: 1-hash + license_expression: apache-2.0 + rule_identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + rule_relevance: 100 + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE + matched_text: Apache-2.0 + identifier: apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8 + - license_expression: apache-2.0 + matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matched_length: 3 + match_coverage: '100.0' + matcher: 1-hash + license_expression: apache-2.0 + rule_identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + rule_relevance: 100 + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE + matched_text: Apache 2.0 + identifier: apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8 + other_license_expression: + other_license_expression_spdx: + other_license_detections: [] + extracted_license_statement: | + - Apache-2.0 + - type: Apache 2.0 + url: https://github.com/spenceralger/grunt-esvm/blob/master/LICENSE.md + notice_text: + source_packages: [] + extra_data: {} + repository_homepage_url: https://www.npmjs.com/package/grunt-esvm + repository_download_url: https://registry.npmjs.org/grunt-esvm/-/grunt-esvm-3.2.8.tgz + api_data_url: https://registry.npmjs.org/grunt-esvm/3.2.8 + package_uid: pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_paths: + - manifests/npm-license-mapping/package.json + datasource_ids: + - npm_package_json + purl: pkg:npm/grunt-esvm@3.2.8 + - type: npm + namespace: + name: angular-compare-validator + version: 0.1.1 + qualifiers: {} + subpath: + primary_language: JavaScript + description: Angular form validation directive to compare two inputs + release_date: + parties: + - type: person + role: maintainer + name: georgdangl + email: npm@dan.gl + url: + keywords: [] + homepage_url: https://github.com/GeorgDangl/angular-compare-validator#readme + download_url: https://registry.npmjs.org/angular-compare-validator/-/angular-compare-validator-0.1.1.tgz + size: + sha1: d35a0754c8587b0502874e3636cf0f19565d09b7 + md5: + sha256: + sha512: 8f70ed5e3513185ad58fb2a3114769ac93ddd68836ce89146e586fc03e03ac93dcfb1f11354ac26f408b75c0ebf51663d5e4e8e27c38752a3c06bdde749a7c03 + bug_tracking_url: https://github.com/GeorgDangl/angular-compare-validator/issues + code_view_url: + vcs_url: git+https://github.com/GeorgDangl/angular-compare-validator.git + copyright: + holder: + declared_license_expression: mit + declared_license_expression_spdx: MIT + license_detections: + - license_expression: mit + matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matched_length: 1 + match_coverage: '100.0' + matcher: 1-spdx-id + license_expression: mit + rule_identifier: spdx-license-identifier-mit-5da48780aba670b0860c46d899ed42a0f243ff06 + rule_relevance: 100 + rule_url: + matched_text: MIT + identifier: mit-a822f434-d61f-f2b1-c792-8b8cb9e7b9bf + other_license_expression: + other_license_expression_spdx: + other_license_detections: [] + extracted_license_statement: | + - MIT + notice_text: + source_packages: [] + extra_data: {} + repository_homepage_url: https://www.npmjs.com/package/angular-compare-validator + repository_download_url: https://registry.npmjs.org/angular-compare-validator/-/angular-compare-validator-0.1.1.tgz + api_data_url: https://registry.npmjs.org/angular-compare-validator/0.1.1 + package_uid: pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_paths: + - manifests/npm-license-string/package.json + datasource_ids: + - npm_package_json + purl: pkg:npm/angular-compare-validator@0.1.1 +dependencies: + - purl: pkg:npm/bluebird + extracted_requirement: ^2.9.30 + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + dependency_uid: pkg:npm/bluebird?uuid=fixed-uid-done-for-testing-5642512d1758 + for_package_uid: pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_path: manifests/npm-license-mapping/package.json + datasource_id: npm_package_json + - purl: pkg:npm/cli-color + extracted_requirement: ~0.3.2 + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + dependency_uid: pkg:npm/cli-color?uuid=fixed-uid-done-for-testing-5642512d1758 + for_package_uid: pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_path: manifests/npm-license-mapping/package.json + datasource_id: npm_package_json + - purl: pkg:npm/cli-table + extracted_requirement: ~0.3.0 + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + dependency_uid: pkg:npm/cli-table?uuid=fixed-uid-done-for-testing-5642512d1758 + for_package_uid: pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_path: manifests/npm-license-mapping/package.json + datasource_id: npm_package_json + - purl: pkg:npm/libesvm + extracted_requirement: ^3.8.2 + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + dependency_uid: pkg:npm/libesvm?uuid=fixed-uid-done-for-testing-5642512d1758 + for_package_uid: pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_path: manifests/npm-license-mapping/package.json + datasource_id: npm_package_json + - purl: pkg:npm/lodash + extracted_requirement: ^3.9.3 + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + dependency_uid: pkg:npm/lodash?uuid=fixed-uid-done-for-testing-5642512d1758 + for_package_uid: pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_path: manifests/npm-license-mapping/package.json + datasource_id: npm_package_json + - purl: pkg:npm/moment + extracted_requirement: ^2.10.3 + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + dependency_uid: pkg:npm/moment?uuid=fixed-uid-done-for-testing-5642512d1758 + for_package_uid: pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_path: manifests/npm-license-mapping/package.json + datasource_id: npm_package_json + - purl: pkg:npm/wreck + extracted_requirement: ^5.6.0 + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + dependency_uid: pkg:npm/wreck?uuid=fixed-uid-done-for-testing-5642512d1758 + for_package_uid: pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_path: manifests/npm-license-mapping/package.json + datasource_id: npm_package_json + - purl: pkg:npm/grunt + extracted_requirement: '>=0.4.0' + scope: devDependencies + is_runtime: no + is_optional: yes + is_resolved: no + resolved_package: {} + extra_data: {} + dependency_uid: pkg:npm/grunt?uuid=fixed-uid-done-for-testing-5642512d1758 + for_package_uid: pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_path: manifests/npm-license-mapping/package.json + datasource_id: npm_package_json + - purl: pkg:npm/load-grunt-config + extracted_requirement: ~0.19.0 + scope: devDependencies + is_runtime: no + is_optional: yes + is_resolved: no + resolved_package: {} + extra_data: {} + dependency_uid: pkg:npm/load-grunt-config?uuid=fixed-uid-done-for-testing-5642512d1758 + for_package_uid: pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_path: manifests/npm-license-mapping/package.json + datasource_id: npm_package_json + - purl: pkg:npm/grunt + extracted_requirement: '>=0.4.0' + scope: peerDependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + dependency_uid: pkg:npm/grunt?uuid=fixed-uid-done-for-testing-5642512d1758 + for_package_uid: pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_path: manifests/npm-license-mapping/package.json + datasource_id: npm_package_json + - purl: pkg:npm/%40angular/core + extracted_requirement: '>=2.0.0' + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + dependency_uid: pkg:npm/%40angular/core?uuid=fixed-uid-done-for-testing-5642512d1758 + for_package_uid: pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_path: manifests/npm-license-string/package.json + datasource_id: npm_package_json + - purl: pkg:npm/%40angular/forms + extracted_requirement: '>=2.0.0' + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + dependency_uid: pkg:npm/%40angular/forms?uuid=fixed-uid-done-for-testing-5642512d1758 + for_package_uid: pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_path: manifests/npm-license-string/package.json + datasource_id: npm_package_json + - purl: pkg:npm/%40angular/common + extracted_requirement: '>=2.0.0' + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + dependency_uid: pkg:npm/%40angular/common?uuid=fixed-uid-done-for-testing-5642512d1758 + for_package_uid: pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_path: manifests/npm-license-string/package.json + datasource_id: npm_package_json + - purl: pkg:npm/rxjs + extracted_requirement: '>=5.0.0-beta.12' + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + dependency_uid: pkg:npm/rxjs?uuid=fixed-uid-done-for-testing-5642512d1758 + for_package_uid: pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_path: manifests/npm-license-string/package.json + datasource_id: npm_package_json + - purl: pkg:npm/zone.js + extracted_requirement: '>=0.6.21' + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + dependency_uid: pkg:npm/zone.js?uuid=fixed-uid-done-for-testing-5642512d1758 + for_package_uid: pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758 + datafile_path: manifests/npm-license-string/package.json + datasource_id: npm_package_json +license_detections: + - identifier: cddl_1_0-ce8b3a58-f284-e7dd-22b3-c4d82f97dfe3 + license_expression: cddl-1.0 + detection_count: 1 + - identifier: apache_2_0-ec759ae0-ea5a-f138-793e-388520e080c0 + license_expression: apache-2.0 + detection_count: 1 + - identifier: apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8 + license_expression: apache-2.0 + detection_count: 1 + - identifier: mit-3fce6ea2-8abd-6c6b-3ede-a37af7c6efee + license_expression: mit + detection_count: 1 + - identifier: lgpl_3_0-121be3c2-9c80-df84-d3da-8f674e4125c0 + license_expression: lgpl-3.0 + detection_count: 1 + - identifier: lgpl_3_0-2db87bcf-56b4-9d7d-7075-2effae31c631 + license_expression: lgpl-3.0 + detection_count: 1 + - identifier: lgpl_3_0-272571eb-5e68-95b6-ddb0-71de2d8df321 + license_expression: lgpl-3.0 + detection_count: 2 + - identifier: lgpl_3_0-38174920-e8ed-7bda-41ec-94df7380b7d5 + license_expression: lgpl-3.0 + detection_count: 1 +license_references: + - key: apache-2.0 + language: en + short_name: Apache 2.0 + name: Apache License 2.0 + category: Permissive + owner: Apache Software Foundation + homepage_url: http://www.apache.org/licenses/ + notes: | + Per SPDX.org, this version was released January 2004 This license is OSI + certified + is_builtin: yes + is_exception: no + is_unknown: no + is_generic: no + spdx_license_key: Apache-2.0 + other_spdx_license_keys: + - LicenseRef-Apache + - LicenseRef-Apache-2.0 + osi_license_key: Apache-2.0 + text_urls: + - http://www.apache.org/licenses/LICENSE-2.0 + osi_url: http://opensource.org/licenses/apache2.0.php + faq_url: http://www.apache.org/foundation/licence-FAQ.html + other_urls: + - http://www.opensource.org/licenses/Apache-2.0 + - https://opensource.org/licenses/Apache-2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + key_aliases: [] + minimum_coverage: '0' + standard_notice: + ignorable_copyrights: [] + ignorable_holders: [] + ignorable_authors: [] + ignorable_urls: + - http://www.apache.org/licenses/ + - http://www.apache.org/licenses/LICENSE-2.0 + ignorable_emails: [] + text: " Apache License\n Version\ + \ 2.0, January 2004\n http://www.apache.org/licenses/\n \n TERMS\ + \ AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n \n 1. Definitions.\n \n \ + \ \"License\" shall mean the terms and conditions for use, reproduction,\n and\ + \ distribution as defined by Sections 1 through 9 of this document.\n \n \"Licensor\"\ + \ shall mean the copyright owner or entity authorized by\n the copyright owner that\ + \ is granting the License.\n \n \"Legal Entity\" shall mean the union of the acting\ + \ entity and all\n other entities that control, are controlled by, or are under common\n\ + \ control with that entity. For the purposes of this definition,\n \"control\"\ + \ means (i) the power, direct or indirect, to cause the\n direction or management\ + \ of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty\ + \ percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership\ + \ of such entity.\n \n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n\ + \ exercising permissions granted by this License.\n \n \"Source\" form shall\ + \ mean the preferred form for making modifications,\n including but not limited to\ + \ software source code, documentation\n source, and configuration files.\n \n \ + \ \"Object\" form shall mean any form resulting from mechanical\n transformation\ + \ or translation of a Source form, including but\n not limited to compiled object\ + \ code, generated documentation,\n and conversions to other media types.\n \n \ + \ \"Work\" shall mean the work of authorship, whether in Source or\n Object form,\ + \ made available under the License, as indicated by a\n copyright notice that is\ + \ included in or attached to the work\n (an example is provided in the Appendix below).\n\ + \ \n \"Derivative Works\" shall mean any work, whether in Source or Object\n \ + \ form, that is based on (or derived from) the Work and for which the\n editorial\ + \ revisions, annotations, elaborations, or other modifications\n represent, as a\ + \ whole, an original work of authorship. For the purposes\n of this License, Derivative\ + \ Works shall not include works that remain\n separable from, or merely link (or\ + \ bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\ + \ \n \"Contribution\" shall mean any work of authorship, including\n the original\ + \ version of the Work and any modifications or additions\n to that Work or Derivative\ + \ Works thereof, that is intentionally\n submitted to Licensor for inclusion in the\ + \ Work by the copyright owner\n or by an individual or Legal Entity authorized to\ + \ submit on behalf of\n the copyright owner. For the purposes of this definition,\ + \ \"submitted\"\n means any form of electronic, verbal, or written communication\ + \ sent\n to the Licensor or its representatives, including but not limited to\n \ + \ communication on electronic mailing lists, source code control systems,\n and\ + \ issue tracking systems that are managed by, or on behalf of, the\n Licensor for\ + \ the purpose of discussing and improving the Work, but\n excluding communication\ + \ that is conspicuously marked or otherwise\n designated in writing by the copyright\ + \ owner as \"Not a Contribution.\"\n \n \"Contributor\" shall mean Licensor and any\ + \ individual or Legal Entity\n on behalf of whom a Contribution has been received\ + \ by Licensor and\n subsequently incorporated within the Work.\n \n 2. Grant of\ + \ Copyright License. Subject to the terms and conditions of\n this License, each\ + \ Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge,\ + \ royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative\ + \ Works of,\n publicly display, publicly perform, sublicense, and distribute the\n\ + \ Work and such Derivative Works in Source or Object form.\n \n 3. Grant of Patent\ + \ License. Subject to the terms and conditions of\n this License, each Contributor\ + \ hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free,\ + \ irrevocable\n (except as stated in this section) patent license to make, have made,\n\ + \ use, offer to sell, sell, import, and otherwise transfer the Work,\n where\ + \ such license applies only to those patent claims licensable\n by such Contributor\ + \ that are necessarily infringed by their\n Contribution(s) alone or by combination\ + \ of their Contribution(s)\n with the Work to which such Contribution(s) was submitted.\ + \ If You\n institute patent litigation against any entity (including a\n cross-claim\ + \ or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated\ + \ within the Work constitutes direct\n or contributory patent infringement, then\ + \ any patent licenses\n granted to You under this License for that Work shall terminate\n\ + \ as of the date such litigation is filed.\n \n 4. Redistribution. You may reproduce\ + \ and distribute copies of the\n Work or Derivative Works thereof in any medium,\ + \ with or without\n modifications, and in Source or Object form, provided that You\n\ + \ meet the following conditions:\n \n (a) You must give any other recipients\ + \ of the Work or\n Derivative Works a copy of this License; and\n \n (b)\ + \ You must cause any modified files to carry prominent notices\n stating that\ + \ You changed the files; and\n \n (c) You must retain, in the Source form of any\ + \ Derivative Works\n that You distribute, all copyright, patent, trademark, and\n\ + \ attribution notices from the Source form of the Work,\n excluding\ + \ those notices that do not pertain to any part of\n the Derivative Works; and\n\ + \ \n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution,\ + \ then any Derivative Works that You distribute must\n include a readable copy\ + \ of the attribution notices contained\n within such NOTICE file, excluding those\ + \ notices that do not\n pertain to any part of the Derivative Works, in at least\ + \ one\n of the following places: within a NOTICE text file distributed\n \ + \ as part of the Derivative Works; within the Source form or\n documentation,\ + \ if provided along with the Derivative Works; or,\n within a display generated\ + \ by the Derivative Works, if and\n wherever such third-party notices normally\ + \ appear. The contents\n of the NOTICE file are for informational purposes only\ + \ and\n do not modify the License. You may add Your own attribution\n \ + \ notices within Derivative Works that You distribute, alongside\n or as an\ + \ addendum to the NOTICE text from the Work, provided\n that such additional\ + \ attribution notices cannot be construed\n as modifying the License.\n \n \ + \ You may add Your own copyright statement to Your modifications and\n may provide\ + \ additional or different license terms and conditions\n for use, reproduction, or\ + \ distribution of Your modifications, or\n for any such Derivative Works as a whole,\ + \ provided Your use,\n reproduction, and distribution of the Work otherwise complies\ + \ with\n the conditions stated in this License.\n \n 5. Submission of Contributions.\ + \ Unless You explicitly state otherwise,\n any Contribution intentionally submitted\ + \ for inclusion in the Work\n by You to the Licensor shall be under the terms and\ + \ conditions of\n this License, without any additional terms or conditions.\n \ + \ Notwithstanding the above, nothing herein shall supersede or modify\n the terms\ + \ of any separate license agreement you may have executed\n with Licensor regarding\ + \ such Contributions.\n \n 6. Trademarks. This License does not grant permission to\ + \ use the trade\n names, trademarks, service marks, or product names of the Licensor,\n\ + \ except as required for reasonable and customary use in describing the\n origin\ + \ of the Work and reproducing the content of the NOTICE file.\n \n 7. Disclaimer of\ + \ Warranty. Unless required by applicable law or\n agreed to in writing, Licensor\ + \ provides the Work (and each\n Contributor provides its Contributions) on an \"\ + AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n\ + \ implied, including, without limitation, any warranties or conditions\n of\ + \ TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE.\ + \ You are solely responsible for determining the\n appropriateness of using or redistributing\ + \ the Work and assume any\n risks associated with Your exercise of permissions under\ + \ this License.\n \n 8. Limitation of Liability. In no event and under no legal theory,\n\ + \ whether in tort (including negligence), contract, or otherwise,\n unless required\ + \ by applicable law (such as deliberate and grossly\n negligent acts) or agreed to\ + \ in writing, shall any Contributor be\n liable to You for damages, including any\ + \ direct, indirect, special,\n incidental, or consequential damages of any character\ + \ arising as a\n result of this License or out of the use or inability to use the\n\ + \ Work (including but not limited to damages for loss of goodwill,\n work stoppage,\ + \ computer failure or malfunction, or any and all\n other commercial damages or losses),\ + \ even if such Contributor\n has been advised of the possibility of such damages.\n\ + \ \n 9. Accepting Warranty or Additional Liability. While redistributing\n the\ + \ Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for,\ + \ acceptance of support, warranty, indemnity,\n or other liability obligations and/or\ + \ rights consistent with this\n License. However, in accepting such obligations,\ + \ You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n\ + \ of any other Contributor, and only if You agree to indemnify,\n defend, and\ + \ hold each Contributor harmless for any liability\n incurred by, or claims asserted\ + \ against, such Contributor by reason\n of your accepting any such warranty or additional\ + \ liability.\n \n END OF TERMS AND CONDITIONS\n \n APPENDIX: How to apply the Apache\ + \ License to your work.\n \n To apply the Apache License to your work, attach the\ + \ following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n \ + \ replaced with your own identifying information. (Don't include\n the brackets!)\ + \ The text should be enclosed in the appropriate\n comment syntax for the file format.\ + \ We also recommend that a\n file or class name and description of purpose be included\ + \ on the\n same \"printed page\" as the copyright notice for easier\n identification\ + \ within third-party archives.\n \n Copyright [yyyy] [name of copyright owner]\n \n\ + \ Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not\ + \ use this file except in compliance with the License.\n You may obtain a copy of the\ + \ License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required\ + \ by applicable law or agreed to in writing, software\n distributed under the License\ + \ is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\ + \ either express or implied.\n See the License for the specific language governing permissions\ + \ and\n limitations under the License." + scancode_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE + licensedb_url: https://scancode-licensedb.aboutcode.org/apache-2.0 + spdx_url: https://spdx.org/licenses/Apache-2.0 + - key: cddl-1.0 + language: en + short_name: CDDL 1.0 + name: Common Development and Distribution License 1.0 + category: Copyleft Limited + owner: Oracle Corporation + homepage_url: http://www.sun.com/cddl/ + notes: | + Per SPDX.org, this license was released 24 January 2004. This license is + OSI certified. + is_builtin: yes + is_exception: no + is_unknown: no + is_generic: no + spdx_license_key: CDDL-1.0 + other_spdx_license_keys: [] + osi_license_key: CDDL-1.0 + text_urls: + - http://www.opensolaris.org/os/licensing/cddllicense.txt + - http://www.sun.com/cddl/cddl.html + osi_url: http://www.opensource.org/licenses/cddl1.txt + faq_url: http://www.opensolaris.org/os/about/faq/licensing_faq/ + other_urls: + - http://www.gnu.org/licenses/license-list.html#CDDL + - http://www.opensource.org/licenses/cddl1 + - http://www.oracle.com/us/sun/index.html + - https://glassfish.dev.java.net/public/CDDLv1.0.html + - https://opensource.org/licenses/cddl1 + key_aliases: [] + minimum_coverage: '0' + standard_notice: + ignorable_copyrights: [] + ignorable_holders: [] + ignorable_authors: [] + ignorable_urls: [] + ignorable_emails: [] + text: "COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 \n\n1. Definitions.\n\ + \n1.1. Contributor means each individual or entity that creates or contributes to the\ + \ creation of Modifications.\n\n1.2. Contributor Version means the combination of the\ + \ Original Software, prior Modifications used by a Contributor (if any), and the Modifications\ + \ made by that particular Contributor.\n\n1.3. Covered Software means (a) the Original\ + \ Software, or (b) Modifications, or (c) the combination of files containing Original\ + \ Software with files containing Modifications, in each case including portions thereof.\n\ + \n1.4. Executable means the Covered Software in any form other than Source Code.\n\n1.5.\ + \ Initial Developer means the individual or entity that first makes Original Software\ + \ available under this License.\n\n1.6. Larger Work means a work which combines Covered\ + \ Software or portions thereof with code not governed by the terms of this License.\n\n\ + 1.7. License means this document.\n\n1.8. Licensable means having the right to grant,\ + \ to the maximum extent possible, whether at the time of the initial grant or subsequently\ + \ acquired, any and all of the rights conveyed herein.\n\n1.9. Modifications means the\ + \ Source Code and Executable form of any of the following: A. Any file that results from\ + \ an addition to, deletion from or modification of the contents of a file containing Original\ + \ Software or previous Modifications; B. Any new file that contains any part of the Original\ + \ Software or previous Modification; or C. Any new file that is contributed or otherwise\ + \ made available under the terms of this License.\n\n1.10. Original Software means the\ + \ Source Code and Executable form of computer software code that is originally released\ + \ under this License.\n\n1.11. Patent Claims means any patent claim(s), now owned or hereafter\ + \ acquired, including without limitation, method, process, and apparatus claims, in any\ + \ patent Licensable by grantor.\n\n1.12. Source Code means (a) the common form of computer\ + \ software code in which modifications are made and (b) associated documentation included\ + \ in or with such code.\n\n1.13. You (or Your) means an individual or a legal entity exercising\ + \ rights under, and complying with all of the terms of, this License. For legal entities,\ + \ You includes any entity which controls, is controlled by, or is under common control\ + \ with You. For purposes of this definition, control means (a) the power, direct or indirect,\ + \ to cause the direction or management of such entity, whether by contract or otherwise,\ + \ or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial\ + \ ownership of such entity.\n\n2. License Grants.\n\n 2.1. The Initial Developer Grant.\ + \ Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual\ + \ property claims, the Initial Developer hereby grants You a world-wide, royalty-free,\ + \ non-exclusive license:\n\n(a) under intellectual property rights (other than patent\ + \ or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform,\ + \ sublicense and distribute the Original Software (or portions thereof), with or without\ + \ Modifications, and/or as part of a Larger Work; and\n\n(b) under Patent Claims infringed\ + \ by the making, using or selling of Original Software, to make, have made, use, practice,\ + \ sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions\ + \ thereof);\n\n (c) The licenses granted in Sections 2.1(a) and (b) are effective on the\ + \ date Initial Developer first distributes or otherwise makes the Original Software available\ + \ to a third party under the terms of this License;\n\n (d) Notwithstanding Section 2.1(b)\ + \ above, no patent license is granted: (1) for code that You delete from the Original\ + \ Software, or (2) for infringements caused by: (i) the modification of the Original Software,\ + \ or (ii) the combination of the Original Software with other software or devices.\n\n\ + 2.2. Contributor Grant. Conditioned upon Your compliance with Section 3.1 below and subject\ + \ to third party intellectual property claims, each Contributor hereby grants You a world-wide,\ + \ royalty-free, non-exclusive license:\n\n(a) under intellectual property rights (other\ + \ than patent or trademark) Licensable by Contributor to use, reproduce, modify, display,\ + \ perform, sublicense and distribute the Modifications created by such Contributor (or\ + \ portions thereof), either on an unmodified basis, with other Modifications, as Covered\ + \ Software and/or as part of a Larger Work; and\n\n(b) under Patent Claims infringed by\ + \ the making, using, or selling of Modifications made by that Contributor either alone\ + \ and/or in combination with its Contributor Version (or portions of such combination),\ + \ to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1) Modifications\ + \ made by that Contributor (or portions thereof); and (2) the combination of Modifications\ + \ made by that Contributor with its Contributor Version (or portions of such combination).\n\ + \n(c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor\ + \ first distributes or otherwise makes the Modifications available to a third party.\n\ + \n(d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for any\ + \ code that Contributor has deleted from the Contributor Version; (2) for infringements\ + \ caused by: (i) third party modifications of Contributor Version, or (ii) the combination\ + \ of Modifications made by that Contributor with other software (except as part of the\ + \ Contributor Version) or other devices; or (3) under Patent Claims infringed by Covered\ + \ Software in the absence of Modifications made by that Contributor.\n\n3. Distribution\ + \ Obligations.\n\n3.1. Availability of Source Code. Any Covered Software that You distribute\ + \ or otherwise make available in Executable form must also be made available in Source\ + \ Code form and that Source Code form must be distributed only under the terms of this\ + \ License. You must include a copy of this License with every copy of the Source Code\ + \ form of the Covered Software You distribute or otherwise make available. You must inform\ + \ recipients of any such Covered Software in Executable form as to how they can obtain\ + \ such Covered Software in Source Code form in a reasonable manner on or through a medium\ + \ customarily used for software exchange.\n\n3.2. Modifications. The Modifications that\ + \ You create or to which You contribute are governed by the terms of this License. You\ + \ represent that You believe Your Modifications are Your original creation(s) and/or You\ + \ have sufficient rights to grant the rights conveyed by this License.\n\n3.3. Required\ + \ Notices. You must include a notice in each of Your Modifications that identifies You\ + \ as the Contributor of the Modification. You may not remove or alter any copyright, patent\ + \ or trademark notices contained within the Covered Software, or any notices of licensing\ + \ or any descriptive text giving attribution to any Contributor or the Initial Developer.\n\ + \n3.4. Application of Additional Terms. You may not offer or impose any terms on any Covered\ + \ Software in Source Code form that alters or restricts the applicable version of this\ + \ License or the recipients rights hereunder. You may choose to offer, and to charge a\ + \ fee for, warranty, support, indemnity or liability obligations to one or more recipients\ + \ of Covered Software. However, you may do so only on Your own behalf, and not on behalf\ + \ of the Initial Developer or any Contributor. You must make it absolutely clear that\ + \ any such warranty, support, indemnity or liability obligation is offered by You alone,\ + \ and You hereby agree to indemnify the Initial Developer and every Contributor for any\ + \ liability incurred by the Initial Developer or such Contributor as a result of warranty,\ + \ support, indemnity or liability terms You offer.\n\n3.5. Distribution of Executable\ + \ Versions. You may distribute the Executable form of the Covered Software under the terms\ + \ of this License or under the terms of a license of Your choice, which may contain terms\ + \ different from this License, provided that You are in compliance with the terms of this\ + \ License and that the license for the Executable form does not attempt to limit or alter\ + \ the recipients rights in the Source Code form from the rights set forth in this License.\ + \ If You distribute the Covered Software in Executable form under a different license,\ + \ You must make it absolutely clear that any terms which differ from this License are\ + \ offered by You alone, not by the Initial Developer or Contributor. You hereby agree\ + \ to indemnify the Initial Developer and every Contributor for any liability incurred\ + \ by the Initial Developer or such Contributor as a result of any such terms You offer.\n\ + \n3.6. Larger Works. You may create a Larger Work by combining Covered Software with other\ + \ code not governed by the terms of this License and distribute the Larger Work as a single\ + \ product. In such a case, You must make sure the requirements of this License are fulfilled\ + \ for the Covered Software.\n\n4. Versions of the License.\n\n4.1. New Versions. Sun Microsystems,\ + \ Inc. is the initial license steward and may publish revised and/or new versions of this\ + \ License from time to time. Each version will be given a distinguishing version number.\ + \ Except as provided in Section 4.3, no one other than the license steward has the right\ + \ to modify this License.\n\n4.2. Effect of New Versions. You may always continue to use,\ + \ distribute or otherwise make the Covered Software available under the terms of the version\ + \ of the License under which You originally received the Covered Software. If the Initial\ + \ Developer includes a notice in the Original Software prohibiting it from being distributed\ + \ or otherwise made available under any subsequent version of the License, You must distribute\ + \ and make the Covered Software available under the terms of the version of the License\ + \ under which You originally received the Covered Software. Otherwise, You may also choose\ + \ to use, distribute or otherwise make the Covered Software available under the terms\ + \ of any subsequent version of the License published by the license steward.\n\n4.3. Modified\ + \ Versions. When You are an Initial Developer and You want to create a new license for\ + \ Your Original Software, You may create and use a modified version of this License if\ + \ You: (a) rename the license and remove any references to the name of the license steward\ + \ (except to note that the license differs from this License); and (b) otherwise make\ + \ it clear that the license contains terms which differ from this License.\n\n5. DISCLAIMER\ + \ OF WARRANTY. COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN AS IS BASIS, WITHOUT\ + \ WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES\ + \ THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE\ + \ OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED\ + \ SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU\ + \ (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY\ + \ SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL\ + \ PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT\ + \ UNDER THIS DISCLAIMER.\n\n6. TERMINATION.\n\n6.1. This License and the rights granted\ + \ hereunder will terminate automatically if You fail to comply with terms herein and fail\ + \ to cure such breach within 30 days of becoming aware of the breach. Provisions which,\ + \ by their nature, must remain in effect beyond the termination of this License shall\ + \ survive.\n\n6.2. If You assert a patent infringement claim (excluding declaratory judgment\ + \ actions) against Initial Developer or a Contributor (the Initial Developer or Contributor\ + \ against whom You assert such claim is referred to as Participant) alleging that the\ + \ Participant Software (meaning the Contributor Version where the Participant is a Contributor\ + \ or the Original Software where the Participant is the Initial Developer) directly or\ + \ indirectly infringes any patent, then any and all rights granted directly or indirectly\ + \ to You by such Participant, the Initial Developer (if the Initial Developer is not the\ + \ Participant) and all Contributors under Sections 2.1 and/or 2.2 of this License shall,\ + \ upon 60 days notice from Participant terminate prospectively and automatically at the\ + \ expiration of such 60 day notice period, unless if within such 60 day period You withdraw\ + \ Your claim with respect to the Participant Software against such Participant either\ + \ unilaterally or pursuant to a written agreement with Participant.\n\n6.3. In the event\ + \ of termination under Sections 6.1 or 6.2 above, all end user licenses that have been\ + \ validly granted by You or any distributor hereunder prior to termination (excluding\ + \ licenses granted to You by any distributor) shall survive termination.\n\n7. LIMITATION\ + \ OF LIABILITY. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING\ + \ NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR,\ + \ OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE\ + \ TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY\ + \ CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL,\ + \ WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES\ + \ OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES.\ + \ THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY\ + \ RESULTING FROM SUCH PARTYS NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION.\ + \ SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL\ + \ DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.\n\n8. U.S. GOVERNMENT\ + \ END USERS. The Covered Software is a commercial item, as that term is defined in 48\ + \ C.F.R. 2.101 (Oct. 1995), consisting of commercial computer software (as that term is\ + \ defined at 48 C.F.R. 252.227-7014(a)(1)) and commercial computer software documentation\ + \ as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212\ + \ and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users\ + \ acquire Covered Software with only those rights set forth herein. This U.S. Government\ + \ Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or\ + \ provision that addresses Government rights in computer software under this License.\n\ + \n9. MISCELLANEOUS. This License represents the complete agreement concerning subject\ + \ matter hereof. If any provision of this License is held to be unenforceable, such provision\ + \ shall be reformed only to the extent necessary to make it enforceable. This License\ + \ shall be governed by the law of the jurisdiction specified in a notice contained within\ + \ the Original Software (except to the extent applicable law, if any, provides otherwise),\ + \ excluding such jurisdictions conflict-of-law provisions. Any litigation relating to\ + \ this License shall be subject to the jurisdiction of the courts located in the jurisdiction\ + \ and venue specified in a notice contained within the Original Software, with the losing\ + \ party responsible for costs, including, without limitation, court costs and reasonable\ + \ attorneys fees and expenses. The application of the United Nations Convention on Contracts\ + \ for the International Sale of Goods is expressly excluded. Any law or regulation which\ + \ provides that the language of a contract shall be construed against the drafter shall\ + \ not apply to this License. You agree that You alone are responsible for compliance with\ + \ the United States export administration regulations (and the export control laws and\ + \ regulation of any other countries) when You use, distribute or otherwise make available\ + \ any Covered Software.\n\n10. RESPONSIBILITY FOR CLAIMS. As between Initial Developer\ + \ and the Contributors, each party is responsible for claims and damages arising, directly\ + \ or indirectly, out of its utilization of rights under this License and You agree to\ + \ work with Initial Developer and Contributors to distribute such responsibility on an\ + \ equitable basis. Nothing herein is intended or shall be deemed to constitute any admission\ + \ of liability.\n\nNOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION\ + \ LICENSE (CDDL) The code released under the CDDL shall be governed by the laws of the\ + \ State of California (excluding conflict-of-law provisions). Any litigation relating\ + \ to this License shall be subject to the jurisdiction of the Federal Courts of the Northern\ + \ District of California and the state courts of the State of California, with venue lying\ + \ in Santa Clara County, California." + scancode_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cddl-1.0.LICENSE + licensedb_url: https://scancode-licensedb.aboutcode.org/cddl-1.0 + spdx_url: https://spdx.org/licenses/CDDL-1.0 + - key: lgpl-3.0 + language: en + short_name: LGPL 3.0 + name: GNU Lesser General Public License 3.0 + category: Copyleft Limited + owner: Free Software Foundation (FSF) + homepage_url: http://www.gnu.org/licenses/lgpl-3.0.html + notes: | + Per SPDX.org, this license was released 29 June 2007. This license is OSI + Certified. + is_builtin: yes + is_exception: no + is_unknown: no + is_generic: no + spdx_license_key: LGPL-3.0-only + other_spdx_license_keys: + - LGPL-3.0 + osi_license_key: LGPL-3.0 + text_urls: + - http://www.gnu.org/licenses/lgpl-3.0-standalone.html + - http://www.gnu.org/licenses/lgpl-3.0.txt + osi_url: http://www.opensource.org/licenses/lgpl-3.0.html + faq_url: + other_urls: + - http://www.gnu.org/copyleft/lesser.html + - http://www.gnu.org/licenses/why-not-lgpl.html + - http://www.opensource.org/licenses/LGPL-3.0 + - https://opensource.org/licenses/LGPL-3.0 + - https://www.gnu.org/licenses/lgpl+gpl-3.0.txt + - https://www.gnu.org/licenses/lgpl-3.0-standalone.html + key_aliases: [] + minimum_coverage: '0' + standard_notice: + ignorable_copyrights: + - Copyright (c) 2007 Free Software Foundation, Inc. + ignorable_holders: + - Free Software Foundation, Inc. + ignorable_authors: [] + ignorable_urls: + - https://fsf.org/ + ignorable_emails: [] + text: " GNU LESSER GENERAL PUBLIC LICENSE\n Version\ + \ 3, 29 June 2007\n \n Copyright (C) 2007 Free Software Foundation, Inc. \n\ + \ Everyone is permitted to copy and distribute verbatim copies\n of this license document,\ + \ but changing it is not allowed.\n \n\n This version of the GNU Lesser General Public\ + \ License incorporates\nthe terms and conditions of version 3 of the GNU General Public\n\ + License, supplemented by the additional permissions listed below.\n \n 0. Additional\ + \ Definitions.\n \n As used herein, \"this License\" refers to version 3 of the GNU Lesser\n\ + General Public License, and the \"GNU GPL\" refers to version 3 of the GNU\nGeneral Public\ + \ License.\n \n \"The Library\" refers to a covered work governed by this License,\n\ + other than an Application or a Combined Work as defined below.\n \n An \"Application\"\ + \ is any work that makes use of an interface provided\nby the Library, but which is not\ + \ otherwise based on the Library.\nDefining a subclass of a class defined by the Library\ + \ is deemed a mode\nof using an interface provided by the Library.\n \n A \"Combined\ + \ Work\" is a work produced by combining or linking an\nApplication with the Library.\ + \ The particular version of the Library\nwith which the Combined Work was made is also\ + \ called the \"Linked\nVersion\".\n \n The \"Minimal Corresponding Source\" for a Combined\ + \ Work means the\nCorresponding Source for the Combined Work, excluding any source code\n\ + for portions of the Combined Work that, considered in isolation, are\nbased on the Application,\ + \ and not on the Linked Version.\n \n The \"Corresponding Application Code\" for a Combined\ + \ Work means the\nobject code and/or source code for the Application, including any data\n\ + and utility programs needed for reproducing the Combined Work from the\nApplication, but\ + \ excluding the System Libraries of the Combined Work.\n \n 1. Exception to Section 3\ + \ of the GNU GPL.\n \n You may convey a covered work under sections 3 and 4 of this License\n\ + without being bound by section 3 of the GNU GPL.\n \n 2. Conveying Modified Versions.\n\ + \ \n If you modify a copy of the Library, and, in your modifications, a\nfacility refers\ + \ to a function or data to be supplied by an Application\nthat uses the facility (other\ + \ than as an argument passed when the\nfacility is invoked), then you may convey a copy\ + \ of the modified\nversion:\n \n a) under this License, provided that you make a good\ + \ faith effort to\n ensure that, in the event an Application does not supply the\n \ + \ function or data, the facility still operates, and performs\n whatever part of its\ + \ purpose remains meaningful, or\n \n b) under the GNU GPL, with none of the additional\ + \ permissions of\n this License applicable to that copy.\n \n 3. Object Code Incorporating\ + \ Material from Library Header Files.\n \n The object code form of an Application may\ + \ incorporate material from\na header file that is part of the Library. You may convey\ + \ such object\ncode under terms of your choice, provided that, if the incorporated\nmaterial\ + \ is not limited to numerical parameters, data structure\nlayouts and accessors, or small\ + \ macros, inline functions and templates\n(ten or fewer lines in length), you do both\ + \ of the following:\n \n a) Give prominent notice with each copy of the object code\ + \ that the\n Library is used in it and that the Library and its use are\n covered\ + \ by this License.\n \n b) Accompany the object code with a copy of the GNU GPL and\ + \ this license\n document.\n \n 4. Combined Works.\n \n You may convey a Combined\ + \ Work under terms of your choice that,\ntaken together, effectively do not restrict modification\ + \ of the\nportions of the Library contained in the Combined Work and reverse\nengineering\ + \ for debugging such modifications, if you also do each of\nthe following:\n \n a) Give\ + \ prominent notice with each copy of the Combined Work that\n the Library is used in\ + \ it and that the Library and its use are\n covered by this License.\n \n b) Accompany\ + \ the Combined Work with a copy of the GNU GPL and this license\n document.\n \n c)\ + \ For a Combined Work that displays copyright notices during\n execution, include the\ + \ copyright notice for the Library among\n these notices, as well as a reference directing\ + \ the user to the\n copies of the GNU GPL and this license document.\n \n d) Do one\ + \ of the following:\n \n 0) Convey the Minimal Corresponding Source under the terms\ + \ of this\n License, and the Corresponding Application Code in a form\n suitable\ + \ for, and under terms that permit, the user to\n recombine or relink the Application\ + \ with a modified version of\n the Linked Version to produce a modified Combined\ + \ Work, in the\n manner specified by section 6 of the GNU GPL for conveying\n \ + \ Corresponding Source.\n \n 1) Use a suitable shared library mechanism for\ + \ linking with the\n Library. A suitable mechanism is one that (a) uses at run\ + \ time\n a copy of the Library already present on the user's computer\n system,\ + \ and (b) will operate properly with a modified version\n of the Library that is\ + \ interface-compatible with the Linked\n Version.\n \n e) Provide Installation\ + \ Information, but only if you would otherwise\n be required to provide such information\ + \ under section 6 of the\n GNU GPL, and only to the extent that such information is\n\ + \ necessary to install and execute a modified version of the\n Combined Work produced\ + \ by recombining or relinking the\n Application with a modified version of the Linked\ + \ Version. (If\n you use option 4d0, the Installation Information must accompany\n \ + \ the Minimal Corresponding Source and Corresponding Application\n Code. If you use\ + \ option 4d1, you must provide the Installation\n Information in the manner specified\ + \ by section 6 of the GNU GPL\n for conveying Corresponding Source.)\n \n 5. Combined\ + \ Libraries.\n \n You may place library facilities that are a work based on the\nLibrary\ + \ side by side in a single library together with other library\nfacilities that are not\ + \ Applications and are not covered by this\nLicense, and convey such a combined library\ + \ under terms of your\nchoice, if you do both of the following:\n \n a) Accompany the\ + \ combined library with a copy of the same work based\n on the Library, uncombined with\ + \ any other library facilities,\n conveyed under the terms of this License.\n \n b)\ + \ Give prominent notice with the combined library that part of it\n is a work based\ + \ on the Library, and explaining where to find the\n accompanying uncombined form of\ + \ the same work.\n \n 6. Revised Versions of the GNU Lesser General Public License.\n\ + \ \n The Free Software Foundation may publish revised and/or new versions\nof the GNU\ + \ Lesser General Public License from time to time. Such new\nversions will be similar\ + \ in spirit to the present version, but may\ndiffer in detail to address new problems\ + \ or concerns.\n \n Each version is given a distinguishing version number. If the\nLibrary\ + \ as you received it specifies that a certain numbered version\nof the GNU Lesser General\ + \ Public License \"or any later version\"\napplies to it, you have the option of following\ + \ the terms and\nconditions either of that published version or of any later version\n\ + published by the Free Software Foundation. If the Library as you\nreceived it does not\ + \ specify a version number of the GNU Lesser\nGeneral Public License, you may choose any\ + \ version of the GNU Lesser\nGeneral Public License ever published by the Free Software\ + \ Foundation.\n \n If the Library as you received it specifies that a proxy can decide\n\ + whether future versions of the GNU Lesser General Public License shall\napply, that proxy's\ + \ public statement of acceptance of any version is\npermanent authorization for you to\ + \ choose that version for the\nLibrary." + scancode_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE + licensedb_url: https://scancode-licensedb.aboutcode.org/lgpl-3.0 + spdx_url: https://spdx.org/licenses/LGPL-3.0-only + - key: mit + language: en + short_name: MIT License + name: MIT License + category: Permissive + owner: MIT + homepage_url: http://opensource.org/licenses/mit-license.php + notes: Per SPDX.org, this license is OSI certified. + is_builtin: yes + is_exception: no + is_unknown: no + is_generic: no + spdx_license_key: MIT + other_spdx_license_keys: [] + osi_license_key: + text_urls: + - http://opensource.org/licenses/mit-license.php + osi_url: http://www.opensource.org/licenses/MIT + faq_url: https://ieeexplore.ieee.org/document/9263265 + other_urls: + - https://opensource.com/article/18/3/patent-grant-mit-license + - https://opensource.com/article/19/4/history-mit-license + - https://opensource.org/licenses/MIT + key_aliases: [] + minimum_coverage: '0' + standard_notice: + ignorable_copyrights: [] + ignorable_holders: [] + ignorable_authors: [] + ignorable_urls: [] + ignorable_emails: [] + text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + scancode_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE + licensedb_url: https://scancode-licensedb.aboutcode.org/mit + spdx_url: https://spdx.org/licenses/MIT +license_rule_references: + - license_expression: apache-2.0 + identifier: apache-2.0_65.RULE + language: en + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + is_continuous: no + is_builtin: yes + is_from_license: no + is_synthetic: no + length: 4 + relevance: 100 + minimum_coverage: 80 + referenced_filenames: [] + notes: + ignorable_copyrights: [] + ignorable_holders: [] + ignorable_authors: [] + ignorable_urls: [] + ignorable_emails: [] + text: 'license: Apache-2.0' + - license_expression: cddl-1.0 + identifier: cddl-1.0.RULE + language: en + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0.RULE + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + is_continuous: no + is_builtin: yes + is_from_license: no + is_synthetic: no + length: 8 + relevance: 100 + minimum_coverage: 80 + referenced_filenames: [] + notes: + ignorable_copyrights: [] + ignorable_holders: [] + ignorable_authors: [] + ignorable_urls: [] + ignorable_emails: [] + text: Common Development and Distribution License (CDDL) v1.0 + - license_expression: cddl-1.0 + identifier: cddl-1.0_32.RULE + language: en + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0_32.RULE + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + is_continuous: no + is_builtin: yes + is_from_license: no + is_synthetic: no + length: 17 + relevance: 100 + minimum_coverage: 50 + referenced_filenames: [] + notes: + ignorable_copyrights: [] + ignorable_holders: [] + ignorable_authors: [] + ignorable_urls: + - http://www.sun.com/cddl/cddl.html + ignorable_emails: [] + text: 'License: COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL Version 1.0 (http://www.sun.com/cddl/cddl.html' + - license_expression: cddl-1.0 + identifier: cddl-1.0_4.RULE + language: en + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0_4.RULE + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + is_continuous: no + is_builtin: yes + is_from_license: no + is_synthetic: no + length: 7 + relevance: 100 + minimum_coverage: 100 + referenced_filenames: [] + notes: + ignorable_copyrights: [] + ignorable_holders: [] + ignorable_authors: [] + ignorable_urls: + - http://www.sun.com/cddl/cddl.html + ignorable_emails: [] + text: http://www.sun.com/cddl/cddl.html + - license_expression: lgpl-3.0 + identifier: lgpl-3.0_152.RULE + language: en + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_152.RULE + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + is_continuous: no + is_builtin: yes + is_from_license: no + is_synthetic: no + length: 2 + relevance: 100 + minimum_coverage: 100 + referenced_filenames: [] + notes: + ignorable_copyrights: [] + ignorable_holders: [] + ignorable_authors: [] + ignorable_urls: [] + ignorable_emails: [] + text: license='LGPLv3', + - license_expression: lgpl-3.0 + identifier: lgpl-3.0_276.RULE + language: en + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_276.RULE + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + is_continuous: no + is_builtin: yes + is_from_license: no + is_synthetic: no + length: 106 + relevance: 100 + minimum_coverage: '0' + referenced_filenames: [] + notes: + ignorable_copyrights: [] + ignorable_holders: [] + ignorable_authors: [] + ignorable_urls: [] + ignorable_emails: [] + text: | + This library is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License version 3.0 as published + by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + details. + + You should have received a copy of the GNU Lesser General Public License + along with this library; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - license_expression: mit + identifier: mit_30.RULE + language: en + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + is_continuous: no + is_builtin: yes + is_from_license: no + is_synthetic: no + length: 2 + relevance: 100 + minimum_coverage: 100 + referenced_filenames: [] + notes: + ignorable_copyrights: [] + ignorable_holders: [] + ignorable_authors: [] + ignorable_urls: [] + ignorable_emails: [] + text: 'License: MIT' + - license_expression: lgpl-3.0 + identifier: pypi_gnu_lesser_general_public_license_v3.RULE + language: en + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_gnu_lesser_general_public_license_v3.RULE + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + is_continuous: no + is_builtin: yes + is_from_license: no + is_synthetic: no + length: 10 + relevance: 100 + minimum_coverage: 50 + referenced_filenames: [] + notes: + ignorable_copyrights: [] + ignorable_holders: [] + ignorable_authors: [] + ignorable_urls: [] + ignorable_emails: [] + text: 'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)' + - license_expression: mit + identifier: spdx-license-identifier-mit-5da48780aba670b0860c46d899ed42a0f243ff06 + language: en + rule_url: + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + is_continuous: no + is_builtin: yes + is_from_license: no + is_synthetic: yes + length: 1 + relevance: 100 + minimum_coverage: '0' + referenced_filenames: [] + notes: + ignorable_copyrights: [] + ignorable_holders: [] + ignorable_authors: [] + ignorable_urls: [] + ignorable_emails: [] + text: MIT + - license_expression: apache-2.0 + identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + language: en + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + is_continuous: no + is_builtin: yes + is_from_license: no + is_synthetic: no + length: 3 + relevance: 100 + minimum_coverage: 100 + referenced_filenames: [] + notes: Used to detect a bare SPDX license id + ignorable_copyrights: [] + ignorable_holders: [] + ignorable_authors: [] + ignorable_urls: [] + ignorable_emails: [] + text: apache-2.0 +files: + - path: manifests + type: directory + name: manifests + base_name: manifests + extension: + size: '0' + sha1: + md5: + sha256: + mime_type: + file_type: + programming_language: + is_binary: no + is_text: no + is_archive: no + is_media: no + is_source: no + is_script: no + package_data: [] + for_packages: [] + is_legal: no + is_manifest: no + is_readme: no + is_top_level: yes + is_key_file: no + detected_license_expression: + detected_license_expression_spdx: + license_detections: [] + license_clues: [] + percentage_of_license_text: '0' + copyrights: [] + holders: [] + authors: [] + emails: [] + urls: [] + files_count: 4 + dirs_count: 4 + size_count: 6962 + scan_errors: [] + - path: manifests/maven + type: directory + name: maven + base_name: maven + extension: + size: '0' + sha1: + md5: + sha256: + mime_type: + file_type: + programming_language: + is_binary: no + is_text: no + is_archive: no + is_media: no + is_source: no + is_script: no + package_data: [] + for_packages: + - pkg:maven/javax.persistence/persistence-api@1.0?uuid=fixed-uid-done-for-testing-5642512d1758 + is_legal: no + is_manifest: no + is_readme: no + is_top_level: yes + is_key_file: no + detected_license_expression: + detected_license_expression_spdx: + license_detections: [] + license_clues: [] + percentage_of_license_text: '0' + copyrights: [] + holders: [] + authors: [] + emails: [] + urls: [] + files_count: 1 + dirs_count: '0' + size_count: 1307 + scan_errors: [] + - path: manifests/maven/persistence-api-1.0.pom + type: file + name: persistence-api-1.0.pom + base_name: persistence-api-1.0 + extension: .pom + size: 1307 + sha1: 82107f6781df8da9aa7cb60abc649208256af5cb + md5: e79938fe4e630b02e3526c0195292cc6 + sha256: f94648bd92ddf2464e62c56c3833b36927fa8b9803e8ebf3e4cfa7f2d797f3ad + mime_type: text/xml + file_type: XML 1.0 document, ASCII text + programming_language: + is_binary: no + is_text: yes + is_archive: no + is_media: no + is_source: no + is_script: no + package_data: + - type: maven + namespace: javax.persistence + name: persistence-api + version: '1.0' + qualifiers: {} + subpath: + primary_language: Java + description: | + Enterprise JavaBeans (EJB) 3.0 + The Enterprise JavaBeans architecture is a component architecture for the development and deployment of component-based business applications. + The purpose of Enterprise JavaBeans (EJB) 3.0 is to improve the EJB architecture by reducing its complexity from the developer's point of view. + release_date: + parties: [] + keywords: [] + homepage_url: http://www.jcp.org/en/jsr/detail?id=220 + download_url: + size: + sha1: + md5: + sha256: + sha512: + bug_tracking_url: + code_view_url: + vcs_url: + copyright: + holder: + declared_license_expression: cddl-1.0 + declared_license_expression_spdx: CDDL-1.0 + license_detections: + - license_expression: cddl-1.0 + matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matched_length: 8 + match_coverage: '100.0' + matcher: 1-hash + license_expression: cddl-1.0 + rule_identifier: cddl-1.0.RULE + rule_relevance: 100 + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0.RULE + matched_text: Common Development and Distribution License (CDDL) v1.0 + identifier: cddl_1_0-9893b55c-3b2b-4ee8-a932-6c6c93a63fc5 + - license_expression: cddl-1.0 + matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matched_length: 7 + match_coverage: '100.0' + matcher: 1-hash + license_expression: cddl-1.0 + rule_identifier: cddl-1.0_4.RULE + rule_relevance: 100 + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0_4.RULE + matched_text: http://www.sun.com/cddl/cddl.html + identifier: cddl_1_0-ef82fc8c-50cb-6f35-1814-d2eb0bc13e83 + other_license_expression: + other_license_expression_spdx: + other_license_detections: [] + extracted_license_statement: | + - name: Common Development and Distribution License (CDDL) v1.0 + url: http://www.sun.com/cddl/cddl.html + comments: + distribution: repo + notice_text: + source_packages: + - pkg:maven/javax.persistence/persistence-api@1.0?classifier=sources + file_references: [] + extra_data: {} + dependencies: [] + repository_homepage_url: https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/ + repository_download_url: https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar + api_data_url: https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/persistence-api-1.0.pom + datasource_id: maven_pom + purl: pkg:maven/javax.persistence/persistence-api@1.0 + for_packages: + - pkg:maven/javax.persistence/persistence-api@1.0?uuid=fixed-uid-done-for-testing-5642512d1758 + is_legal: no + is_manifest: no + is_readme: no + is_top_level: no + is_key_file: no + detected_license_expression: cddl-1.0 + detected_license_expression_spdx: CDDL-1.0 + license_detections: + - license_expression: cddl-1.0 + matches: + - score: '82.35' + start_line: 18 + end_line: 20 + matched_length: 14 + match_coverage: '82.35' + matcher: 3-seq + license_expression: cddl-1.0 + rule_identifier: cddl-1.0_32.RULE + rule_relevance: 100 + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cddl-1.0_32.RULE + matched_text: | + + Common Development and Distribution License (CDDL) v1.0 + http://www.sun.com/cddl/cddl.html + identifier: cddl_1_0-ce8b3a58-f284-e7dd-22b3-c4d82f97dfe3 + license_clues: [] + percentage_of_license_text: '8.09' + copyrights: [] + holders: [] + authors: [] + emails: [] + urls: + - url: http://www.jcp.org/en/jsr/detail?id=220 + start_line: 15 + end_line: 15 + - url: http://www.sun.com/cddl/cddl.html + start_line: 20 + end_line: 20 + files_count: '0' + dirs_count: '0' + size_count: '0' + scan_errors: [] + - path: manifests/npm-license-mapping + type: directory + name: npm-license-mapping + base_name: npm-license-mapping + extension: + size: '0' + sha1: + md5: + sha256: + mime_type: + file_type: + programming_language: + is_binary: no + is_text: no + is_archive: no + is_media: no + is_source: no + is_script: no + package_data: [] + for_packages: [] + is_legal: no + is_manifest: no + is_readme: no + is_top_level: yes + is_key_file: no + detected_license_expression: + detected_license_expression_spdx: + license_detections: [] + license_clues: [] + percentage_of_license_text: '0' + copyrights: [] + holders: [] + authors: [] + emails: [] + urls: [] + files_count: 1 + dirs_count: '0' + size_count: 1184 + scan_errors: [] + - path: manifests/npm-license-mapping/package.json + type: file + name: package.json + base_name: package + extension: .json + size: 1184 + sha1: 0ed61bf6912407a143ce96c95bea56ad13463f5b + md5: 427e6d3b579b128fed50328ac65b698e + sha256: d292aa647dc82e007ba319c878ec182d6f235f0a923cfe012ffc0ae8b7fa23be + mime_type: application/json + file_type: JSON data + programming_language: + is_binary: no + is_text: yes + is_archive: no + is_media: no + is_source: no + is_script: no + package_data: + - type: npm + namespace: + name: grunt-esvm + version: 3.2.8 + qualifiers: {} + subpath: + primary_language: JavaScript + description: Create elasticsearch clusters from grunt. + release_date: + parties: + - type: person + role: author + name: Spencer Alger + email: spencer.alger@elasticsearch.com + url: + keywords: + - gruntplugin + homepage_url: https://github.com/spenceralger/grunt-esvm + download_url: https://registry.npmjs.org/grunt-esvm/-/grunt-esvm-3.2.8.tgz + size: + sha1: + md5: + sha256: + sha512: + bug_tracking_url: https://github.com/spenceralger/grunt-esvm/issues + code_view_url: + vcs_url: git://github.com/spenceralger/grunt-esvm.git + copyright: + holder: + declared_license_expression: apache-2.0 + declared_license_expression_spdx: Apache-2.0 + license_detections: + - license_expression: apache-2.0 + matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matched_length: 3 + match_coverage: '100.0' + matcher: 1-hash + license_expression: apache-2.0 + rule_identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + rule_relevance: 100 + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE + matched_text: Apache-2.0 + identifier: apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8 + - license_expression: apache-2.0 + matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matched_length: 3 + match_coverage: '100.0' + matcher: 1-hash + license_expression: apache-2.0 + rule_identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + rule_relevance: 100 + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE + matched_text: Apache 2.0 + identifier: apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8 + other_license_expression: + other_license_expression_spdx: + other_license_detections: [] + extracted_license_statement: | + - Apache-2.0 + - type: Apache 2.0 + url: https://github.com/spenceralger/grunt-esvm/blob/master/LICENSE.md + notice_text: + source_packages: [] + file_references: [] + extra_data: {} + dependencies: + - purl: pkg:npm/bluebird + extracted_requirement: ^2.9.30 + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:npm/cli-color + extracted_requirement: ~0.3.2 + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:npm/cli-table + extracted_requirement: ~0.3.0 + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:npm/libesvm + extracted_requirement: ^3.8.2 + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:npm/lodash + extracted_requirement: ^3.9.3 + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:npm/moment + extracted_requirement: ^2.10.3 + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:npm/wreck + extracted_requirement: ^5.6.0 + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:npm/grunt + extracted_requirement: '>=0.4.0' + scope: devDependencies + is_runtime: no + is_optional: yes + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:npm/load-grunt-config + extracted_requirement: ~0.19.0 + scope: devDependencies + is_runtime: no + is_optional: yes + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:npm/grunt + extracted_requirement: '>=0.4.0' + scope: peerDependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + repository_homepage_url: https://www.npmjs.com/package/grunt-esvm + repository_download_url: https://registry.npmjs.org/grunt-esvm/-/grunt-esvm-3.2.8.tgz + api_data_url: https://registry.npmjs.org/grunt-esvm/3.2.8 + datasource_id: npm_package_json + purl: pkg:npm/grunt-esvm@3.2.8 + for_packages: + - pkg:npm/grunt-esvm@3.2.8?uuid=fixed-uid-done-for-testing-5642512d1758 + is_legal: no + is_manifest: no + is_readme: no + is_top_level: no + is_key_file: no + detected_license_expression: apache-2.0 + detected_license_expression_spdx: Apache-2.0 + license_detections: + - license_expression: apache-2.0 + matches: + - score: '100.0' + start_line: 6 + end_line: 6 + matched_length: 4 + match_coverage: '100.0' + matcher: 2-aho + license_expression: apache-2.0 + rule_identifier: apache-2.0_65.RULE + rule_relevance: 100 + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE + matched_text: ' "license": "Apache-2.0",' + identifier: apache_2_0-ec759ae0-ea5a-f138-793e-388520e080c0 + - license_expression: apache-2.0 + matches: + - score: '100.0' + start_line: 20 + end_line: 20 + matched_length: 3 + match_coverage: '100.0' + matcher: 2-aho + license_expression: apache-2.0 + rule_identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + rule_relevance: 100 + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE + matched_text: ' "type": "Apache 2.0",' + identifier: apache_2_0-d66ab77d-a5cc-7104-e702-dc7df61fe9e8 + license_clues: [] + percentage_of_license_text: '5.51' + copyrights: [] + holders: [] + authors: [] + emails: + - email: spencer.alger@elasticsearch.com + start_line: 9 + end_line: 9 + urls: + - url: https://github.com/spenceralger/grunt-esvm + start_line: 5 + end_line: 5 + - url: git://github.com/spenceralger/grunt-esvm.git + start_line: 13 + end_line: 13 + - url: https://github.com/spenceralger/grunt-esvm/issues + start_line: 16 + end_line: 16 + - url: https://github.com/spenceralger/grunt-esvm/blob/master/LICENSE.md + start_line: 21 + end_line: 21 + files_count: '0' + dirs_count: '0' + size_count: '0' + scan_errors: [] + - path: manifests/npm-license-string + type: directory + name: npm-license-string + base_name: npm-license-string + extension: + size: '0' + sha1: + md5: + sha256: + mime_type: + file_type: + programming_language: + is_binary: no + is_text: no + is_archive: no + is_media: no + is_source: no + is_script: no + package_data: [] + for_packages: [] + is_legal: no + is_manifest: no + is_readme: no + is_top_level: yes + is_key_file: no + detected_license_expression: + detected_license_expression_spdx: + license_detections: [] + license_clues: [] + percentage_of_license_text: '0' + copyrights: [] + holders: [] + authors: [] + emails: [] + urls: [] + files_count: 1 + dirs_count: '0' + size_count: 1544 + scan_errors: [] + - path: manifests/npm-license-string/package.json + type: file + name: package.json + base_name: package + extension: .json + size: 1544 + sha1: e6acddf907b7089d197d9d46879cd18ffb8f5198 + md5: 5ba816691af915c02567f459ae26ebd6 + sha256: 11129bc3bbf44b2567307ad13a31bc231f08416919e36bbdeabb9195b3e6ad58 + mime_type: application/json + file_type: JSON data + programming_language: + is_binary: no + is_text: yes + is_archive: no + is_media: no + is_source: no + is_script: no + package_data: + - type: npm + namespace: + name: angular-compare-validator + version: 0.1.1 + qualifiers: {} + subpath: + primary_language: JavaScript + description: Angular form validation directive to compare two inputs + release_date: + parties: + - type: person + role: maintainer + name: georgdangl + email: npm@dan.gl + url: + keywords: [] + homepage_url: https://github.com/GeorgDangl/angular-compare-validator#readme + download_url: https://registry.npmjs.org/angular-compare-validator/-/angular-compare-validator-0.1.1.tgz + size: + sha1: d35a0754c8587b0502874e3636cf0f19565d09b7 + md5: + sha256: + sha512: 8f70ed5e3513185ad58fb2a3114769ac93ddd68836ce89146e586fc03e03ac93dcfb1f11354ac26f408b75c0ebf51663d5e4e8e27c38752a3c06bdde749a7c03 + bug_tracking_url: https://github.com/GeorgDangl/angular-compare-validator/issues + code_view_url: + vcs_url: git+https://github.com/GeorgDangl/angular-compare-validator.git + copyright: + holder: + declared_license_expression: mit + declared_license_expression_spdx: MIT + license_detections: + - license_expression: mit + matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matched_length: 1 + match_coverage: '100.0' + matcher: 1-spdx-id + license_expression: mit + rule_identifier: spdx-license-identifier-mit-5da48780aba670b0860c46d899ed42a0f243ff06 + rule_relevance: 100 + rule_url: + matched_text: MIT + identifier: mit-a822f434-d61f-f2b1-c792-8b8cb9e7b9bf + other_license_expression: + other_license_expression_spdx: + other_license_detections: [] + extracted_license_statement: | + - MIT + notice_text: + source_packages: [] + file_references: [] + extra_data: {} + dependencies: + - purl: pkg:npm/%40angular/core + extracted_requirement: '>=2.0.0' + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:npm/%40angular/forms + extracted_requirement: '>=2.0.0' + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:npm/%40angular/common + extracted_requirement: '>=2.0.0' + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:npm/rxjs + extracted_requirement: '>=5.0.0-beta.12' + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:npm/zone.js + extracted_requirement: '>=0.6.21' + scope: dependencies + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + repository_homepage_url: https://www.npmjs.com/package/angular-compare-validator + repository_download_url: https://registry.npmjs.org/angular-compare-validator/-/angular-compare-validator-0.1.1.tgz + api_data_url: https://registry.npmjs.org/angular-compare-validator/0.1.1 + datasource_id: npm_package_json + purl: pkg:npm/angular-compare-validator@0.1.1 + for_packages: + - pkg:npm/angular-compare-validator@0.1.1?uuid=fixed-uid-done-for-testing-5642512d1758 + is_legal: no + is_manifest: no + is_readme: no + is_top_level: no + is_key_file: no + detected_license_expression: mit + detected_license_expression_spdx: MIT + license_detections: + - license_expression: mit + matches: + - score: '100.0' + start_line: 4 + end_line: 4 + matched_length: 2 + match_coverage: '100.0' + matcher: 2-aho + license_expression: mit + rule_identifier: mit_30.RULE + rule_relevance: 100 + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE + matched_text: ' "license": "MIT",' + identifier: mit-3fce6ea2-8abd-6c6b-3ede-a37af7c6efee + license_clues: [] + percentage_of_license_text: '1.32' + copyrights: [] + holders: [] + authors: [] + emails: + - email: npm@dan.gl + start_line: 28 + end_line: 28 + urls: + - url: https://github.com/GeorgDangl/angular-compare-validator.git + start_line: 7 + end_line: 7 + - url: https://github.com/GeorgDangl/angular-compare-validator/issues + start_line: 20 + end_line: 20 + - url: https://github.com/GeorgDangl/angular-compare-validator#readme + start_line: 22 + end_line: 22 + - url: https://registry.npmjs.org/angular-compare-validator/-/angular-compare-validator-0.1.1.tgz + start_line: 33 + end_line: 33 + files_count: '0' + dirs_count: '0' + size_count: '0' + scan_errors: [] + - path: manifests/pypi + type: directory + name: pypi + base_name: pypi + extension: + size: '0' + sha1: + md5: + sha256: + mime_type: + file_type: + programming_language: + is_binary: no + is_text: no + is_archive: no + is_media: no + is_source: no + is_script: no + package_data: [] + for_packages: [] + is_legal: no + is_manifest: no + is_readme: no + is_top_level: yes + is_key_file: no + detected_license_expression: + detected_license_expression_spdx: + license_detections: [] + license_clues: [] + percentage_of_license_text: '0' + copyrights: [] + holders: [] + authors: [] + emails: [] + urls: [] + files_count: 1 + dirs_count: '0' + size_count: 2927 + scan_errors: [] + - path: manifests/pypi/bluepyopt_setup.py + type: file + name: bluepyopt_setup.py + base_name: bluepyopt_setup + extension: .py + size: 2927 + sha1: 5507192502255517e006c531d07dd84dc2325be8 + md5: 6795bed0c9c6b6cb915bfa959a2d1d4a + sha256: 4378d297df9fcb4f65fdcd1299e17eef7db86883baf149bc41b0335f943cf006 + mime_type: text/x-script.python + file_type: Python script, ASCII text executable + programming_language: Python + is_binary: no + is_text: yes + is_archive: no + is_media: no + is_source: yes + is_script: yes + package_data: + - type: pypi + namespace: + name: bluepyopt + version: + qualifiers: {} + subpath: + primary_language: Python + description: Bluebrain Python Optimisation Library (bluepyopt) + release_date: + parties: + - type: person + role: author + name: BlueBrain Project, EPFL + email: werner.vangeit@epfl.ch + url: + keywords: + - optimisation + - neuroscience + - BlueBrainProject + - 'Development Status :: 5 - Production/Stable' + - 'Environment :: Console' + - 'Programming Language :: Python :: 3 :: Only' + - 'Operating System :: POSIX' + - 'Topic :: Scientific/Engineering' + - 'Topic :: Utilities' + homepage_url: https://github.com/BlueBrain/BluePyOpt + download_url: + size: + sha1: + md5: + sha256: + sha512: + bug_tracking_url: + code_view_url: + vcs_url: + copyright: + holder: + declared_license_expression: lgpl-3.0 + declared_license_expression_spdx: LGPL-3.0-only + license_detections: + - license_expression: lgpl-3.0 + matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matched_length: 1 + match_coverage: '100.0' + matcher: 1-hash + license_expression: lgpl-3.0 + rule_identifier: lgpl-3.0_29.RULE + rule_relevance: 100 + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE + matched_text: LGPLv3 + identifier: lgpl_3_0-38174920-e8ed-7bda-41ec-94df7380b7d5 + - license_expression: lgpl-3.0 + matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matched_length: 10 + match_coverage: '100.0' + matcher: 1-hash + license_expression: lgpl-3.0 + rule_identifier: pypi_gnu_lesser_general_public_license_v3.RULE + rule_relevance: 100 + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_gnu_lesser_general_public_license_v3.RULE + matched_text: '[''License :: OSI Approved :: GNU Lesser General Public License + v3 (LGPLv3)'']' + identifier: lgpl_3_0-272571eb-5e68-95b6-ddb0-71de2d8df321 + other_license_expression: + other_license_expression_spdx: + other_license_detections: [] + extracted_license_statement: | + license: LGPLv3 + classifiers: + - 'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)' + notice_text: + source_packages: [] + file_references: [] + extra_data: {} + dependencies: + - purl: pkg:pypi/numpy + extracted_requirement: numpy>=1.6 + scope: install + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:pypi/pandas + extracted_requirement: pandas>=0.18 + scope: install + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:pypi/deap + extracted_requirement: deap + scope: install + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:pypi/efel + extracted_requirement: efel>=2.13 + scope: install + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:pypi/ipyparallel + extracted_requirement: ipyparallel + scope: install + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:pypi/pickleshare + extracted_requirement: pickleshare>=0.7.3 + scope: install + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:pypi/jinja2 + extracted_requirement: Jinja2>=2.8 + scope: install + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:pypi/future + extracted_requirement: future + scope: install + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:pypi/pebble + extracted_requirement: Pebble>=4.3.10 + scope: install + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:pypi/scoop + extracted_requirement: scoop>=0.7 + scope: all + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + - purl: pkg:pypi/scoop + extracted_requirement: scoop>=0.7 + scope: scoop + is_runtime: yes + is_optional: no + is_resolved: no + resolved_package: {} + extra_data: {} + repository_homepage_url: https://pypi.org/project/bluepyopt + repository_download_url: + api_data_url: https://pypi.org/pypi/bluepyopt/json + datasource_id: pypi_setup_py + purl: pkg:pypi/bluepyopt + for_packages: [] + is_legal: no + is_manifest: no + is_readme: no + is_top_level: no + is_key_file: no + detected_license_expression: lgpl-3.0 + detected_license_expression_spdx: LGPL-3.0-only + license_detections: + - license_expression: lgpl-3.0 + matches: + - score: '100.0' + start_line: 9 + end_line: 20 + matched_length: 106 + match_coverage: '100.0' + matcher: 2-aho + license_expression: lgpl-3.0 + rule_identifier: lgpl-3.0_276.RULE + rule_relevance: 100 + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_276.RULE + matched_text: | + This library is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License version 3.0 as published + by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + details. + + You should have received a copy of the GNU Lesser General Public License + along with this library; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + identifier: lgpl_3_0-121be3c2-9c80-df84-d3da-8f674e4125c0 + - license_expression: lgpl-3.0 + matches: + - score: '100.0' + start_line: 65 + end_line: 65 + matched_length: 2 + match_coverage: '100.0' + matcher: 2-aho + license_expression: lgpl-3.0 + rule_identifier: lgpl-3.0_152.RULE + rule_relevance: 100 + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_152.RULE + matched_text: ' license="LGPLv3",' + identifier: lgpl_3_0-2db87bcf-56b4-9d7d-7075-2effae31c631 + - license_expression: lgpl-3.0 + matches: + - score: '100.0' + start_line: 74 + end_line: 75 + matched_length: 10 + match_coverage: '100.0' + matcher: 2-aho + license_expression: lgpl-3.0 + rule_identifier: pypi_gnu_lesser_general_public_license_v3.RULE + rule_relevance: 100 + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_gnu_lesser_general_public_license_v3.RULE + matched_text: | + 'License :: OSI Approved :: GNU Lesser General Public ' + 'License v3 (LGPLv3)', + identifier: lgpl_3_0-272571eb-5e68-95b6-ddb0-71de2d8df321 + license_clues: [] + percentage_of_license_text: '34.71' + copyrights: + - copyright: Copyright (c) 2016-2020, EPFL/Blue Brain Project + start_line: 5 + end_line: 5 + holders: + - holder: EPFL/Blue Brain Project + start_line: 5 + end_line: 5 + authors: + - author: BlueBrain Project + start_line: 54 + end_line: 54 + emails: + - email: werner.vangeit@epfl.ch + start_line: 55 + end_line: 55 + urls: + - url: https://github.com/BlueBrain/BluePyOpt + start_line: 7 + end_line: 7 + files_count: '0' + dirs_count: '0' + size_count: '0' + scan_errors: [] diff --git a/tests/formattedcode/data/common/manifests/maven/persistence-api-1.0.pom b/tests/formattedcode/data/common/manifests/maven/persistence-api-1.0.pom new file mode 100644 index 00000000000..614191600be --- /dev/null +++ b/tests/formattedcode/data/common/manifests/maven/persistence-api-1.0.pom @@ -0,0 +1,37 @@ + + + 4.0.0 + javax.persistence + persistence-api + 1.0 + Enterprise JavaBeans (EJB) 3.0 + + The Enterprise JavaBeans architecture is a component architecture for the development and deployment of component-based business applications. + The purpose of Enterprise JavaBeans (EJB) 3.0 is to improve the EJB architecture by reducing its complexity from the developer's point of view. + + http://www.jcp.org/en/jsr/detail?id=220 + + + + Common Development and Distribution License (CDDL) v1.0 + http://www.sun.com/cddl/cddl.html + repo + + + + + + + maven-compiler-plugin + + 1.5 + 1.5 + + + + + + diff --git a/tests/formattedcode/data/common/manifests/npm-license-mapping/package.json b/tests/formattedcode/data/common/manifests/npm-license-mapping/package.json new file mode 100644 index 00000000000..fee016dc242 --- /dev/null +++ b/tests/formattedcode/data/common/manifests/npm-license-mapping/package.json @@ -0,0 +1,51 @@ +{ + "name": "grunt-esvm", + "description": "Create elasticsearch clusters from grunt.", + "version": "3.2.8", + "homepage": "https://github.com/spenceralger/grunt-esvm", + "license": "Apache-2.0", + "author": { + "name": "Spencer Alger", + "email": "spencer.alger@elasticsearch.com" + }, + "repository": { + "type": "git", + "url": "git://github.com/spenceralger/grunt-esvm.git" + }, + "bugs": { + "url": "https://github.com/spenceralger/grunt-esvm/issues" + }, + "licenses": [ + { + "type": "Apache 2.0", + "url": "https://github.com/spenceralger/grunt-esvm/blob/master/LICENSE.md" + } + ], + "engines": { + "node": ">= 0.8.0" + }, + "scripts": { + "test": "grunt test" + }, + "devDependencies": { + "grunt": ">=0.4.0", + "load-grunt-config": "~0.19.0" + }, + "peerDependencies": { + "grunt": ">=0.4.0" + }, + "keywords": [ + "gruntplugin" + ], + "dependencies": { + "bluebird": "^2.9.30", + "cli-color": "~0.3.2", + "cli-table": "~0.3.0", + "libesvm": "^3.8.2", + "lodash": "^3.9.3", + "moment": "^2.10.3", + "wreck": "^5.6.0" + } + } + + \ No newline at end of file diff --git a/tests/formattedcode/data/common/manifests/npm-license-string/package.json b/tests/formattedcode/data/common/manifests/npm-license-string/package.json new file mode 100644 index 00000000000..99128a9e08f --- /dev/null +++ b/tests/formattedcode/data/common/manifests/npm-license-string/package.json @@ -0,0 +1,45 @@ +{ + "name": "angular-compare-validator", + "version": "0.1.1", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/GeorgDangl/angular-compare-validator.git" + }, + "description": "Angular form validation directive to compare two inputs", + "main": "./dist/index.js", + "typings": "./dist/index", + "dependencies": { + "@angular/core": ">=2.0.0", + "@angular/forms": ">=2.0.0", + "@angular/common": ">=2.0.0", + "rxjs": ">=5.0.0-beta.12", + "zone.js": ">=0.6.21" + }, + "bugs": { + "url": "https://github.com/GeorgDangl/angular-compare-validator/issues" + }, + "homepage": "https://github.com/GeorgDangl/angular-compare-validator#readme", + "_id": "angular-compare-validator@0.1.1", + "_npmVersion": "5.2.0", + "_nodeVersion": "7.7.1", + "_npmUser": { + "name": "georgdangl", + "email": "npm@dan.gl" + }, + "dist": { + "integrity": "sha512-j3DtXjUTGFrVj7KjEUdprJPd1og2zokUblhvwD4DrJPc+x8RNUrCb0CLdcDr9RZj1eTo4nw4dSo8Br3edJp8Aw==", + "shasum": "d35a0754c8587b0502874e3636cf0f19565d09b7", + "tarball": "https://registry.npmjs.org/angular-compare-validator/-/angular-compare-validator-0.1.1.tgz" + }, + "maintainers": [ + { + "name": "georgdangl", + "email": "npm@dan.gl" + } + ], + "_npmOperationalInternal": { + "host": "s3://npm-registry-packages", + "tmp": "tmp/angular-compare-validator-0.1.1.tgz_1506372149543_0.2524787310976535" + } +} diff --git a/tests/formattedcode/data/common/manifests/pypi/bluepyopt_setup.py b/tests/formattedcode/data/common/manifests/pypi/bluepyopt_setup.py new file mode 100644 index 00000000000..887bd3bfe3b --- /dev/null +++ b/tests/formattedcode/data/common/manifests/pypi/bluepyopt_setup.py @@ -0,0 +1,87 @@ +#!/usr/bin/env python +"""BluePyOpt setup """ + +""" +Copyright (c) 2016-2020, EPFL/Blue Brain Project + + This file is part of BluePyOpt + + This library is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License version 3.0 as published + by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + details. + + You should have received a copy of the GNU Lesser General Public License + along with this library; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +""" + +import setuptools +import versioneer + + +EXTRA_SCOOP = [ + 'scoop>=0.7', +] + +setuptools.setup( + name="bluepyopt", + version=versioneer.get_version(), + cmdclass=versioneer.get_cmdclass(), + install_requires=[ + 'numpy>=1.6', + 'pandas>=0.18', + 'deap', + 'efel>=2.13', + 'ipyparallel', + 'pickleshare>=0.7.3', + 'Jinja2>=2.8', + 'future', + 'Pebble>=4.3.10' + ], + extras_require={ + 'all': EXTRA_SCOOP, + 'scoop': EXTRA_SCOOP, + }, + packages=setuptools.find_packages( + exclude=( + 'examples', + )), + author="BlueBrain Project, EPFL", + author_email="werner.vangeit@epfl.ch", + description="Bluebrain Python Optimisation Library (bluepyopt)", + long_description="The Blue Brain Python Optimisation Library (BluePyOpt) " + "is an extensible framework for data-driven model parameter " + "optimisation that wraps and standardises several existing " + "open-source tools. It simplifies the task of creating and " + "sharing these optimisations, and the associated techniques " + "and knowledge. This is achieved by abstracting the optimisation " + "and evaluation tasks into various reusable and flexible discrete " + "elements according to established best-practices.", + license="LGPLv3", + keywords=( + 'optimisation', + 'neuroscience', + 'BlueBrainProject'), + url='https://github.com/BlueBrain/BluePyOpt', + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Environment :: Console', + 'License :: OSI Approved :: GNU Lesser General Public ' + 'License v3 (LGPLv3)', + 'Programming Language :: Python :: 3 :: Only', + 'Operating System :: POSIX', + 'Topic :: Scientific/Engineering', + 'Topic :: Utilities'], + entry_points={ + 'console_scripts': ['bpopt_tasksdb=bluepyopt.ipyp.bpopt_tasksdb:main'], + }, + package_data={ + 'bluepyopt': [ + 'ephys/templates/cell_template.jinja2', + 'ephys/examples/simplecell/simple.swc'], + }) diff --git a/tests/formattedcode/test_output_json.py b/tests/formattedcode/test_output_json.py index fc333701392..b9d77046ffa 100644 --- a/tests/formattedcode/test_output_json.py +++ b/tests/formattedcode/test_output_json.py @@ -43,6 +43,14 @@ def test_json_compact(): check_json_scan(expected, result_file, remove_file_date=True, regen=REGEN_TEST_FIXTURES) +def test_json_with_extracted_license_statements(): + test_dir = test_env.get_test_loc('common/manifests') + result_file = test_env.get_temp_file('json') + run_scan_click(['-clip', test_dir, '--json', result_file]) + expected = test_env.get_test_loc('common/manifests-expected.json') + check_json_scan(expected, result_file, remove_file_date=True, regen=REGEN_TEST_FIXTURES) + + @pytest.mark.scanslow def test_scan_output_does_not_truncate_copyright_json(): test_dir = test_env.get_test_loc('json/tree/scan/') diff --git a/tests/formattedcode/test_output_jsonlines.py b/tests/formattedcode/test_output_jsonlines.py index ccdf03bb608..d63b5df3ee6 100644 --- a/tests/formattedcode/test_output_jsonlines.py +++ b/tests/formattedcode/test_output_jsonlines.py @@ -33,6 +33,16 @@ def test_jsonlines(): remove_file_date=True, regen=REGEN_TEST_FIXTURES) +def test_jsonlines_with_package_and_license(): + test_dir = test_env.get_test_loc('common/manifests') + result_file = test_env.get_temp_file('jsonline') + run_scan_click(['-clip', test_dir, '--json-lines', result_file]) + expected = test_env.get_test_loc('common/manifests-expected.jsonlines') + check_jsonlines_scan( + test_env.get_test_loc(expected), result_file, + remove_file_date=True, regen=REGEN_TEST_FIXTURES) + + def test_jsonlines_with_timing(): test_dir = test_env.get_test_loc('json/simple') result_file = test_env.get_temp_file('jsonline') diff --git a/tests/formattedcode/test_output_yaml.py b/tests/formattedcode/test_output_yaml.py index 782907fdbe1..7eb1e7b08a8 100644 --- a/tests/formattedcode/test_output_yaml.py +++ b/tests/formattedcode/test_output_yaml.py @@ -64,6 +64,19 @@ def test_scan_produces_valid_yaml(): data = saneyaml.load(open(result_file).read()) +def test_scan_produces_valid_yaml_with_extracted_license_statements(): + test_dir = test_env.get_test_loc('common/manifests') + result_file = test_env.get_temp_file('json') + args = [ + '-clipeu', '--license-text', '--classify', '--summary', '--license-references', + '--license-clarity-score', test_dir, '--yaml', result_file] + run_scan_click(args) + expected = test_env.get_test_loc('common/manifests-expected.yaml') + check_yaml_scan(expected, result_file, regen=REGEN_TEST_FIXTURES) + data = saneyaml.load(open(result_file).read()) + + + def check_yaml_scan( expected_file, result_file,