views:

217

answers:

3

I have an subversion server running with Apache mod_dav_svn and it works nicely but the browsing ability via HTML is a bit spartan. Is there a way to customize it at all?

alt text

There's two things I'd like to do to make a huge difference:

  1. separate the directories from the files so all the directories are at the top. Right now everything is in alphabetical order. (the picture above happens to have all the directories preceding files in alphabetical order, but trust me, that's not the normal case)

  2. List the basic file statistics (file size, mod time, last updated version, etc)

Is it posssible to do either of these with mod_dav_svn?

+1  A: 

Not out of the box - that is, without modifying the source code. You might be interested in tools like ViewSVN or the more sophisticated trac or redmine.

Victor Jalencas
+1  A: 

WebSvn looks like it might help you. I tried trac and it is very slick but I found it to be complicated and seems overkill for what you're looking for, imo.

Dave Paroulek
+2  A: 

In a vanilla Subversion install, the web interface is very spartan by design. (Remember the HTTP interface is designed for SVN clients, not human beings.)

You can customize the display somewhat via the SVNIndexXSLT directive. (Here is a good place to start).

If you want something richer (with logs and diff features), you will need to install a special front end. WebSVN and ViewVC are very popular. There is also Trac, but this is a higher-level tool.

A list of other repo browsing tools.

Just FYI, we use WebSVN for our repo instance. It took some effort to get it up and running, but once it is setup you can pretty much leave it alone.

msemack