-
Notifications
You must be signed in to change notification settings - Fork 289
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
Fixes #28644 - Repo Mapper prunes unused subs #8551
Conversation
Prior to this commit any action that did something like PUT /katello/api/v2/products/572/repository_sets/7441/enable/ -d '{"releasever":"8", "basearch":"x86_64"}' would set the arch for a repository using the basearch value even if basearch is an invalid/unused url substitution. This caused weird bugs with repo enablement unacknowleged etc This commit clears out unused subtitutions before the url path is mapped via repo mapper. This sets the correct value for the arch in the repository object
Issues: #28644 |
|
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.
Works as advertised and I think it addressed the problem. ACK
Ack, works as described. |
Prior to this commit any action that did something like PUT /katello/api/v2/products/572/repository_sets/7441/enable/ -d '{"releasever":"8", "basearch":"x86_64"}' would set the arch for a repository using the basearch value even if basearch is an invalid/unused url substitution. This caused weird bugs with repo enablement unacknowleged etc This commit clears out unused subtitutions before the url path is mapped via repo mapper. This sets the correct value for the arch in the repository object (cherry picked from commit 1a440ef)
Prior to this commit any action that did something like PUT /katello/api/v2/products/572/repository_sets/7441/enable/ -d '{"releasever":"8", "basearch":"x86_64"}' would set the arch for a repository using the basearch value even if basearch is an invalid/unused url substitution. This caused weird bugs with repo enablement unacknowleged etc This commit clears out unused subtitutions before the url path is mapped via repo mapper. This sets the correct value for the arch in the repository object (cherry picked from commit 1a440ef)
Prior to this commit any action that did something like
PUT /katello/api/v2/products/572/repository_sets/7441/enable/
-d '{"releasever":"8", "basearch":"x86_64"}'
would set the arch for a repository using the basearch value even if
basearch is an invalid/unused url substitution. This caused weird bugs
with repo enablement unacknowleged etc
This commit clears out unused subtitutions before the url path is mapped
via repo mapper. This sets the correct value for the arch in the
repository object