ACK: [PATCH] notify-stable-review: modify email subject line to include kernel version

Kamal Mostafa kamal at canonical.com
Mon Oct 21 17:59:49 UTC 2013


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 at 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
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20131021/d8d2369a/attachment.sig>


More information about the kernel-team mailing list