<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/get_maintainer.pl, branch v3.9</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=v3.9</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2013-02-28T03:10:09Z</updated>
<entry>
<title>get_maintainer: allow keywords to match filenames</title>
<updated>2013-02-28T03:10:09Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2013-02-28T01:02:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=eb90d0855b75f8d57350e55cfc20c4465215d215'/>
<id>urn:sha1:eb90d0855b75f8d57350e55cfc20c4465215d215</id>
<content type='text'>
Allow K: entries in MAINTAINERS to match directly against filenames;
either those extracted from patch +++ or --- lines, or those specified
on the command-line using the -f option.

This potentially allows fewer lines in a MAINTAINERS entry, if all the
relevant files are scattered throughout the whole kernel tree, yet
contain some common keyword.  An example would be using an ARM SoC name
as the keyword to catch all related drivers.

I don't think setting exact_pattern_match_hash would be appropriate
here; at least for intended Tegra use case, this feature is to ensure
that all Tegra-related driver changes get Cc'd to the Tegra mailing
list.  Setting exact_pattern_match_hash would prevent git history
parsing for e.g.  S-o-b tags, which still seems like it would be useful.
Hence, this flag isn't set.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.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>get_maintainer.pl: find maintainers for removed files</title>
<updated>2013-02-22T01:22:21Z</updated>
<author>
<name>Geert Uytterhoeven</name>
<email>geert@linux-m68k.org</email>
</author>
<published>2013-02-22T00:43:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6be0710cfe7325be72c72cde702318b983b450a9'/>
<id>urn:sha1:6be0710cfe7325be72c72cde702318b983b450a9</id>
<content type='text'>
For removed files, get_maintainer.pl doesn't find any maintainers (besides
the default linux-kernel@vger.kernel.org), as it only looks at the "+++"
lines, which are "/dev/null" for removals.  Fix this by extending the
parsing to the "---" lines.

E.g. for the two line test patch below the real score maintainers will now
be found:

    --- a/arch/score/include/asm/dma-mapping.h
    +++ /dev/null

Signed-off-by: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Cc: 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>get_maintainer: Fix --help warning</title>
<updated>2012-06-20T21:39:36Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2012-06-20T19:53:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7dea26813507bfa3d261a81f70494336c3b28293'/>
<id>urn:sha1:7dea26813507bfa3d261a81f70494336c3b28293</id>
<content type='text'>
Using --help emits a concatenation error.  Fix it.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Reported-by: Paul Bolle &lt;pebolle@tiscali.nl&gt;
Tested-by: Paul Bolle &lt;pebolle@tiscali.nl&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>get_maintainer.pl: add support for moderated lists</title>
<updated>2012-03-23T23:58:32Z</updated>
<author>
<name>Richard Weinberger</name>
<email>richard@nod.at</email>
</author>
<published>2012-03-23T22:01:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=728f5a94a1e1895e87dd802cb5cafaeec7e699e8'/>
<id>urn:sha1:728f5a94a1e1895e87dd802cb5cafaeec7e699e8</id>
<content type='text'>
Currently get_maintainer.pl reports moderated lists as open, which is just
wrong.

Signed-off-by: Richard Weinberger &lt;richard@nod.at&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>get_maintainer: use a default "unknown" S: status/role</title>
<updated>2012-03-23T23:58:32Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2012-03-23T22:01:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0ede27450716dda82474023d6726ab50f2751adb'/>
<id>urn:sha1:0ede27450716dda82474023d6726ab50f2751adb</id>
<content type='text'>
When an "S:" status line is unavailable, use a default "unknown" role.

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>get_maintainers.pl: follow renames when looking up commit signers</title>
<updated>2012-01-11T00:30:46Z</updated>
<author>
<name>Ian Campbell</name>
<email>Ian.Campbell@citrix.com</email>
</author>
<published>2012-01-10T23:08:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ed128fea3bcbce728c9c81b2e45ec3921911bfb6'/>
<id>urn:sha1:ed128fea3bcbce728c9c81b2e45ec3921911bfb6</id>
<content type='text'>
I happen to have had a commit to various network drivers since the big
renaming/reorg which happened to drivers/net recently.  This means that I
now appear to be in the top few commit signers (by %age) for many of them
so am getting sent all sorts of stuff and people who are involved with the
driver are not.  e.g.  (to pick one at random):

        $ ./scripts/get_maintainer.pl -f drivers/net/ethernet/nvidia/forcedeth.c
        "David S. Miller" &lt;davem@davemloft.net&gt; (commit_signer:5/7=71%)
        Ian Campbell &lt;ian.campbell@citrix.com&gt; (commit_signer:2/7=29%)
        Eric Dumazet &lt;eric.dumazet@gmail.com&gt; (commit_signer:1/7=14%)
        Jeff Kirsher &lt;jeffrey.t.kirsher@intel.com&gt; (commit_signer:1/7=14%)
        Jiri Pirko &lt;jpirko@redhat.com&gt; (commit_signer:1/7=14%)
        netdev@vger.kernel.org (open list:NETWORKING DRIVERS)
        linux-kernel@vger.kernel.org (open list)

With the following patch the renames are followed and the result appears
much more sensible:

        $ ./scripts/get_maintainer.pl -f drivers/net/ethernet/nvidia/forcedeth.c
        "David S. Miller" &lt;davem@davemloft.net&gt; (commit_signer:31/34=91%)
        Joe Perches &lt;joe@perches.com&gt; (commit_signer:11/34=32%)
        Szymon Janc &lt;szymon@janc.net.pl&gt; (commit_signer:5/34=15%)
        Jiri Pirko &lt;jpirko@redhat.com&gt; (commit_signer:3/34=9%)
        Paul &lt;paul.gortmaker@windriver.com&gt; (commit_signer:2/34=6%)
        netdev@vger.kernel.org (open list:NETWORKING DRIVERS)
        linux-kernel@vger.kernel.org (open list)

Signed-off-by: Ian Campbell &lt;Ian.Campbell@citrix.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: update Linus's git repository</title>
<updated>2011-08-25T23:25:33Z</updated>
<author>
<name>Ralf Thielow</name>
<email>ralf.thielow@googlemail.com</email>
</author>
<published>2011-08-25T22:59:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3d1c2f72a9464c9880054194af0c041d7beb9124'/>
<id>urn:sha1:3d1c2f72a9464c9880054194af0c041d7beb9124</id>
<content type='text'>
Change to new git tree -
(git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git).

Signed-off-by: Ralf Thielow &lt;ralf.thielow@googlemail.com&gt;
Cc: 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>get_maintainers.pl: improve .mailmap parsing</title>
<updated>2011-07-26T03:57:15Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2011-07-26T00:13:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0334b3824e671c28737074ca9fb0723ef05d9b9e'/>
<id>urn:sha1:0334b3824e671c28737074ca9fb0723ef05d9b9e</id>
<content type='text'>
Entries that used formats other than "Proper Name &lt;commit@email.xx&gt;"
were not parsed properly.

Try to improve the parsing so that the entries in the forms of:
    Proper Name &lt;proper@email.xx&gt; &lt;commit@email.xx&gt;
and
    Proper Name &lt;proper@email.xx&gt; Commit Name &lt;commit@email.xx&gt;
are transformed correctly.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Reviewed-by: Florian Mickler &lt;florian@mickler.org&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>get_maintainer.pl: allow "K:" pattern tests to match non-patch text</title>
<updated>2011-03-23T00:44:13Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2011-03-22T23:34:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7764dcb53473e5665ab3cdc461ccfc510fce925e'/>
<id>urn:sha1:7764dcb53473e5665ab3cdc461ccfc510fce925e</id>
<content type='text'>
Extend the usage of the K section in the MAINTAINERS file to support
matching regular expressions to any arbitrary text that may precede the
patch itself.  For example, the commit message or mail headers generated
by git-format-patch.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Original-patch-by: L. Alberto Giménez &lt;agimenez@sysvalve.es&gt;
Acked-by: L. Alberto Giménez &lt;agimenez@sysvalve.es&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: use --git-fallback more often</title>
<updated>2011-01-13T16:03:10Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2011-01-13T00:59:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ab6c937dbadf4797484d00d2815e1e3b0ec54397'/>
<id>urn:sha1:ab6c937dbadf4797484d00d2815e1e3b0ec54397</id>
<content type='text'>
On Fri, 2010-11-05 at 13:50 -0700, Andrew Morton wrote:
&gt; z:/usr/src/git26&gt; perl scripts/get_maintainer.pl -file mm/mempolicy.c
&gt; linux-mm@kvack.org
&gt; linux-kernel@vger.kernel.org

Turns out this is an arguable defect in the script.

The MAINTAINERS entry for mm is:

MEMORY MANAGEMENT
L:	linux-mm@kvack.org
W:	http://www.linux-mm.org
S:	Maintained
F:	include/linux/mm.h
F:	mm/

There's a maintainer entry, but no named individual, so the script doesn't
use git history via --git-fallback.

This is also a defect for MAINTAINERS with status entries marked "Orphan"
or "Odd fixes".

The script now checks a section for any "M:" entry and that an "S:" entry
is supported or maintained.  If both those conditions are not satisified,
use --git-fallback as appropriate.

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>
