aboutcode-org / aboutcode-org/scancode-toolkit
ignorable_copyrights are not ignored?
- 主要語言
- Python
- 星號
- 2.6k
- 分支
- 791
- 平均合併
- 1 天 12 小時
- 30 天內合併 PR
- 5
描述
I am scanning https://github.com/omniorb/omniorb/blob/main/LICENSE with
```
ScanCode version: 32.1.0
ScanCode Output Format version: 3.1.0
SPDX License list version: 3.23
scancode.exe -lci --license-text --ignore-binaries --only-findings -n 8 --json-pp
```
and the result contains:
```
"spdx_license_expression": "GPL-2.0-only"
...
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_872.RULE",
...
"copyrights": [
{
"copyright": "Copyright (c) 1989, 1991 Free Software Foundation, Inc., ",
"start_line": 4,
"end_line": 4
},
{
"copyright": "copyrighted by the Free Software Foundation",
"start_line": 252,
"end_line": 253
}
```
But the [rule above ](https://github.com/nexB/scancode-toolkit/blob/develop/src/licensedcode/data/rules/gpl-2.0_872.RULE) states:
```
---
license_expression: gpl-2.0
is_license_text: yes
relevance: 100
ignorable_copyrights:
- Copyright (c) 1989, 1991 Free Software Foundation, Inc.,
- copyrighted by the Free Software Foundation
...
```
What is the point of the ignorable_copyrights if they are still listed in the result with exactly this rule?
Am I misunderstanding sth about this attribute, or is this a bug?
Cheers.
貢獻指南
評估
這個 Issue 還沒有評估資料。