aboutcode-org / aboutcode-org/scancode-toolkit

ignorable_copyrights are not ignored?

Aberta
#3,813 2 comentários 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
Python
Estrelas
2.6k
Forks
791
Merge médio
1d 12h
PRs com merge (30d)
5

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.