Default to mirror = False
Syncing with mirror=True is a destructive operation, and it's especially destructive if you are storing multiple content types in the same repository. Since mirror mode doesn't respect plugin type boundaries , doing a mirror sync will wipe out any content in the repo that isn't of a type handled by plugin performing the sync.
Even with copious documented warnings which we don't yet have , I feel like this is a bad default value. The concern that repositories would accumulate too many old packages that are never cleaned is valid, but it's likely able to be solved in much less destructive ways than this.
This problem could also be resolved by making mirror mode respect type boundaries , but that seems architecturally difficult.
- Status changed from POST to MODIFIED
Applied in changeset pulpcore-plugin|1269464b1f335fbf81889d3551ec83d9c8458e67.
Please register to edit this issue