2009-12-23 21:35:27

by Carlos Corbacho

[permalink] [raw]
Subject: get_maintainers.pl & acer-wmi

Hi Joe,

We're getting some odd results out of get_maintainers.pl for acer-wmi.

ccorbacho@pacifica:~/src/kernel/linux-2.6$ perl scripts/get_maintainer.pl -f
drivers/platform/x86/acer-wmi.c

Carlos Corbacho <[email protected]>
John W. Linville <[email protected]>
Len Brown <[email protected]>
Alan Jenkins <[email protected]>
Johannes Berg <[email protected]>
[email protected]

Which is odd, as I'm the only maintainer of acer-wmi, so why does it pull in
all the other names above?

-Carlos
--
E-Mail: [email protected]
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D


2009-12-23 21:59:11

by Joe Perches

[permalink] [raw]
Subject: Re: get_maintainers.pl & acer-wmi

On Wed, 2009-12-23 at 21:35 +0000, Carlos Corbacho wrote:
> Hi Joe,

Hi Carlos.

> We're getting some odd results out of get_maintainers.pl for acer-wmi.
>
> ccorbacho@pacifica:~/src/kernel/linux-2.6$ perl scripts/get_maintainer.pl -f
> drivers/platform/x86/acer-wmi.c
>
> Carlos Corbacho <[email protected]>
> John W. Linville <[email protected]>
> Len Brown <[email protected]>
> Alan Jenkins <[email protected]>
> Johannes Berg <[email protected]>
> [email protected]
>
> Which is odd, as I'm the only maintainer of acer-wmi, so why does it pull in
> all the other names above?

You have git installed.

get_maintainer.pl by default uses git commit history and searches
for signatures.

These are people that have added "acked-by", "signed-off-by",
"reviewed-by" or any other "by" lines in the git commits.

$ ./scripts/get_maintainer.pl -f drivers/platform/x86/acer-wmi.c
Carlos Corbacho <[email protected]>
John W. Linville <[email protected]>
Len Brown <[email protected]>
Alan Jenkins <[email protected]>
Johannes Berg <[email protected]>
[email protected]

If you want to not use git history, add --nogit

$ ./scripts/get_maintainer.pl -f --nogit drivers/platform/x86/acer-wmi.c
Carlos Corbacho <[email protected]>
[email protected]

With the latest version of get_maintainer, you could add
--rolestats and see how many of the commits were signed
by each person.

$ ./scripts/get_maintainer.pl -f --rolestats drivers/platform/x86/acer-wmi.c
Carlos Corbacho <[email protected]> (maintainer:ACER WMI LAPTOP E...,commit_signer:4/11=36%)
John W. Linville <[email protected]> (commit_signer:5/11=45%)
Len Brown <[email protected]> (commit_signer:4/11=36%)
Alan Jenkins <[email protected]> (commit_signer:3/11=27%)
Johannes Berg <[email protected]> (commit_signer:2/11=18%)
[email protected] (open list)