Feature #13208
closed
- 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
- Status changed from New to Ready For Testing
- Assignee set to Partha Aji
- Pull request https://github.com/Katello/katello/pull/5709 added
- Tracker changed from Bug to Feature
- Translation missing: en.field_release set to 86
- Bugzilla link set to 1215672
- Category changed from Web UI to Repositories
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF