aboutcode-org / aboutcode-org/scancode-toolkit

BSD/GPL false positive

Đang mở
#4,373 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
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ả

### Description

Scanning the following license text:

```
Source code in this repository is licensed under various licenses. The
Business Source License 1.1 (BSL) is one such license. Each file indicates in
a section at the beginning of the file the name of the license that applies to
it. All licenses used in this repository can be found in the top-level
licenses directory.
```

gives me:

```
{
"identifier": "bsd_new_or_gpl_2_0__and_bsl_1_1-1599420a-93b5-3185-5f84-e963a785af88",
"license_expression": "(bsd-new OR gpl-2.0) AND bsl-1.1",
"license_expression_spdx": "(BSD-3-Clause OR GPL-2.0-only) AND BUSL-1.1",
"detection_count": 1,
"detection_log": [],
"reference_matches": [
{
"license_expression": "bsd-new OR gpl-2.0",
"license_expression_spdx": "BSD-3-Clause OR GPL-2.0-only",
"from_file": "8/488b5883433152f8",
"start_line": 1,
"end_line": 2,
"matcher": "3-seq",
"score": 12.38,
"matched_length": 5,
"match_coverage": 12.5,
"rule_relevance": 99,
"rule_identifier": "bsd-new_or_gpl-2.0_32.RULE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_32.RULE"
},
{
"license_expression": "bsl-1.1",
"license_expression_spdx": "BUSL-1.1",
"from_file": "8/488b5883433152f8",
"start_line": 2,
"end_line": 2,
"matcher": "2-aho",
"score": 100.0,
"matched_length": 5,
"match_coverage": 100.0,
"rule_relevance": 100,
"rule_identifier": "bsl-1.1_3.RULE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsl-1.1_3.RULE"
}
]
},
```

but there is absolutely no mention of BSD or GPL in the license text at all.

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.