From: Andreas Gruenbacher <andreas.gruenbacher@gmail.com>
To: Greg KH <gregkh@suse.de>
Cc: quilt-dev@nongnu.org, Peter Zijlstra <a.p.zijlstra@chello.nl>,
LKML <linux-kernel@vger.kernel.org>,
"H. Peter Anvin" <hpa@zytor.com>, John Kacur <jkacur@redhat.com>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [Quilt-dev] [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
Date: Wed, 05 Oct 2011 13:21:07 +0200 [thread overview]
Message-ID: <1317813674.1623.10.camel@schurl.linbit> (raw)
In-Reply-To: 20111005065309.GA6676@suse.de
On Wed, 2011-10-05 at 10:23 +0200, Andreas Gruenbacher wrote:
> On Tue, 2011-10-04 at 23:53 -0700, Greg KH wrote:
> > Yes, quoting is the correct thing to do, but that does not usually
> > happen in "Signed-off-by:" lines in kernel patches.
> >
> > Actually, I think this is even a problem when the name is quoted
> > properly, I've had to fix that up in patches by hand.
>
> Yes, proper quoting currently isn't enough.
>
> > And yes, this is a problem, I run into at least 1-2 patches per stable
> > kernel release with this issue. I looked into fixing it and somehow the
> > email parsing logic was wierd and I couldn't figure out how to resolve
> > it.
>
> Okay, I'll have another look ...
I've tried to address this as follows now:
commit f3e7822028616014f933b99d05f42fc028f8d12c
Author: Andreas Gruenbacher <agruen@linbit.com>
Date: Wed Oct 5 12:57:48 2011 +0200
quilt mail: Allow commas in Signed-off-by and Acked-by lines
The standard quilt_mail_patch_filter() in quilt mail tries to extract email
addresses from Signed-off-by and Acked-by lines. It adds Cc headers with those
addresses.
Signed-off-by and Acked-by lines sometimes contain commas as part of the
address. When put in recipient headers (To, Cc, Bcc), the commas are
interpreted as separators, which breaks things.
Try to recognize this case and add the appropriate quotes. For example, the
email address in ``Signed-off-by: Gruenbacher, Andreas <agruen@linbit.com>'' is
now extracted as ``"Gruenbacher, Andreas" <agruen@linbit.com>''.
Note that quilt_mail_patch_filter() can be overridden in .quiltrc; you may need
to update your .quiltrc.
commit c6750845136ff21eb13bc99ec7a6e1689100a13a
Author: Andreas Gruenbacher <agruen@linbit.com>
Date: Wed Oct 5 12:08:05 2011 +0200
quilt mail: Support double quoted special characters in email adresses
Addresses like "Gruenbacher, Andreas" <agruen@linbit.com> will work now.
Please give it a shot.
Thanks,
Andreas
next prev parent reply other threads:[~2011-10-05 11:22 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-04 17:46 [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail Steven Rostedt
2011-10-04 18:02 ` Greg KH
2011-10-04 18:09 ` H. Peter Anvin
2011-10-04 18:18 ` Steven Rostedt
2011-10-04 18:18 ` Greg KH
2011-10-04 19:38 ` Steven Rostedt
2011-10-04 19:41 ` H. Peter Anvin
2011-10-04 19:48 ` Steven Rostedt
[not found] ` <1317769149.1662.28.camel@schurl.linbit>
2011-10-10 15:35 ` Steven Rostedt
2011-10-10 15:37 ` [Quilt-dev] " Josh Boyer
2011-10-11 2:39 ` Andreas Gruenbacher
2011-10-04 18:15 ` Steven Rostedt
2011-10-04 18:26 ` Greg KH
2011-10-04 18:37 ` Steven Rostedt
2011-10-05 1:48 ` [Quilt-dev] " Andreas Gruenbacher
2011-10-05 6:53 ` Greg KH
2011-10-05 8:23 ` Andreas Gruenbacher
2011-10-05 11:21 ` Andreas Gruenbacher [this message]
2011-10-05 20:12 ` Greg KH
2011-10-05 20:18 ` Josh Boyer
2011-10-04 18:59 ` Peter Zijlstra
2011-10-04 19:11 ` Steven Rostedt
2011-10-04 19:20 ` Valdis.Kletnieks
2011-10-04 19:35 ` Steven Rostedt
2011-10-06 10:27 ` [RFC][PATCH v2][QUILT] Add Peter Zijlstra
2011-10-06 17:26 ` Andrew Morton
2011-10-06 17:57 ` Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1317813674.1623.10.camel@schurl.linbit \
--to=andreas.gruenbacher@gmail.com \
--cc=a.p.zijlstra@chello.nl \
--cc=akpm@linux-foundation.org \
--cc=gregkh@suse.de \
--cc=hpa@zytor.com \
--cc=jkacur@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=quilt-dev@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox