Browse svn history with browser - ViewVC

From Andreida
Jump to: navigation, search


USE websvn instead!

apt-get install websvn

link /etc/websvn/apache.conf to /etc/apache2/sites-available and then to enabled



apt-get install viewvc  cvsgraph libgd-tools

setup repositories in /etc/viewvc/viewvc.conf

root_parents = /<path-above-your-svn-repositories> : svn

If one of your repositories is /svn-reps/my-vip-projects then the line would be:

root_parents = /svn-reps : svn

activate for apache: add in /etc/apache2/mods-enabled/dav_svn.conf as last line: (check the path perhaps)

ScriptAlias /viewvc /usr/lib/viewvc/cgi-bin/viewvc.cgi
  • reload apache

use it in your browser: www.<your-domain>/viewvc