The Dopefly Tech Blog

<< The Dopefly Tech Blog Main page

Save your life in subversion

posted under category: General on February 22, 2007 at 1:00 am by MrNate

A few years ago, I read a story on Slashdot about a guy who saved his linux home directory in CVS.

Today, John Blayter mentioned someone doing exactly that but only with their Eclipse install.

What an interesting idea, I thought. I could save my plugin configuration and my workspace folder in subversion. I can roll back when things get screwed up, and commit when I make a good change. Ahh, but what about hacking at home versus at work? How about a branch for each? Maybe work will be the main trunk and I would be able to merge changes from home while rebasing changes from work. When I install a plugin, I can make a new branch for it to see if I like it. If I do, I can roll it back into the trunk and rebase with the home branch. If not, I can drop the branch and roll back to the trunk. I can track different eclipse versions and test compatibility with my other plugins. This really could solve a number of problems.

I'm not sure I would do it. I don't currently have a place to hold my entire Eclipse setup, with versions. But the idea is something to think about, for sure.

Too old to comment!
On Feb 23, 2007 at 1:00 AM Chris Foster (www.chrisfoster.com.au) said:
I'm a Flash developer at Endemol in the UK. We use Eclipse and MTASC and have a high turnover of Flash contractors. Placing our current Eclipse install, and the latest version of MTASC in Subversion has reduced the time we take to get new devs setup from around 3 hours to less than an hour.

We haven't ever needed to rollback or branch, generally we only commit after a new plugin has proved itself, but it's still a godsend!

On Feb 26, 2007 at 1:00 AM Jeff Self (jeff.self@example.com who would have preferred an address at gmail.com) said:
Joey Hess wrote a follow-up article about keeping his home directory in Subversion. You can read it here.
Too old to comment!