aboutcode-org / aboutcode-org/scancode-toolkit

New license request: gpl-2.0-plus variant

Đang mở
#4,948 1 bình luận 0 reaction 1 người được giao Được giao cho @AyanSinhaMahapatra Xem trên GitHub
bug new-license
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

**License Name**

A variant for GPL-2.0-plus found in squashfs-tools at:

https://github.com/plougher/squashfs-tools/blob/master/squashfs-tools/xz_wrapper_extended.c#L5

Scancode currently gives a partial match to:

https://github.com/aboutcode-org/scancode-toolkit/blob/develop/src/licensedcode/data/rules/gpl-2.0-plus_239.RULE

```
"license_detections": [
{
"license_expression": "gpl-2.0-plus",
"license_expression_spdx": "GPL-2.0-or-later",
"matches": [
{
"license_expression": "gpl-2.0-plus",
"license_expression_spdx": "GPL-2.0-or-later",
"from_file": "squashfs-tools/squashfs-tools/xz_wrapper_extended.c",
"start_line": 5,
"end_line": 17,
"matcher": "3-seq",
"score": 96.46,
"matched_length": 109,
"match_coverage": 96.46,
"rule_relevance": 100,
"rule_identifier": "gpl-2.0-plus_239.RULE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_239.RULE"
}
],
"identifier": "gpl_2_0_plus-1cc87c17-6c55-e17e-bfe8-af56fd47cf42"
}
```

This is the wrong rule, because the rule explicitly mentions a referenced file name, while the file I am scanning from squashfs-tools does not reference this file name.

This is fixed by #4947

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.