gerrit-dash-creator/dashboards/horizon-related-repos.dash
Akihiro Motoki 85662d44c6 Fix queries using label:Code-Review<=2
Previously, label:Code-Review<=2 matches changes with some scores
(+2, +1, -1, -2), so NOT label:Code-Review<=2 can be used to pick up
changes without any reviews.
After upgrading the gerrit, label:Code-Review<=2 now matches all changes
including changes without reviews. As a result, NOT label:Code-Review<=2
excludes all changes and it is meaningless.

This commit replaces 'NOT label:Code-Review<=2' with
'NOT label:Code-Review<=-1 NOT label:Code-Review>=1'
to achieve the original purpose of queries.

Also fixes meaningless label:Code-Review<=2 in some queries.

Change-Id: I437963b9cf72d9b80420737ce8c5f066453cf803
2017-11-02 01:29:06 +09:00

47 lines
2.1 KiB
Plaintext

[dashboard]
title = Horizon Plugins Review Dashboard
description = Horizon patches to look at
foreach = (project:openstack/ui-cookiecutter
OR project:openstack/congress-dashboard
OR project:openstack/designate-dashboard
OR project:openstack/horizon-cisco-ui
OR project:openstack/manila-ui
OR project:openstack/mistral-dashboard
OR project:openstack/neutron-fwaas-dashboard
OR project:openstack/neutron-lbaas-dashboard
OR project:openstack/neutron-vpnaas-dashboard
OR project:openstack/octavia-dashboard
OR project:openstack/sahara-dashboard
OR project:openstack/trove-dashboard
) status:open NOT label:Code-Review<=-2
[section "Your Patches"]
query = owner:self
[section "Starred Reviews"]
query = is:starred
[section "Your are a reviewer, but haven't voted in the current revision"]
query = NOT owner:self NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self NOT label:Workflow<=-1 label:Verified>=1,zuul
[section "Needs Approval"]
query = NOT label:Workflow>=1 NOT label:Workflow<=-1 label:Verified>=1,zuul NOT owner:self label:Code-Review>=2 NOT label:Code-Review-1 NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self
[section "Not Reviewed by Me"]
query = NOT owner:self NOT reviewer:self NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self limit:50
[section "Needs Reverify"]
query = label:Verified<=-1,zuul branch:master NOT label:Code-Review<=-1 NOT label:Workflow<=-1
[section "5 Days Without Feedback"]
query = NOT label:Workflow>=1 NOT label:Workflow<=-1 label:Verified>=1,zuul NOT owner:self NOT label:Code-Review<=-1 NOT label:Code-Review>=1 age:5d
[section "No Negative Feedback"]
query = NOT label:Workflow>=1 NOT label:Workflow<=-1 label:Verified>=1,zuul NOT owner:self NOT label:Code-Review<=-1 NOT label:Code-Review>=2 limit:50
[section "With Negative Feedback"]
query = NOT label:Workflow<=-1 NOT label:Verified<=-1,zuul NOT owner:self label:Code-Review-1 limit:20
[section "Work In Progress"]
query = NOT label:Workflow>=1 NOT owner:self label:Workflow<=-1