Message ID | 1382377367-4653-1-git-send-email-luis.henriques@canonical.com |
---|---|
State | New |
Headers | show |
On Mon, 2013-10-21 at 18:42 +0100, Luis Henriques wrote: > It has been recently request in lkml[1] to modify stable kernel review > emails to clearly tag them as stable patches (it looks like gmail for > example does not allow to filter email from email headers such as > 'X-Extended-Stable'). > > Thus, this patch modifies the email subject lines to include the kernel > version number, as suggested by Ben Hutchings. > > [1] https://lkml.org/lkml/2013/10/10/514 > > Signed-off-by: Luis Henriques <luis.henriques@canonical.com> > --- > stable/notify-stable-review | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/stable/notify-stable-review b/stable/notify-stable-review > index 2557392..ce6120c 100755 > --- a/stable/notify-stable-review > +++ b/stable/notify-stable-review > @@ -308,6 +308,8 @@ see https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable . > > if not subject: > if 'Subject:' in line: > + line = line.replace("Subject: [PATCH ", > + "Subject: [PATCH %s " % (basever)) > subject = True > > if subject and not header_add: > -- > 1.8.3.2 > >
Cheers, -- Luis
diff --git a/stable/notify-stable-review b/stable/notify-stable-review index 2557392..ce6120c 100755 --- a/stable/notify-stable-review +++ b/stable/notify-stable-review @@ -308,6 +308,8 @@ see https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable . if not subject: if 'Subject:' in line: + line = line.replace("Subject: [PATCH ", + "Subject: [PATCH %s " % (basever)) subject = True if subject and not header_add:
It has been recently request in lkml[1] to modify stable kernel review emails to clearly tag them as stable patches (it looks like gmail for example does not allow to filter email from email headers such as 'X-Extended-Stable'). Thus, this patch modifies the email subject lines to include the kernel version number, as suggested by Ben Hutchings. [1] https://lkml.org/lkml/2013/10/10/514 Signed-off-by: Luis Henriques <luis.henriques@canonical.com> --- stable/notify-stable-review | 2 ++ 1 file changed, 2 insertions(+)