Password management / SVN / Capistrano

Hi,

SVN

I have recently put my project on Google Code.
I didn’t want to put the database.yml in the SVN repository, as it
contains my production server db password.
I put a “database.yml.template” on the public svn and kept a non
managed customized local file “database.yml”.
I’d like to hear how you manage that issue when putting your code on a
public SVN repository ?

Capistrano

Now I am trying Capistrano.
Capistrano is seems to not doing a (incremental) update, but a full
checkout of the site when deploying a new version. The problem is that
it checks out the database.yml.template file.
What task I need to change so after the full checkout, the correct
database.yml is copied from a backup ?

Thanks for your pointers,
Mickael.

Hi Mickael,

I put a “database.yml.template” on the public svn and kept a non
managed customized local file “database.yml”.
I’d like to hear how you manage that issue when putting your code on a
public SVN repository ?

Seems like the Right Way.

Capistrano is seems to not doing a (incremental) update, but a full
checkout of the site when deploying a new version. The problem is that
it checks out the database.yml.template file.
What task I need to change so after the full checkout, the correct
database.yml is copied from a backup ?

Check out:
http://www.jvoorhis.com/articles/2006/07/07/managing-database-yml-with-capistrano


Roderick van Domburg

Great ! Thanks.
Mickael.

On Aug 9, 10:53 am, Roderick van Domburg <rails-mailing-l…@andreas-