This post originated from an RSS feed registered with Ruby Buzz
by Jamis Buck.
Original Post: Separate passwords for svn/ssh via SwitchTower
Feed Title: the buckblogs here
Feed URL: http://weblog.jamisbuck.org/blog.cgi/programming/index.rss
Feed Description: Jamis Buck's corner of the blogging universe. Mostly about ruby, but includes ramblings on a variety of topics.
One of SwitchTower’s assumptions is that the password you use to access your deployment machines is the same password you use to access your source code repository. For many people, this isn’t the case. I’ll be working on making this scenario cleaner in the next release, but in the meantime, you might consider something like this:
Procs are used for some of the variables so that they aren’t evaluated until the first time they are needed. This way, if you are running a ST task that doesn’t need the svn password, you don’t get prompted for it.
(Thanks to Craig Davey for pointing out that you can put the username and password in the repository line. Nice hack!)