ACK: [PATCH][T/X/A SRU] UBUNTU: [Packaging] git-ubuntu-log -- fix detection of packaging changes

Kleber Souza kleber.souza at canonical.com
Tue Mar 27 12:15:54 UTC 2018


On 02/28/18 17:12, Seth Forshee wrote:
> The recent update to handle multiple bugs/cves has an error in
> the detection of packaging changes, causing them to be denoted as
> upstream changes in the changelog. Change this logic to check the
> subject field instead of the non-existent title field.
> 
> Ignore: yes
> Signed-off-by: Seth Forshee <seth.forshee at canonical.com>
> ---
>  debian/scripts/misc/git-ubuntu-log | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/debian/scripts/misc/git-ubuntu-log b/debian/scripts/misc/git-ubuntu-log
> index e428e5727911..490ecce73c48 100755
> --- a/debian/scripts/misc/git-ubuntu-log
> +++ b/debian/scripts/misc/git-ubuntu-log
> @@ -23,7 +23,7 @@ def add_entry(entry):
>          combo = sorted(combo)
>  
>          if len(combo) == 0:
> -            if entry.get('title', "").startswith('UBUNTU'):
> +            if entry.get('subject', "").startswith('UBUNTU'):
>                  combo = '__packaging__'
>              else:
>                  combo = '__mainline__'
> 

Makes sense to me.

Acked-by: Kleber Sacilotto de Souza <kleber.souza at canonical.com>




More information about the kernel-team mailing list