Skip to content

scripts/get_maintainer.pl: Add --interactive

Joe Perches lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8scripts/get_maintainer.pl: add interactive modescripts/get_maintainer.pl+141 -51 reply
2/8scripts/get_maintainer.pl: Improve --interactive UIscripts/get_maintainer.pl+388 -2520 replies
3/8scripts/get_maintainer.pl: Update --interactive UI, improve hg runtimescripts/get_maintainer.pl+266 -810 replies
4/8scripts/get_maintainer.pl: Use case insensitive name de-duplicationscripts/get_maintainer.pl+101 -340 replies
5/8scripts/get_maintainer.pl: fix mailmap handlingscripts/get_maintainer.pl+109 -381 reply
6/8scripts/get_maintainer.pl: Correct indentation in a few placesscripts/get_maintainer.pl+78 -780 replies
7/8scripts/get_maintainer.pl: Use mailmap in name deduplication and other updatesscripts/get_maintainer.pl+148 -840 replies
8/8scripts/get_maintainer.pl: Don't deduplicate unnamed addresses ie: mailing listsscripts/get_maintainer.pl+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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 <[email protected]>

     maintainer:SKGE, SKY2 10/100...
*  2 [email protected]                                           
     open list:SKGE, SKY2 10/100...

* 3 [email protected]
open list

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

* # email/list and role:stats auth sign
* 1 Stephen Hemminger <[email protected]> 26 37

     maintainer:SKGE, SKY2 10/100...,commit_signer:37/67=55%
*  2 "David S. Miller" <[email protected]>                             7   56
     commit_signer:56/67=84%
*  3 Mike McCormack <[email protected]>                                  15   15
     commit_signer:15/67=22%
*  4 [email protected]                                           
     open list:SKGE, SKY2 10/100...

* 5 [email protected]
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 <[email protected]> 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" <[email protected]>                             9  109
     commit_signer:56/67=84%,commits:99/298=33%
*  3 Mike McCormack <[email protected]>                                  22   22
     commit_signer:15/67=22%,authored lines:343/5035=7%,commits:20/298=7%
*  4 Jeff Garzik <[email protected]>                                    3  168
     commits:168/298=56%
*  5 [email protected]                                           
     open list:SKGE, SKY2 10/100...

* 6 [email protected]
open list

_#(toggle), A#(author), S#(signed) *(all), ^(none), O(options), Y(approve): y Stephen Hemminger <[email protected]>
"David S. Miller" <[email protected]>
Mike McCormack <[email protected]>
Jeff Garzik <[email protected]>
[email protected]
[email protected]

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

[email protected] (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

Signature · 1 line
1.7.3