From 119011081ed3a15708ea8846c5c851a175c24f42 Mon Sep 17 00:00:00 2001 From: James Polley Date: Tue, 16 Dec 2014 14:46:26 +0100 Subject: [PATCH] Add detailed examples and dashboards a la gerrit Add some more detailed notes on creating per-project filters, as the syntax is a little different from that used directly on Gerrit. Add a second "Incoming reviews" dashboard, to match what Gerrit has. Change-Id: I77377a14bc78ce2e932e3e1c2348766a84eb9911 --- examples/openstack-gertty.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/examples/openstack-gertty.yaml b/examples/openstack-gertty.yaml index e3f6864..851ba69 100644 --- a/examples/openstack-gertty.yaml +++ b/examples/openstack-gertty.yaml @@ -58,12 +58,16 @@ commentlinks: query: "change:{id}" # This is the query used for the list of changes when a project is -# selected. The default is "status:open"; if you don't want to see -# WIP changes, use a query like this: +# selected. The default is "status:open". If you don't want to see +# changes which are WIP or have verification failures, use a query like this: # change-list-query: "status:open not label:Workflow=-1" -# Uncomment the following line to use a unified diff view instead -# of the default side-by-side: +# If you also want to exclude reviews with failed tests, the query is slightly +# more complex: +# "status:open not (label:Workflow=-1 or label:Verified=-1)" + +# Uncomment the following line to use a unified diff view instead of the +# default side-by-side: # diff-view: unified # Hide comments by default that match the following criteria. @@ -80,6 +84,9 @@ dashboards: - name: "My changes" query: "owner:self status:open" key: "f2" + - name: "Incoming reviews" + query: "is:open is:reviewer" + key: "f3" # Reviewkeys are hotkeys that perform immediate reviews within the # change screen. Any pending comments or review messages will be