aboutcode-org / aboutcode-org/scancode-toolkit

BSD/GPL false positive

Abierto
#4,373 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
2.6k
Forks
791
Merge medio
1 d 12 h
PR fusionados (30 d)
5

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.