From 15f7e5e24bc9ab3d79cc8769c1223f81aa2ab48d Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Tue, 4 May 2021 16:38:19 -0500 Subject: [PATCH] Update topic regex queries The current version of gerrit does not allow regex matches in with "topic", we need to use "intopic" instead. Signed-off-by: Sean McGinnis Change-Id: I86da86627a05f8b83181bbe1a81d3bc1cfd72dbe --- dashboards/rally.dash | 2 +- dashboards/starred.dash | 2 +- dashboards/zaqar.dash | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dashboards/rally.dash b/dashboards/rally.dash index 2ed5030..3cfb8ed 100644 --- a/dashboards/rally.dash +++ b/dashboards/rally.dash @@ -10,7 +10,7 @@ query = (starredby:"rvasilets@mirantis.com" AND starredby:"boris@pavlovic.me") query = label:Verified>=1,zuul label:Code-Review>=2 NOT label:Code-Review-1 NOT label:Workflow>=1 NOT label:Workflow<=-1 NOT owner:self label:Code-Review>=2 [section "Bug fixes"] -query = topic:"^bug/.*" +query = intopic:^bug/.* [section "Proposed specs"] query = (message:"[spec]" file:"^.*specs.*") diff --git a/dashboards/starred.dash b/dashboards/starred.dash index ef7d1c6..116227d 100644 --- a/dashboards/starred.dash +++ b/dashboards/starred.dash @@ -5,7 +5,7 @@ foreach = is:starred is:open NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self [section "Bug Fixes"] -query = topic:^bug/.* +query = intopic:^bug/.* [section "Blueprint Implementation"] query = message:"Blueprint" diff --git a/dashboards/zaqar.dash b/dashboards/zaqar.dash index 7ae51c1..f252fa5 100644 --- a/dashboards/zaqar.dash +++ b/dashboards/zaqar.dash @@ -13,13 +13,13 @@ query = branch:master message:"ZaqarPriority" query = NOT label:Workflow>=1 NOT label:Workflow<=-1 label:Verified>=1 NOT owner:self label:Code-Review>=2 NOT label:Code-Review-1 branch:master NOT label:Code-Review<=-2 [section "Bug Fixes without Negative Feedback"] -query = NOT label:Workflow>=1 NOT label:Workflow<=-1 label:Verified>=1 NOT owner:self NOT label:Code-Review<=-1 NOT label:Code-Review>=2 limit:50 branch:master topic:^bug.* +query = NOT label:Workflow>=1 NOT label:Workflow<=-1 label:Verified>=1 NOT owner:self NOT label:Code-Review<=-1 NOT label:Code-Review>=2 limit:50 branch:master intopic:^bug.* [section "Blueprints without Negative Feedback"] -query = NOT label:Workflow>=1 NOT label:Workflow<=-1 label:Verified>=1 NOT owner:self NOT label:Code-Review<=-1 NOT label:Code-Review>=2 limit:50 branch:master topic:^bp.* +query = NOT label:Workflow>=1 NOT label:Workflow<=-1 label:Verified>=1 NOT owner:self NOT label:Code-Review<=-1 NOT label:Code-Review>=2 limit:50 branch:master intopic:^bp.* [section "Without Negative Feedback"] -query = NOT label:Workflow>=1 NOT label:Workflow<=-1 label:Verified>=1 NOT owner:self NOT label:Code-Review<=-1 NOT label:Code-Review>=2 limit:50 branch:master NOT topic:^bug.* NOT topic:^bp.* +query = NOT label:Workflow>=1 NOT label:Workflow<=-1 label:Verified>=1 NOT owner:self NOT label:Code-Review<=-1 NOT label:Code-Review>=2 limit:50 branch:master NOT intopic:^bug.* NOT intopic:^bp.* [section "With Negative Feedback"] query = NOT label:Workflow<=-1 NOT label:Verified<=-1 NOT owner:self label:Code-Review-1 limit:20 branch:master