From: Joseph Wakeling <joseph.wakeling@webdrake.net>
To: Jeff King <peff@peff.net>
Cc: Sverre Rabbelier <srabbelier@gmail.com>, git@vger.kernel.org
Subject: Re: Effectively tracing project contributions with git
Date: Sun, 13 Sep 2009 02:03:33 +0200 [thread overview]
Message-ID: <4AAC36D5.1040901@webdrake.net> (raw)
In-Reply-To: <20090912185940.GA21277@coredump.intra.peff.net>
Jeff King wrote:
> We can probably help you with the git side of things, but defining "who
> contributed what" is kind of a hairy problem. You will need to define
> exactly how you want to count contributions.
Yes, that's pretty much what I'm looking for. My thoughts on
contribution run along much the same lines as yours -- there's a need to
distinguish between meaningful additions and mere tweaks.
My general rule is that stuff like whitespace changes, changing the name
of variables, typo corrections etc. is not a meaningful contribution
although if someone had really done a lot of it I might see things
differently. Substantial additions -- extending the code, comments or
documentation -- are what I'm after. Ultimately this has to be decided
by me actually looking at things rather than metrics.
What I'm doing right now is to run a git shortlog on a file to get a
rough idea of the contributors and who are likely to be the main
authors, then using gitk to browse the commits for that file. It's
time-consuming but works -- once I've identified at least one major
commit from someone I can ignore everything else by them and concentrate
on the remaining contributors.
What would help is some way to speed up the process of getting someone's
commits: 'give me all the diffs for file X by author Y'. I'm not too
good at shell scripting so grep-y things don't spring easily to mind.
An alternative useful tool would be 'give me all the commits to this
file that change more than N lines'.
With those two -- particularly the first -- I think I'd be able to get a
fair way. It won't work for the files where there has been a lot of
moving of content or renames, but that's mostly in the docs -- the code,
which is the really important thing, doesn't seem so bad (so far).
Thanks very much for the advice and careful thoughts,
Best wishes,
-- Joe
prev parent reply other threads:[~2009-09-13 0:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-12 12:30 Effectively tracing project contributions with git Joseph Wakeling
2009-09-12 18:59 ` Jeff King
2009-09-12 19:03 ` Sverre Rabbelier
2009-09-13 0:10 ` Joseph Wakeling
2009-09-13 2:28 ` Theodore Tso
2009-09-13 9:24 ` Jeff King
2009-09-13 14:30 ` Joseph Wakeling
2009-09-13 0:03 ` Joseph Wakeling [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=4AAC36D5.1040901@webdrake.net \
--to=joseph.wakeling@webdrake.net \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
--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 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).