-
Notifications
You must be signed in to change notification settings - Fork 297
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 #37974 - support keep-latest-packages in python #11202
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.
Not a complete review, just something that jumped out to me.
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.
Functionally this is working well when combined with #11220
However, I found a UI bug. When you look at an existing repository that has a "Keep latest packages" value, the UI shows it as blank. This issue seems related only to generic content types that have integer fields.
I'm guessing the fix would live in /home/vagrant/katello/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-info.controller.js
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 great, thanks!
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.
Oh actually I missed one thing:
The pulp python backend supports keep-latest-packages. This should be available on the UI, too.
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!
* Fixes #37974 - support keep-latest-packages in python The pulp python backend supports keep-latest-packages. This should be available on the UI, too. * Fixes generic_remote_options if there is no delimiter (cherry picked from commit 8201a7a)
* Fixes #37974 - support keep-latest-packages in python The pulp python backend supports keep-latest-packages. This should be available on the UI, too. * Fixes generic_remote_options if there is no delimiter (cherry picked from commit 8201a7a)
The pulp python backend supports keep-latest-packages. This should be available on the UI, too.
Thanks @lumarel for adding the number content type some days ago. Very appreciated!