aboutcode-org / aboutcode-org/scancode-toolkit

GPLv3 false positive (should be GPLv2)

オープン
#4,884 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
5

説明

### Description

https://github.com/mirror/busybox/blob/1_35_stable/coreutils/who.c#L8

contains clearly a GPLv2 statement, but ScanCode Toolkit recognizes it as GPLv3:

```
{
"license_expression": "gpl-3.0",
"license_expression_spdx": "GPL-3.0-only",
"from_file": "busybox-1.35.0/coreutils/who.c",
"start_line": 8,
"end_line": 10,
"matcher": "3-seq",
"score": 70.59,
"matched_length": 24,
"match_coverage": 70.59,
"rule_relevance": 100,
"rule_identifier": "gpl-3.0_612.RULE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_612.RULE"
}
```

The full result for this file (as GPL-1.0 also doesn't seem right):

```
{
"identifier": "gpl_1_0_plus_and_gpl_3_0-7f81c0b6-986b-a534-607f-989a35b11986",
"license_expression": "gpl-1.0-plus AND gpl-3.0",
"license_expression_spdx": "GPL-1.0-or-later AND GPL-3.0-only",
"detection_count": 1,
"reference_matches": [
{
"license_expression": "gpl-1.0-plus",
"license_expression_spdx": "GPL-1.0-or-later",
"from_file": "busybox-1.35.0/coreutils/who.c",
"start_line": 8,
"end_line": 11,
"matcher": "3-seq",
"score": 95.83,
"matched_length": 23,
"match_coverage": 95.83,
"rule_relevance": 100,
"rule_identifier": "gpl-1.0-plus_571.RULE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_571.RULE"
},
{
"license_expression": "gpl-3.0",
"license_expression_spdx": "GPL-3.0-only",
"from_file": "busybox-1.35.0/coreutils/who.c",
"start_line": 8,
"end_line": 10,
"matcher": "3-seq",
"score": 70.59,
"matched_length": 24,
"match_coverage": 70.59,
"rule_relevance": 100,
"rule_identifier": "gpl-3.0_612.RULE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_612.RULE"
}
]
},

```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

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

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