-
Notifications
You must be signed in to change notification settings - Fork 255
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
Webistrano not deploying .htaccess files #11
Comments
The code executing that command is not directly part of Webistrano. It simply utilizes Capistrano for running the actual deployment, where the issue should be raised instead. When it's fixed in Capistrano, we can apply the fix to the version bundled with Webistrano. |
Thanks. Opps just found that this issue was already raised on the capistrano website: https://capistrano.lighthouseapp.com/projects/8716/tickets/140-rsync-globbing-causes-hidden-files-to-be-skipped The Capistrano guys seem to think this is a feature not a bug. |
I opened a Capistrano pull request for this. Hopefully it will be accepted. |
Thanks for trying Mark but I doubt Capistrano will accept it because it will expose some people's source trees if they have .git or .svn files. Discussed previously in https://capistrano.lighthouseapp.com/projects/8716/tickets/140-rsync-globbing-causes-hidden-files-to-be-skipped. |
I don't think that's a valid argument. Because note that |
fixed convert ascii-8bit to utf-8.
This is a example of the rsync command that webistrano generates and executes as part of deployment:
Unfortunately, the above command doesn't copy over the .htaccess file from the cached-copy directory.
To fix the issue the rsync needs to remove the trailing star in the source path (or end with "/." instead of "/*").
For reference: OS: RHEL 5.5, rsync --version is "rsync version 2.6.8 protocol version 29"
The text was updated successfully, but these errors were encountered: