<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/get_maintainer.pl, branch v2.6.32</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.32</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.32'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2009-11-12T15:25:56Z</updated>
<entry>
<title>get_maintainer: fix usage comment</title>
<updated>2009-11-12T15:25:56Z</updated>
<author>
<name>Roel Kluin</name>
<email>roel.kluin@gmail.com</email>
</author>
<published>2009-11-11T22:26:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3bd7bf5f1aabf5d5e6b8ee60360dc52259a83118'/>
<id>urn:sha1:3bd7bf5f1aabf5d5e6b8ee60360dc52259a83118</id>
<content type='text'>
With the `s' it just won't work.

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Acked-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/get_maintainer.pl: add patch/file search for keywords</title>
<updated>2009-10-29T14:39:26Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2009-10-26T23:49:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=dcf36a92f569b2c240129d8c6ae4c366c1658766'/>
<id>urn:sha1:dcf36a92f569b2c240129d8c6ae4c366c1658766</id>
<content type='text'>
Based on an idea from Wolfram Sang.

Add search for MAINTAINERS line "K:" regex pattern match in a patch or file
Matches are added after file pattern matches
Add --keywords command line switch (default 1, on)
Change version to 0.21

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Cc: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/get_maintainer.pl: add maintainers in order listed in matched section</title>
<updated>2009-09-22T14:17:46Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2009-09-22T00:04:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b781655a6f6d15bdcc96f2cc1d56b0658f9cf0b4'/>
<id>urn:sha1:b781655a6f6d15bdcc96f2cc1d56b0658f9cf0b4</id>
<content type='text'>
Previous behavior was "bottom-up" in each section from the pattern "F:"
entry that matched.  Now information is entered into the various lists in
the "as entered" order for each matched section.

This also allows the F: entry to be put anywhere in a section, not just as
the last entries in the section.

And a couple of improvements:

Don't alphabetically sort before outputting the matched scm, status,
subsystem and web sections.

Ignore content after a single email address so these entries are acceptable
M:	name &lt;address&gt; whatever other comment

And a fix:

Make an M: entry without a name again use the name from an immediately
preceding P: line if it exists.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/get_maintainer.pl: add --remove-duplicates</title>
<updated>2009-09-22T14:17:46Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2009-09-22T00:04:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=11ecf53c97863a0609db3816d82f1d0ddf3d2bc2'/>
<id>urn:sha1:11ecf53c97863a0609db3816d82f1d0ddf3d2bc2</id>
<content type='text'>
Allow control over the elimination of duplicate email names and addresses

--remove-duplicates will use the first email name or address presented
--noremove-duplicates will emit all names and addresses

--remove-duplicates is enabled by default

For instance:

$ ./scripts/get_maintainer.pl -f drivers/char/tty_ioctl.c
Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Alan Cox &lt;alan@linux.intel.com&gt;
Mike Frysinger &lt;vapier@gentoo.org&gt;
Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
linux-kernel@vger.kernel.org

$ ./scripts/get_maintainer.pl -f --noremove-duplicates drivers/char/tty_ioctl.c
Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Alan Cox &lt;alan@redhat.com&gt;
Alan Cox &lt;alan@linux.intel.com&gt;
Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Mike Frysinger &lt;vapier@gentoo.org&gt;
Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
linux-kernel@vger.kernel.org

Using --remove-duplicates could eliminate multiple maintainers that
share the same name but not the same email address.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/get_maintainer.pl: using --separator implies --nomultiline</title>
<updated>2009-09-22T14:17:46Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2009-09-22T00:04:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=42498316132e89ca2835b977a7cfb32a83e97b35'/>
<id>urn:sha1:42498316132e89ca2835b977a7cfb32a83e97b35</id>
<content type='text'>
If a person sets a separator, it's only used if --nomultiline is set.
Don't make the command line also include --nomultiline in that case.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/get_maintainer.pl: add .mailmap use, shell and email cleanups</title>
<updated>2009-09-22T14:17:46Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2009-09-22T00:04:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8cbb3a77e1a91073fb279a495a11d5093461dfe5'/>
<id>urn:sha1:8cbb3a77e1a91073fb279a495a11d5093461dfe5</id>
<content type='text'>
Add reading and using .mailmap file if it exists
Convert address entries in .mailmap to first encountered address
Don't terminate shell commands with \n
Strip characters found after sign-offs by: name &lt;address&gt; [stripped]

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/get_maintainer.pl: better email routines, use perl not shell where possible</title>
<updated>2009-09-22T14:17:46Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2009-09-22T00:04:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0e70e83dfd40cac47e1fc3e2f1c7b893ea0cd2f8'/>
<id>urn:sha1:0e70e83dfd40cac47e1fc3e2f1c7b893ea0cd2f8</id>
<content type='text'>
Added format_email and parse_email routines to reduce inline use.

Added email_address_inuse to eliminate multiple maintainer entries
for the same email address, the first name encountered is used.

Used internal perl equivalents of shell cmd use of grep|cut|sort|uniq

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/get_maintainer.pl: add --pattern-depth</title>
<updated>2009-09-22T14:17:46Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2009-09-22T00:04:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3fb55652b9f754990e286723f209ce3c07c96d69'/>
<id>urn:sha1:3fb55652b9f754990e286723f209ce3c07c96d69</id>
<content type='text'>
--pattern-depth is used to control how many levels of directory traversal
should be performed to find maintainers.  default is 0 (all directory levels).

For instance:

MAINTAINERS currently has multiple M: and F: entries that match
net/netfilter/ipvs/ip_vs_app.c

IPVS
M:	Wensong Zhang &lt;wensong@linux-vs.org&gt;
M:	Simon Horman &lt;horms@verge.net.au&gt;
M:	Julian Anastasov &lt;ja@ssi.bg&gt;
[...]
F:	net/netfilter/ipvs/

NETFILTER/IPTABLES/IPCHAINS
[...]
M:	Patrick McHardy &lt;kaber@trash.net&gt;
[...]
F:	net/netfilter/

NETWORKING [GENERAL]
M:	"David S. Miller" &lt;davem@davemloft.net&gt;
[...]
F:	net/

THE REST
M:	Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
[...]
F:	*/

Using this command will return all of those maintainers:
(except Linus unless --git-chief-maintainers is specified)

$ ./scripts/get_maintainer.pl --nogit -nol \
	-f net/netfilter/ipvs/ip_vs_app.c
Julian Anastasov &lt;ja@ssi.bg&gt;
Simon Horman &lt;horms@verge.net.au&gt;
Wensong Zhang &lt;wensong@linux-vs.org&gt;
Patrick McHardy &lt;kaber@trash.net&gt;
David S. Miller &lt;davem@davemloft.net&gt;

Adding --pattern-depth=1 will match at the deepest level
$ ./scripts/get_maintainer.pl --nogit -nol --pattern-depth=1 \
	-f net/netfilter/ipvs/ip_vs_app.c
Julian Anastasov &lt;ja@ssi.bg&gt;
Simon Horman &lt;horms@verge.net.au&gt;
Wensong Zhang &lt;wensong@linux-vs.org&gt;

Adding --pattern-depth=2 will match at the deepest level and 1 higher
$ ./scripts/get_maintainer.pl --nogit -nol --pattern-depth=2 \
	-f net/netfilter/ipvs/ip_vs_app.c
Julian Anastasov &lt;ja@ssi.bg&gt;
Simon Horman &lt;horms@verge.net.au&gt;
Wensong Zhang &lt;wensong@linux-vs.org&gt;
Patrick McHardy &lt;kaber@trash.net&gt;

and so on.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/get_maintainer.pl: add sections in pattern match depth order</title>
<updated>2009-09-22T14:17:46Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2009-09-22T00:04:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1d606b4e0bf8fe45e3f88543dfce83207ae0027d'/>
<id>urn:sha1:1d606b4e0bf8fe45e3f88543dfce83207ae0027d</id>
<content type='text'>
Before this change, matched sections were added in the order
of appearance in the normally alphabetic section order of
the MAINTAINERS file.

For instance, finding the maintainer for drivers/scsi/wd7000.c
would first find "SCSI SUBSYSTEM", then "WD7000 SCSI SUBSYSTEM",
then "THE REST".

before patch:

$ ./scripts/get_maintainer.pl --nogit -f drivers/scsi/wd7000.c
James E.J. Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
Miroslav Zagorac &lt;zaga@fly.cc.fer.hr&gt;
linux-scsi@vger.kernel.org
linux-kernel@vger.kernel.org

get_maintainer.pl now selects matched sections by longest pattern match.
Longest is the number of "/"s and any specific file pattern.

This changes the example output order of MAINTAINERS to whatever is
selected in "WD7000 SUBSYSTEM", then "SCSI SYSTEM", then "THE REST".

after patch:

$ ./scripts/get_maintainer.pl --nogit -f drivers/scsi/wd7000.c
Miroslav Zagorac &lt;zaga@fly.cc.fer.hr&gt;
James E.J. Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
linux-scsi@vger.kernel.org
linux-kernel@vger.kernel.org

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/get_maintainer.pl: add --git-blame</title>
<updated>2009-09-22T14:17:46Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2009-09-22T00:04:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f5492666a3b62344de9026a960c11888160362c9'/>
<id>urn:sha1:f5492666a3b62344de9026a960c11888160362c9</id>
<content type='text'>
Julia Lawall suggested that get_maintainers.pl should have the
ability to include signatories of commits that are modified by
a particular patch.

Vegard Nossum did something similar once.
http://lkml.org/lkml/2008/5/29/449

The modified script looks the commits for all lines in the
patch, and includes the "-by:" signatories for those commits.
It uses the same git-min-percent, git-max-maintainers, and
git-min-signatures options.  git-since is ignored.

It can be used independently from the --git default, so
        ./scripts/get_maintainers.pl --nogit --git-blame &lt;patch&gt;
or
        ./scripts/get_maintainers.pl --nogit --git-blame -f &lt;file&gt;
is acceptable.

If used with -f &lt;file&gt;, all lines/commits for the file are
checked.

--git-blame can be slow if used with -f &lt;file&gt;
--git-blame does not work with -f &lt;directory&gt;

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
