Subversion Repository Index Page
Posted in Left Brain on May 28th, 2010 by Jordan – Comments OffBack when I was working on my FRC robotics team’s web infrastructure, I wrote a simple page to display all of the subversion repositories related to my team. Realizing that there were no existing “simple” subversion repository index page generators, I decided to make the code human readable and post it here for the world to use.
See it in action! http://svn.jperr.com
The code was developed and tested using Python2.6, but I see no reason why it shouldn’t work in Python3.0. Likewise, I’ve developed and tested this using UNIX based machines (Mac 10.6 and Debian Linux), but it should work under Windows. The script requires the command line “svn” client to be installed and accessible by the user under which Python runs, and you must have the standard python “time” and “commands” modules installed. 99.9% of Python installations will have them pre-installed.
All you need to do to get svnindex.py running on your site:
- Download svnindex.py (link above)
- Modify the settings at the top of the file
- Set up a daily cronjob to run the generation script. Something like `python /path/to/svnindex.py` works just fine.


