[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.0.999.0708141131140.30176@woody.linux-foundation.org>
Date: Tue, 14 Aug 2007 11:40:09 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Joe Perches <joe@...ches.com>
cc: Rene Herman <rene.herman@...il.com>, git@...r.kernel.org,
Junio C Hamano <gitster@...ox.com>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Arjan van de Ven <arjan@...radead.org>,
Trond Myklebust <trond.myklebust@....uio.no>,
Mariusz Kozlowski <m.kozlowski@...land.pl>,
akpm@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [1/2many] - FInd the maintainer(s) for a patch -
scripts/get_maintainer.pl
On Tue, 14 Aug 2007, Joe Perches wrote:
> On Tue, 2007-08-14 at 20:03 +0200, Rene Herman wrote:
> > "git info --maintainer drivers/ide/ide-cd.c" or some such would say "Alan
> > Cox <alan@...>".
>
> Perhaps maintainer(s), approver(s), listener(s)?
>
> I think something like this should be a git-goal.
> What do the git-wranglers think?
The thing is, if you have git, you can basically already do this.
Do a script like this:
#!/bin/sh
git log --since=6.months.ago -- "$@" |
grep -i '^ [-a-z]*by:.*@' |
sort | uniq -c |
sort -r -n | head
and it gives you a rather good picture of who is involved with a
particular subdirectory or file.
A much *better* picture than some manually maintained thing, in fact,
because it tells you who really does the work, and which way patches go...
(Maybe you want to add a
grep -v '\(Linus Torvalds\)\|\(Andrew Morton\)'
to avoid seeing the normal chain too much, but hey, we probably want to
know too. Anyway - the script can certainly be tweaked, the point is
really just that the git tree _already_ contains the relevant
information).
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists