All of lore.kernel.org
 help / color / mirror / Atom feed
* RFC: make MAINTAINERS email addresses easier to copy/paste
@ 2008-04-29 20:59 Bjorn Helgaas
  2008-04-29 21:00 ` Bjorn Helgaas
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Bjorn Helgaas @ 2008-04-29 20:59 UTC (permalink / raw)
  To: linux-kernel

I like to use display names for email addresses, e.g.,
"Bjorn Helgaas <bjorn.helgaas@hp.com>" instead of just
"bjorn.helgaas@hp.com".

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:	bjorn.helgaas@hp.com
#
# becomes this:
#
#	P:	Bjorn Helgaas <bjorn.helgaas@hp.com>

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;
    }
}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: RFC: make MAINTAINERS email addresses easier to copy/paste
  2008-04-29 20:59 RFC: make MAINTAINERS email addresses easier to copy/paste Bjorn Helgaas
@ 2008-04-29 21:00 ` Bjorn Helgaas
  2008-04-30  8:03   ` Paul Jackson
  2008-04-30  8:08 ` Sam Ravnborg
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Bjorn Helgaas @ 2008-04-29 21:00 UTC (permalink / raw)
  To: linux-kernel

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.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>

Index: work10/MAINTAINERS
===================================================================
--- work10.orig/MAINTAINERS	2008-04-29 13:31:06.000000000 -0600
+++ work10/MAINTAINERS	2008-04-29 14:45:16.000000000 -0600
@@ -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 <akpm@linux-foundation.org>"
+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:	len.brown@intel.com
+P:	Len Brown
 M:	lenb@kernel.org
 L:	linux-acpi@vger.kernel.org
 W:	http://www.lesswatts.org/projects/acpi/
@@ -1112,11 +1113,14 @@
 L:	alsa-devel@alsa-project.org
 S:	Supported
 
+CIRRUS LOGIC CS4280/CS461x SOUNDDRIVER (2.2 kernel driver)
+P:	Thomas Woller
+M:	twoller@crystal.cirrus.com
+S:	Maintained
+
 CIRRUS LOGIC CS4280/CS461x SOUNDDRIVER
-P:	Cirrus Logic Corporation (kernel 2.2 driver)
-M:	Cirrus Logic Corporation, Thomas Woller <twoller@crystal.cirrus.com>
-P:	Nils Faerber (port to kernel 2.4)
-M:	Nils Faerber <nils@kernelconcepts.de>
+P:	Nils Faerber
+M:	nils@kernelconcepts.de
 S:	Maintained
 
 CODA FILE SYSTEM
@@ -1130,6 +1134,7 @@
 COMPACTPCI HOTPLUG CORE
 P:	Scott Murray
 M:	scottm@somanetworks.com
+P:	Scott Murray
 M:	scott@spiteful.org
 L:	pcihpd-discuss@lists.sourceforge.net
 S:	Supported
@@ -1137,6 +1142,7 @@
 COMPACTPCI HOTPLUG ZIATECH ZT5550 DRIVER
 P:	Scott Murray
 M:	scottm@somanetworks.com
+P:	Scott Murray
 M:	scott@spiteful.org
 L:	pcihpd-discuss@lists.sourceforge.net
 S:	Supported
@@ -1144,6 +1150,7 @@
 COMPACTPCI HOTPLUG GENERIC DRIVER
 P:	Scott Murray
 M:	scottm@somanetworks.com
+P:	Scott Murray
 M:	scott@spiteful.org
 L:	pcihpd-discuss@lists.sourceforge.net
 S:	Supported
@@ -1194,8 +1201,8 @@
 
 CPUSETS
 P:	Paul Jackson
-P:	Simon Derr
 M:	pj@sgi.com
+P:	Simon Derr
 M:	simon.derr@bull.net
 L:	linux-kernel@vger.kernel.org
 W:	http://www.bullopensource.org/cpuset/
@@ -1458,8 +1465,10 @@
 S:	Maintained
 
 ECRYPT FILE SYSTEM
-P:	Mike Halcrow, Phillip Hellewell
-M:	mhalcrow@us.ibm.com, phillip@hellewell.homeip.net
+P:	Mike Halcrow
+M:	mhalcrow@us.ibm.com
+P:	Phillip Hellewell
+M:	phillip@hellewell.homeip.net
 L:	ecryptfs-devel@lists.sourceforge.net
 W:	http://ecryptfs.sourceforge.net/
 S:	Supported
@@ -1473,8 +1482,8 @@
 
 EDAC-E752X
 P:	Mark Gross
-P:	Doug Thompson
 M:	mark.gross@intel.com
+P:	Doug Thompson
 M:	dougthompson@xmission.com
 L:	bluesmoke-devel@lists.sourceforge.net
 W:	bluesmoke.sourceforge.net
@@ -1510,8 +1519,8 @@
 
 EDAC-I82975X
 P:	Ranganathan Desikan
-P:	Arvind R.
 M:	rdesikan@jetzbroadband.com
+P:	Arvind R.
 M:	arvind@acarlab.com
 L:	bluesmoke-devel@lists.sourceforge.net
 W:	bluesmoke.sourceforge.net
@@ -1557,7 +1566,9 @@
 
 EPSON 1355 FRAMEBUFFER DRIVER
 P:	Christopher Hoover
-M:	ch@murgatroid.com, ch@hpl.hp.com
+M:	ch@murgatroid.com
+P:	Christopher Hoover
+M:	ch@hpl.hp.com
 S:	Maintained
 
 ETHEREXPRESS-16 NETWORK DRIVER
@@ -1583,14 +1594,22 @@
 S:	Maintained
 
 EXT3 FILE SYSTEM
-P:	Stephen Tweedie, Andrew Morton
-M:	sct@redhat.com, akpm@linux-foundation.org, adilger@clusterfs.com
+P:	Stephen Tweedie
+M:	sct@redhat.com
+P:	Andrew Morton
+M:	akpm@linux-foundation.org
+P:	Andreas Dilger
+M:	adilger@clusterfs.com
 L:	linux-ext4@vger.kernel.org
 S:	Maintained
 
 EXT4 FILE SYSTEM
-P:	Stephen Tweedie, Andrew Morton
-M:	sct@redhat.com, akpm@linux-foundation.org, adilger@clusterfs.com
+P:	Stephen Tweedie
+M:	sct@redhat.com
+P:	Andrew Morton
+M:	akpm@linux-foundation.org
+P:	Andreas Dilger
+M:	adilger@clusterfs.com
 L:	linux-ext4@vger.kernel.org
 S:	Maintained
 
@@ -1619,7 +1638,7 @@
 S:	Maintained
 
 FREESCALE DMA DRIVER
-P;	Zhang Wei
+P:	Zhang Wei
 M:	wei.zhang@freescale.com
 L:	linuxppc-embedded@ozlabs.org
 L:	linux-kernel@vger.kernel.org
@@ -1680,8 +1699,10 @@
 S:	Maintained
 
 FIREWIRE SUBSYSTEM (drivers/firewire, <linux/firewire*.h>)
-P:	Kristian Hoegsberg, Stefan Richter
-M:	krh@redhat.com, stefanr@s5r6.in-berlin.de
+P:	Kristian Hoegsberg
+M:	krh@redhat.com
+P:	Stefan Richter
+M:	stefanr@s5r6.in-berlin.de
 L:	linux1394-devel@lists.sourceforge.net
 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:	rlove@rlove.org
-M:	linux-kernel@vger.kernel.org
+L:	linux-kernel@vger.kernel.org
 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:	dmitry.torokhov@gmail.com
+P:	Dmitry Torokhov
 M:	dtor@mail.ru
 L:	linux-input@vger.kernel.org
 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:	sct@redhat.com, akpm@linux-foundation.org
+P:	Stephen Tweedie
+M:	sct@redhat.com
+P:	Andrew Morton
+M:	akpm@linux-foundation.org
 L:	linux-ext4@vger.kernel.org
 S:	Maintained
 
@@ -2509,9 +2533,11 @@
 LINUX FOR 64BIT POWERPC
 P:	Paul Mackerras
 M:	paulus@samba.org
+P:	Paul Mackerras
 M:	paulus@au.ibm.com
 P:	Anton Blanchard
 M:	anton@samba.org
+P:	Anton Blanchard
 M:	anton@au.ibm.com
 W:	http://www.penguinppc.org/ppc64/
 L:	linuxppc-dev@ozlabs.org
@@ -3901,7 +3927,7 @@
 
 TI OMAP MMC INTERFACE DRIVER
 P:	Carlos Aguiar, Anderson Briglia and Syed Khasim
-M:	linux-omap-open-source@linux.omap.com (subscribers only)
+L:	linux-omap-open-source@linux.omap.com (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:	pberger@brimson.com
+P:	Al Borchers
 M:	alborchers@steinerpoint.com
 L:      linux-usb@vger.kernel.org
 S:	Maintained

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: RFC: make MAINTAINERS email addresses easier to copy/paste
  2008-04-29 21:00 ` Bjorn Helgaas
@ 2008-04-30  8:03   ` Paul Jackson
  2008-04-30 15:06     ` Bjorn Helgaas
  0 siblings, 1 reply; 11+ messages in thread
From: Paul Jackson @ 2008-04-30  8:03 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-kernel

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.

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@sgi.com> 1.940.382.4214

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: RFC: make MAINTAINERS email addresses easier to copy/paste
  2008-04-29 20:59 RFC: make MAINTAINERS email addresses easier to copy/paste Bjorn Helgaas
  2008-04-29 21:00 ` Bjorn Helgaas
@ 2008-04-30  8:08 ` Sam Ravnborg
  2008-04-30  8:49 ` Christoph Hellwig
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: Sam Ravnborg @ 2008-04-30  8:08 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-kernel

On Tue, Apr 29, 2008 at 02:59:56PM -0600, Bjorn Helgaas wrote:
> I like to use display names for email addresses, e.g.,
> "Bjorn Helgaas <bjorn.helgaas@hp.com>" instead of just
> "bjorn.helgaas@hp.com".
> 
> 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.

I would welcome this change as it makes is simpler
to cc relevant people on patches - with their full name.

	Sam

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: RFC: make MAINTAINERS email addresses easier to copy/paste
  2008-04-29 20:59 RFC: make MAINTAINERS email addresses easier to copy/paste Bjorn Helgaas
  2008-04-29 21:00 ` Bjorn Helgaas
  2008-04-30  8:08 ` Sam Ravnborg
@ 2008-04-30  8:49 ` Christoph Hellwig
  2008-04-30  9:27   ` Sam Ravnborg
  2008-04-30 15:51   ` Bjorn Helgaas
  2008-05-02 20:44 ` Pavel Machek
  2008-05-04 13:25 ` Rene Herman
  4 siblings, 2 replies; 11+ messages in thread
From: Christoph Hellwig @ 2008-04-30  8:49 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-kernel

On Tue, Apr 29, 2008 at 02:59:56PM -0600, Bjorn Helgaas wrote:
> 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.

Why do you want to copy the real name?  It's entirely superflous for
mail routing.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: RFC: make MAINTAINERS email addresses easier to copy/paste
  2008-04-30  8:49 ` Christoph Hellwig
@ 2008-04-30  9:27   ` Sam Ravnborg
  2008-04-30 15:51   ` Bjorn Helgaas
  1 sibling, 0 replies; 11+ messages in thread
From: Sam Ravnborg @ 2008-04-30  9:27 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Bjorn Helgaas, linux-kernel

On Wed, Apr 30, 2008 at 04:49:38AM -0400, Christoph Hellwig wrote:
> On Tue, Apr 29, 2008 at 02:59:56PM -0600, Bjorn Helgaas wrote:
> > 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.
> 
> 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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: RFC: make MAINTAINERS email addresses easier to copy/paste
  2008-04-30  8:03   ` Paul Jackson
@ 2008-04-30 15:06     ` Bjorn Helgaas
  0 siblings, 0 replies; 11+ messages in thread
From: Bjorn Helgaas @ 2008-04-30 15:06 UTC (permalink / raw)
  To: Paul Jackson; +Cc: linux-kernel

On Wednesday 30 April 2008 02:03:35 am Paul Jackson wrote:
> 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.

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: RFC: make MAINTAINERS email addresses easier to copy/paste
  2008-04-30  8:49 ` Christoph Hellwig
  2008-04-30  9:27   ` Sam Ravnborg
@ 2008-04-30 15:51   ` Bjorn Helgaas
  2008-04-30 16:04     ` Christoph Hellwig
  1 sibling, 1 reply; 11+ messages in thread
From: Bjorn Helgaas @ 2008-04-30 15:51 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: linux-kernel

On Wednesday 30 April 2008 02:49:38 am Christoph Hellwig wrote:
> On Tue, Apr 29, 2008 at 02:59:56PM -0600, Bjorn Helgaas wrote:
> > 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.
> 
> 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 :-)

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: RFC: make MAINTAINERS email addresses easier to copy/paste
  2008-04-30 15:51   ` Bjorn Helgaas
@ 2008-04-30 16:04     ` Christoph Hellwig
  0 siblings, 0 replies; 11+ messages in thread
From: Christoph Hellwig @ 2008-04-30 16:04 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: Christoph Hellwig, linux-kernel

On Wed, Apr 30, 2008 at 09:51:10AM -0600, Bjorn Helgaas wrote:
> 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.  

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: RFC: make MAINTAINERS email addresses easier to copy/paste
  2008-04-29 20:59 RFC: make MAINTAINERS email addresses easier to copy/paste Bjorn Helgaas
                   ` (2 preceding siblings ...)
  2008-04-30  8:49 ` Christoph Hellwig
@ 2008-05-02 20:44 ` Pavel Machek
  2008-05-04 13:25 ` Rene Herman
  4 siblings, 0 replies; 11+ messages in thread
From: Pavel Machek @ 2008-05-02 20:44 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-kernel

On Tue 2008-04-29 14:59:56, Bjorn Helgaas wrote:
> I like to use display names for email addresses, e.g.,
> "Bjorn Helgaas <bjorn.helgaas@hp.com>" instead of just
> "bjorn.helgaas@hp.com".

Yes, please. I wish for this change every single time I have to use
MAINTAINERS.

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: RFC: make MAINTAINERS email addresses easier to copy/paste
  2008-04-29 20:59 RFC: make MAINTAINERS email addresses easier to copy/paste Bjorn Helgaas
                   ` (3 preceding siblings ...)
  2008-05-02 20:44 ` Pavel Machek
@ 2008-05-04 13:25 ` Rene Herman
  4 siblings, 0 replies; 11+ messages in thread
From: Rene Herman @ 2008-05-04 13:25 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-kernel

On 29-04-08 22:59, Bjorn Helgaas wrote:

> I like to use display names for email addresses, e.g.,
> "Bjorn Helgaas <bjorn.helgaas@hp.com>" instead of just
> "bjorn.helgaas@hp.com".
> 
> 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.

ACKACKACKACK.

Rene.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-05-04 13:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-29 20:59 RFC: make MAINTAINERS email addresses easier to copy/paste Bjorn Helgaas
2008-04-29 21:00 ` Bjorn Helgaas
2008-04-30  8:03   ` Paul Jackson
2008-04-30 15:06     ` Bjorn Helgaas
2008-04-30  8:08 ` Sam Ravnborg
2008-04-30  8:49 ` Christoph Hellwig
2008-04-30  9:27   ` Sam Ravnborg
2008-04-30 15:51   ` Bjorn Helgaas
2008-04-30 16:04     ` Christoph Hellwig
2008-05-02 20:44 ` Pavel Machek
2008-05-04 13:25 ` Rene Herman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.