Graphing Subversion Commit Activity
I like graphs. Writing little scripts
that somehow utilize the gnuplot program is my favorite pastime.
Today I am going to share one such script that might be actually useful :-).
commitChart is a small AWK toy that can generate a chart of
commit activity in a Subversion repository. The X axis displays time while
the Y axis displays the number of commits done each day. The chart is written
to a file called commitChart.png.
Usage is very simple:
commitChart.awk <repository URL>
The repository URL argument is the same you would use with Subversion,
e.g.:
$ ./commitChart.awk file:///home/zephyr/SVN/nexus
The above command generates a commit chart of Project Nexus that at the moment looks like this:
The script is rather primitive but I enjoy using it from time to time. It either reminds me that I should work harder on a project, or it gives me that nice warm feeling that I am making progress. Of course, the number of commits alone doesn’t always accurately indicate the real evolution of a given project :-)
Feel free to give commitChart a try. I’ll be happy to hear your opinions and suggestions.
Download: commitChart.awk (1094B)
3 comments Add your own…
Speak your mind
Allowed HTML tags are a, blockquote, em, code, li, ol, p, pre, strong, ul. Links to other comments in the form “[IV]” or “[4]” are detected automatically.