-
Notifications
You must be signed in to change notification settings - Fork 98
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
Dealing with broken collection deps #493
Comments
I also think this is a necessary feature. And I don't need those collections... they are added automatically by ansible-builder :( |
Also, reading https://access.redhat.com/solutions/6990615 made me wonder if it won't be easier to just fix the dependencies error upstream in redhat.sso and kubernets.core. In the solution above, a user offered a radical solution:
|
There will be inevitable cases where a collection declares incorrect, conflicting, or just-plain-broken dependencies- as of builder 3.0rc1, there's no way to just ignore those deps to allow the EE build to continue.
We don't want to get into the business of transforming, constraining, or substituting build dependencies, but providing a per-collection mechanism for "I don't want to consider part of this collection's declared deps" seems like a useful (and sometimes necessary) escape hatch.
Since we're just passing through the Galaxy
requirements.yml
, the most obvious method (annotating the requirements inline) is probably a non-starter, as we'd have to filter and re-generate the inputs to Galaxy in that case. So we're left with declaring that somewhere else in the EE def.Perhaps something like the following:
Could get fancier with the ability to mask individual requirements, ignore cross-collection dependencies, ignore all...
We'd take this information into account as we generate unified requirements files, dropping data from individual sources as requested. Global "never install this package" kinds of things probably aren't possible, but something like this would at least allow the installation of a broken collection version in conjunction with manual addition of the necessary deps.
The text was updated successfully, but these errors were encountered: