SwitchTower wishlist
SwitchTower? It seems to be popping up everywhere, with people generally raving about it. Some seem more than a little enamored of it.
I’ll be releasing a new version of it early next week.
But what I’m really wondering is this: what about SwitchTower really bothers you? What could make it better? What do you think it lacks? No guarantees that I’ll answer every request (in fact, I’d like to keep the features pretty limited, and allow people to instead distribute their own recipe files where possible), but I’d like to know how people are using (or wanting to use) SwitchTower, and what about it is most painful to them.
So, speak up!


Reader Comments
22 Dec 2005
22 Dec 2005
22 Dec 2005
23 Dec 2005
23 Dec 2005
23 Dec 2005
def copy_roles(roles, from, to) role to, *roles[from].collect { |r| r.host } end copy_roles roles, :tracker, :app # make all tracker roles app rolesLetting roles extend others like this might be helpful, for example a :code role could be defined and used to deploy code, then :app would extend :code. If this were the case I wouldn't have had to use :db just to get code on a host. In general, I agree that if things were broken down in smaller pieces it would be easier to put together in unexpected ways. But seriously, there's nothing we couldn't do yet, just maybe not as DRY as I'd like.23 Dec 2005
23 Dec 2005
23 Dec 2005
23 Dec 2005
23 Dec 2005
desc "Removes old releases." task :cleanup, :roles => [:app, :db, :web] do keep = releases[(releases.length > 5 ? -5 : -1 * releases.length) .. -1].join('|') run <<-CMD cd #{releases_path} && for i in `ls -d * | egrep -v "#{keep}"`; do if [[ -a $i ]] then rm -rf $i ; fi; done CMD end23 Dec 2005
23 Dec 2005
23 Dec 2005
23 Dec 2005
23 Dec 2005
24 Dec 2005
24 Dec 2005
27 Dec 2005
27 Dec 2005
27 Dec 2005
28 Dec 2005
9 Jan 2006
9 Jan 2006
12 Jan 2006
12 Jan 2006
12 Jan 2006
12 Jan 2006
12 Jan 2006
12 Jan 2006
14 Jan 2006
13 Feb 2006