aboutcode-org / aboutcode-org/scancode-toolkit

ScanCode 32.0.8 tampers with the casing of the Copyright symbol

未关闭
#3,635 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

### 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": []
}
]
}
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。