gerrit-dash-creator/dashboards/doc-program.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

44 lines
1.8 KiB
Plaintext

[dashboard]
title = Docs Review Inbox
description = Review Inbox for OpenStack Documentation
foreach = ( project:openstack/openstack-manuals OR
project:openstack/api-site OR
project:openstack/docs-specs OR
project:openstack/security-doc OR
project:openstack/training-guides OR
project:openstack/openstack-doc-tools OR
project:openstack/whereto OR
project:openstack/openstackdocstheme )
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
[section "Specs"]
query = project:openstack/docs-specs status:open
[section "API Site Docs"]
query = (project:openstack/api-site) status:open
[section "Ops/Admin Docs"]
query = (project:openstack/openstack-manuals OR project:openstack/security-doc) status:open
[section "Training"]
query = project:openstack/training-guides
[section "Doc Tools"]
query = (project:openstack/openstack-doc-tools OR project:openstack/whereto OR project:openstack/openstackdocstheme) status:open
[section "Needs final +2"]
query = (project:openstack/openstack-manuals OR project:openstack/api-site OR project:openstack/security-doc OR project:openstack/training-guides OR project:openstack/openstack-doc-tools OR project:openstack/whereto OR project:openstack/openstackdocstheme) label:Code-Review>=2 limit:50
[section "Passed Zuul (with no negative feedback)"]
query = NOT label:Code-Review>=2 NOT label:Code-Review<=-1 limit:50
[section "Wayward Changes (Changes with no code review in the last two days)"]
query = NOT label:Code-Review<=-1 NOT label:Code-Review>=1 age:2d