gerrit-dash-creator/dashboards/tripleo.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.9 KiB
Plaintext

[dashboard]
title = TripleO Inbox
description = TripleO Review Inbox
foreach = (project:openstack/dib-utils OR
project:openstack/diskimage-builder OR
project:openstack/instack OR
project:openstack/instack-undercloud OR
project:openstack/os-apply-config OR
project:openstack/os-collect-config OR
project:openstack/os-net-config OR
project:openstack/os-refresh-config OR
project:openstack/python-tripleoclient OR
project:openstack/tripleo-common OR
project:openstack/tripleo-docs OR
project:openstack/tripleo-heat-templates OR
project:openstack/tripleo-image-elements OR
project:openstack/tripleo-incubator OR
project:openstack/tripleo-puppet-elements OR
project:openstack/tripleo-quickstart OR
project:openstack/tripleo-quickstart-extras OR
project:openstack/tripleo-specs OR
project:openstack/tripleo-ui OR
project:openstack/tripleo-validations OR
project:openstack-infra/tripleo-ci) status:open NOT label:Workflow<=-1 NOT label:Code-Review<=-2
[section "My Patches Requiring Attention"]
query = owner:self (label:Verified-1,zuul OR label:Code-Review-1)
[section "TripleO Specs"]
query = NOT owner:self project:openstack/tripleo-specs
[section "Needs Approval"]
query = label:Verified>=1,zuul NOT owner:self label:Code-Review>=2 NOT label:Code-Review-1
[section "5 Days Without Feedback"]
query = label:Verified>=1,zuul NOT owner:self NOT project:openstack/tripleo-specs NOT label:Code-Review<=-1 NOT label:Code-Review>=1 age:5d
[section "No Negative Feedback"]
query = label:Verified>=1,zuul NOT owner:self NOT project:openstack/tripleo-specs NOT label:Code-Review<=-1 NOT label:Code-Review>=2 limit:50
[section "Other"]
query = label:Verified>=1,zuul NOT owner:self NOT project:openstack/tripleo-specs label:Code-Review-1 limit:20