[Teammetrics-discuss] Commit statistics

Andreas Tille andreas at an3as.eu
Mon Aug 15 19:29:26 UTC 2011


On Mon, Aug 15, 2011 at 11:37:52PM +0530, Sukhbir Singh wrote:
> >  1. Commit_id moved to different position (in analogy to message_id)
> 
> Added, the revision # is the commit_id.
> 
> >  2. changes: REMOVED! We want to record *every* single commit, so
> >     changes should be ==1 for every record in the database
> 
> Done.
> 
> >  3. commit_date: For the graphs we need the commit date
> >     --> just needed for the final graphs
> 
> Added.

Looks good for svn.  However, the git importer was broken by me with the
poor try to get the revision via a pipe.  Do you know a better way to
extract this (and make th egit importer functional again?
 
> Also note that we are now saving every single commit instead of
> collecting them and saving them in the end :) So, get each change,
> calculate the lines inserted or deleted and then push that into the
> database.

Import of Debian Med SVN currently working - looks good so far. 

Regarding some speed optimization:  While I do not think that speed is
very important, but I see some potential enhancement.  To my experience
each ssh login takes its time because it always needs some
authentication.  IMHO it would be much more performant if you login once
start a program on the host which extracts *all* needed information and
returns some csv formated output which is parsed later.

Kind regards

      Andreas.

-- 
http://fam-tille.de



More information about the Teammetrics-discuss mailing list