From: Jakub Narebski <jnareb@gmail.com>
To: "Sverre Rabbelier" <srabbelier@gmail.com>
Cc: git@vger.kernel.org, "Junio C Hamano" <gitster@pobox.com>
Subject: Re: [RFC] Use cases for 'git statistics'
Date: Wed, 14 May 2008 22:34:54 +0200 [thread overview]
Message-ID: <200805142234.54600.jnareb@gmail.com> (raw)
In-Reply-To: <bd6139dc0805130637saf704e1v2ab67c99da3078c3@mail.gmail.com>
On Tue, 13 May 2008, Sverre Rabbelier wrote:
> On Tue, May 13, 2008 at 3:07 PM, Jakub Narebski <jnareb@gmail.com> wrote:
[on helping maintainer decide how closely patch should be examined]
>> Weighting different statistics, bayesian hypotesis/filtering, expert
>> system, machine learning... I guess that would be quite a work to do
>> it well. Probably would require to calculate and adjust scoring of code
>> (difficulity) and authors (skill), and matching them...
>>
>> This is certainly in the "wishlist" scope.
>
> Yeah, I think it would go in the 'c' of 'MoSCoW', but it could be very
> useful when done right.
Errr... what do you mean by 'MoSCoW'?
[here I think you cut a bit too much]
>>
>> What I had in mind here, but didn't explain clear enough, was an
>> extension to pickaxe search. You want to find when current error
>> message was created, even if the way of handling it (fprintf vs. die)
>> changed, or if code was indented, or was moved.
>
> I'm not familiar with pickaxe, what you suggest sounds like grepping
> the content also throughout history?
Documentation/glossary.txt (linked from git(7), in "Git User's Manual")
pickaxe::
The term <<def_pickaxe,pickaxe>> refers to an option to the diffcore
routines that help select changes that add or delete a given text
string. With the `--pickaxe-all` option, it can be used to view the full
<<def_changeset,changeset>> that introduced or removed, say, a
particular line of text. See linkgit:git-diff[1].
git-diff(1):
-S<string>
Look for differences that contain the change in <string>.
--pickaxe-all
When -S finds a change, show all the changes in that changeset, not
just the files that contain the change in <string>.
--pickaxe-regex
Make the <string> not a plain string but an extended POSIX regex to
match.
>> Or find all error messages, in the order they were created, for example
>> in git case to find ancient error messages and replace it by something
>> more user-friendly (or less selective about choosing friends ;-).
>
> I understand what you want, a search for specific content, from old to
> new, stopping when you have a match?
But let me elaborate a bit. What I wanted in my example is for each
die("<message>") and error("<message>") to have commit and date where
<message> was introduced (even if it was in fprintf(stderr, ...) then).
>> Seriously, what I had in mind was to integrate author dates and commit
>> dates into project management system scheduling.
>
> I'm not sure what gain that would bring though, as it can only provide
> end dates, not 'starting work now' timestamps...
Well, if you use patch management system such like StGit, it could
trace when patch was created, when was refreshed, when was temporarily
abandoned (push, pop, float, new), ans when was finalized (commit or
clean).
But that is also in the realm of vague ideas, not concrete applications.
--
Jakub Narebski
Poland
next prev parent reply other threads:[~2008-05-14 20:35 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-08 15:51 [RFC] Use cases for 'git statistics' Sverre Rabbelier
2008-05-12 9:38 ` Sverre Rabbelier
2008-05-12 10:16 ` Jakub Narebski
2008-05-12 10:19 ` Sverre Rabbelier
2008-05-12 11:19 ` Jakub Narebski
2008-05-12 11:49 ` Sverre Rabbelier
2008-05-12 12:40 ` Jakub Narebski
2008-05-12 13:01 ` Sverre Rabbelier
[not found] ` <bd6139dc0805120604m349b1fbbr39c6dcb8d893e771@mail.gmail.com>
2008-05-13 13:07 ` Jakub Narebski
2008-05-13 13:37 ` Sverre Rabbelier
2008-05-14 20:34 ` Jakub Narebski [this message]
2008-05-15 12:21 ` Andreas Ericsson
2008-05-17 0:02 ` Junio C Hamano
2008-05-18 1:01 ` Sverre Rabbelier
2008-05-21 17:30 ` Junio C Hamano
2008-05-21 20:52 ` Sverre Rabbelier
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=200805142234.54600.jnareb@gmail.com \
--to=jnareb@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=srabbelier@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.