summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Hiesel <hiesel@google.com>2020-10-21 11:07:47 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-10-21 11:07:47 +0000
commitab9fe87cfd3315f027427eb0f63e9e428e2fce8f (patch)
treedf3dc1c38133d4c618f167871081c9a48c96b1d1
parent523b84cee2ab17bed31601830feab28f7465f33b (diff)
parent8f3229dec7a6e5e4eeca98f062351ac201133c94 (diff)
Merge changes I91194fbb,I246ac3dc into stable-3.3
* changes: Add instructions to add bots to the "Service Users" group Update the attention set documentation
-rw-r--r--Documentation/images/user-attention-set-dashboard.pngbin37168 -> 72685 bytes
-rw-r--r--Documentation/images/user-attention-set-icon.pngbin10026 -> 14759 bytes
-rw-r--r--Documentation/images/user-attention-set-reply-modify.pngbin11680 -> 16463 bytes
-rw-r--r--Documentation/images/user-attention-set-reply-select.pngbin75360 -> 91227 bytes
-rw-r--r--Documentation/images/user-attention-set-user-prefs.pngbin0 -> 13753 bytes
-rw-r--r--Documentation/user-attention-set.txt69
6 files changed, 58 insertions, 11 deletions
diff --git a/Documentation/images/user-attention-set-dashboard.png b/Documentation/images/user-attention-set-dashboard.png
index 2bf7ccd51c..45333808bd 100644
--- a/Documentation/images/user-attention-set-dashboard.png
+++ b/Documentation/images/user-attention-set-dashboard.png
Binary files differ
diff --git a/Documentation/images/user-attention-set-icon.png b/Documentation/images/user-attention-set-icon.png
index a1d5ac5a00..a6789b9d68 100644
--- a/Documentation/images/user-attention-set-icon.png
+++ b/Documentation/images/user-attention-set-icon.png
Binary files differ
diff --git a/Documentation/images/user-attention-set-reply-modify.png b/Documentation/images/user-attention-set-reply-modify.png
index 7705d14101..a8895f9a62 100644
--- a/Documentation/images/user-attention-set-reply-modify.png
+++ b/Documentation/images/user-attention-set-reply-modify.png
Binary files differ
diff --git a/Documentation/images/user-attention-set-reply-select.png b/Documentation/images/user-attention-set-reply-select.png
index 14fadfe362..e93ff5848c 100644
--- a/Documentation/images/user-attention-set-reply-select.png
+++ b/Documentation/images/user-attention-set-reply-select.png
Binary files differ
diff --git a/Documentation/images/user-attention-set-user-prefs.png b/Documentation/images/user-attention-set-user-prefs.png
new file mode 100644
index 0000000000..47cdbf5f7c
--- /dev/null
+++ b/Documentation/images/user-attention-set-user-prefs.png
Binary files differ
diff --git a/Documentation/user-attention-set.txt b/Documentation/user-attention-set.txt
index f870405e1e..7e219d4c92 100644
--- a/Documentation/user-attention-set.txt
+++ b/Documentation/user-attention-set.txt
@@ -1,10 +1,5 @@
= Gerrit Code Review - Attention Set
-The Attention Set will be part of the upcoming 3.3 release (due late 2020).
-We are testing at on some hosts on `googlesource.com` right now. If you build
-your Gerrit from master, you can enable it using
-link:config-gerrit.html#change.enableAttentionSet[enableAttentionSet].
-
Report a bug or send feedback using
link:https://bugs.chromium.org/p/gerrit/issues/entry?template=Attention+Set[this Monorail template].
You can also report a bug through the bug icon in the user hovercard and in the
@@ -16,7 +11,8 @@ reply dialog.
Code Review is a turn-based workflow going back and forth between the change
owner and reviewers. For every change Gerrit maintains an "Attention Set" with
users that are currently expected to act on the change. Both on the dashboard
-and on the change page, this is expressed by an arrow icon before the user name:
+and on the change page, this is expressed by an arrow icon before a (bolded)
+user name:
image::images/user-attention-set-icon.png["account chip with attention icon", align="center"]
@@ -41,6 +37,7 @@ To help with the back and forth, Gerrit applies some basic automated rules for
changing the attention set:
* If reviewers are added to a change, then they are added to the attention set.
+ * Exception: A reviewer adding themselves along with a comment or vote.
* If an active change is submitted, abandoned or reset to "work in progress",
then all users are removed from the attention set.
* Replying (commenting, voting or just writing a change message) removes the
@@ -48,8 +45,8 @@ changing the attention set:
conversations that the user is replying to.
* If a *reviewer* replies, then the change owner (and uploader) are added to the
attention set.
-* For merged and abandoned changes the owner is added when a new human comment
- is created.
+* For merged and abandoned changes the owner is added only when a human creates
+ an unresolved comment.
* Only owner, uploader, reviewers and ccs can be in the attention set.
*!IMPORTANT!* These rules are not meant to be super smart and to always do the
@@ -99,18 +96,39 @@ uploader) to the attention set, if it comes along with a negative vote.
=== Dashboard
The default *dashboard* contains a new section at the top called "Your Turn". It
-lists all changes where the logged-in user is in the attention set.
+lists all changes where the logged-in user is in the attention set. When you are
+a reviewer, the change is highlighted and is shown at the top of the section.
+The "Waiting" column indicates how long the owner has already been waiting for
+you to act.
image::images/user-attention-set-dashboard.png["dashboard with Your Turn section", align="center"]
-As an active developer one of your daily goals will be to iterate over this list
-and clear it.
+As an active developer, one of your daily goals will be to iterate over this
+list and clear it.
image::images/user-attention-set-dashboard-empty.png["dashboard with empty Your Turn section", align="center"]
Note that you can also navigate to other users' dashboards to check their
"Your Turn" section.
+=== Emails
+
+Every email begins with `Attention is currently required from: ...`, so you can
+identify at a glance whether you are expected to act.
+
+You can even change your email notification preferences in the user settings to
+only receive emails when you are in the attention set of a change:
+
+image::images/user-attention-set-user-prefs.png["user preference for email notifications", align="center"]
+
+If you prefer setting up customized filters in your mail client, then you can
+make use of the `Gerrit-Attention:` footer lines that are added for every user
+in the attention set, e.g.
+
+----
+Gerrit-Attention: Marian Harbach <mharbach@google.com>
+----
+
=== Assignee
While the "Assignee" feature can still be used together with the attention set,
@@ -123,6 +141,9 @@ is not likely to be important and also still achievable with the attention set.
Otherwise "Assignee" and "Attention Set" are very much overlapping, so we
recommend to only use one of them.
+If you don't expect action from reviewers, then consider adding them to CC
+instead.
+
The "Assignee" feature can be turned on/off with the
link:config-gerrit.html#change.enableAttentionSet[enableAssignee] config option.
@@ -133,6 +154,32 @@ Before the attention set feature, changes were bolded in the dashboard when
change page. This former way of keeping track of what you should look at has
been replaced by the attention set.
+=== For Gerrit Admins
+
+The Attention Set will be part of the upcoming 3.3 release (due late 2020).
+We are testing it on `googlesource.com` right now. If you build your Gerrit from
+master, you can enable it using
+link:config-gerrit.html#change.enableAttentionSet[enableAttentionSet].
+
+=== Important note for all host owners, project owners, and bot owners
+
+If you are a host/project owner, please make sure all bots that run against your
+host/project are part of the "Service Users" group.
+
+If you are a bot owner, please make sure your bot is part of the "Service Users"
+group on all hosts it runs on.
+
+To add users to the "Service Users" group, first ensure that the group exists on
+your host. If it doesn't, create it. The name must exactly be "Service Users".
+
+To create a group, use the Gerrit UI; BROWSE -> Groups -> CREATE NEW.
+
+Then, add the bots as members in this group. Alternatively, add an existing
+group that has multiple bots as a subgroup of "Service Users".
+
+To add members or subgroups, use the Gerrit UI; BROWSE -> Groups ->
+search for "Service Users" -> Members.
+
GERRIT
------
Part of link:index.html[Gerrit Code Review]