aboutcode-org / aboutcode-org/scancode-toolkit

BSD/GPL false positive

Offen
#4,373 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Python
Sterne
2.6k
Forks
791
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
5

Beschreibung

### 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.