aboutcode-org / aboutcode-org/scancode-toolkit

Missing copyright from LICENSE file

Ouverte
#3,893 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Python
Étoiles
2.6k
Forks
791
Merge moyen
1 j 12 h
PR mergées (30 j)
5

Description

### Description

Running scancode.io on https://registry.npmjs.org/tx2/-/tx2-1.0.5.tgz does not find the copyright from LICENSE file:

Expected finding:
`Copyright (c) 2077 PM2`

Result is (shortened):
```
{
"path": "codebase/package/LICENSE",
"type": "file",
"name": "LICENSE",
"base_name": "LICENSE",
"extension": "",
"size": 1060,
"date": "1985-10-26",
"sha1": "09014af0c71946f065e8152e698a5ed7b2cf185c",
"md5": "ebc9ab8e0c075c6818f5bf19b11e4de3",
"sha256": "fe8f4c9cfdc8f020264c270c6f7d4e59c3bdee918b9e84b544d403290a2de5a2",
"mime_type": "text/plain",
"file_type": "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": [],
"for_packages": [
"pkg:npm/tx2@1.0.5?uuid=6853163b-400c-4534-aa18-699360d05d9f"
],
"is_legal": true,
"is_manifest": false,
"is_readme": false,
"is_top_level": true,
"is_key_file": true,
"detected_license_expression": "mit",
"detected_license_expression_spdx": "MIT",
"license_detections": [
...
],
"identifier": "mit-ac40beba-5702-f54d-755f-333441314bb0"
}
],
"license_clues": [],
"percentage_of_license_text": 97.6,
"copyrights": [],
"holders": [],
"authors": [],
"emails": [],
"urls": [],
"files_count": 0,
"dirs_count": 0,
"size_count": 0,
"scan_errors": []
},
```

### How To Reproduce
```
"headers": [
{
"tool_name": "scancode-toolkit",
"tool_version": "32.2.1",
"options": {
"--copyright": true,
"--email": true,
"--info": true,
"--license": true,
"--license-text": true,
"--package": true,
"--url": true,
"--classify": true,
"--summary": 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.",
"start_timestamp": "2024-08-13T082714.433688",
"end_timestamp": "2024-08-13T082722.997592",
"output_format_version": "3.2.0",
"duration": 8.563958644866943,
"message": null,
"errors": [],
"warnings": [],
"extra_data": {
"system_environment": {
"operating_system": "linux",
"cpu_architecture": "64",
"platform": "Linux-6.6.32-linuxkit-x86_64-with-glibc2.36",
"platform_version": "#1 SMP PREEMPT_DYNAMIC Thu Jun 13 14:14:43 UTC 2024",
"python_version": "3.12.4 (main, Jul 23 2024, 07:23:20) [GCC 12.2.0]"
},
"spdx_license_list_version": "3.24",
"files_count": 23
}
}
],
```

### System configuration

> For bug reports, it really helps us to know:

* What OS are you running on? (Windows/MacOS/Linux)
see above
* What version of scancode-toolkit was used to generate the scan file?
see above
* What installation method was used to install/run scancode? (pip/source download/other)
scancode.io docker

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.