aboutcode-org / aboutcode-org/scancode-toolkit

"Go license" is barely a license clue

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

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.