gerrit-dash-creator/dashboards/past-reviews.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

17 lines
537 B
Plaintext

[dashboard]
title = My Past Votes (things I've reviewed that aren't in yet)
description = Review Inbox
foreach = status:open NOT owner:self reviewer: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 "Things I've -2ed"]
query = label:Code-Review<=-2,self
[section "Things I've +2ed that haven't landed yet"]
query = label:Code-Review>=2,self
[section "Approved things that are stuck"]
query = label:Workflow>=1