On 6/18/08, Puyo <[EMAIL PROTECTED]> wrote:
>
>  It was taking a long time to upload our deployments using the update
>  strategy. We moved to using the copy strategy with a .tar.bz2 and that
>  improved things, but I noticed it was including all the .svn
>  directories in the tarball. Given that we aren't going to use 'svn up'
>  remotely because we're using the copy strategy, I decided I could do
>  without them. So I redefined
>  Capistrano::Deploy::Strategy::Copy#deploy! in such a way that it
>  removed all the .svn files before compressing and sending the file
>  (see below). This brought the file size of the .tar.bz2 file down from
>  5 MB to 3 MB, which saves us a bit of time and bandwidth during
>  deployments.
>
>  Would it be possible to add a hook or an option to this function so I
>  don't have to override it in this way?
>
You can avoid this overriding completely by using the following line
in your config.

set :copy_strategy, :export

HTH

Jon

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to