aboutcode-org / aboutcode-org/scancode-toolkit

BSD/GPL false positive

Ouverte
#4,373 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Python
Étoiles
2.6k
Forks
791
Merge moyen
1 j 12 h
PR mergées (30 j)
5

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.