[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1243878331.3402.52.camel@Joe-Laptop.home>
Date: Mon, 01 Jun 2009 10:45:31 -0700
From: Joe Perches <joe@...ches.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Pavel Machek <pavel@....cz>, Sam Ravnborg <sam@...nborg.org>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Randy Dunlap <randy.dunlap@...cle.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Script to integrate MAINTAINERS P: and M: lines
Here's a script to convert the MAINTAINERS file
to a single-line format.
from:
P: name
M: address
to
M: name <address>
Please run the script and apply the result when convenient.
--- /dev/null 2009-05-30 11:29:04.000000000 -0700
+++ integrate_maintainers.sh 2009-06-01 10:27:06.000000000 -0700
@@ -0,0 +1,39 @@
+#! /bin/sh
+#
+# Change MAINTAINERS from
+# P: name
+# M: address
+# to:
+# M: name <address>
+#
+# Integrate P: and M: lines
+#
+perl -i -e 'local $/; while(<>) { s@P: ([^\n]+)\nM: ([^\n]+)\n@M: \1 <\2>\n@g; print; }' MAINTAINERS
+#
+# Quote names with periods, commas and parentheses
+#
+sed -r -i -e "s/^M: (.+)([\.,'\(])(.*) </M: \"\1\2\3\" </g" MAINTAINERS
+#
+# Fix CIRRUS LOGIC CS4280/CS461x SOUNDDRIVER section names
+#
+sed -r -i -e 's/"Nils Faerber \(port to kernel 2.4\) <Nils Faerber\" <nils@...nelconcepts.de>>/"Nils Faerber \(port to kernel 2.4\)" <nils@...nelconcepts.de>/g' MAINTAINERS
+sed -r -i -e 's/"Cirrus Logic Corporation \(kernel 2.2 driver\) <Cirrus Logic Corporation, Thomas Woller" <twoller@...stal.cirrus.com>>/"Cirrus Logic Corporation \(kernel 2.2 driver\), Thomas Woller" <twoller@...stal.cirrus.com>/g' MAINTAINERS
+#
+# Add a description of email name style
+#
+patch -p1 <<EOF
+diff --git a/MAINTAINERS b/MAINTAINERS
+--- a/MAINTAINERS
++++ b/MAINTAINERS
+@@ -67,8 +67,8 @@ Note: For the hard of thinking, this list is meant to remain in alphabetical
+ order. If you could add yourselves to it in alphabetical order that would be
+ so much easier [Ed]
+
+-P: Person
+-M: Mail patches to
++P: Person (obsolete)
++M: Mail patches to: FullName <address@...ain>
+ L: Mailing list that is relevant to this area
+ W: Web-page with status/info
+ T: SCM tree type and location. Type is one of: git, hg, quilt.
+EOF
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists