Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to licenseclassifier/v2 #26

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

skitt
Copy link
Contributor

@skitt skitt commented Jan 5, 2024

This greatly improves the classifier's accuracy, and avoids having to handle the license database in lichen (it's embedded in the classifier).

The classifier returns "Copyright" matches, which is a behaviour change for lichen, so these matches are ignored.

This is failing linting (gofmt -s).

Signed-off-by: Stephen Kitt <[email protected]>
depguard has switch from a deny list to an allow list, so it rejects
everything by default. Since depguard wasn't previously configured to
deny anything, this disables it entirely (no linting is lost).

Signed-off-by: Stephen Kitt <[email protected]>
This greatly improves the classifier's accuracy, and avoids having to
handle the license database in lichen (it's embedded in the
classifier).

The classifier returns "Copyright" matches, which is a behaviour
change for lichen, so these matches are ignored.

licenseclassifier/v2 requires Go 1.18 or later, so this drops 1.17
from CI.

Signed-off-by: Stephen Kitt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant