Re: [ANNOUNCE] GitStats development finished (WRT GSoC)

4 messages, 3 authors, 2016-06-15 · open the first message on its own page

Re: [ANNOUNCE] GitStats development finished (WRT GSoC)

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:04

"Sverre Rabbelier" [off-list ref] writes:
...  As a
result it is quite clear what GitStats will look like at the end of my
GSoC. I am going to continue working on it though, I am especially
interested in getting the '--follow' part of 'git log' working in such
a way that it can be incorporated into GitStats. As such, here is a
summary of what GitStat is at the moment. From the documentation:
Wonderful.
syntax: stats.py bug <options>

The purpose of the bug module is to gather statistics on
bugfixes within the content, and to aggregate this
information to provide with a report of the last N commits.
Can't wait running this, especially in conjunction with the "author" stuff
;-)

Re: [ANNOUNCE] GitStats development finished (WRT GSoC)

From: Sverre Rabbelier <hidden>
Date: 2016-06-15 22:45:04

On Wed, Jul 30, 2008 at 09:07, Junio C Hamano [off-list ref] wrote:
Can't wait running this, especially in conjunction with the "author" stuff
;-)
Hehe, don't expect too much of it yet though (the 'bug' module that
is), there won't be any "99% of the bugs come from Dscho" yet :P.

-- 
Cheers,

Sverre Rabbelier

Re: [ANNOUNCE] GitStats development finished (WRT GSoC)

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:45:04

Hi,

On Wed, 30 Jul 2008, Sverre Rabbelier wrote:
On Wed, Jul 30, 2008 at 09:07, Junio C Hamano [off-list ref] wrote:
quoted
Can't wait running this, especially in conjunction with the "author" 
stuff ;-)
Hehe, don't expect too much of it yet though (the 'bug' module that is), 
there won't be any "99% of the bugs come from Dscho" yet :P.
So what should I expect?  What does it show?

Ciao,
Dscho

Re: [ANNOUNCE] GitStats development finished (WRT GSoC)

From: Sverre Rabbelier <hidden>
Date: 2016-06-15 22:45:05

On Wed, Jul 30, 2008 at 16:22, Johannes Schindelin
[off-list ref] wrote:
On Wed, 30 Jul 2008, Sverre Rabbelier wrote:
quoted
Hehe, don't expect too much of it yet though (the 'bug' module that is),
there won't be any "99% of the bugs come from Dscho" yet :P.
So what should I expect?  What does it show?
Atm I have 4 'metrics' (4 out of the 5 suggested ones), namely:

* Does a commit belong to a specific branch. This can be used, for
example, to mark commits on 'maint' as bugfixes with 99% reliability
(you need to make sure your regexp catches all branches you are
interested in, when Junio splits of '1.5.6.4' of maint, it might list
'1.5.6.4' instead of 'maint', as they both point at the same ref).
* Does a commit fully revert another one (e.g., make commit A, do 'git
revert A', it will detect that commit as reverting A).
* Does the commit message match a certain regexp (e.g., if it contains
the word "fixes", it is likely a fix).
* Does the commit diff match a regexp (e.g., a change from
"test_expect_failure" -> "test_expect_success")
- (not tweaked yet) Does a commit partially revert another one, this
needs some tweaking, otherwise small changes are quickly seen as
similar. (If you have two unrelated one-lines, and you set it to
ignore one difference...)

You have to configure a few things to get it running (for example, you
need to tell it what branch is your maintenance branch, if any). You
can also configure how valued each metric is (you can say "if it's in
'maint', add 5 points, but if it's a revert, add 10, and add only 1
point if it matches this regexp). Configuration is trivially done with
'git config GitStats.key value".

(Will add the above to the bug module's documentation)

If anyone comes up with any more metrics to determine whether
something is a bug it can be easily hooked in.

-- 
Cheers,

Sverre Rabbelier
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help