Today, I finally got around to taking off that "install SVN server" that's been lurking on my to-do list for a couple of months. First, I happened to remember the
Mere-Moments Guide that I had read about somewhere, long ago. That was helpful, but
Rob Gonda's repost of it was a bit better, since he posted the SVNService.zip, which was dead in the original post.
But, what I wish I had really found first was Charlie Arehart's
list of Subversion resources. In particular, the
Less Than Mere-Moments Installation of Subversion utility caught my eye.
In any case, as promised by Rob, the setup took less than 30 minutes. But, I spent a little time figuring out two things that I'm going to post so I remember them easier (sorry to any authors who may have also posted this, I didn't go through Charlie's list of resources since I had already got it working to my needs):
- In the configuration files, whitespace before the property in question matters. Took me a moment to figure out why simply uncommenting the lines in question wasn't working, but removing the whitespace did it for me.
- I didn't think the in-file documentation was especially clear regarding how to limit access to certain projects to certain users, so I'll describe my scenario:
Lil' José Ramirez needs access to all the projects, while his cousin Joe Bob needs access to only one project. Each of them should have a password and username as set in the conf/passwd directory. So here it is (this was straightforward, minus the whitespace issue):
[users]
jramirez = password!
joebob = pword2
Then, in the conf/authz file, I have this:
#root folder
[/]
jramirez = rw
* =
[/joebob_project]
joebob = rw
jramirez = rw
* =
As far as I can tell, jramirez needs to be put in each project, otherwise it only lets him use unprotected directories.
I know it's really simple, but like I said, I didn't think the directions were as easy as they might have been.
Hey! Why don't you make your life easier and subscribe to the full post
or short blurb RSS feed? I'm so confident you'll love my smelly pasta plate
wisdom that I'm offering a no-strings-attached, lifetime money back guarantee!
Leave a comment
Thanks for the tip Jim!
Posted by
Sam
on Mar 01, 2007 at 06:50 AM UTC - 6 hrs
Leave a comment