-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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 mechanism for handling meta.sourceProvenance
attributes
#161098
Commits on May 20, 2022
-
add mechanism for handling meta.sourceProvenance attributes
heavily based on patterns used by licenses infrastructure, so may appear overengineered for its initial level of use
Configuration menu - View commit details
-
Copy full SHA for befb95a - Browse repository at this point
Copy the full SHA befb95aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9287f36 - Browse repository at this point
Copy the full SHA 9287f36View commit details -
meta.sourceProvenance documentation: clarify it is unaffected by chan…
…ges to meta.license This commit clarifies that the meaning of the `meta.sourceProvenance` field is independent of and unaffected by the value of the `meta.license` field. This is based on the intent of the RFC author as expressed here: NixOS#161098 (comment) This clarification is added for two reasons: 1. If in the future there should be some disagreement about what `sourceProvenance` to assign to a package, this may help resolve the disagreement. Any interpretation of `sourceProvenance` which is influenced by the `meta.license` is clearly an incorrect interpretation. 2. If it should turn out that it is impossible to disentangle `sourceProvenance` from `meta.license`, this would indicate the need for changes to the `sourceProvenance` scheme. That change might be as simple as replacing the sentence added by this commit with some other sentence explaining how the two fields influence each other. This commit implements the recommendation made in the paragraph of this comments which begins with "Please say this explicitly...": NixOS#161098 (comment)
Configuration menu - View commit details
-
Copy full SHA for 0b3beeb - Browse repository at this point
Copy the full SHA 0b3beebView commit details -
meta.sourceProvenance: disallow string values
strings complicate reasoning about values and may not be needed with `sourceProvenance` Co-authored-by: Alexander Foremny <aforemny@posteo.de>
Configuration menu - View commit details
-
Copy full SHA for 80ce947 - Browse repository at this point
Copy the full SHA 80ce947View commit details -
allowNonSourcePredicate: use example of categorical permissivity
Co-authored-by: Adam Joseph <54836058+a-m-joseph@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 27db166 - Browse repository at this point
Copy the full SHA 27db166View commit details -
meta.sourceProvenance: inline hasSourceProvenance
it may be what the license handling code does, but it's confusing and not very useful Co-authored-by: Adam Joseph <54836058+a-m-joseph@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 97bb4aa - Browse repository at this point
Copy the full SHA 97bb4aaView commit details -
lib.sourceTypes: simplify implementation
Co-authored-by: Alexander Foremny <aforemny@posteo.de>
Configuration menu - View commit details
-
Copy full SHA for d4c9023 - Browse repository at this point
Copy the full SHA d4c9023View commit details