Please see this thread: https://capistrano.lighthouseapp.com/projects/8716/tickets/140-rsync-globbing-causes-hidden-files-to-be-skipped#ticket-140-6
It appears that the rsync command inside lib/capistrano/recipes/deploy/ strategy/remote_cache.rb uses a globbing wildcard (*) that does not match dot files, (unless shopt -s dotglob) is explicitly enabled. By removing the star wildcard, our installation of Capistrano has never had a problem. Arthur On Jun 5, 1:54 am, Jon Chin <[email protected]> wrote: > Hi Lee, > > Thanks for the help. That link got me started on the right track. Since > the .htaccess files get copied when I don't set copy_exclude at all, I think > it's got to be an issue with rsync'ing it. I'll check with my host to see > what their settings are with hidden files. Thanks! > > > > On Fri, Jun 4, 2010 at 3:02 AM, Lee Hambley <[email protected]> wrote: > > John, > > > Looks like in that case the rsync|copy from the cached_copy to the release > > directory is ignoring hidden files… Take a look at the definition here, and > > see if you spot anything obvious: > >http://github.com/capistrano/capistrano/blob/master/lib/capistrano/re... > > > Also, for the record you should be off 1.8.6 (not causing this problem) but > > it is more then 2/3 years old, and completely obsolete now…… > > > - Lee > > > On 4 June 2010 03:37, Jon Chin <[email protected]> wrote: > > >> Oops, sorry about that. Here's my environment: > >> Ruby 1.8.6 > >> Capistrano 2.5.18 > >> Deploying with remote_cache from a git repository > > >> Thanks in advance for any suggestions/advice! > > >> On Thu, Jun 3, 2010 at 3:17 AM, Lee Hambley <[email protected]>wrote: > > >>> Please include all the information as requested on the Google groups > >>> homepage… specifically in this instance: > > >>> - Which deploy strategy are you using (:copy, for example relies on > >>> Tar, which behaves unexpectedly with hidden files) > >>> - What version of Cap, Ruby, Net::SSH and etc are you using …… > > >>> Thanks, Lee > > >>> On 3 June 2010 07:27, JonC <[email protected]> wrote: > > >>>> I have Capistrano configured and it works perfectly...except that it > >>>> doesn't seem to be copying my .htaccess files. I've checked and they > >>>> are in the repo with my other files. The only explanation I can think > >>>> of is that since I'm executing Capistrano from a Windows machine, > >>>> maybe the .* files get ignored? Has anybody else experienced this? > > >>>> -- > > >>>> * You received this message because you are subscribed to the Google > >>>> Groups "Capistrano" group. > >>>> * To post to this group, send email to [email protected] > >>>> * To unsubscribe from this group, send email to > >>>> [email protected]<capistrano%2bunsubscr...@googlegrou > >>>> ps.com>For more options, visit this group at > >>>>http://groups.google.com/group/capistrano?hl=en > > >>> -- > >>> * You received this message because you are subscribed to the Google > >>> Groups "Capistrano" group. > >>> * To post to this group, send email to [email protected] > >>> * To unsubscribe from this group, send email to > >>> [email protected]<capistrano%2bunsubscr...@googlegrou > >>> ps.com>For more options, visit this group at > >>>http://groups.google.com/group/capistrano?hl=en > > >> -- > >> * You received this message because you are subscribed to the Google > >> Groups "Capistrano" group. > >> * To post to this group, send email to [email protected] > >> * To unsubscribe from this group, send email to > >> [email protected]<capistrano%2bunsubscr...@googlegrou > >> ps.com>For more options, visit this group at > >>http://groups.google.com/group/capistrano?hl=en > > > -- > > * You received this message because you are subscribed to the Google Groups > > "Capistrano" group. > > * To post to this group, send email to [email protected] > > * To unsubscribe from this group, send email to > > [email protected]<capistrano%2bunsubscr...@googlegrou > > ps.com>For more options, visit this group at > >http://groups.google.com/group/capistrano?hl=en -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
