You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
headers:
- tool_name: scancode-toolkittool_version: 32.2.0options:
input:
- django.po
--license: yes
--license-text: yes
--license-text-diagnostics: yes
--yaml: error.ymlnotice: | 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.start_timestamp: '2024-06-27T122002.133763'end_timestamp: '2024-06-27T122004.820078'output_format_version: 3.2.0duration: '2.6863296031951904'message:
errors: []warnings: []extra_data:
system_environment:
operating_system: linuxcpu_architecture: 64platform: Linux-5.14.21-150400.24.100-default-x86_64-with-glibc2.31platform_version: '#1 SMP PREEMPT_DYNAMIC Mon Dec 4 19:12:13 UTC 2023 (3f5cd84)'python_version: 3.9.18 (main, Sep 06 2023, 07:49:32) [GCC]spdx_license_list_version: '3.24'files_count: 1license_detections:
- identifier: free_unknown-fddf748a-9953-bc6c-cb9d-91001840e335license_expression: free-unknownlicense_expression_spdx: LicenseRef-scancode-free-unknowndetection_count: 1reference_matches:
- license_expression: free-unknownlicense_expression_spdx: LicenseRef-scancode-free-unknownfrom_file: django.postart_line: 3end_line: 3matcher: 2-ahoscore: '100.0'matched_length: 10match_coverage: '100.0'rule_relevance: 100rule_identifier: free-unknown-package_4.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULEmatched_text: '# This file is distributed under the same license as the django-simple-history package.'matched_text_diagnostics: This file is distributed under the same license asthe
- identifier: gpl_2_0_with_ecos_exception_2_0-d214425d-9f73-8a07-2f4f-e54c2224cb76license_expression: gpl-2.0 WITH ecos-exception-2.0license_expression_spdx: GPL-2.0-only WITH eCos-exception-2.0detection_count: 1reference_matches:
- license_expression: gpl-2.0 WITH ecos-exception-2.0license_expression_spdx: GPL-2.0-only WITH eCos-exception-2.0from_file: django.postart_line: 2end_line: 3matcher: 3-seqscore: '6.59'matched_length: 6match_coverage: '6.59'rule_relevance: 100rule_identifier: gpl-2.0_with_ecos-exception-2.0_2.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_with_ecos-exception-2.0_2.RULEmatched_text: | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the django-simple-history package.matched_text_diagnostics: | PACKAGE'[S] [COPYRIGHT] [HOLDER] # [This] [file] is distributed under the [same] licensefiles:
- path: django.potype: filedetected_license_expression: gpl-2.0 WITH ecos-exception-2.0 AND free-unknowndetected_license_expression_spdx: GPL-2.0-only WITH eCos-exception-2.0 AND LicenseRef-scancode-free-unknownlicense_detections:
- license_expression: gpl-2.0 WITH ecos-exception-2.0license_expression_spdx: GPL-2.0-only WITH eCos-exception-2.0matches:
- license_expression: gpl-2.0 WITH ecos-exception-2.0spdx_license_expression: GPL-2.0-only WITH eCos-exception-2.0from_file: django.postart_line: 2end_line: 3matcher: 3-seqscore: '6.59'matched_length: 6match_coverage: '6.59'rule_relevance: 100rule_identifier: gpl-2.0_with_ecos-exception-2.0_2.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_with_ecos-exception-2.0_2.RULEmatched_text: | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the django-simple-history package.matched_text_diagnostics: | PACKAGE'[S] [COPYRIGHT] [HOLDER] # [This] [file] is distributed under the [same] licenseidentifier: gpl_2_0_with_ecos_exception_2_0-d214425d-9f73-8a07-2f4f-e54c2224cb76
- license_expression: free-unknownlicense_expression_spdx: LicenseRef-scancode-free-unknownmatches:
- license_expression: free-unknownspdx_license_expression: LicenseRef-scancode-free-unknownfrom_file: django.postart_line: 3end_line: 3matcher: 2-ahoscore: '100.0'matched_length: 10match_coverage: '100.0'rule_relevance: 100rule_identifier: free-unknown-package_4.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULEmatched_text: '# This file is distributed under the same license as the django-simple-history package.'matched_text_diagnostics: This file is distributed under the same licenseas theidentifier: free_unknown-fddf748a-9953-bc6c-cb9d-91001840e335license_clues: []percentage_of_license_text: '2.12'scan_errors: []
System configuration
OpenSUSE Leap 15.4, running Python 3.9 with scancode-toolkit==32.2.0, installed from PIP
The text was updated successfully, but these errors were encountered:
Description
https://github.com/jazzband/django-simple-history/raw/master/simple_history/locale/zh_Hans/LC_MESSAGES/django.po is being wrongly detected as being
GPL-2.0-only WITH eCos-exception-2.0 AND LicenseRef-scancode-free-unknown
, although it just states:I would expect it to be detected as
LicenseRef-scancode-free-unknown
as the other translation files of the package.How To Reproduce
wget https://github.com/jazzband/django-simple-history/raw/08b4de7c4a7ba71e64c108e985cfe2c6786e3061/simple_history/locale/zh_Hans/LC_MESSAGES/django.po
scancode -l --license-text --license-text-diagnostics --yaml error.yml django.po
cat error.yml
Result
System configuration
OpenSUSE Leap 15.4, running Python 3.9 with
scancode-toolkit==32.2.0
, installed from PIPThe text was updated successfully, but these errors were encountered: