-
Notifications
You must be signed in to change notification settings - Fork 522
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
use name instead of source for installing collection dir requirements #2259
Conversation
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.
Thanks @s-hertel
Backport to stable-2.16: 💚 backport PR created✅ Backport PR branch: Backported as #2285 🤖 @patchback |
Backport to stable-2.17: 💚 backport PR created✅ Backport PR branch: Backported as #2286 🤖 @patchback |
Backport to stable-2.18: 💚 backport PR created✅ Backport PR branch: Backported as #2287 🤖 @patchback |
…ories (#2259) (#2287) (cherry picked from commit 2e09b53) Co-authored-by: Sloane Hertel <[email protected]>
…ories (#2259) (#2286) (cherry picked from commit 2e09b53) Co-authored-by: Sloane Hertel <[email protected]>
…ories (#2259) (#2285) (cherry picked from commit 2e09b53) Co-authored-by: Sloane Hertel <[email protected]>
I should have caught this before approving the PR that added these examples.
When the dependency resolver was added to ansible-galaxy in 2.12, it inadvertently overloaded the
source
collection requirement field, which was previously only able to be a URL to a galaxy server. Now it is sort of an alias toname
in some situations, and it's a bug because we had specifically discussed not unifying rolesrc
vs collectionsource
for requirements, because although it's unfortunate that they're similarly named but completely different features (one is a URL to a role, the other is a URL galaxy server), it was outside of the scope of that PR (and at the time of discussion, I was under the impression we would want to make the role syntax more like collections though - not the other way around).