From: "Sverre Rabbelier" <alturin@gmail.com>
To: "Johannes Schindelin" <Johannes.Schindelin@gmx.de>
Cc: "Junio C Hamano" <gitster@pobox.com>,
"Git Mailinglist" <git@vger.kernel.org>,
"Jakub Narebski" <jnareb@gmail.com>,
"David Symonds" <dsymonds@gmail.com>,
"Shawn O. Pearce" <spearce@spearce.org>,
"Sam Vilain" <sam@vilain.net>
Subject: Re: [ANNOUNCE] GitStats development finished (WRT GSoC)
Date: Wed, 30 Jul 2008 17:41:56 +0200 [thread overview]
Message-ID: <bd6139dc0807300841n3e1670cdie2cd3fec47ab0db4@mail.gmail.com> (raw)
In-Reply-To: <alpine.LSU.1.00.0807301621570.3486@wbgn129.biozentrum.uni-wuerzburg.de>
On Wed, Jul 30, 2008 at 16:22, Johannes Schindelin
<Johannes.Schindelin@gmx.de> wrote:
> On Wed, 30 Jul 2008, Sverre Rabbelier wrote:
>> 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
prev parent reply other threads:[~2008-07-30 15:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-29 22:11 [ANNOUNCE] GitStats development finished (WRT GSoC) Sverre Rabbelier
2008-07-30 7:07 ` Junio C Hamano
2008-07-30 9:12 ` Sverre Rabbelier
2008-07-30 14:22 ` Johannes Schindelin
2008-07-30 15:41 ` Sverre Rabbelier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bd6139dc0807300841n3e1670cdie2cd3fec47ab0db4@mail.gmail.com \
--to=alturin@gmail.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=dsymonds@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=jnareb@gmail.com \
--cc=sam@vilain.net \
--cc=spearce@spearce.org \
--cc=sverre@rabbelier.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).