From 3f650714384c3ff902aa83b5c43a3feab33a5051 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 18 Sep 2018 09:21:21 -0400 Subject: [PATCH] report zuul work as 'zuul' not 'imports' Change-Id: Ic7aff42d965a1f23dba5158dd0832d1b00d1737c Signed-off-by: Doug Hellmann --- goal_tools/python3_first/patches.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/goal_tools/python3_first/patches.py b/goal_tools/python3_first/patches.py index 4e6c463..764772a 100644 --- a/goal_tools/python3_first/patches.py +++ b/goal_tools/python3_first/patches.py @@ -323,7 +323,7 @@ class PatchesCount(lister.Lister): _url_base = 'https://review.openstack.org/#/c/' _subjects = [ - ('Imports', ['import zuul job settings from project-config']), + ('zuul', ['import zuul job settings from project-config']), ('tox defaults', ['fix tox python3 overrides']), ('Docs', ['switch documentation job to new PTI']), ('3.6 unit', ['add python 3.5 unit test job', @@ -401,9 +401,9 @@ class PatchesCount(lister.Lister): ) def get_done_value(title, team, done_msg='+'): - if title != 'Imports': + if title != 'zuul': return done_msg - if not team_counts['Imports'][team]: + if not team_counts['zuul'][team]: n_repos = len(list(gov_dat.get_repos_for_team(team))) return 'not started, {} repos'.format(n_repos) cleanup = cleanup_changes.get(team.lower()) @@ -412,7 +412,7 @@ class PatchesCount(lister.Lister): workflow_votes = count_votes(cleanup, 'Workflow') if cleanup.get('status') == 'MERGED': return done_msg - if open_counts['Imports'][team]: + if open_counts['zuul'][team]: return 'in progress' if workflow_votes.get(-1): if parsed_args.minimal: