[PATCH 0/8] scripts/get_maintainer.pl: Add --interactive

From: Joe Perches
Date: Wed Sep 22 2010 - 23:18:09 EST


Add --interactive mode to allow some user interaction with the
script before returning a list of email addresses.

Using --interactive outputs to STDERR until the list of email
addresses is approved, then that list is emitted normally to STDOUT.

Duplicate email address matching is much improved, and the .mailmap file
is now used correctly.

For instance the previous RFC patch: http://lkml.org/lkml/2010/9/20/313
did not correctly identify drivers/net/sky2.c patches by Stephen Hemminger
as his maintainer address differs from his normally used submittal address.

After this patch series is applied it correctly shows:

$ ./scripts/get_maintainer.pl -i -f drivers/net/sky2.c

* # email/list and role:stats
* 1 Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx>
maintainer:SKGE, SKY2 10/100...
* 2 netdev@xxxxxxxxxxxxxxx
open list:SKGE, SKY2 10/100...
* 3 linux-kernel@xxxxxxxxxxxxxxx
open list

_#(toggle), A#(author), S#(signed) *(all), ^(none), O(options), Y(approve): g

* # email/list and role:stats auth sign
* 1 Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> 26 37
maintainer:SKGE, SKY2 10/100...,commit_signer:37/67=55%
* 2 "David S. Miller" <davem@xxxxxxxxxxxxx> 7 56
commit_signer:56/67=84%
* 3 Mike McCormack <mikem@xxxxxxxxxx> 15 15
commit_signer:15/67=22%
* 4 netdev@xxxxxxxxxxxxxxx
open list:SKGE, SKY2 10/100...
* 5 linux-kernel@xxxxxxxxxxxxxxx
open list

_#(toggle), A#(author), S#(signed) *(all), ^(none), O(options), Y(approve): b
git-blame can be very slow, please have patience...
* # email/list and role:stats auth sign
* 1 Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> 248 265
maintainer:SKGE, SKY2 10/100...,commit_signer:37/67=55%,authored lines:4534/5035=90%,commits:262/298=88%
* 2 "David S. Miller" <davem@xxxxxxxxxxxxx> 9 109
commit_signer:56/67=84%,commits:99/298=33%
* 3 Mike McCormack <mikem@xxxxxxxxxx> 22 22
commit_signer:15/67=22%,authored lines:343/5035=7%,commits:20/298=7%
* 4 Jeff Garzik <jgarzik@xxxxxxxxxx> 3 168
commits:168/298=56%
* 5 netdev@xxxxxxxxxxxxxxx
open list:SKGE, SKY2 10/100...
* 6 linux-kernel@xxxxxxxxxxxxxxx
open list

_#(toggle), A#(author), S#(signed) *(all), ^(none), O(options), Y(approve): y
Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx>
"David S. Miller" <davem@xxxxxxxxxxxxx>
Mike McCormack <mikem@xxxxxxxxxx>
Jeff Garzik <jgarzik@xxxxxxxxxx>
netdev@xxxxxxxxxxxxxxx
linux-kernel@xxxxxxxxxxxxxxx

Joe Perches (6):
scripts/get_maintainer.pl: Improve --interactive UI
scripts/get_maintainer.pl: Update --interactive UI, improve hg runtime
scripts/get_maintainer.pl: Use case insensitive name de-duplication
scripts/get_maintainer.pl: Correct indentation in a few places
scripts/get_maintainer.pl: Use mailmap in name deduplication and other updates
scripts/get_maintainer.pl: Don't deduplicate unnamed addresses ie: mailing lists

florian@xxxxxxxxxxx (2):
scripts/get_maintainer.pl: add interactive mode
scripts/get_maintainer.pl: fix mailmap handling

scripts/get_maintainer.pl | 1153 +++++++++++++++++++++++++++++++++++----------
1 files changed, 906 insertions(+), 247 deletions(-)

Please apply.

The current version is available to pull from:

git://repo.or.cz/linux-2.6/get_maintainer.git 20100922_gm

--
1.7.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/