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 support for rsync --exclude to speed up deployment #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

deardaniel
Copy link

This simply adds a copy_exclude configuration option that is converted to rsync --exclude parameters.

Similar in implementation to remote_cache.

@reagent reagent self-assigned this Oct 17, 2014
@reagent
Copy link
Contributor

reagent commented Oct 21, 2014

Added in 4c19355. Two things to note:

  • I only use --exclude when syncing the local cache to the remote server, syncing to the release directory doesn't need this flag since the source does not contain the excluded files.
  • I needed to change the default --delete flag to --delete-excluded so that the excluded files are removed from the remote directory (in case they were there previously). --delete-excluded implies --delete, so it's a drop-in replacement.

Let me know if this addresses your original issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants