[Teammetrics-discuss] Gitstat problems.

Andreas Tille andreas at an3as.eu
Thu Aug 18 09:35:01 UTC 2011


On Thu, Aug 18, 2011 at 01:17:33PM +0530, Sukhbir Singh wrote:
> So I have spent some time analyzing the output from David's script.
> Here are some doubts:
> 
> 1. For the case of filtering upstream commits, we fetch all the Debian
> commits using David's method and then filter the upstream commits and
> push only the Debian commits in the database. Good enough?

Yes.  This is exactly what I was thinking about.
 
> 2. However, for a repository like ours, _all commits_ are upstream
> only, there being no changes to 'debian/' (as is obvious):

Ahh, right - I forgot about this option of "debian native packages".

> So in such a case, we have to take into account the upstream commits.
> 
> The way I see it:
> 
>     if 'debian' && 'upstream': filter only 'debian'.
>     if only 'upstream': use that and don't ignore it.

This option also came immediately to my mind when I was reading your
doubt.  It might have some flaws, but I would think we should go for
this and look at the numbers if they fit our expectation.  As last
resort would be to mention such "native packages" in a config file
if your suggested approach would not work relieable.
 
Kind regards

      Andreas. 

-- 
http://fam-tille.de



More information about the Teammetrics-discuss mailing list