Merge changes I90ad0a4a,Ia6cc2339
* changes: Remove extra spaces to improve rendered content Update bulleted list with continuation markers so code blocks render correctly.
This commit is contained in:
commit
d32313c97d
@ -1583,15 +1583,18 @@ Labels use the same mechanism, with the following observations:
|
||||
* The 'force' setting has no effect on label ranges.
|
||||
|
||||
* BLOCK specifies the values that a group cannot vote, eg.
|
||||
+
|
||||
----
|
||||
label-Code-Review = block -2..+2 group Anonymous Users
|
||||
----
|
||||
+
|
||||
prevents all users from voting -2 or +2.
|
||||
|
||||
* DENY works for votes too, with the same caveats
|
||||
|
||||
* The blocked vote range is the union of the all the blocked vote
|
||||
ranges across projects, so in
|
||||
+
|
||||
----
|
||||
All-Projects: project.config
|
||||
label-Code-Review = block -2..+1 group A
|
||||
@ -1599,15 +1602,18 @@ All-Projects: project.config
|
||||
Child-Project: project-config
|
||||
label-Code-Review = block -1..+2 group A
|
||||
----
|
||||
+
|
||||
members of group A cannot vote at all in the Child-Project.
|
||||
|
||||
|
||||
* The allowed vote range is the union of vote ranges allowed by all of
|
||||
the ALLOW rules. For example, in
|
||||
+
|
||||
----
|
||||
label-Code-Review = -2..+1 group A
|
||||
label-Code-Review = -1..+2 group B
|
||||
----
|
||||
+
|
||||
a user that is both in A and B can vote -2..2.
|
||||
|
||||
|
||||
|
@ -8,11 +8,11 @@ from Gerrit's daemon, and then executed on the client system.
|
||||
To download a client command or hook, use scp or an http client:
|
||||
|
||||
----
|
||||
$ scp -p -P 29418 john.doe@review.example.com:bin/gerrit-cherry-pick ~/bin/
|
||||
$ scp -p -P 29418 john.doe@review.example.com:hooks/commit-msg .git/hooks/
|
||||
$ scp -p -P 29418 john.doe@review.example.com:bin/gerrit-cherry-pick ~/bin/
|
||||
$ scp -p -P 29418 john.doe@review.example.com:hooks/commit-msg .git/hooks/
|
||||
|
||||
$ curl -Lo ~/bin/gerrit-cherry-pick http://review.example.com/tools/bin/gerrit-cherry-pick
|
||||
$ curl -Lo .git/hooks/commit-msg http://review.example.com/tools/hooks/commit-msg
|
||||
$ curl -Lo ~/bin/gerrit-cherry-pick http://review.example.com/tools/bin/gerrit-cherry-pick
|
||||
$ curl -Lo .git/hooks/commit-msg http://review.example.com/tools/hooks/commit-msg
|
||||
----
|
||||
|
||||
For more details on how to determine the correct SSH port number,
|
||||
@ -32,7 +32,7 @@ the developer experience when working with a Gerrit Code Review
|
||||
server.
|
||||
|
||||
link:cmd-hook-commit-msg.html[commit-msg]::
|
||||
Automatically generate `Change-Id: ` tags in commit messages.
|
||||
Automatically generate `Change-Id:` tags in commit messages.
|
||||
|
||||
|
||||
== Server
|
||||
|
Loading…
Reference in New Issue
Block a user