-
Notifications
You must be signed in to change notification settings - Fork 303
WIP: Make structured APT mandatory #11487
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
base: master
Are you sure you want to change the base?
Conversation
Reviewer's GuideThis PR removes the optional structured APT setting, making all deb content use structured APT by default. It centralizes Pulp API interactions in the Apt service, refactors repository URL handling, updates action and controller code to treat deb repos uniformly, and delivers a one-off rake task to migrate existing repos during upgrade. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
8e45624
to
5eb2de4
Compare
FYI: I created a docs PR that is blocked until this is merged: theforeman/foreman-documentation#4215 |
What are the changes introduced in this pull request?
Right now, "structured APT" for deb type content is an optional feature that can be enabled or disabled using a setting.
With this PR all users upgrading to a Katello version with these changes will be migrated to use structured APT. The code is cleaned up to reflect the assumption that all deb type content will use structured APT hence forth.
Considerations taken when implementing this change?
Everything is based on the assumption that
lib/katello/tasks/upgrades/4.19/enable_structured_apt_for_deb.rake
will be run during upgrade to Katello 4.19. This is essential because the new code assumes there is no deb content left that was not migrated by the rake task. Is this a safe assumption?What are the testing steps for this pull request?
Summary by Sourcery
Make structured APT mandatory for all deb repositories by removing the feature toggle, cleaning up related code paths, consolidating Pulp API interactions, and providing a migration task to convert existing repos to the new mode.
New Features:
Enhancements:
Tests: