Vlad the Deployer set svn username | January 8th, 2008
Quick gotcha I ran into today deploying with Vlad (the Deployer) with a Subversion repo that has a different username than your deployment server. Here’s the variable you need to set in deploy.rb:
set :svn_cmd, "svn --username brian"
Of course once we add another developer to this project that hack isn’t going to hold up. If I magically find some extra time I’ll post a proper fix.
Gotta say Vlad is really nicely written. Have a peek at the source if you get the chance.
January 9th, 2008 at 3:34 am
Once another developer is added to the project, the deploy file will not hold up anyway. Each developer should have their own deploy files cooked up, and the directories should be owned by a group that’s common to both developers on that box.
Unless, that is, you want to give your passwords to developers that are added to the project, and give out your SSH keys.