[kteam-tools 1/2] [verify-release-ready] Relax the check for 'fix committed'

Juerg Haefliger juerg.haefliger at canonical.com
Mon Jul 3 09:01:57 UTC 2017


If the script is run after the fixes have been released already, it
should not warn about fixes not being committed. So accept the status
'Fix Released' as well when checking the status of the individual fixes.

Signed-off-by: Juerg Haefliger <juerg.haefliger at canonical.com>
---
 maintscripts/verify-release-ready | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maintscripts/verify-release-ready b/maintscripts/verify-release-ready
index cfe52d072eeb..193820c5955b 100755
--- a/maintscripts/verify-release-ready
+++ b/maintscripts/verify-release-ready
@@ -382,7 +382,7 @@ class VerifyReleaseReady():
                        (changelog_series == s.lp_devel_series.displayname.lower()):
                         is_targeted_to_series = True
                         # if we are on a devel or series targeted task check status of that task
-                        if task.status == u'Fix Committed':
+                        if task.status in (u'Fix Committed', u'Fix Released'):
                             is_fix_committed = True
 
             # display status based on results
-- 
2.11.0





More information about the kernel-team mailing list