Re: [PATCH] MAINTAINERS: Quote non-alphanumeric email addresses
From: Harry Wei
Date: Sun Feb 20 2011 - 08:59:34 EST
On Sat, Feb 19, 2011 at 08:46:54PM -0800, Joe Perches wrote:
> Add quotes around email address with periods and commas.
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> ---
> On Sun, 2011-02-20 at 10:48 +0800, Harry Wei wrote:
> > On Sun, Feb 20, 2011 at 10:38:06AM +0800, harryxiyou wrote:
> > > From: Joe Perches <joe@xxxxxxxxxxx>
> > > On Sat, 2011-02-19 at 17:48 +0100, Pavel Machek wrote:
> > > > On Wed 2011-02-09 19:17:52, David Miller wrote:
> > > > > From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> > > > > > I suspect that some mail clients will explode if you provide them with
> > > > > > an unquoted string containing periods. That would make copy-n-paste
> > > > > > rather a hassle.
> > > > > It's not clients, it's servers.
> > > > > SMTP rules state that characters such as "." cannot appear
> > > > > unquoted in email headers.
> > > > > vger.kernel.org rejects mail when this violation occurs.
> > > > Ok, but should not MUA do this quotation? Quick test shows that mutt
> > > does...
> > > My recollection is that the get_maintainer script
> > > cannot parse M: lines with multiple entries with
> > > periods without the quotes.
> > > M: First I. Last <fil@xxxxxxx>, Last.I.First <lif@xxxxxxx>
> > > fails and
> > > M: "First I. Last" <fil@xxxxxxx>, "Last.I.First" <lif@xxxxxxx>
> > > succeeds.
> > > You are welcome to improve the parsing in that routine.
> > In order to improve the parsing in that routine we should remove all
> > the the double-quotation-marks in the MAINTAINERS ?
>
> No, that'd be wrong before improving parsing and
> verifying that all currently used client/MUAs work
> without quotes.
>
> > Maybe we have other better ways? Tell me and i will patch for us.
>
> I think leaving the quotes is the right thing to do.
>
> Quoting names that have non alphanumeric
> characters before any open angle bracket '<'
> is better than remove quotes.
Hmm, what about some other conditions except
for periods and commas in maintainers' M:.
Like following:
1> Character '-' in M:
CALGARY x86-64 IOMMU
Muli Ben-Yehuda <muli@xxxxxxxxxx>
2> No name of the M:
M: support@xxxxxxx
3> Messy code in M:
M: BenoÃt Cousson <b-cousson@xxxxxx>
Should we also patch for them?
Can client/MUAs work them well?
Thanks.
Best Regards.
Harry Wei.
>
> MAINTAINERS | 10 +++++-----
> 1 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index e45eabe..af586f8 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -1044,7 +1044,7 @@ L: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx (moderated for non-subscribers)
> S: Maintained
>
> ARM/TETON BGA MACHINE SUPPORT
> -M: Mark F. Brown <mark.brown314@xxxxxxxxx>
> +M: "Mark F. Brown" <mark.brown314@xxxxxxxxx>
> L: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx (moderated for non-subscribers)
> S: Maintained
>
> @@ -1448,7 +1448,7 @@ F: drivers/mtd/devices/block2mtd.c
>
> BLUETOOTH DRIVERS
> M: Marcel Holtmann <marcel@xxxxxxxxxxxx>
> -M: Gustavo F. Padovan <padovan@xxxxxxxxxxxxxx>
> +M: "Gustavo F. Padovan" <padovan@xxxxxxxxxxxxxx>
> L: linux-bluetooth@xxxxxxxxxxxxxxx
> W: http://www.bluez.org/
> T: git git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-2.6.git
> @@ -1457,7 +1457,7 @@ F: drivers/bluetooth/
>
> BLUETOOTH SUBSYSTEM
> M: Marcel Holtmann <marcel@xxxxxxxxxxxx>
> -M: Gustavo F. Padovan <padovan@xxxxxxxxxxxxxx>
> +M: "Gustavo F. Padovan" <padovan@xxxxxxxxxxxxxx>
> L: linux-bluetooth@xxxxxxxxxxxxxxx
> W: http://www.bluez.org/
> T: git git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-2.6.git
> @@ -2909,7 +2909,7 @@ F: Documentation/blockdev/cpqarray.txt
> F: drivers/block/cpqarray.*
>
> HEWLETT-PACKARD SMART ARRAY RAID DRIVER (hpsa)
> -M: Stephen M. Cameron <scameron@xxxxxxxxxxxxxxxxxx>
> +M: "Stephen M. Cameron" <scameron@xxxxxxxxxxxxxxxxxx>
> L: iss_storagedev@xxxxxx
> S: Supported
> F: Documentation/scsi/hpsa.txt
> @@ -4197,7 +4197,7 @@ F: Documentation/serial/moxa-smartio
> F: drivers/char/mxser.*
>
> MSI LAPTOP SUPPORT
> -M: Lee, Chun-Yi <jlee@xxxxxxxxxx>
> +M: "Lee, Chun-Yi" <jlee@xxxxxxxxxx>
> L: platform-driver-x86@xxxxxxxxxxxxxxx
> S: Maintained
> F: drivers/platform/x86/msi-laptop.c
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/