SubscribeMainXMLTagsEditHistoryDiscussion (3)

About

svn-graph is a toy program by Alejandro Forero Cuervo which generates plots based on the logs of Subversion repositories. It is relatively poorly documented, which is to be expected: it is, as it reads, just a toy program. However, the source code is fairly annotated.

We use it to generate plots for all the changes to our wikis (which, being handled by svnwiki, store all their contents in a Subversion repository).

It is written in Chicken Scheme using the svn-client egg (that is also used by svnwiki and svnblog) to extract the data directly from the repositories and generate data files that can be rendered into PNG images by Ploticus. One could easily modify the code to use Gnuplot instead; in fact, the original versions of svn-graph did this. However, Ploticus seemed to be a better fit for the specific needs of svn-graph.

Samples

Some samples of the graphs it generates are at:

Source

You'll also need the following eggs (which you can get with chicken-setup): stream-ext svn-client srfi-40 posix orders

https://anonymous:@freaks-unidos.net/azul-home/src/chicken-eggs-original/svn-graph
Thats a Chicken egg with most of the logic (since I plan to make svnwiki call it directly).
https://anonymous:@freaks-unidos.net/azul-home/src/svn-graph
Here you'll find a CSI script that calls the eggs to generate graphs for some interesting repositories.

FIXME! Please, send the password too!

Last update: 2007-11-14 (Rev 13127)

svnwiki $Rev: 14721 $