Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --delete-after for sync command #30

Merged
merged 3 commits into from Feb 19, 2013
Merged

Conversation

mdomsch
Copy link
Contributor

@mdomsch mdomsch commented Feb 27, 2012

Allow user to specify --delete-after option, used by sync command to delay deleting removed files until after new files have been uploaded. This is necessary for proper operation of a yum repository (and many other models) during the interim period when a sync has started but not all the metadata has yet been synced out. In this case, the still-valid repodata/ directory files get deleted before the new content (packages and new repodata/ files) get uploaded, causing the mirror to be useless in the meantime, which could be many hours.

@mludvig mludvig merged commit b62ce58 into s3tools:master Feb 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants