From d208087e820649fadf73329a5b63a4f7443b6bd6 Mon Sep 17 00:00:00 2001 From: Seth Forshee Date: Wed, 28 Feb 2018 10:12:15 -0600 Subject: [PATCH] UBUNTU: [Packaging] git-ubuntu-log -- fix detection of packaging changes 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 Signed-off-by: Thadeu Lima de Souza Cascardo --- 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.39.2