Ask a Jedi: Getting started with SVN
Joshua asks:
I'm wanting to start a project and I'm wanting to do it using methods like SVN, Versioning, Builds, etc. I've never done any of this and was curious if you had any pointers or guides out there about this. I just don't know where to start on learning or practicing.
I have to admit that I take a fairly simple view to Subversion. I don't follow the guidelines for creating versions, builds, etc.
I can say that I make heavy use of the online book for SVN:
Version Control with Subversion
The book does a good job of covering server and repository setup, and it also discusses recommended repository layout for handling stuff like versioning and builds.
Outside of Subversion itself, I can make the following recommendations for clients:
- On Windows, I loved TortoiseSVN. It acts as a mod to Windows Explorer and makes it real easy to work with SVN.
- On the Mac, I've used ZigVersion, but have not been happy with it. Frankly, I haven't like any Mac SVN client.
- Luckily though there is Subclipse, a very well done Eclipse plugin for Subversion. This will obviously work on both Mac and PC, so it may be the best choice.
Again - I barely scratch the surface of SVN myself, so I can't offer a lot of advice. I will share one thing that I wish I had known early on. If you want to create a copy of your SVN repository to share with others, use the Export command. This creates a version of your code without any of the .svn folders. For a long time I was doing Check Outs and manually cleaning up the .svn folder stuff. Dumb.
I'll also point out a recent article by Mark Drew: Using keyword substitution in Subversion. This demonstrates a cool feature of SVN you may miss out on if you skim the docs (as I did!).
Comments
This is a great starting point for me.
Hope all is well!
-Josh
I've been using TOW (Trac on Windows) for over a year with no probs. Give it a try!
http://traconwindows.wordpress.com/
It includes Trac, SVN and an Apache install pre-configured for Trac and also a few sample projects to get started with.
Since the setup is done from batch files tho, it's a bit complicated to get everything setup as a service. I recently used this article to get everything setup in a very short amount of time:
http://www.pulseaudio.org/wiki/TracOnWindows
A bit old, but it still worked fine for me.
-Ramsey
Another option instead of running SVN in-house is to use a service provider like CVSDude. It's a cheap alternative as you don't have to manage it platform and it include Trac or Bugzilla, WebDAV storage and email lists. It's worth the investment as they do 10 minute hot backups which I doubt most people think about if they run SVN in-house. It's easy to get SVN running, but then you have to deal with backups which everybody forgets to do. Who cares if you have version control when you don't have backup to restore from in emergencies?
http://www.trajiklyhip.com/blog/index.cfm/2007/3/1...
FWIW, I could of course be reading this completely wrong, but I think BigMadKev is going to be coming out with something to "install Subversion and get it up and running quick. Like in under 30 minutes with Apache and Trac".
I am fairly certain he's no SVN/Trac newbie.
What say you, Kev?
I'm disappointed to hear that you haven't found a good Mac SVN client, Ray. I'm going to be buying a macbook in the next week (I haven't used Mac's since my old PowerPC 60 Mhz box and the old apple CRT's... oh how time flies) and I'm starting to look into software more.
You been keeping tabs on me?
Yeap you were indeed right :)
Just finished putitng the final touches http://inner-rhythm.co.uk/TV/ and I counted up the time it took to install SAT (Subversion, Apache & Trac) to be 15 Minutes 38 Seconds :)
Guys I'd really appreciated your feed back on my new project. I hope to bring more videos over the next few weeks to help developers of all standards come up to scratch.
The idea being that you have the written tutorial like everywhere else on the net, but also a video to go with it, so you get a feel.
Once again feed back appreciated.
Here's the link..
http://labs.fusionlink.com/katapult/index.cfm?page...


Well I'd stay tuned to an announcement later today/tonight :D