From f585662a8d794ce2c21055ff103003747b994c1d Mon Sep 17 00:00:00 2001 From: rossella Date: Tue, 26 Jan 2016 11:52:24 +0000 Subject: [PATCH] Neutron review tool use message instead of topics for bugs After the upgrade of Gerrit the message field works as expected so the review tool can use it instead of filtering using the topic. This implies that having the bug number in the commit message is enough for the patch to be included in the dashboard. Change-Id: I6e61643fe862f842d731abaacfd1b18881e0c45e --- tools/milestone-review-dash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/milestone-review-dash.py b/tools/milestone-review-dash.py index 76eca275091..a4897100bf5 100755 --- a/tools/milestone-review-dash.py +++ b/tools/milestone-review-dash.py @@ -34,7 +34,7 @@ def _search_task(project, **kwargs): return gerrit_query = "(" for b in bugs: - gerrit_query += ("topic:bug/%d OR " % b.bug.id) + gerrit_query += ("message:%d OR " % b.bug.id) gerrit_query = gerrit_query[:-4] gerrit_query += ")\n\n" return gerrit_query