>>>>> "Robin" == Robin Bowes <[email protected]> writes:
    Robin> In lib/capistrano/recipes/deploy/strategy/copy.rb, the deploy! method
    Robin> does five things:

    Robin> - checks out the specified code revision (or updates the local cache)
    Robin> - copies the code tree to a tmp dir
    Robin> - creates a tarball from the temp tree
    Robin> - uploads the tarball to the remote nodes
    Robin> - unrolls that tarblal on the remote node

    Robin> In step 2, the code is not actually copied to the temp dir, but 
rather
    Robin> created using a series of hard links to the files in the original 
code
    Robin> checkout or local cache.

    Robin> I'm guessing that this was done to conserve disk space?

It's also a lot faster...

I did a deploy-via-dpkg, and I had the same problem, I think.

I created a new task, "exportarchive" which basically does a copy, but
does it the git way.

https://github.com/mcr/capistrano/commit/a731909e7b197da84442588591a1c28601c9e95a

it could be refactored, or more callbacks added.

(looks like I left a few tabs in there. oops)

-- 
]       He who is tired of Weird Al is tired of life!           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] [email protected] http://www.sandelman.ottawa.on.ca/ |device driver[
   Kyoto Plus: watch the video <http://www.youtube.com/watch?v=kzx1ycLXQSE>
                       then sign the petition. 

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

Reply via email to