* [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
@ 2007-08-13 6:26 joe
2007-08-13 10:53 ` Alan Cox
0 siblings, 1 reply; 11+ messages in thread
From: joe @ 2007-08-13 6:26 UTC (permalink / raw)
To: torvalds, linux-kernel, akpm, Eng.Linux
Add file pattern to MAINTAINER entry
Signed-off-by: Joe Perches <joe@perches.com>
diff --git a/MAINTAINERS b/MAINTAINERS
index 36a7d25..edebf01 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1482,7 +1482,7 @@ L: linux-kernel@vger.kernel.org
S: Maintained
DIGI INTL. EPCA DRIVER
-P: Digi International, Inc
+P: Digi International Inc
M: Eng.Linux@digi.com
L: Eng.Linux@digi.com
W: http://www.digi.com
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
2007-08-13 6:26 [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER joe
@ 2007-08-13 10:53 ` Alan Cox
2007-08-13 14:45 ` Stefan Richter
0 siblings, 1 reply; 11+ messages in thread
From: Alan Cox @ 2007-08-13 10:53 UTC (permalink / raw)
To: joe; +Cc: torvalds, linux-kernel, akpm, Eng.Linux
On Sun, 12 Aug 2007 23:26:16 -0700
joe@perches.com wrote:
> Add file pattern to MAINTAINER entry
>
> Signed-off-by: Joe Perches <joe@perches.com>
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 36a7d25..edebf01 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -1482,7 +1482,7 @@ L: linux-kernel@vger.kernel.org
> S: Maintained
>
> DIGI INTL. EPCA DRIVER
> -P: Digi International, Inc
> +P: Digi International Inc
The "," is correct and how they added themselves.
Please don't hide other types of change in a large changeset without
notice, thats not good
NAK
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
2007-08-13 10:53 ` Alan Cox
@ 2007-08-13 14:45 ` Stefan Richter
2007-08-13 15:35 ` Alan Cox
2007-08-13 16:15 ` Kok, Auke
0 siblings, 2 replies; 11+ messages in thread
From: Stefan Richter @ 2007-08-13 14:45 UTC (permalink / raw)
To: Alan Cox; +Cc: joe, torvalds, linux-kernel, akpm, Eng.Linux
Alan Cox wrote:
> On Sun, 12 Aug 2007 23:26:16 -0700
> joe@perches.com wrote:
>> DIGI INTL. EPCA DRIVER
>> -P: Digi International, Inc
>> +P: Digi International Inc
>
> The "," is correct and how they added themselves.
>
> Please don't hide other types of change in a large changeset without
> notice, thats not good
>
> NAK
I'm not Joe, but I gather this change is in order to support generation
of RFC 278 headers by the proposed script.
However, rather than mangle entries in MAINTAINERS for the script, I
suggest that the script is enhanced instead. Simplest solution: If the
script finds punctuation and other problematic characters in the P:
field, simply omit that part from the e-mail address.
--
Stefan Richter
-=====-=-=== =--- -==-=
http://arcgraph.de/sr/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
2007-08-13 14:45 ` Stefan Richter
@ 2007-08-13 15:35 ` Alan Cox
2007-08-13 16:15 ` Kok, Auke
1 sibling, 0 replies; 11+ messages in thread
From: Alan Cox @ 2007-08-13 15:35 UTC (permalink / raw)
To: Stefan Richter; +Cc: joe, torvalds, linux-kernel, akpm, Eng.Linux
> I'm not Joe, but I gather this change is in order to support generation
> of RFC 278 headers by the proposed script.
The mail system supports comma characters if you must put names in and
this is well tested both for names and for usernames (because of TOPS,
old compu$erve etc)
Fix the script
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
2007-08-13 14:45 ` Stefan Richter
2007-08-13 15:35 ` Alan Cox
@ 2007-08-13 16:15 ` Kok, Auke
2007-08-13 16:35 ` Joe Perches
1 sibling, 1 reply; 11+ messages in thread
From: Kok, Auke @ 2007-08-13 16:15 UTC (permalink / raw)
To: Stefan Richter; +Cc: Alan Cox, joe, torvalds, linux-kernel, akpm, Eng.Linux
Stefan Richter wrote:
> Alan Cox wrote:
>> On Sun, 12 Aug 2007 23:26:16 -0700
>> joe@perches.com wrote:
>>> DIGI INTL. EPCA DRIVER
>>> -P: Digi International, Inc
>>> +P: Digi International Inc
>> The "," is correct and how they added themselves.
>>
>> Please don't hide other types of change in a large changeset without
>> notice, thats not good
>>
>> NAK
>
> I'm not Joe, but I gather this change is in order to support generation
> of RFC 278 headers by the proposed script.
>
> However, rather than mangle entries in MAINTAINERS for the script, I
> suggest that the script is enhanced instead. Simplest solution: If the
> script finds punctuation and other problematic characters in the P:
> field, simply omit that part from the e-mail address.
or properly put it on "quotes":
Cc: "Digi International, Inc" <foo@bar.com>
is perfectly valid.
Auke
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
2007-08-13 16:15 ` Kok, Auke
@ 2007-08-13 16:35 ` Joe Perches
2007-08-14 4:13 ` Joe Perches
0 siblings, 1 reply; 11+ messages in thread
From: Joe Perches @ 2007-08-13 16:35 UTC (permalink / raw)
To: Kok, Auke
Cc: Stefan Richter, Alan Cox, torvalds, linux-kernel, akpm, Eng.Linux
On Mon, 2007-08-13 at 09:15 -0700, Kok, Auke wrote:
> or properly put it on "quotes":
I'll improve the script and revert the name changes.
cheers, Joe
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
2007-08-13 16:35 ` Joe Perches
@ 2007-08-14 4:13 ` Joe Perches
2007-08-14 4:29 ` Cal Peake
0 siblings, 1 reply; 11+ messages in thread
From: Joe Perches @ 2007-08-14 4:13 UTC (permalink / raw)
To: Kok, Auke
Cc: Stefan Richter, Alan Cox, torvalds, linux-kernel, akpm, Eng.Linux
On Mon, 2007-08-13 at 09:35 -0700, Joe Perches wrote:
> On Mon, 2007-08-13 at 09:15 -0700, Kok, Auke wrote:
> > or properly put it on "quotes":
>
> I'll improve the script and revert the name changes.
# check for "must quote" chars in name
sub format_email {
my ($name, $email) = @_;
if ($name =~ tr@,\@<>@@) {
$formatted_email = "\"${name}\"\ \<${email}\>";
} else {
$formatted_email = "${name} \<${email}\>";
}
return $formatted_email;
}
Anyone know what chars require the name be quoted?
I've got: "," "@" "<" ">" ?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
2007-08-14 4:13 ` Joe Perches
@ 2007-08-14 4:29 ` Cal Peake
2007-08-14 4:39 ` Joe Perches
0 siblings, 1 reply; 11+ messages in thread
From: Cal Peake @ 2007-08-14 4:29 UTC (permalink / raw)
To: Joe Perches
Cc: Kok, Auke, Stefan Richter, Alan Cox, torvalds, linux-kernel, akpm,
Eng.Linux
On Mon, 13 Aug 2007, Joe Perches wrote:
> On Mon, 2007-08-13 at 09:35 -0700, Joe Perches wrote:
> > On Mon, 2007-08-13 at 09:15 -0700, Kok, Auke wrote:
> > > or properly put it on "quotes":
> >
> > I'll improve the script and revert the name changes.
>
> # check for "must quote" chars in name
>
> sub format_email {
> my ($name, $email) = @_;
>
> if ($name =~ tr@,\@<>@@) {
> $formatted_email = "\"${name}\"\ \<${email}\>";
> } else {
> $formatted_email = "${name} \<${email}\>";
> }
> return $formatted_email;
> }
>
> Anyone know what chars require the name be quoted?
> I've got: "," "@" "<" ">" ?
Prolly /[^a-z0-9]/i would the safest bet. Also don't forget to escape
double quotes (e.g. "Jonathan \"Jon\" Doe" <jon@example.net>).
Cheers,
--
Cal Peake
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
2007-08-14 4:29 ` Cal Peake
@ 2007-08-14 4:39 ` Joe Perches
2007-08-14 4:52 ` Cal Peake
0 siblings, 1 reply; 11+ messages in thread
From: Joe Perches @ 2007-08-14 4:39 UTC (permalink / raw)
To: Cal Peake
Cc: Kok, Auke, Stefan Richter, Alan Cox, torvalds, linux-kernel, akpm,
Eng.Linux
On Tue, 2007-08-14 at 00:29 -0400, Cal Peake wrote:
> Prolly /[^a-z0-9]/i would the safest bet. Also don't forget to escape
> double quotes (e.g. "Jonathan \"Jon\" Doe" <jon@example.net>).
A-Z and [[:space:]] are OK too.
I skimmed the spec, but nothing jumped out at me.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
2007-08-14 4:39 ` Joe Perches
@ 2007-08-14 4:52 ` Cal Peake
2007-08-14 20:38 ` Stefan Richter
0 siblings, 1 reply; 11+ messages in thread
From: Cal Peake @ 2007-08-14 4:52 UTC (permalink / raw)
To: Joe Perches
Cc: Kok, Auke, Stefan Richter, Alan Cox, torvalds, linux-kernel, akpm,
Eng.Linux
On Mon, 13 Aug 2007, Joe Perches wrote:
> On Tue, 2007-08-14 at 00:29 -0400, Cal Peake wrote:
> > Prolly /[^a-z0-9]/i would the safest bet. Also don't forget to escape
> > double quotes (e.g. "Jonathan \"Jon\" Doe" <jon@example.net>).
>
> A-Z and [[:space:]] are OK too.
The 'i' at the end of the regex means case-insensitive ;) but yes, I
forgot whitespace. So something like:
if ($name =~ /[^a-z0-9[:space:]]/i) {
quote_name;
}
> I skimmed the spec, but nothing jumped out at me.
My recommendation was mostly based on what pine does. It seems to be a
pretty sane MUA...
--
Cal Peake
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
2007-08-14 4:52 ` Cal Peake
@ 2007-08-14 20:38 ` Stefan Richter
0 siblings, 0 replies; 11+ messages in thread
From: Stefan Richter @ 2007-08-14 20:38 UTC (permalink / raw)
To: Cal Peake
Cc: Joe Perches, Kok, Auke, Alan Cox, torvalds, linux-kernel, akpm,
Eng.Linux
Cal Peake wrote:
> On Mon, 13 Aug 2007, Joe Perches wrote:
>
>> On Tue, 2007-08-14 at 00:29 -0400, Cal Peake wrote:
>>> Prolly /[^a-z0-9]/i would the safest bet. Also don't forget to escape
>>> double quotes (e.g. "Jonathan \"Jon\" Doe" <jon@example.net>).
>> A-Z and [[:space:]] are OK too.
>
> The 'i' at the end of the regex means case-insensitive ;) but yes, I
> forgot whitespace. So something like:
>
> if ($name =~ /[^a-z0-9[:space:]]/i) {
> quote_name;
> }
>
>> I skimmed the spec, but nothing jumped out at me.
>
> My recommendation was mostly based on what pine does. It seems to be a
> pretty sane MUA...
Better: Dig out the respective RFCs or/and use a library (perl module
or whatever) for the recoding into mail header formats.
--
Stefan Richter
-=====-=-=== =--- -===-
http://arcgraph.de/sr/
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2007-08-14 20:38 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-13 6:26 [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER joe
2007-08-13 10:53 ` Alan Cox
2007-08-13 14:45 ` Stefan Richter
2007-08-13 15:35 ` Alan Cox
2007-08-13 16:15 ` Kok, Auke
2007-08-13 16:35 ` Joe Perches
2007-08-14 4:13 ` Joe Perches
2007-08-14 4:29 ` Cal Peake
2007-08-14 4:39 ` Joe Perches
2007-08-14 4:52 ` Cal Peake
2007-08-14 20:38 ` Stefan Richter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox