We are using Capistrano to deploy an application stored in Git. We
specify "set :deploy_via, :copy" to transfer a tarball via ssh, rather
than checking out the code on the remote server. All of this works
great, except for one minor hitch:

After we accidentally checked a large file into Git, deployments were
suddenly taking a long time. Even after we removed the file, this
situation did not improve. This turned out to be because the tarball
includes not just the code, but also the ".git" directory, which
contains the entire version history. So even if we hadn't checked in a
huge file right now, this style of deployment would eventually become
very slow as the revision history grows (particularly since many
broadband connections are still fairly limited in upload bandwidth).

What would be the easiest way to modify the Capistrano / Git
deployment tasks to exclude the ".git" directory? Do you think this
should be the default?

-Mirko

--~--~---------~--~----~------------~-------~--~----~
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