Skip to contentSkip to conversation

Change Ryan Mallon's email address across the kernel

PATCH Superseded Ryan Mallon 7 participants 18 messages Jun 9, 2011 – Jun 13, 2011

Subsystems (9)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Change Ryan Mallon's email address across the kernel

I no longer work at Bluewater Systems. Update my email address accordingly.

Cc Andre Renaud <[email protected]>
Cc H Hartley Sweeten <[email protected]>
Cc Russell King <[email protected]>
Cc Nicolas Ferre <[email protected]>
Cc Andrew Victor <[email protected]>
Cc David Woodhouse <[email protected]>
Cc Anton Vorontsov <[email protected]>
Cc Paul Mundt <[email protected]>
Cc Liam Girdwood <[email protected]>
Cc Mark Brown <[email protected]>
---
 MAINTAINERS                            |    2 +-
 arch/arm/mach-at91/board-snapper9260.c |    2 +-
 arch/arm/mach-ep93xx/dma-m2p.c         |    2 +-
 arch/arm/mach-ep93xx/gpio.c            |    2 +-
 arch/arm/mach-ep93xx/simone.c          |    4 ++--
 arch/arm/mach-ep93xx/snappercl15.c     |    4 ++--
 drivers/mtd/devices/sst25l.c           |    4 ++--
 drivers/power/ds2782_battery.c         |    4 ++--
 drivers/video/ep93xx-fb.c              |    2 +-
 sound/soc/ep93xx/ep93xx-i2s.c          |    4 ++--
 sound/soc/ep93xx/ep93xx-pcm.c          |    4 ++--
 sound/soc/ep93xx/snappercl15.c         |    4 ++--
 12 files changed, 19 insertions(+), 19 deletions(-)
MAINTAINERS +1 -1
index 29801f7..26aaf6c 100644
@@ -683,7 +683,7 @@ T:	git git://git.infradead.org/users/cbou/linux-cns3xxx.git
 
 ARM/CIRRUS LOGIC EP93XX ARM ARCHITECTURE
 M:	Hartley Sweeten <[email protected]>
-M:	Ryan Mallon <[email protected]>
+M:	Ryan Mallon <[email protected]>
 L:	[email protected] (moderated for non-subscribers)
 S:	Maintained
 F:	arch/arm/mach-ep93xx/
arch/arm/mach-at91/board-snapper9260.c +1 -1
index 3eb0a11..e97d4a8 100644
@@ -4,7 +4,7 @@
  *  Copyright (C) 2010 Bluewater System Ltd
  *
  * Author: Andre Renaud <[email protected]>
- * Author: Ryan Mallon  <[email protected]>
+ * Author: Ryan Mallon  <[email protected]>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
arch/arm/mach-ep93xx/dma-m2p.c +1 -1
index a696d35..965bb2a 100644
@@ -5,7 +5,7 @@
  * Copyright (C) 2006 Lennert Buytenhek <[email protected]>
  * Copyright (C) 2006 Applied Data Systems
  *
- * Copyright (C) 2009 Ryan Mallon <[email protected]>
+ * Copyright (C) 2009 Ryan Mallon <[email protected]>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
arch/arm/mach-ep93xx/gpio.c +1 -1
index 415dce3..e479812 100644
@@ -3,7 +3,7 @@
  *
  * Generic EP93xx GPIO handling
  *
- * Copyright (c) 2008 Ryan Mallon <[email protected]>
+ * Copyright (c) 2008 Ryan Mallon <[email protected]>
  *
  * Based on code originally from:
  *  linux/arch/arm/mach-ep93xx/core.c
arch/arm/mach-ep93xx/simone.c +2 -2
index d96dc1c..f94b7e9 100644
@@ -2,7 +2,7 @@
  * arch/arm/mach-ep93xx/simone.c
  * Simplemachines Sim.One support.
  *
- * Copyright (C) 2010 Ryan Mallon <[email protected]>
+ * Copyright (C) 2010 Ryan Mallon <[email protected]>
  *
  * Based on the 2.6.24.7 support:
  *   Copyright (C) 2009 Simplemachines
@@ -65,7 +65,7 @@ static void __init simone_init_machine(void)
 }
 
 MACHINE_START(SIM_ONE, "Simplemachines Sim.One Board")
-/* Maintainer: Ryan Mallon <[email protected]> */
+/* Maintainer: Ryan Mallon <[email protected]> */
 	.boot_params	= EP93XX_SDCE0_PHYS_BASE + 0x100,
 	.map_io		= ep93xx_map_io,
 	.init_irq	= ep93xx_init_irq,
arch/arm/mach-ep93xx/snappercl15.c +2 -2
index ac601fe..a06f349 100644
@@ -3,7 +3,7 @@
  * Bluewater Systems Snapper CL15 system module
  *
  * Copyright (C) 2009 Bluewater Systems Ltd
- * Author: Ryan Mallon <[email protected]>
+ * Author: Ryan Mallon <[email protected]>
  *
  * NAND code adapted from driver by:
  *   Andre Renaud <[email protected]>
@@ -162,7 +162,7 @@ static void __init snappercl15_init_machine(void)
 }
 
 MACHINE_START(SNAPPER_CL15, "Bluewater Systems Snapper CL15")
-	/* Maintainer: Ryan Mallon <[email protected]> */
+	/* Maintainer: Ryan Mallon  <[email protected]> */
 	.boot_params	= EP93XX_SDCE0_PHYS_BASE + 0x100,
 	.map_io		= ep93xx_map_io,
 	.init_irq	= ep93xx_init_irq,
drivers/mtd/devices/sst25l.c +2 -2
index 1e2c430..73f6af0 100644
@@ -5,7 +5,7 @@
  *
  * Copyright © 2009 Bluewater Systems Ltd
  * Author: Andre Renaud <[email protected]>
- * Author: Ryan Mallon <[email protected]>
+ * Author: Ryan Mallon <[email protected]>
  *
  * Based on m25p80.c
  *
@@ -498,5 +498,5 @@ module_exit(sst25l_exit);
 
 MODULE_DESCRIPTION("MTD SPI driver for SST25L Flash chips");
 MODULE_AUTHOR("Andre Renaud <[email protected]>, "
-	      "Ryan Mallon <[email protected]>");
+	      "Ryan Mallon <[email protected]>");
 MODULE_LICENSE("GPL");
drivers/power/ds2782_battery.c +2 -2
index 4d2dc4f..48f9c80 100644
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2009 Bluewater Systems Ltd
  *
- * Author: Ryan Mallon <[email protected]>
+ * Author: Ryan Mallon <[email protected]>
  *
  * DS2786 added by Yulia Vilensky <[email protected]>
  *
@@ -416,6 +416,6 @@ static void __exit ds278x_exit(void)
 }
 module_exit(ds278x_exit);
 
-MODULE_AUTHOR("Ryan Mallon <[email protected]>");
+MODULE_AUTHOR("Ryan Mallon <[email protected]>");
 MODULE_DESCRIPTION("Maxim/Dallas DS2782 Stand-Alone Fuel Gauage IC driver");
 MODULE_LICENSE("GPL");
drivers/video/ep93xx-fb.c +1 -1
index cbdb1bd..b326c2f 100644
@@ -4,7 +4,7 @@
  * Framebuffer support for the EP93xx series.
  *
  * Copyright (C) 2007 Bluewater Systems Ltd
- * Author: Ryan Mallon <[email protected]>
+ * Author: Ryan Mallon <[email protected]>
  *
  * Copyright (c) 2009 H Hartley Sweeten <[email protected]>
  *
sound/soc/ep93xx/ep93xx-i2s.c +2 -2
index 042f4e9..56197d8 100644
@@ -2,7 +2,7 @@
  * linux/sound/soc/ep93xx-i2s.c
  * EP93xx I2S driver
  *
- * Copyright (C) 2010 Ryan Mallon <[email protected]>
+ * Copyright (C) 2010 Ryan Mallon <[email protected]>
  *
  * Based on the original driver by:
  *   Copyright (C) 2007 Chase Douglas <chasedouglas@gmail>
@@ -477,6 +477,6 @@ module_init(ep93xx_i2s_init);
 module_exit(ep93xx_i2s_exit);
 
 MODULE_ALIAS("platform:ep93xx-i2s");
-MODULE_AUTHOR("Ryan Mallon <[email protected]>");
+MODULE_AUTHOR("Ryan Mallon <[email protected]>");
 MODULE_DESCRIPTION("EP93XX I2S driver");
 MODULE_LICENSE("GPL");
sound/soc/ep93xx/ep93xx-pcm.c +2 -2
index a456e49..eba0dc8 100644
@@ -5,7 +5,7 @@
  * Copyright (C) 2006 Applied Data Systems
  *
  * Rewritten for the SoC audio subsystem (Based on PXA2xx code):
- *   Copyright (c) 2008 Ryan Mallon <[email protected]>
+ *   Copyright (c) 2008 Ryan Mallon <[email protected]>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
@@ -333,6 +333,6 @@ static void __exit ep93xx_soc_platform_exit(void)
 module_init(ep93xx_soc_platform_init);
 module_exit(ep93xx_soc_platform_exit);
 
-MODULE_AUTHOR("Ryan Mallon <[email protected]>");
+MODULE_AUTHOR("Ryan Mallon <[email protected]>");
 MODULE_DESCRIPTION("EP93xx ALSA PCM interface");
 MODULE_LICENSE("GPL");
sound/soc/ep93xx/snappercl15.c +2 -2
index dfe1d7f..7608195 100644
@@ -2,7 +2,7 @@
  * snappercl15.c -- SoC audio for Bluewater Systems Snapper CL15 module
  *
  * Copyright (C) 2008 Bluewater Systems Ltd
- * Author: Ryan Mallon <[email protected]>
+ * Author: Ryan Mallon <[email protected]>
  *
  *  This program is free software; you can redistribute  it and/or modify it
  *  under  the terms of  the GNU General  Public License as published by the
@@ -140,7 +140,7 @@ static void __exit snappercl15_exit(void)
 module_init(snappercl15_init);
 module_exit(snappercl15_exit);
 
-MODULE_AUTHOR("Ryan Mallon <[email protected]>");
+MODULE_AUTHOR("Ryan Mallon <[email protected]>");
 MODULE_DESCRIPTION("ALSA SoC Snapper CL15");
 MODULE_LICENSE("GPL");
 
Signature · 1 line
1.7.0.4
Acked-by on v1 1/1
#1 lore raw
Quoted 16 lines · Ryan Mallon

I no longer work at Bluewater Systems. Update my email address accordingly.

Cc Andre Renaud <[email protected]>
Cc H Hartley Sweeten <[email protected]>
Cc Russell King <[email protected]>
Cc Nicolas Ferre <[email protected]>
Cc Andrew Victor <[email protected]>
Cc David Woodhouse <[email protected]>
Cc Anton Vorontsov <[email protected]>
Cc Paul Mundt <[email protected]>
Cc Liam Girdwood <[email protected]>
Cc Mark Brown <[email protected]>
Quoted 1 line

---

Ryan,

There will probable be some merge conflicts with this.

Quoted 3 lines
MAINTAINERS                            |    2 +-
arch/arm/mach-at91/board-snapper9260.c |    2 +-
arch/arm/mach-ep93xx/dma-m2p.c         |    2 +-

This file is gone after Mika's DMA patches which are already in linux-next.

Quoted 1 line

arch/arm/mach-ep93xx/gpio.c | 2 +-

This file has been moved and renamed. There are also a number of patches already applied to it in linux-next.

Quoted 3 lines
arch/arm/mach-ep93xx/simone.c          |    4 ++--
arch/arm/mach-ep93xx/snappercl15.c     |    4 ++--
drivers/mtd/devices/sst25l.c           |    4 ++--

There are a couple patches to this file in linux-next.

Quoted 5 lines
drivers/power/ds2782_battery.c         |    4 ++--
drivers/video/ep93xx-fb.c              |    2 +-
sound/soc/ep93xx/ep93xx-i2s.c          |    4 ++--
sound/soc/ep93xx/ep93xx-pcm.c          |    4 ++--
sound/soc/ep93xx/snappercl15.c         |    4 ++--

The others should be ok. Maybe you should rebase this patch against linux-next?

Regards,
Hartley

#2 lore raw
Quoted 17 lines · H Hartley Sweeten
Quoted 15 lines · Ryan Mallon

I no longer work at Bluewater Systems. Update my email address accordingly.

Cc Andre Renaud<[email protected]>
Cc H Hartley Sweeten<[email protected]>
Cc Russell King<[email protected]>
Cc Nicolas Ferre<[email protected]>
Cc Andrew Victor<[email protected]>
Cc David Woodhouse<[email protected]>
Cc Anton Vorontsov<[email protected]>
Cc Paul Mundt<[email protected]>
Cc Liam Girdwood<[email protected]>
Cc Mark Brown<[email protected]>
Quoted 1 line

---

Quoted 5 lines

Ryan,

There will probable be some merge conflicts with this.

They should be trivial to fix (or automatic). I would also like this to get merged into 3.0 if still possible. Otherwise I'm going to get three more months of people emailing me at the wrong address :-).

~Ryan

Quoted 24 lines
Quoted 3 lines
MAINTAINERS                            |    2 +-
arch/arm/mach-at91/board-snapper9260.c |    2 +-
arch/arm/mach-ep93xx/dma-m2p.c         |    2 +-

This file is gone after Mika's DMA patches which are already in linux-next.

Quoted 1 line

arch/arm/mach-ep93xx/gpio.c | 2 +-

This file has been moved and renamed. There are also a number of patches already applied to it in linux-next.

Quoted 3 lines
arch/arm/mach-ep93xx/simone.c          |    4 ++--
arch/arm/mach-ep93xx/snappercl15.c     |    4 ++--
drivers/mtd/devices/sst25l.c           |    4 ++--

There are a couple patches to this file in linux-next.

Quoted 5 lines
drivers/power/ds2782_battery.c         |    4 ++--
drivers/video/ep93xx-fb.c              |    2 +-
sound/soc/ep93xx/ep93xx-i2s.c          |    4 ++--
sound/soc/ep93xx/ep93xx-pcm.c          |    4 ++--
sound/soc/ep93xx/snappercl15.c         |    4 ++--

The others should be ok. Maybe you should rebase this patch against linux-next?

Regards,
Hartley

#3 lore raw
In reply to Ryan Mallon
Quoted 2 lines · Ryan Mallon

I no longer work at Bluewater Systems. Update my email address accordingly.

Is this sort of churn really necessary? By all means, update your MAINTAINERS entry accordingly, but the rest of it is really pretty pointless. People are invariably going to consult MAINTAINERS one way or another and get the updated value accordingly. For the rest of these you are just as well off ripping out the email address completely.

#4 lore raw
Quoted 8 lines · Paul Mundt
Quoted 2 lines · Ryan Mallon

I no longer work at Bluewater Systems. Update my email address accordingly.

Is this sort of churn really necessary? By all means, update your MAINTAINERS entry accordingly, but the rest of it is really pretty pointless. People are invariably going to consult MAINTAINERS one way or another and get the updated value accordingly. For the rest of these you are just as well off ripping out the email address completely.

The MAINTAINERS entry for me only cover the arm ep93xx arch. Prior to this patch, if I do (for example)

./scripts/get_maintainer.pl -f drivers/power/ds2782_battery.c

It gives my old Bluewater email. With this change it gives my gmail account. Not sure if that is because it extracts the email from the source or from the git commit? Either way, the patch gets the correct behaviour for people who send patches using get_maintainer.

~Ryan

maintainer
#5 lore raw
Quoted 8 lines · Ryan Mallon
Quoted 7 lines · Paul Mundt
Quoted 1 line · Ryan Mallon

I no longer work at Bluewater Systems. Update my email address accordingly.

Is this sort of churn really necessary? By all means, update your MAINTAINERS entry accordingly, but the rest of it is really pretty pointless. People are invariably going to consult MAINTAINERS one way or another and get the updated value accordingly. For the rest of these you are just as well off ripping out the email address completely.

I agree.

Quoted 8 lines

The MAINTAINERS entry for me only cover the arm ep93xx arch. Prior to this patch, if I do (for example)

./scripts/get_maintainer.pl -f drivers/power/ds2782_battery.c

It gives my old Bluewater email. With this change it gives my gmail account. Not sure if that is because it extracts the email from the source or from the git commit?

It's the git commit.

get_maintainer uses the name and address in the first seen commit matching on the full name where possible.

You can override this with --noremove-duplicates

$ ./scripts/get_maintainer.pl --noremove-duplicates -f drivers/power/ds2782_battery.c 
Anton Vorontsov <[email protected]> (commit_signer:4/5=80%)
Ryan Mallon <[email protected]> (commit_signer:3/5=60%)
Andrew Morton <[email protected]> (commit_signer:1/5=20%)
Peter Huewe <[email protected]> (commit_signer:1/5=20%)
Mike Rapoport <[email protected]> (commit_signer:1/5=20%)
[email protected] (open list)
#6 lore raw
Quoted 26 lines · Joe Perches
Quoted 8 lines · Ryan Mallon
Quoted 7 lines · Paul Mundt
Quoted 1 line · Ryan Mallon

I no longer work at Bluewater Systems. Update my email address accordingly.

Is this sort of churn really necessary? By all means, update your MAINTAINERS entry accordingly, but the rest of it is really pretty pointless. People are invariably going to consult MAINTAINERS one way or another and get the updated value accordingly. For the rest of these you are just as well off ripping out the email address completely.

I agree.

Quoted 8 lines

The MAINTAINERS entry for me only cover the arm ep93xx arch. Prior to this patch, if I do (for example)

./scripts/get_maintainer.pl -f drivers/power/ds2782_battery.c

It gives my old Bluewater email. With this change it gives my gmail account. Not sure if that is because it extracts the email from the source or from the git commit?

It's the git commit.

get_maintainer uses the name and address in the first seen commit matching on the full name where possible.

You can override this with --noremove-duplicates

Quoted 7 lines
$ ./scripts/get_maintainer.pl --noremove-duplicates -f drivers/power/ds2782_battery.c
Anton Vorontsov<[email protected]>  (commit_signer:4/5=80%)
Ryan Mallon<[email protected]>  (commit_signer:3/5=60%)
Andrew Morton<[email protected]>  (commit_signer:1/5=20%)
Peter Huewe<[email protected]>  (commit_signer:1/5=20%)
Mike Rapoport<[email protected]>  (commit_signer:1/5=20%)
[email protected] (open list)

Okay, what is the correct fix then so that people get the right email address for me?

~Ryan

maintainer
#7 lore raw
Quoted 10 lines · Ryan Mallon
Quoted 7 lines · Joe Perches
Quoted 4 lines · Ryan Mallon
Quoted 3 lines · Paul Mundt
Quoted 1 line · Ryan Mallon

I no longer work at Bluewater Systems. Update my email address accordingly.

Is this sort of churn really necessary?

get_maintainer uses the name and address in the first seen commit matching on the full name where possible.

Okay, what is the correct fix then so that people get the right email address for me?

I believe updating the MAINTAINERS file and authoring and committing patches that take your email address out of files works well.

Some think that it's better to keep current email addresses in the files. I think it has to do with European data retention laws.

Not sure if that applies to you.

There've been threads about changing email addresses in files before like:

https://lkml.org/lkml/2011/4/10/89

cheers, Joe

#8 lore raw
Quoted 6 lines · Joe Perches
Quoted 5 lines · Ryan Mallon
Quoted 4 lines · Joe Perches
Quoted 3 lines · Ryan Mallon
Quoted 2 lines · Paul Mundt
Quoted 1 line · Ryan Mallon

I no longer work at Bluewater Systems. Update my email address accordingly.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

Is this sort of churn really necessary?

get_maintainer uses the name and address in the first seen commit matching on the full name where possible.

Okay, what is the correct fix then so that people get the right email address for me?

I believe updating the MAINTAINERS file and authoring and committing patches that take your email address out of files works well.

If I strip my email address, but leave my name and copyright in the files the patch will have the same amount of churn right?

Quoted 5 lines

Some think that it's better to keep current email addresses in the files. I think it has to do with European data retention laws.

Not sure if that applies to you.

I basically just want email to arrive at the correct address. I can catch misdirected stuff which gets Cc'ed to a mailing list, but sometimes people send me things off list which will just get lost.

~Ryan

#9 lore raw
Quoted 11 lines · Ryan Mallon
Quoted 10 lines · Joe Perches
Quoted 9 lines · Ryan Mallon
Quoted 8 lines · Joe Perches
Quoted 5 lines · Ryan Mallon
Quoted 4 lines · Paul Mundt
Quoted 2 lines · Ryan Mallon

I no longer work at Bluewater Systems. Update my email address accordingly.

Is this sort of churn really necessary?

get_maintainer uses the name and address in the first seen commit matching on the full name where possible.

Quoted 9 lines
Quoted 5 lines
Quoted 2 lines

Okay, what is the correct fix then so that people get the right email address for me?

I believe updating the MAINTAINERS file and
authoring and committing patches that take
your email address out of files works well.

If I strip my email address, but leave my name and copyright in the files the patch will have the same amount of churn right?

Not necessarily. You can leave the copyright bits intact but simply update (or strip out) the address from the MODULE_AUTHOR part so people still get the proper data from modinfo and so on. There are many people with non-working email addresses in copyright statements tree-wide, so there's certainly a precedent for it. It's also a motivator for not bothering with inlining the email address in the future, unless it's to avoid ambiguity (ie, a work done on behalf of an employer, who retains all rights).

If there are files that you have authored but get_maintainers is groveling the commits and using your old address, you can preempt this by simply adding a MAINTAINERS entry with the appropriate file pattern, too.

#10 lore raw
Quoted 29 lines · Paul Mundt
Quoted 11 lines · Ryan Mallon
Quoted 10 lines · Joe Perches
Quoted 9 lines · Ryan Mallon
Quoted 8 lines · Joe Perches
Quoted 5 lines · Ryan Mallon
Quoted 4 lines · Paul Mundt
Quoted 2 lines · Ryan Mallon

I no longer work at Bluewater Systems. Update my email address accordingly.

Is this sort of churn really necessary?

get_maintainer uses the name and address in the first seen commit matching on the full name where possible.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Okay, what is the correct fix then so that people get the right email address for me?

I believe updating the MAINTAINERS file and
authoring and committing patches that take
your email address out of files works well.

If I strip my email address, but leave my name and copyright in the files the patch will have the same amount of churn right?

Not necessarily. You can leave the copyright bits intact but simply update (or strip out) the address from the MODULE_AUTHOR part so people still get the proper data from modinfo and so on. There are many people with non-working email addresses in copyright statements tree-wide, so there's certainly a precedent for it. It's also a motivator for not bothering with inlining the email address in the future, unless it's to avoid ambiguity (ie, a work done on behalf of an employer, who retains all rights).

Quoted 3 lines

If there are files that you have authored but get_maintainers is groveling the commits and using your old address, you can preempt this by simply adding a MAINTAINERS entry with the appropriate file pattern, too.

Okay, so what is the preferred solution. Do I leave the old address in the files and add MAINTAINERS entries for everything with my correct address, or do I delete my email address (but leave my name) in all of the files?

~Ryan

maintainer
#11 lore raw
Quoted 4 lines · Ryan Mallon

Okay, so what is the preferred solution. Do I leave the old address in the files and add MAINTAINERS entries for everything with my correct address, or do I delete my email address (but leave my name) in all of the files?

Another option is to add an entry in .mailmap for
your correct new and incorrect old addresses.

.mailmap +1 -0
index 353ad56..218765d 100644
@@ -95,6 +95,7 @@ Ralf Wildenhues <[email protected]>
 Rémi Denis-Courmont <[email protected]>
 Rudolf Marek <[email protected]>
 Rui Saraiva <[email protected]>
+Ryan Mallon <[email protected]> <[email protected]>
 Sachin P Sant <[email protected]>
 Sam Ravnborg <[email protected]>
 Sascha Hauer <[email protected]>

This will only work after get_maintainers is patched to correctly parse the .mailmap entries that use this form.

I'll chat with Florian to correct this.

cheers, Joe

maintainer
#12 lore raw

PATCH 1/1 get_maintainers.pl: Improve .mailmap parsing

Entries that used formats other than "Proper Name <[email protected]>" were not parsed properly.

Try to improve the parsing so that the entries in the forms of:
Proper Name <[email protected]> <[email protected]>
and
Proper Name <[email protected]> Commit Name <[email protected]>
are transformed correctly.

---
 scripts/get_maintainer.pl |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
scripts/get_maintainer.pl +5 -4
index d29a8d7..eb2f1e6 100755
@@ -328,7 +328,8 @@ sub read_mailmap {
 	# name1 <mail1> <mail2>
 	# name1 <mail1> name2 <mail2>
 	# (see man git-shortlog)
-	if (/^(.+)<(.+)>$/) {
+
+	if (/^([^<]+)<([^>]+)>$/) {
 	    my $real_name = $1;
 	    my $address = $2;
 
@@ -336,13 +337,13 @@ sub read_mailmap {
 	    ($real_name, $address) = parse_email("$real_name <$address>");
 	    $mailmap->{names}->{$address} = $real_name;
 
-	} elsif (/^<([^\s]+)>\s*<([^\s]+)>$/) {
+	} elsif (/^<([^>]+)>\s*<([^>]+)>$/) {
 	    my $real_address = $1;
 	    my $wrong_address = $2;
 
 	    $mailmap->{addresses}->{$wrong_address} = $real_address;
 
-	} elsif (/^(.+)<([^\s]+)>\s*<([^\s]+)>$/) {
+	} elsif (/^(.+)<([^>]+)>\s*<([^>]+)>$/) {
 	    my $real_name = $1;
 	    my $real_address = $2;
 	    my $wrong_address = $3;
@@ -353,7 +354,7 @@ sub read_mailmap {
 	    $mailmap->{names}->{$wrong_address} = $real_name;
 	    $mailmap->{addresses}->{$wrong_address} = $real_address;
 
-	} elsif (/^(.+)<([^\s]+)>\s*([^\s].*)<([^\s]+)>$/) {
+	} elsif (/^(.+)<([^>]+)>\s*(.+)\s*<([^>]+)>$/) {
 	    my $real_name = $1;
 	    my $real_address = $2;
 	    my $wrong_name = $3;
Signature · 1 line
1.7.5.rc3.dirty
Reviewed-by on v1 1/1
#13 lore raw

Re: [PATCH] get_maintainers.pl: Improve .mailmap parsing

Quoted 10 lines · On Fri, 10 Jun 2011 03:37:23 -0700 Joe Perches <[email protected]> wrote:

Entries that used formats other than "Proper Name <[email protected]>" were not parsed properly.

Try to improve the parsing so that the entries in the forms of:
Proper Name <[email protected]> <[email protected]>
and
Proper Name <[email protected]> Commit Name <[email protected]>
are transformed correctly.

Yup. Looks good.

Quoted 43 lines
---
 scripts/get_maintainer.pl |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
scripts/get_maintainer.pl +5 -4
index d29a8d7..eb2f1e6 100755
@@ -328,7 +328,8 @@ sub read_mailmap {
 	# name1 <mail1> <mail2>
 	# name1 <mail1> name2 <mail2>
 	# (see man git-shortlog)
-	if (/^(.+)<(.+)>$/) {
+
+	if (/^([^<]+)<([^>]+)>$/) {
 	    my $real_name = $1;
 	    my $address = $2;
 
@@ -336,13 +337,13 @@ sub read_mailmap {
 	    ($real_name, $address) = parse_email("$real_name <$address>");
 	    $mailmap->{names}->{$address} = $real_name;
 
-	} elsif (/^<([^\s]+)>\s*<([^\s]+)>$/) {
+	} elsif (/^<([^>]+)>\s*<([^>]+)>$/) {
 	    my $real_address = $1;
 	    my $wrong_address = $2;
 
 	    $mailmap->{addresses}->{$wrong_address} = $real_address;
 
-	} elsif (/^(.+)<([^\s]+)>\s*<([^\s]+)>$/) {
+	} elsif (/^(.+)<([^>]+)>\s*<([^>]+)>$/) {
 	    my $real_name = $1;
 	    my $real_address = $2;
 	    my $wrong_address = $3;
@@ -353,7 +354,7 @@ sub read_mailmap {
 	    $mailmap->{names}->{$wrong_address} = $real_name;
 	    $mailmap->{addresses}->{$wrong_address} = $real_address;
 
-	} elsif (/^(.+)<([^\s]+)>\s*([^\s].*)<([^\s]+)>$/) {
+	} elsif (/^(.+)<([^>]+)>\s*(.+)\s*<([^>]+)>$/) {
 	    my $real_name = $1;
 	    my $real_address = $2;
 	    my $wrong_name = $3;
#14 lore raw
In reply to Ryan Mallon
Quoted 11 lines · Ryan Mallon
Quoted 10 lines · Joe Perches
Quoted 9 lines · Ryan Mallon
Quoted 8 lines · Joe Perches
Quoted 5 lines · Ryan Mallon
Quoted 4 lines · Paul Mundt
Quoted 2 lines · Ryan Mallon

I no longer work at Bluewater Systems. Update my email address accordingly.

Is this sort of churn really necessary?

get_maintainer uses the name and address in the first seen commit matching on the full name where possible.

Quoted 9 lines
Quoted 5 lines
Quoted 2 lines

Okay, what is the correct fix then so that people get the right email address for me?

I believe updating the MAINTAINERS file and
authoring and committing patches that take
your email address out of files works well.

If I strip my email address, but leave my name and copyright in the files the patch will have the same amount of churn right?

This time around, yes. But the next time you change email you then don't have to update those files again, just CREDITS/MAINTAINERS etc.

Signature · 3 lines
Jesper Juhl <[email protected]>       http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.
#15 lore raw
In reply to Paul Mundt
Quoted 4 lines · On Fri, 10 Jun 2011 11:55:49 +0900 Paul Mundt <[email protected]> wrote:
Quoted 2 lines · Ryan Mallon

I no longer work at Bluewater Systems. Update my email address accordingly.

Is this sort of churn really necessary?

Yes - stale email addresses cause all sorts of problems, particularly if in the future the address is re-used in the company. It also causes confusion over who owns and maintains stuff because it's never obvious whether the resolution of an unknown address is

A. 'user has moved on, follow the user'

B. 'user has moved on, company probably has someone else assigned
to it'

#16 lore raw
Quoted 12 lines · Alan Cox
Quoted 4 lines · On Fri, 10 Jun 2011 11:55:49 +0900 Paul Mundt<[email protected]> wrote:
Quoted 2 lines · Ryan Mallon

I no longer work at Bluewater Systems. Update my email address accordingly.

Is this sort of churn really necessary?

Yes - stale email addresses cause all sorts of problems, particularly if in the future the address is re-used in the company. It also causes confusion over who owns and maintains stuff because it's never obvious whether the resolution of an unknown address is

Quoted 4 lines

A. 'user has moved on, follow the user'

B. 'user has moved on, company probably has someone else assigned
to it'

Okay, so there seem to be a number of different opinions on this. I would really like some solution for this so it can go into 3.0. The options I see are:

a) My original patch
b) My original patch, but delete email address in .[ch] files rather than change it
c) Entry in .mailmap (will this work for 3.0?)
d) Add MAINTAINERS entries for each of the files which have my email address in them
e) Some combination of the above

Is there a preferred option? Who (Linus?) do I need to Cc to get this included for 3.0?

Thanks,
~Ryan

maintainer
#17 lore raw
Quoted 13 lines · Ryan Mallon
Quoted 4 lines · Alan Cox
Quoted 2 lines · On Fri, 10 Jun 2011 11:55:49 +0900 Paul Mundt<[email protected]> wrote:
Quoted 1 line · Ryan Mallon

I no longer work at Bluewater Systems. Update my email address accordingly.

Quoted 8 lines
Quoted 1 line

Is this sort of churn really necessary?

Yes - stale email addresses cause all sorts of problems, particularly if in the future the address is re-used in the company. It also causes confusion over who owns and maintains stuff because it's never obvious whether the resolution of an unknown address is
A. 'user has moved on, follow the user'
B. 'user has moved on, company probably has someone else assigned
to it'

Quoted 7 lines

Okay, so there seem to be a number of different opinions on this. I would really like some solution for this so it can go into 3.0. The options I see are:
a) My original patch
b) My original patch, but delete email address in .[ch] files rather than change it
c) Entry in .mailmap (will this work for 3.0?)

It will if Andrew Morton/Linus picks up my patch.

Quoted 5 lines

d) Add MAINTAINERS entries for each of the files which have my email address in them
e) Some combination of the above

Is there a preferred option?

My preferred combination is b and c.
If you're European, maybe a and c is best.