forked from orospakr/vrms-arch
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add ambiguation for some packages and additional licenses #9
Merged
gardenappl
merged 5 commits into
gardenappl:main
from
mahlzahn:add_ambiguation_and_additional_licenses
Oct 22, 2023
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
ff16463
Update license_finder.py
im397 ad79e1f
Update license_finder.py
im397 79316e8
add licenses, improve license cleaning, etc
mahlzahn 7c42172
Add (G)FDL licenses
im397 9b13102
add packages ambiguation and additional licenses
mahlzahn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thinkOR
should be a special case, we should check if at least one of theOR
terms is free, and if so, discard the commercial alternatives. At least that's how I'd interpret that legally, I am not a lawyer though.Funny enough, earlier I was thinking of some over-engineered solution of creating some parser for AND and OR alternative licenses, and resolving them to see if the product can be used with a free license. But honestly just splitting the string onOR
probably works just as well, no need for a parser.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On second thought, doesn't this conflict with things like
GPL2-or-later
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could indeed be if someone declared it as e.g.
custom:GPL2 OR later
, because it is before the cleaning. I agree it’s not the cleanest hack, but for the given packages (five in Manjaro) it works.But I agree that proper treatment would be of course better. This would also include the proper treatment of exceptions and their splitting word
WITH
.If you prefer I can also remove this addition for now. And in future we can think about how to implement this properly. Let me know!