-
Notifications
You must be signed in to change notification settings - Fork 14
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 valid property to sources #295
Conversation
Signed-off-by: Nikola Forró <[email protected]>
Signed-off-by: Nikola Forró <[email protected]>
Note that conditionalizing Sources or Patches is a code smell and can have negative consequences (see e.g., https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_do_not_conditionalize_sources), but I guess it's still valid to implement this... |
Build succeeded. ✔️ pre-commit SUCCESS in 25m 34s |
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.
👍
/packit rebuild-failed |
Build succeeded (gate pipeline). ✔️ pre-commit SUCCESS in 4m 10s |
Maybe, we can warn the user and link this paragraph once we find such a case..;) |
Do not download sources excluded using spec file conditions Fixes #2129. Merge after packit/specfile#295. RELEASE NOTES BEGIN Packit no longer downloads sources excluded using spec file conditions. RELEASE NOTES END Reviewed-by: Laura Barcziová Reviewed-by: František Lachman <[email protected]>
Related to packit/packit#2129.
RELEASE NOTES BEGIN
Sources now have a
valid
property that indicates whether a source is valid in the current context, meaning it is not present in a false branch of any condition.RELEASE NOTES END