[ Home page ]


CVS commit analyser

These three simple Perl scripts were written to provide weekly stats on CVS activity for the GNOME Project. Several people have asked to see them so here they are:

countcommits.pl - this scripts recieves CVS commit mails on standard input, and takes an argument which is the file to store data in. I use an Exim filter to feed this script:


# Exim Filter

pipe "$home/bin/countcommits.pl $home/data/gnomecommits " 

analysecommits.pl - performs analysis and produces a top 20 list of active modules and active developers - see below for sample output.

rotateandmail.pl - rotates the data file and sends email containing the output of analysecommits.pl.

Sample output

Most active modules
  92 galeon
  71 SashMo
  71 evolution
  49 mc
  38 libgnome
  34 libcompat
  33 eazel-hacking
  33 libgnomeui
  31 gtkhtml
  30 gnome-utils
  28 web-devel-2
  27 dia
  25 gtk+
  24 gnome-i18n
  23 gnome-db
  22 gail
  21 gtranslator
  20 libxslt
  19 gtkhtml2
  18 libical
[97 active modules omitted]

Most active developers
 127 martin
  45 rodrigo
  38 proskin
  34 ramiro
  32 mmueller
  31 menthos
  30 rodo
  27 damon
  26 veillard
  25 chatham
  24 aheitner
  23 kabalak
  22 olau
  22 kmaraas
  22 cyrille
  21 atevstef
  20 bcameron
  19 jirka
  16 maubury
  16 christof
[115 active developers omitted]


Paul Warren   09/02/2004