diff --git a/dashboards/all-the-specs.dash b/dashboards/all-the-specs.dash index 87ebad4..74636a4 100644 --- a/dashboards/all-the-specs.dash +++ b/dashboards/all-the-specs.dash @@ -4,7 +4,7 @@ description = Review Inbox foreach = project:^openstack/.*-specs status:open NOT owner:self NOT label:Workflow<=-1 label:Verified>=1,jenkins NOT reviewedby:self branch:master [section "You are a reviewer, but haven't voted in the current revision"] -query = reviewer:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self [section "Passed Jenkins, No Negative Feedback"] query = NOT label:Code-Review<=-1 limit:100 diff --git a/dashboards/api-docs-impact.dash b/dashboards/api-docs-impact.dash index 8fe3d5d..ebc3652 100644 --- a/dashboards/api-docs-impact.dash +++ b/dashboards/api-docs-impact.dash @@ -14,4 +14,4 @@ query = (project:openstack/api-site) status:open query = (project:openstack/*) (status:open) AND (message:ApiImpact OR message:APIImpact) [section "You are a reviewer (but haven't voted in the current revision)"] -query = reviewer:self \ No newline at end of file +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self \ No newline at end of file diff --git a/dashboards/compute-program.dash b/dashboards/compute-program.dash index 1dcaec4..b002ae7 100644 --- a/dashboards/compute-program.dash +++ b/dashboards/compute-program.dash @@ -13,7 +13,7 @@ query = NOT label:Code-Review<=-1,nova-core delta:<=10 query = NOT label:Code-Review<=-1 NOT label:Code-Review>=1 NOT is:reviewed age:5d [section "You are a reviewer, but haven't voted in the current revision"] -query = reviewer:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self [section "Bug fix, Passed Jenkins, No Negative Core Feedback"] query = NOT label:Code-Review<=-1,nova-core message:"Closes-Bug: " diff --git a/dashboards/designate.dash b/dashboards/designate.dash index 104242a..ad7c540 100644 --- a/dashboards/designate.dash +++ b/dashboards/designate.dash @@ -11,7 +11,7 @@ query = branch:stable/mitaka NOT reviewedby:self query = branch:stable/liberty NOT reviewedby:self [section "You are a reviewer, but haven't voted in the current revision"] -query = reviewer:self label:Verified>=1,jenkins NOT reviewedby:self NOT owner:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self label:Verified>=1,jenkins NOT owner:self [section "Needs final +2"] query = label:Code-Review>=2 label:Verified>=1,jenkins limit:50 NOT label:Workflow<=-1 NOT label:Workflow>=1 NOT label:Code-Review>=2,self NOT owner:self diff --git a/dashboards/gate-changes.dash b/dashboards/gate-changes.dash index a34c400..da1bf49 100644 --- a/dashboards/gate-changes.dash +++ b/dashboards/gate-changes.dash @@ -7,7 +7,7 @@ foreach = (project:openstack-infra/project-config OR project:openstack-infra/dev query = NOT label:Code-Review<=2 age:5d [section "You are a reviewer, but haven't voted in the current revision"] -query = reviewer:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self [section "Needs final +2"] query = label:Code-Review>=2 limit:50 diff --git a/dashboards/horizon-related-repos.dash b/dashboards/horizon-related-repos.dash index 7430b91..db03d67 100644 --- a/dashboards/horizon-related-repos.dash +++ b/dashboards/horizon-related-repos.dash @@ -10,7 +10,7 @@ query = owner:self query = is:starred [section "Your are a reviewer, but haven't voted in the current revision"] -query = reviewer:self NOT label:Workflow<=-1 label:Verified>=1,jenkins NOT reviewedby:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self NOT label:Workflow<=-1 label:Verified>=1,jenkins [section "Needs Approval"] query = NOT label:Workflow>=1 NOT label:Workflow<=-1 label:Verified>=1,jenkins NOT owner:self label:Code-Review>=2 NOT label:Code-Review-1 NOT label:Code-Review<=2,self diff --git a/dashboards/horizon-stable.dash b/dashboards/horizon-stable.dash index 60ab929..8e79cd1 100644 --- a/dashboards/horizon-stable.dash +++ b/dashboards/horizon-stable.dash @@ -8,7 +8,7 @@ foreach = (project:openstack/horizon OR query = NOT label:Code-Review<=2 age:5d [section "Your are a reviewer, but haven't voted in the current revision"] -query = reviewer:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self [section "Needs final +2"] query = label:Code-Review>=2 NOT(reviewerin:horizon-core label:Code-Review<=-1) limit:50 diff --git a/dashboards/horizon.dash b/dashboards/horizon.dash index 1ea2fda..f6ea136 100644 --- a/dashboards/horizon.dash +++ b/dashboards/horizon.dash @@ -11,7 +11,7 @@ query = owner:self query = is:starred [section "Your are a reviewer, but haven't voted in the current revision"] -query = reviewer:self NOT label:Workflow<=-1 label:Verified>=1,jenkins NOT reviewedby:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self NOT label:Workflow<=-1 label:Verified>=1,jenkins [section "Needs Approval"] query = NOT label:Workflow>=1 NOT label:Workflow<=-1 label:Verified>=1,jenkins NOT owner:self label:Code-Review>=2 NOT label:Code-Review-1 NOT label:Code-Review<=2,self diff --git a/dashboards/networking-midonet.dash b/dashboards/networking-midonet.dash index cca6903..82e91f1 100644 --- a/dashboards/networking-midonet.dash +++ b/dashboards/networking-midonet.dash @@ -7,7 +7,7 @@ foreach = (project:openstack/networking-midonet) status:open NOT owner:self NOT query = NOT label:Code-Review<=2 age:5d branch:master [section "You are a reviewer, but haven't voted in the current revision"] -query = reviewer:self branch:master +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:networking-midonet-core label:Code-Review<=-1) limit:50 branch:master diff --git a/dashboards/neutron-subprojects-stable.dash b/dashboards/neutron-subprojects-stable.dash index cf0f661..4bcb16d 100644 --- a/dashboards/neutron-subprojects-stable.dash +++ b/dashboards/neutron-subprojects-stable.dash @@ -19,7 +19,7 @@ foreach = ( query = NOT label:Code-Review<=2 age:5d [section "You are a reviewer, but haven't voted in the current revision"] -query = reviewer:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self [section "Needs final +2"] query = label:Code-Review>=2 NOT(reviewerin:neutron-stable-maint label:Code-Review<=-1) limit:50 diff --git a/dashboards/neutron-subprojects.dash b/dashboards/neutron-subprojects.dash index f42d8e5..6953683 100644 --- a/dashboards/neutron-subprojects.dash +++ b/dashboards/neutron-subprojects.dash @@ -16,7 +16,7 @@ foreach = ( query = NOT label:Code-Review<=2 age:5d [section "You are a reviewer, but haven't voted in the current revision"] -query = reviewer:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self [section "Needs final +2"] query = label:Code-Review>=2 NOT(reviewerin:neutron-core label:Code-Review<=-1) limit:50 diff --git a/dashboards/neutron.dash b/dashboards/neutron.dash index 73cac71..61ccc69 100644 --- a/dashboards/neutron.dash +++ b/dashboards/neutron.dash @@ -11,7 +11,7 @@ foreach = (project:openstack/neutron OR query = NOT label:Code-Review<=2 age:5d [section "You are a reviewer, but haven't voted in the current revision"] -query = reviewer:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self [section "Needs final +2"] query = label:Code-Review>=2 NOT(reviewerin:neutron-core label:Code-Review<=-1) limit:50 diff --git a/dashboards/nova-api.dash b/dashboards/nova-api.dash index 5656cd1..cf82d0f 100644 --- a/dashboards/nova-api.dash +++ b/dashboards/nova-api.dash @@ -16,7 +16,7 @@ query = project:openstack/nova-specs NOT reviewedby:self query = NOT label:Code-Review<=2 age:5d [section "Your are a reviewer, but haven't voted in the current revision"] -query = reviewer:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self [section "Needs final +2"] query = label:Code-Review>=2 diff --git a/dashboards/nova-specs.dash b/dashboards/nova-specs.dash index 085604a..68c5823 100644 --- a/dashboards/nova-specs.dash +++ b/dashboards/nova-specs.dash @@ -4,16 +4,16 @@ description = Review Inbox foreach = project:openstack/nova-specs status:open NOT label:Workflow<=-1 branch:master NOT owner:self [section "You are a reviewer, but haven't voted in the current revision"] -query = file:^specs/queens/.* reviewer:self NOT reviewedby:self label:Verified>=1,jenkins +query = file:^specs/queens/.* NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self label:Verified>=1,jenkins [section "Not blocked by -2s"] -query = file:^specs/queens/.* NOT label:Code-Review<=-2 NOT label:Code-Review>=2 NOT reviewedby:self label:Verified>=1,jenkins +query = file:^specs/queens/.* NOT label:Code-Review<=-2 NOT label:Code-Review>=2 NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self label:Verified>=1,jenkins [section "No votes and spec is > 1 week old"] query = file:^specs/queens/.* NOT label:Code-Review>=-2 age:7d label:Verified>=1,jenkins [section "Needs final +2"] -query = file:^specs/queens/.* label:Code-Review>=2 NOT reviewedby:self label:Verified>=1,jenkins +query = file:^specs/queens/.* label:Code-Review>=2 NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self label:Verified>=1,jenkins [section "Broken Specs (doesn't pass Jenkins)"] query = file:^specs/queens/.* label:Verified<=-1,jenkins diff --git a/dashboards/octavia.dash b/dashboards/octavia.dash index e2ac6f4..0168fb7 100644 --- a/dashboards/octavia.dash +++ b/dashboards/octavia.dash @@ -10,7 +10,7 @@ foreach = (project:openstack/octavia OR query = label:Verified>=1,jenkins label:Code-Review>=2 NOT(reviewerin:octavia-core label:Code-Review<=-1 OR label:Workflow>=1) limit:50 [section "You are a reviewer, but haven't voted in the current revision"] -query = label:Verified>=1,jenkins reviewer:self NOT label:Workflow<=-1 label:Verified>=1,jenkins NOT reviewedby:self limit:50 +query = label:Verified>=1,jenkins NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self NOT label:Workflow<=-1 label:Verified>=1,jenkins limit:50 [section "Needs Feedback (Changes older than 5 days that have not been reviewed by anyone)"] query = label:Verified>=1,jenkins NOT label:Code-Review<=2 age:5d limit:10 diff --git a/dashboards/openstackclient.dash b/dashboards/openstackclient.dash index 32bdd95..002cfcf 100644 --- a/dashboards/openstackclient.dash +++ b/dashboards/openstackclient.dash @@ -9,7 +9,7 @@ foreach = (project:openstack/python-openstackclient OR project:openstack/cliff) query = NOT label:Code-Review<=2 age:5d [section "You are a reviewer, but haven't voted in the current revision"] -query = reviewer:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self [section "Needs final +2"] query = NOT label:Code-Review<=-2 label:Code-Review>=2 diff --git a/dashboards/qa-program.dash b/dashboards/qa-program.dash index 1e583e3..9343ea3 100644 --- a/dashboards/qa-program.dash +++ b/dashboards/qa-program.dash @@ -16,7 +16,7 @@ query = NOT label:Code-Review<=-1,tempest-core delta:<=10 query = NOT label:Code-Review<=2 age:5d [section "You are a reviewer, but haven't voted in the current revision"] -query = reviewer:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self [section "Bug fix, Passed Jenkins, No Negative Core Feedback"] query = NOT label:Code-Review<=-1,tempest-core message:"Closes-Bug: " diff --git a/dashboards/requirements.dash b/dashboards/requirements.dash index 8f9a997..6c6abde 100644 --- a/dashboards/requirements.dash +++ b/dashboards/requirements.dash @@ -10,7 +10,7 @@ query = topic:new-release query = NOT label:Code-Review<=2 age:5d branch:master [section "You are a reviewer, but haven't voted in the current revision"] -query = NOT reviewedby:self reviewer:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self [section "Needs final +2"] query = label:Code-Review>=2 limit:50 NOT reviewedby:self @@ -22,4 +22,4 @@ query = NOT label:Code-Review>=2 NOT label:Code-Review<=-1 limit:50 branch:maste query = NOT label:Code-Review<=2 age:2d branch:master [section "Stable Branch Changes"] -query = branch:^stable/.* \ No newline at end of file +query = branch:^stable/.* diff --git a/dashboards/stable.dash b/dashboards/stable.dash index 81834f0..886f680 100644 --- a/dashboards/stable.dash +++ b/dashboards/stable.dash @@ -7,7 +7,7 @@ foreach = (project:openstack/ceilometer OR project:openstack/python-ceilometercl query = NOT label:Code-Review<=2 age:5d [section "You are a reviewer, but haven't voted in the current revision"] -query = reviewer:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self [section "Needs final +2"] query = label:Code-Review>=2 NOT(reviewerin:stable-maint-core label:Code-Review<=-1) limit:50 diff --git a/dashboards/tap-as-a-service.dash b/dashboards/tap-as-a-service.dash index 808e54b..e66632c 100644 --- a/dashboards/tap-as-a-service.dash +++ b/dashboards/tap-as-a-service.dash @@ -7,7 +7,7 @@ foreach = (project:openstack/tap-as-a-service OR project:openstack/tap-as-a-serv query = NOT label:Code-Review<=2 age:5d branch:master [section "You are a reviewer, but haven't voted in the current revision"] -query = reviewer:self branch:master +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 diff --git a/dashboards/tempest.dash b/dashboards/tempest.dash index fc7eaf7..7ba7305 100644 --- a/dashboards/tempest.dash +++ b/dashboards/tempest.dash @@ -10,7 +10,7 @@ query = project:openstack/qa-specs query = NOT label:Code-Review<=2 age:5d [section "You are a reviewer, but haven't voted in the current revision"] -query = reviewer:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self [section "Needs final +2"] query = (project:openstack/tempest OR project:openstack-dev/grenade) label:Code-Review>=2 limit:50 NOT label:Code-Review<=-1 diff --git a/dashboards/tooz_taskflow.dash b/dashboards/tooz_taskflow.dash index 84d227f..8073a92 100644 --- a/dashboards/tooz_taskflow.dash +++ b/dashboards/tooz_taskflow.dash @@ -7,7 +7,7 @@ foreach = (project:openstack/taskflow OR project:openstack/tooz) status:open NOT query = NOT label:Code-Review<=2 age:5d [section "You are a reviewer, but haven't voted in the current revision"] -query = reviewer:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self [section "Needs final +2"] query = NOT label:Code-Review<=-2 label:Code-Review>=2 diff --git a/dashboards/watched.dash b/dashboards/watched.dash index 3dfb8d4..5003af0 100644 --- a/dashboards/watched.dash +++ b/dashboards/watched.dash @@ -4,7 +4,7 @@ description = Watched Projects foreach = is:watched is:open [section "You are a reviewer, but haven't voted in the current revision"] -query = reviewer:self +query = NOT label:Code-Review<=-1,self NOT label:Code-Review>=1,self reviewer:self [section "Passed Jenkins, No Negative Feedback"] query = NOT label:Code-Review>=2 NOT label:Code-Review<=-1 limit:50