RFC: make MAINTAINERS email addresses easier to copy/paste
I like to use display names for email addresses, e.g., "Bjorn Helgaas <[email protected]>" instead of just "[email protected]".
The current MAINTAINERS file format makes it a nuisance to copy both the display name and the actual address. So I propose that we fold together the current "P:" and "M:" lines using something similar to the filter below.
If we do this, we should fix a few inconsistencies in the current file first so the script will work better. I'll post a patch to do that as a response to this message.
Bjorn
#!/usr/bin/perl
# Combine name and email address for easier copy and paste. # For example, this:
#
# P: Bjorn Helgaas
# M: [email protected]
#
# becomes this: # # P: Bjorn Helgaas <[email protected]>
while (<>) {
if (/^P:(\t|\s{2,})(\S.+)/) {
if (defined($line)) {
print $line;
undef $line;
}
$name = $2;
$line = $_;
} elsif (/^M:(\t|\s{2,}).*?(\S+@\S+)/) {
if (defined($line)) {
$mail = $2;
$mail =~ s/^<//;
$mail =~ s/>$//;
print "P:\t$name <$mail>\n";
undef $line;
} else {
print;
}
} else {
if (defined($line)) {
print $line;
undef $line;
}
print;
}
}MAINTAINERS: straighten out Person <-> Mail associations
Sometimes a "P:" line contains several names, followed by an "M:" line with several email addresses. And sometimes a single "P:" line is followed by several "M:" addresses for the same person.
This patch adds extra "P:" lines to make the associations unambiguous.
The first hunk is only relevant if we use the preceeding script to fold the "P:" and "M:" lines together, but the rest of the patch should be valid in any case.
MAINTAINERS +51 -24
@@ -67,8 +67,8 @@ 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 with email address, e.g., "Andrew Morton <[email protected]>" +M: Additional email address for patches 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.
@@ -218,6 +218,7 @@ ACPI P: Len Brown M: [email protected] +P: Len Brown M: [email protected] L: [email protected] W: http://www.lesswatts.org/projects/acpi/
@@ -1112,11 +1113,14 @@ L: [email protected] S: Supported +CIRRUS LOGIC CS4280/CS461x SOUNDDRIVER (2.2 kernel driver) +P: Thomas Woller +M: [email protected] +S: Maintained + CIRRUS LOGIC CS4280/CS461x SOUNDDRIVER -P: Cirrus Logic Corporation (kernel 2.2 driver) -M: Cirrus Logic Corporation, Thomas Woller <[email protected]> -P: Nils Faerber (port to kernel 2.4) -M: Nils Faerber <[email protected]> +P: Nils Faerber +M: [email protected] S: Maintained CODA FILE SYSTEM
@@ -1130,6 +1134,7 @@ COMPACTPCI HOTPLUG CORE P: Scott Murray M: [email protected] +P: Scott Murray M: [email protected] L: [email protected] S: Supported
@@ -1137,6 +1142,7 @@ COMPACTPCI HOTPLUG ZIATECH ZT5550 DRIVER P: Scott Murray M: [email protected] +P: Scott Murray M: [email protected] L: [email protected] S: Supported
@@ -1144,6 +1150,7 @@ COMPACTPCI HOTPLUG GENERIC DRIVER P: Scott Murray M: [email protected] +P: Scott Murray M: [email protected] L: [email protected] S: Supported
@@ -1194,8 +1201,8 @@ CPUSETS P: Paul Jackson -P: Simon Derr M: [email protected] +P: Simon Derr M: [email protected] L: [email protected] W: http://www.bullopensource.org/cpuset/
@@ -1458,8 +1465,10 @@ S: Maintained ECRYPT FILE SYSTEM -P: Mike Halcrow, Phillip Hellewell -M: [email protected], [email protected] +P: Mike Halcrow +M: [email protected] +P: Phillip Hellewell +M: [email protected] L: [email protected] W: http://ecryptfs.sourceforge.net/ S: Supported
@@ -1473,8 +1482,8 @@ EDAC-E752X P: Mark Gross -P: Doug Thompson M: [email protected] +P: Doug Thompson M: [email protected] L: [email protected] W: bluesmoke.sourceforge.net
@@ -1510,8 +1519,8 @@ EDAC-I82975X P: Ranganathan Desikan -P: Arvind R. M: [email protected] +P: Arvind R. M: [email protected] L: [email protected] W: bluesmoke.sourceforge.net
@@ -1557,7 +1566,9 @@ EPSON 1355 FRAMEBUFFER DRIVER P: Christopher Hoover -M: [email protected], [email protected] +M: [email protected] +P: Christopher Hoover +M: [email protected] S: Maintained ETHEREXPRESS-16 NETWORK DRIVER
@@ -1583,14 +1594,22 @@ S: Maintained EXT3 FILE SYSTEM -P: Stephen Tweedie, Andrew Morton -M: [email protected], [email protected], [email protected] +P: Stephen Tweedie +M: [email protected] +P: Andrew Morton +M: [email protected] +P: Andreas Dilger +M: [email protected] L: [email protected] S: Maintained EXT4 FILE SYSTEM -P: Stephen Tweedie, Andrew Morton -M: [email protected], [email protected], [email protected] +P: Stephen Tweedie +M: [email protected] +P: Andrew Morton +M: [email protected] +P: Andreas Dilger +M: [email protected] L: [email protected] S: Maintained
@@ -1619,7 +1638,7 @@ S: Maintained FREESCALE DMA DRIVER -P; Zhang Wei +P: Zhang Wei M: [email protected] L: [email protected] L: [email protected]
@@ -1680,8 +1699,10 @@ S: Maintained FIREWIRE SUBSYSTEM (drivers/firewire, <linux/firewire*.h>) -P: Kristian Hoegsberg, Stefan Richter -M: [email protected], [email protected] +P: Kristian Hoegsberg +M: [email protected] +P: Stefan Richter +M: [email protected] L: [email protected] W: http://www.linux1394.org/ T: git kernel.org:/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6.git
@@ -1778,7 +1799,7 @@ HARD DRIVE ACTIVE PROTECTION SYSTEM (HDAPS) DRIVER P: Robert Love M: [email protected] -M: [email protected] +L: [email protected] W: http://www.kernel.org/pub/linux/kernel/people/rml/hdaps/ S: Maintained
@@ -2041,6 +2062,7 @@ INPUT (KEYBOARD, MOUSE, JOYSTICK, TOUCHSCREEN) DRIVERS P: Dmitry Torokhov M: [email protected] +P: Dmitry Torokhov M: [email protected] L: [email protected] T: git kernel.org:/pub/scm/linux/kernel/git/dtor/input.git
@@ -2261,8 +2283,10 @@ S: Supported JOURNALLING LAYER FOR BLOCK DEVICES (JBD) -P: Stephen Tweedie, Andrew Morton -M: [email protected], [email protected] +P: Stephen Tweedie +M: [email protected] +P: Andrew Morton +M: [email protected] L: [email protected] S: Maintained
@@ -2509,9 +2533,11 @@ LINUX FOR 64BIT POWERPC P: Paul Mackerras M: [email protected] +P: Paul Mackerras M: [email protected] P: Anton Blanchard M: [email protected] +P: Anton Blanchard M: [email protected] W: http://www.penguinppc.org/ppc64/ L: [email protected]
@@ -3901,7 +3927,7 @@ TI OMAP MMC INTERFACE DRIVER P: Carlos Aguiar, Anderson Briglia and Syed Khasim -M: [email protected] (subscribers only) +L: [email protected] (subscribers only) W: http://linux.omap.com W: http://www.muru.com/linux/omap/ S: Maintained
@@ -4137,8 +4163,9 @@ S: Maintained USB SERIAL DIGI ACCELEPORT DRIVER -P: Peter Berger and Al Borchers +P: Peter Berger M: [email protected] +P: Al Borchers M: [email protected] L: [email protected] S: Maintained
This patch reminded me that I should update the CPUSETS maintainers, which I will be sending in a separate patch shortly.
However, that in turn highlights one problem with updating several MAINTAINERS entries at once; it will almost surely collide with other ongoing updates to the MAINTAINERS file. On that account, your proposal might not be worth the extra effort it would take to get merged ... I'm not sure.
Signature · 3 lines
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[email protected]> 1.940.382.4214Quoted 8 lines · Paul Jackson
This patch reminded me that I should update the CPUSETS maintainers, which I will be sending in a separate patch shortly.
However, that in turn highlights one problem with updating several
MAINTAINERSentries at once; it will almost surely collide with other ongoing updates to theMAINTAINERSfile. On that account, your proposal might not be worth the extra effort it would take to get merged ... I'm not sure.
Yes, that's a problem, and that's why I posted a filter to do the bulk of the work. It seems like the easiest way would be for Linus to run the script and generate a patch at his end. There are only a handful of patches in -mm that touch MAINTAINERS, so it shouldn't generate too many conflicts there.
Bjorn
Quoted 8 lines · Bjorn Helgaas
I like to use display names for email addresses, e.g., "Bjorn Helgaas <[email protected]>" instead of just "[email protected]".
The current
MAINTAINERSfile format makes it a nuisance to copy both the display name and the actual address. So I propose that we fold together the current "P:" and "M:" lines using something similar to the filter below.
I would welcome this change as it makes is simpler to cc relevant people on patches - with their full name.
Sam
Quoted 4 lines · Bjorn Helgaas
The current
MAINTAINERSfile format makes it a nuisance to copy both the display name and the actual address. So I propose that we fold together the current "P:" and "M:" lines using something similar to the filter below.
Why do you want to copy the real name? It's entirely superflous for mail routing.
Quoted 8 lines · Christoph Hellwig
Quoted 4 lines · Bjorn Helgaas
The current
MAINTAINERSfile format makes it a nuisance to copy both the display name and the actual address. So I propose that we fold together the current "P:" and "M:" lines using something similar to the filter below.Why do you want to copy the real name? It's entirely superflous for mail routing.
I always use the real name in my Cc: tags in my patches. And I prefer to name people by their name - not their mail address.
So I often use their real name in to: also.
But for me it is easier copy to the Cc: tag that is most important.
Sam
Quoted 8 lines · Christoph Hellwig
Quoted 4 lines · Bjorn Helgaas
The current
MAINTAINERSfile format makes it a nuisance to copy both the display name and the actual address. So I propose that we fold together the current "P:" and "M:" lines using something similar to the filter below.Why do you want to copy the real name? It's entirely superflous for mail routing.
Sure, it's superfluous, but I think it's nice to use the name when I can. Probably for the same reason you include "Christoph Hellwig" in your "From:" header :-)
Quoted 3 lines · Bjorn Helgaas
Sure, it's superfluous, but I think it's nice to use the name when I can. Probably for the same reason you include "Christoph Hellwig" in your "From:" header :-)
It makes a lot more sense for a from header than for a to header. If you get mail it'd better have to be for you, while seeing where it comes from makes at least some sense.
Quoted 3 lines · Bjorn Helgaas
I like to use display names for email addresses, e.g., "Bjorn Helgaas <[email protected]>" instead of just "[email protected]".
Yes, please. I wish for this change every single time I have to use MAINTAINERS.
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 8 lines · Bjorn Helgaas
I like to use display names for email addresses, e.g., "Bjorn Helgaas <[email protected]>" instead of just "[email protected]".
The current
MAINTAINERSfile format makes it a nuisance to copy both the display name and the actual address. So I propose that we fold together the current "P:" and "M:" lines using something similar to the filter below.
ACKACKACKACK.
Rene.