gerrit-dash-creator/dashboards/tap-as-a-service.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

29 lines
1.3 KiB
Plaintext

[dashboard]
title = tap-as-a-service Review Inbox
description = Review Inbox
foreach = (project:openstack/tap-as-a-service OR project:openstack/tap-as-a-service-dashboard) status:open NOT owner:self NOT label:Workflow<=-1 label:Verified>=1,zuul NOT reviewedby:self
[section "Needs Feedback (Changes older than 5 days that have not been reviewed by anyone)"]
query = NOT label:Code-Review<=-1 NOT label:Code-Review>=1 age:5d branch:master
[section "You are a reviewer, but haven't voted in the current revision"]
query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self branch:master
[section "Needs final +2"]
query = label:Code-Review>=2 NOT(reviewerin:tap-as-a-service-core label:Code-Review<=-1) limit:50 branch:master
[section "Passed Zuul, No Negative Core Feedback"]
query = NOT label:Code-Review>=2 NOT(reviewerin:tap-as-a-service-core label:Code-Review<=-1) limit:50 branch:master
[section "Wayward Changes (Changes with no code review in the last 2days)"]
query = NOT label:Code-Review<=-1 NOT label:Code-Review>=1 age:2d branch:master
[section "stable/ocata"]
query = branch:stable/ocata
[section "stable/newton"]
query = branch:stable/newton
[section "other branches"]
query = NOT branch:master AND NOT branch:stable/ocata AND NOT branch:stable/newton