Feature #13208
closedNeed a "Mirror On Sync" option
Updated by Partha Aji over 8 years ago
- Subject changed from Need a to Need a "Mirror On Sync" option
As of today when a user syncs content from a feed, the repo on the katello host does not delete packages from the previous sync, even if the feed repo had deleted packages. This means the host repo contains -> new packages from the latest sync + packages from old sync.
For example ->
If feed had packages A1, B1 at some point and the katello host repo synced this , it would have A1,B1
Now if the feed updated its repo and now has A2, B1 and the user resynced, the host repo would now have A1,A2, B1
Since its not an exact mirror there can be issues with dependencies and other problems. Now some users may prefer to have the old packages around to be able to do a downgrade if newer package does not work. But in most cases especially packages from CDN we would want the mirroring to happen.
To remedy this what we need is
1) An option in the Repo model to "Mirror On Sync". Set to true by default
2) Functionality to set the sync option in pulp (already there)
3) UI Repository Details/Hammer repo operations having ability to set this to true
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Partha Aji
- Pull request https://github.com/Katello/katello/pull/5709 added
Updated by Eric Helms over 8 years ago
- Tracker changed from Bug to Feature
- Translation missing: en.field_release set to 86
Updated by Bryan Kearney over 8 years ago
- Category changed from Web UI to Repositories
Updated by Partha Aji over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|7de1b3ef3befe35477c6fe2750db9e30e1de3a38.