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

ci: update detection of accidentally added gpl licenses #21384

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

ttytm
Copy link
Member

@ttytm ttytm commented Apr 29, 2024

Updates poor detection in the job that tries to prevent GPL licensed code.

Currently it is checked for the pattern "a GPL license". Which will miss to detect a lot of potentially unwanted additions.
A GPL license can be GPL-2.0 GPLv2, AGPL, LGPL, LGPLv3, (LGPLv3) etc.. Grepping the projects code-base will give an idea.

A screenshot of a sample run that includes a potential gpl license text:
Screenshot_20240430_015503

https://github.com/ttytm/v/actions/runs/8886970660/job/24401414482

If the CI should be triggered and there are no concerns, merging with the failed job should make it green for the run after the merge.

@ttytm ttytm force-pushed the ci/gpl-detect branch 3 times, most recently from 5c9a5c0 to 14e7645 Compare April 29, 2024 23:31
@spytheman spytheman merged commit 45eed64 into vlang:master Apr 30, 2024
10 checks passed
@ttytm ttytm deleted the ci/gpl-detect branch April 30, 2024 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants