Project

General

Profile

Actions

Feature #13208

closed

Need a "Mirror On Sync" option

Added by Partha Aji about 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:
Actions #1

Updated by Partha Aji about 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

Actions #2

Updated by The Foreman Bot about 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
Actions #3

Updated by Eric Helms about 8 years ago

  • Tracker changed from Bug to Feature
  • translation missing: en.field_release set to 86
Actions #4

Updated by Thomas McKay about 8 years ago

  • Bugzilla link set to 1215672
Actions #5

Updated by Bryan Kearney about 8 years ago

  • Category set to Web UI
Actions #6

Updated by Bryan Kearney about 8 years ago

  • Category changed from Web UI to Repositories
Actions #7

Updated by Partha Aji about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF