capistrano
for deployments, capistrano
does code checkout
from the application machines. It is often preferable to use svn export
instead of svn checkout
. Capistrano defaults to checkout
, but it can be configured to use export
by setting the :deploy_via
parameter to 'export'
in deployment script.
2 comments:
Can you please explain why is export preferable to checkout?
Sure. For older SVN versions (I think 1.4, 1.5 and probably 1.6 also), checkout creates .svn folder within every subfolder of the repo. This can sometimes cause security concerns.
Post a Comment