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

Speedup reposync by avoiding deletion of the createrepo cache. #35

Merged
merged 1 commit into from Dec 29, 2011
Merged

Speedup reposync by avoiding deletion of the createrepo cache. #35

merged 1 commit into from Dec 29, 2011

Conversation

nielsbasjes
Copy link
Contributor

rsync copies the repositories with --delete hence deleting everything local that isn't on the source server. The createrepo then creates (following the default settings) a cache directory ... which is deleted by the next rsync run. Putting the cache directory in the rsync exclude list avoids this deletion and speeds up running reposync dramatically.

… local that isn't on the source server.

The createrepo then creates (following the default settings) a cache directory ... which is deleted by the next rsync run.
Putting the cache directory in the rsync exclude list avoids this deletion and speeds up running reposync dramatically.
@nielsbasjes
Copy link
Contributor Author

This is the fix I put in my system over a year ago that is the same as described here: #20 . I simply put it into git.

mpdehaan added a commit that referenced this pull request Dec 29, 2011
Speedup reposync by avoiding deletion of the createrepo cache.
@mpdehaan mpdehaan merged commit bad8d74 into cobbler:master Dec 29, 2011
aaannz pushed a commit to aaannz/cobbler that referenced this pull request May 17, 2023
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