]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
UBUNTU: [Packaging] git-ubuntu-log -- fix detection of packaging changes
authorSeth Forshee <seth.forshee@canonical.com>
Wed, 28 Feb 2018 16:12:00 +0000 (17:12 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 14 Mar 2018 10:52:25 +0000 (11:52 +0100)
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@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
debian/scripts/misc/git-ubuntu-log

index e428e5727911fe84083ab576e2e3fa17d0c3c062..490ecce73c484e098c2b3bf7ea8875ab28f09e9f 100755 (executable)
@@ -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__'