[Teammetrics-discuss] Gitstat problems.

Sukhbir Singh sukhbir.in at gmail.com
Thu Aug 18 07:47:33 UTC 2011


Hi,

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?

2. However, for a repository like ours, _all commits_ are upstream
only, there being no changes to 'debian/' (as is obvious):

$ ./git-classify.pl | wc -l
166
$ ./git-classify.pl | grep upstream | wc -l
166

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.

However, given my almost zero experience with Git + Debian
development, please feel free to correct me :)



More information about the Teammetrics-discuss mailing list