Jeffrey Palermo (.com)

Sponsors

The Lounge

News

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
Configuring Subversion (SVN) on Windows – level 200
I just finished configuring my team’s Subversion server, and I’ve learned quite a few things in the process.  On past teams, someone else gravitated to svn admin duties, so I didn’t complain. 

 

My subversion server is running Windows 2003 server.  Setting up subversion initially is a piece of cake, and the distribution comes with an installer for Windows.  At that point, you can expose the repository to the network via a URN share.  You can use file://server/repository to access it.  This doesn’t require a daemon running to keep track of the source code.  You can give folks NTFS permission to the share.  I prefer, however, to manage users through subversion by using svnserve.exe.  This is an executable, so I chose to use svsservice.exe to install it as a Windows service that would automatically start up with the server.

 

I have everything set up with the svn:// protocol, and each person with access to the repository gets commit emails now.  Commit emails are very important in a team environment because each team member is responsible for the well-being of the code, so everyone needs to know what is being changed.

 

I want to publicly thank some people who have saved me some time.  Steve Donie and James Higgs have both posted about setting up subversion on Windows, and reading those posts has saved me some time.

 

Steve Donie’s tutorial: http://donie.homeip.net:8080/pebble/Steve/2006/02/27/1141079943879.html

James Higgs’ tutorials: http://staff.interesource.com/james/search/?keyword=subversion

Technorati Tags: , , , ,


Posted Thu, Aug 3 2006 5:59 PM by Jeffrey Palermo
Filed under:

[Advertisement]

Comments

Jason Haley wrote Interesting Finds: August 2
on Thu, Aug 3 2006 11:26 PM
Ben Scheirman wrote re: Configuring Subversion (SVN) on Windows – level 200
on Fri, Aug 4 2006 9:37 AM
I wrote a small article on svn usage, typical project setups, and such.

http://www.flux88.com/2006/04/03/Iteration+Zero++Part+1++Source+Control+With+Subversion.aspx

I'm a big fan of subversion and use it at home for all of my projects.  At work currently we're stuck with VSS and I don't think anyone is willing to swtich to something better.
JH wrote re: Configuring Subversion (SVN) on Windows – level 200
on Fri, Aug 4 2006 2:06 PM
Have you considered using CCTray (from CruiseControl) to monitor check-in/build status as an alternative to using svnserve.exe to spam each developer's inbox?
Jeffrey Palermo wrote re: Configuring Subversion (SVN) on Windows – level 200
on Fri, Aug 4 2006 2:44 PM
I use that as well, but that doesn't show what is changed and why (commit message).  The email is not spam, and it is a team convention.  In your situation, it may be viewed as spam, and every team is different.  I view this email as a notification asset and very valuable for collective code ownership.

I do love CCTray!
Filip wrote re: Configuring Subversion (SVN) on Windows – level 200
on Wed, Aug 9 2006 1:05 AM
Just to add to your list of useful SVN links:
http://excastle.com/blog/archive/2005/05/31/1048.aspx
links for 2006-08-07 at willkoca wrote links for 2006-08-07 at willkoca
on Thu, Aug 31 2006 11:59 PM
Subversion Notes « Grant McInnes wrote Subversion Notes « Grant McInnes
on Wed, Oct 25 2006 6:27 PM
Manuel wrote re: Configuring Subversion (SVN) on Windows – level 200
on Thu, Jan 18 2007 12:33 AM

For those running Windows/Apache/Subversion check out SharpForge at http://sharpforge.org/

SharpForge is an open source, .net 2.0, easy to use project management web application. It supports multiple portals, multiple projects, subversion administration, work item tracking, project forums, release management, subversion wiki, subversion browsing & news feed aggregation.

Timelog - Week 1 Entry 6 « Stockmarket Forecaster Project wrote Timelog - Week 1 Entry 6 « Stockmarket Forecaster Project
on Wed, Mar 21 2007 9:48 AM