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

Already on GitHub? Sign in to your account

Add --delete-after for sync command #30

merged 3 commits into from Feb 19, 2013


None yet
2 participants

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