aboutcode-org / aboutcode-org/scancode-toolkit

ignorable_copyrights are not ignored?

オープン
#3,813 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。