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

Stefan Bader stefan.bader at canonical.com
Wed Mar 28 12:19:03 UTC 2018


On 27.03.2018 14:15, Kleber Souza wrote:
> 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>
> 
Note, that I applied this one already to Artful and Trusty in the current cycle,
so only needed in Xenial.

Forgot to reply about that before, sorry.

-Stefan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20180328/1c2f4b7b/attachment.sig>


More information about the kernel-team mailing list