[Teammetrics-discuss] Gitstat Fixed (or not!?)

Andreas Tille andreas at an3as.eu
Wed Aug 17 13:16:33 UTC 2011


On Wed, Aug 17, 2011 at 05:58:37PM +0530, Sukhbir Singh wrote:
> Hi,
> 
>     git pull
> 
> I have fixed gitstat.py and hopefully it is working now!
> 
>      name      | count | sum
> ---------------+-------+------
>  Andreas Tille |    55 | 4657
>  Sukhbir Singh |   114 | 3438
> 
> You win for lines_inserted.

Strike! :-)

> Yayay! If you are surprised,

I'm not surprised if I win! :-P

> this is
> because: 1). You _do_ commit a lot of code and 2). You committed
> binary files once and that causes lines_inserted to increase
> exponentially. But you win, so why do we care? ;)

Cool.  I just need to make sure to commit always some images or even
video. ;-)

> Anyways, the numbers do match up, I checked manually for the
> teammetrics repository. We need to probably test this more, however
> you will notice few things:
> 
> 1. `commit_id` has been added (hash of commit)
> 2. Date of commit and today_date also added.
> 3. We save PER commit as you said and not the earlier approach.
> 
> Let me know if anything is to be changed/ added.

Looks good so far.

In your other mail you wrote:
> Now I am going to test and try to implement David's script.

That's the most interesting thing here.  Just keep on testing it on the
Debian Med repository.  And keep in mind: If Andreas Tille is not the
winner something is wrong. :-P  Actually, you need to watch out for
Charles Plessy who will definitely lead Git statistics.

Kind regards

        Andreas.

-- 
http://fam-tille.de



More information about the Teammetrics-discuss mailing list