Bug 786677 - Support enabling/disabling sync operations for a repo
Summary: Support enabling/disabling sync operations for a repo
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: PulpDist
Classification: Community
Component: Pulp Plugins
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: 0.1.0
Assignee: Nick Coghlan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-02 06:26 UTC by Nick Coghlan
Modified: 2012-02-10 06:50 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-10 06:50:33 UTC


Attachments (Terms of Use)

Description Nick Coghlan 2012-02-02 06:26:23 UTC
The custom Pulp plugins should provide a setting that allows all sync operations to be disabled without otherwise altering the configuration.

When this "disable_sync" flag is set, all sync operations will bail out immediately, reporting SYNC_DISABLED as the sync result.

The management client will also need to be updated to support enabling/disabling the sync setting on repos.

Comment 1 Nick Coghlan 2012-02-03 03:53:38 UTC
This setting will actually just be called "enabled" rather than "disable_sync".

It will default to *False*, so that improperly configured repositories are slightly less likely to cause problems.

Comment 2 Nick Coghlan 2012-02-10 06:50:33 UTC
Done. Also added tests for the "dry_run_only" option (and discovered it was actually broken for the snapshot_tree plugin)


Note You need to log in before you can comment on or make changes to this bug.