[kteam-tools PATCH] verify-release-ready: fix for new style of release tb

Kleber Sacilotto de Souza kleber.souza at canonical.com
Thu Apr 27 16:53:54 UTC 2017


The check for the 'release tracking bug' was looking only for the old
style tracking bug on the changelog:

  * Release Tracking Bug
    - LP: #<lp number>

Change it catch also the new style:

  * linux: <version> -proposed tracker (LP: #<lp number>)

Signed-off-by: Kleber Sacilotto de Souza <kleber.souza at canonical.com>
---
 maintscripts/verify-release-ready | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/maintscripts/verify-release-ready b/maintscripts/verify-release-ready
index 7413cab5..1fd34a9d 100755
--- a/maintscripts/verify-release-ready
+++ b/maintscripts/verify-release-ready
@@ -215,6 +215,8 @@ class VerifyReleaseReady():
         #
         found_tracker = False
         for line in changelog[1]['content']:
+            if '-proposed tracker' in line:
+                found_tracker = True
             if found_tracker:
                 if '#' in line:
                     (junk, tracker_id) = line.split('#')
-- 
2.11.0





More information about the kernel-team mailing list