aboutcode-org / aboutcode-org/scancode-toolkit

"Go license" is barely a license clue

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

Description

https://github.com/nexB/scancode-toolkit/blob/develop/src/licensedcode/data/rules/bsd-new_1282.RULE with "go license" is not enough for a license reference. This is a weak clue.
It triggers false positive as in:
- https://github.com/Azure/azure-sdk-for-go/blob/v68.0.0/documentation/code-generation.md?plain=1#L25
- https://github.com/Azure/azure-sdk-for-go/blob/v68.0.0/eng/tools/generator/autorest/testdata/missing_batch_readme.go.md?plain=1#L6

Another way could be to tag with is_continuous and discard matches with is_continuous also when there are punctuations

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.