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

Seth Forshee seth.forshee at canonical.com
Wed Feb 28 16:12:15 UTC 2018


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__'
-- 
2.15.1





More information about the kernel-team mailing list