aboutcode-org / aboutcode-org/scancode-toolkit

BSD/GPL false positive

Open
#4,373 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.