aboutcode-org / aboutcode-org/scancode-toolkit

"Go license" is barely a license clue

Aperta
#3,706 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.