aboutcode-org / aboutcode-org/scancode-toolkit

gpl-2.0 false positive (should be "or later")

未关闭
#4,969 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug new-updated-license-rule
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

### Description

> Please leave a brief description of the bug or feature request:

https://github.com/mirror/busybox/blob/master/procps/smemcap.c#L6

```
This software may be used and distributed according to the terms of
the GNU General Public License version 2 or later, incorporated
herein by reference.
```

is recognized as:

```
{
"identifier": "gpl_2_0-86fd3fbe-6fae-f781-8226-b9b3e4ac3151",
"license_expression": "gpl-2.0",
"license_expression_spdx": "GPL-2.0-only",
"detection_count": 1,
"reference_matches": [
{
"license_expression": "gpl-2.0",
"license_expression_spdx": "GPL-2.0-only",
"from_file": "busybox-1.34.1/procps/smemcap.c",
"start_line": 6,
"end_line": 8,
"matcher": "3-seq",
"score": 92.0,
"matched_length": 23,
"match_coverage": 100.0,
"rule_relevance": 100,
"rule_identifier": "gpl-2.0_470.RULE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_470.RULE"
}
]
},

```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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