aboutcode-org / aboutcode-org/scancode-toolkit

ScanCode 32.0.8 tampers with the casing of the Copyright symbol

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

Description

### Description

In a file that has

Copyright (C) 2007 Free Software Foundation, Inc.

ScanCode reports

Copyright (c) 2007 Free Software Foundation, Inc.

Note the `(C)` vs `(c)` casing.

### How To Reproduce

Run

./scancode --copyright --json-pp - ~/Downloads/LICENSE

on https://github.com/grafana/grafana/blob/71b98163e52306c5da36b243bd74e74f634920a0/LICENSE

### System configuration

* What OS are you running on? Linux
* What version of scancode-toolkit was used to generate the scan file? 32.0.8
* What installation method was used to install/run scancode? source download

Here's the full JSON for reference:

```
{
"headers": [
{
"tool_name": "scancode-toolkit",
"tool_version": "v32.0.8",
"options": {
"input": [
"/home/sebastian/Downloads/LICENSE"
],
"--copyright": true,
"--json-pp": "-"
},
"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-01-10T124136.364189",
"end_timestamp": "2024-01-10T124137.516281",
"output_format_version": "3.0.0",
"duration": 1.152099847793579,
"message": null,
"errors": [],
"warnings": [],
"extra_data": {
"system_environment": {
"operating_system": "linux",
"cpu_architecture": "64",
"platform": "Linux-6.6.9-200.fc39.x86_64-x86_64-with-glibc2.38",
"platform_version": "#1 SMP PREEMPT_DYNAMIC Mon Jan 1 20:05:54 UTC 2024",
"python_version": "3.11.7 (main, Dec 18 2023, 00:00:00) [GCC 13.2.1 20231205 (Red Hat 13.2.1-6)]"
},
"spdx_license_list_version": "3.21",
"files_count": 1
}
}
],
"files": [
{
"path": "LICENSE",
"type": "file",
"copyrights": [
{
"copyright": "Copyright (c) 2007 Free Software Foundation, Inc. ",
"start_line": 4,
"end_line": 4
}
],
"holders": [
{
"holder": "Free Software Foundation, Inc.",
"start_line": 4,
"end_line": 4
}
],
"authors": [],
"scan_errors": []
}
]
}
```

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.