Expose copr runtime_dependencies#2720
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces support for runtime_dependencies in Copr builds, updating the API, configuration schemas, and helper functions to handle this new field. Feedback includes a correction to the defaulting logic to ensure empty lists are handled correctly, a suggestion to add safety checks when accessing the field from Copr project objects to maintain compatibility with older client versions, and a fix for an integration test where a string was incorrectly passed instead of a list.
|
❌ pre-commit FAILURE in 2m 29s |
|
Build succeeded. ✔️ pre-commit SUCCESS in 2m 20s |
TODO:
packit/packit.dev. Documentruntime_dependenciesoption packit.dev#1139Fixes #2719
Merge before packit.dev#TBD
RELEASE NOTES BEGIN
copr_buildjobs will now configureruntime_dependenciesin the copr project. By default it will use the values ofadditional_repos. You may explicitly set it to an empty list or another value to opt-out.RELEASE NOTES END