Clean up remaining command reference files

Change-Id: I96c2d95a22c3b0e9629471ea994e25b72349fe4c
This commit is contained in:
David Shevitz 2018-09-27 10:55:35 -07:00 committed by David Pursehouse
parent 76b78009a2
commit c47f23698a
22 changed files with 159 additions and 162 deletions

View File

@ -46,29 +46,25 @@ This command is intended to be used in scripts.
Install a plugin from an absolute file path on the server's host: Install a plugin from an absolute file path on the server's host:
---- ----
ssh -p 29418 localhost gerrit plugin install -n name.jar \ ssh -p 29418 localhost gerrit plugin install -n name.jar $(pwd)/my-plugin.jar
$(pwd)/my-plugin.jar
---- ----
Install a WebUI plugin from an absolute file path on the server's host: Install a WebUI plugin from an absolute file path on the server's host:
---- ----
ssh -p 29418 localhost gerrit plugin install -n name.js \ ssh -p 29418 localhost gerrit plugin install -n name.js $(pwd)/my-webui-plugin.js
$(pwd)/my-webui-plugin.js
---- ----
Install a plugin from an HTTP site: Install a plugin from an HTTP site:
---- ----
ssh -p 29418 localhost gerrit plugin install -n name.jar \ ssh -p 29418 localhost gerrit plugin install -n name.jar http://build-server/output/our-plugin
http://build-server/output/our-plugin
---- ----
Install a plugin from piped input: Install a plugin from piped input:
---- ----
ssh -p 29418 localhost gerrit plugin install -n name.jar \ ssh -p 29418 localhost gerrit plugin install -n name.jar - <target/name-0.1.jar
- <target/name-0.1.jar
---- ----
GERRIT GERRIT

View File

@ -36,7 +36,7 @@ This command is intended to be used in scripts.
Reload a plugin: Reload a plugin:
---- ----
ssh -p 29418 localhost gerrit plugin reload my-plugin ssh -p 29418 localhost gerrit plugin reload my-plugin
---- ----
GERRIT GERRIT

View File

@ -33,7 +33,7 @@ This command is intended to be used in scripts.
Disable a plugin: Disable a plugin:
---- ----
ssh -p 29418 localhost gerrit plugin remove my-plugin ssh -p 29418 localhost gerrit plugin remove my-plugin
---- ----
GERRIT GERRIT

View File

@ -117,18 +117,18 @@ This command is intended to be used in scripts.
Find the 2 most recent open changes in the tools/gerrit project: Find the 2 most recent open changes in the tools/gerrit project:
---- ----
$ ssh -p 29418 review.example.com gerrit query --format=JSON status:open project:tools/gerrit limit:2 $ ssh -p 29418 review.example.com gerrit query --format=JSON status:open project:tools/gerrit limit:2
{"project":"tools/gerrit", ...} {"project":"tools/gerrit", ...}
{"project":"tools/gerrit", ...} {"project":"tools/gerrit", ...}
{"type":"stats","rowCount":2,"runningTimeMilliseconds:15} {"type":"stats","rowCount":2,"runningTimeMilliseconds:15}
---- ----
Skip number of changes: Skip number of changes:
---- ----
$ ssh -p 29418 review.example.com gerrit query --format=JSON --start 42 status:open project:tools/gerrit limit:2 $ ssh -p 29418 review.example.com gerrit query --format=JSON --start 42 status:open project:tools/gerrit limit:2
{"project":"tools/gerrit", ...} {"project":"tools/gerrit", ...}
{"project":"tools/gerrit", ...} {"project":"tools/gerrit", ...}
{"type":"stats","rowCount":1,"runningTimeMilliseconds:15} {"type":"stats","rowCount":1,"runningTimeMilliseconds:15}
---- ----

View File

@ -1,7 +1,7 @@
= git-receive-pack = git-receive-pack
== NAME == NAME
git-receive-pack - Receive what is pushed into the repository git-receive-pack - Receive what is pushed into the repository.
== SYNOPSIS == SYNOPSIS
[verse] [verse]
@ -43,36 +43,36 @@ Any user who has SSH access to Gerrit.
Send a review for a change on the master branch to charlie@example.com: Send a review for a change on the master branch to charlie@example.com:
---- ----
git push ssh://review.example.com:29418/project HEAD:refs/for/master%r=charlie@example.com git push ssh://review.example.com:29418/project HEAD:refs/for/master%r=charlie@example.com
---- ----
Send reviews, but tagging them with the topic name 'bug42': Send reviews, but tagging them with the topic name 'bug42':
---- ----
git push ssh://review.example.com:29418/project HEAD:refs/for/master%r=charlie@example.com,topic=bug42 git push ssh://review.example.com:29418/project HEAD:refs/for/master%r=charlie@example.com,topic=bug42
---- ----
Also CC two other parties: Also CC two other parties:
---- ----
git push ssh://review.example.com:29418/project HEAD:refs/for/master%r=charlie@example.com,cc=alice@example.com,cc=bob@example.com git push ssh://review.example.com:29418/project HEAD:refs/for/master%r=charlie@example.com,cc=alice@example.com,cc=bob@example.com
---- ----
Configure a push macro to perform the last action: Configure a push macro to perform the last action:
---- ----
git config remote.charlie.url ssh://review.example.com:29418/project git config remote.charlie.url ssh://review.example.com:29418/project
git config remote.charlie.push HEAD:refs/for/master%r=charlie@example.com,cc=alice@example.com,cc=bob@example.com git config remote.charlie.push HEAD:refs/for/master%r=charlie@example.com,cc=alice@example.com,cc=bob@example.com
---- ----
afterwards `.git/config` contains the following: afterwards `.git/config` contains the following:
---- ----
[remote "charlie"] [remote "charlie"]
url = ssh://review.example.com:29418/project url = ssh://review.example.com:29418/project
push = HEAD:refs/for/master%r=charlie@example.com,cc=alice@example.com,cc=bob@example.com push = HEAD:refs/for/master%r=charlie@example.com,cc=alice@example.com,cc=bob@example.com
---- ----
and now sending a new change for review to charlie, CC'ing both and now sending a new change for review to charlie, CC'ing both
alice and bob is much easier: alice and bob is much easier:
---- ----
git push charlie git push charlie
---- ----
== SEE ALSO == SEE ALSO

View File

@ -33,7 +33,7 @@ This command is intended to be used in scripts.
Reload the gerrit configuration: Reload the gerrit configuration:
---- ----
ssh -p 29418 localhost gerrit reload-config ssh -p 29418 localhost gerrit reload-config
---- ----
GERRIT GERRIT

View File

@ -32,7 +32,7 @@ This command is intended to be used in scripts.
Rename the group "MyGroup" to "MyCommitters". Rename the group "MyGroup" to "MyCommitters".
---- ----
$ ssh -p 29418 user@review.example.com gerrit rename-group MyGroup MyCommitters $ ssh -p 29418 user@review.example.com gerrit rename-group MyGroup MyCommitters
---- ----
GERRIT GERRIT

View File

@ -1,7 +1,7 @@
= gerrit review = gerrit review
== NAME == NAME
gerrit review - Apply reviews to one or more patch sets gerrit review - Apply reviews to one or more patch sets.
== SYNOPSIS == SYNOPSIS
[verse] [verse]
@ -144,35 +144,35 @@ This command is intended to be used in scripts.
Approve the change with commit c0ff33 as "Verified +1" Approve the change with commit c0ff33 as "Verified +1"
---- ----
$ ssh -p 29418 review.example.com gerrit review --verified +1 c0ff33 $ ssh -p 29418 review.example.com gerrit review --verified +1 c0ff33
---- ----
Vote on the project specific label "mylabel": Vote on the project specific label "mylabel":
---- ----
$ ssh -p 29418 review.example.com gerrit review --label mylabel=+1 c0ff33 $ ssh -p 29418 review.example.com gerrit review --label mylabel=+1 c0ff33
---- ----
Append the message "Build Successful". Notice two levels of quoting is Append the message "Build Successful". Notice two levels of quoting is
required, one for the local shell, and another for the argument parser required, one for the local shell, and another for the argument parser
inside the Gerrit server: inside the Gerrit server:
---- ----
$ ssh -p 29418 review.example.com gerrit review -m '"Build Successful"' c0ff33 $ ssh -p 29418 review.example.com gerrit review -m '"Build Successful"' c0ff33
---- ----
Mark the unmerged commits both "Verified +1" and "Code-Review +2" and Mark the unmerged commits both "Verified +1" and "Code-Review +2" and
submit them for merging: submit them for merging:
---- ----
$ ssh -p 29418 review.example.com gerrit review \ $ ssh -p 29418 review.example.com gerrit review \
--verified +1 \ --verified +1 \
--code-review +2 \ --code-review +2 \
--submit \ --submit \
--project this/project \ --project this/project \
$(git rev-list origin/master..HEAD) $(git rev-list origin/master..HEAD)
---- ----
Abandon an active change: Abandon an active change:
---- ----
$ ssh -p 29418 review.example.com gerrit review --abandon c0ff33 $ ssh -p 29418 review.example.com gerrit review --abandon c0ff33
---- ----
== SEE ALSO == SEE ALSO

View File

@ -110,7 +110,7 @@ This most likely requires double quoting the value, for example
Add an email and SSH key to `watcher`'s account: Add an email and SSH key to `watcher`'s account:
---- ----
$ cat ~/.ssh/id_watcher.pub | ssh -p 29418 review.example.com gerrit set-account --add-ssh-key - --add-email mail@example.com watcher $ cat ~/.ssh/id_watcher.pub | ssh -p 29418 review.example.com gerrit set-account --add-ssh-key - --add-email mail@example.com watcher
---- ----
GERRIT GERRIT

View File

@ -35,7 +35,7 @@ This command is intended to be used in scripts.
Change HEAD of project `example` to `stable-2.11` branch: Change HEAD of project `example` to `stable-2.11` branch:
---- ----
$ ssh -p 29418 review.example.com gerrit set-head example --new-head stable-2.11 $ ssh -p 29418 review.example.com gerrit set-head example --new-head stable-2.11
---- ----
GERRIT GERRIT

View File

@ -1,7 +1,7 @@
= gerrit set-members = gerrit set-members
== NAME == NAME
gerrit set-members - Set group members gerrit set-members - Set group members.
== SYNOPSIS == SYNOPSIS
[verse] [verse]
@ -59,16 +59,16 @@ This command is intended to be used in scripts.
Add alice and bob, but remove eve from the groups my-committers and Add alice and bob, but remove eve from the groups my-committers and
my-verifiers. my-verifiers.
---- ----
$ ssh -p 29418 review.example.com gerrit set-members \ $ ssh -p 29418 review.example.com gerrit set-members \
-a alice@example.com -a bob@example.com \ -a alice@example.com -a bob@example.com \
-r eve@example.com my-committers my-verifiers -r eve@example.com my-committers my-verifiers
---- ----
Include the group my-friends into the group my-committers, but Include the group my-friends into the group my-committers, but
exclude the included group my-testers from the group my-committers. exclude the included group my-testers from the group my-committers.
---- ----
$ ssh -p 29418 review.example.com gerrit set-members \ $ ssh -p 29418 review.example.com gerrit set-members \
-i my-friends -e my-testers my-committers -i my-friends -e my-testers my-committers
---- ----
GERRIT GERRIT

View File

@ -51,14 +51,14 @@ This command is intended to be used in scripts.
Configure `kernel/omap` to inherit permissions from `kernel/common`: Configure `kernel/omap` to inherit permissions from `kernel/common`:
---- ----
$ ssh -p 29418 review.example.com gerrit set-project-parent --parent kernel/common kernel/omap $ ssh -p 29418 review.example.com gerrit set-project-parent --parent kernel/common kernel/omap
---- ----
Reparent all children of `myParent` to `myOtherParent`: Reparent all children of `myParent` to `myOtherParent`:
---- ----
$ ssh -p 29418 review.example.com gerrit set-project-parent \ $ ssh -p 29418 review.example.com gerrit set-project-parent \
--children-of myParent --parent myOtherParent --children-of myParent --parent myOtherParent
---- ----
== SEE ALSO == SEE ALSO

View File

@ -105,8 +105,8 @@ Change project `example` to be hidden, require change id, don't use content merg
and use 'merge if necessary' as merge strategy: and use 'merge if necessary' as merge strategy:
---- ----
$ ssh -p 29418 review.example.com gerrit set-project example --submit-type MERGE_IF_NECESSARY\ $ ssh -p 29418 review.example.com gerrit set-project example --submit-type MERGE_IF_NECESSARY \
--change-id true --content-merge false --project-state HIDDEN --change-id true --content-merge false --project-state HIDDEN
---- ----
GERRIT GERRIT

View File

@ -1,7 +1,7 @@
= gerrit set-reviewers = gerrit set-reviewers
== NAME == NAME
gerrit set-reviewers - Add or remove reviewers to a change gerrit set-reviewers - Add or remove reviewers to a change.
== SYNOPSIS == SYNOPSIS
[verse] [verse]
@ -56,32 +56,32 @@ This command is intended to be used in scripts.
Add reviewers alice and bob, but remove eve from change Iac6b2ac2. Add reviewers alice and bob, but remove eve from change Iac6b2ac2.
---- ----
$ ssh -p 29418 review.example.com gerrit set-reviewers \ $ ssh -p 29418 review.example.com gerrit set-reviewers \
-a alice@example.com -a bob@example.com \ -a alice@example.com -a bob@example.com \
-r eve@example.com \ -r eve@example.com \
Iac6b2ac2 Iac6b2ac2
---- ----
Add reviewer elvis to old-style change id 1935 specifying that the change is in project "graceland" Add reviewer elvis to old-style change id 1935 specifying that the change is in project "graceland"
---- ----
$ ssh -p 29418 review.example.com gerrit set-reviewers \ $ ssh -p 29418 review.example.com gerrit set-reviewers \
--project graceland \ --project graceland \
-a elvis@example.com \ -a elvis@example.com \
1935 1935
---- ----
Add all project owners as reviewers to change Iac6b2ac2. Add all project owners as reviewers to change Iac6b2ac2.
---- ----
$ ssh -p 29418 review.example.com gerrit set-reviewers \ $ ssh -p 29418 review.example.com gerrit set-reviewers \
-a "'Project Owners'" \ -a "'Project Owners'" \
Iac6b2ac2 Iac6b2ac2
---- ----
Add all project owners as reviewers to commit 13dff08acca571b22542ebd2e31acf4572ea0b86. Add all project owners as reviewers to commit 13dff08acca571b22542ebd2e31acf4572ea0b86.
---- ----
$ ssh -p 29418 review.example.com gerrit set-reviewers \ $ ssh -p 29418 review.example.com gerrit set-reviewers \
-a "'Project Owners'" \ -a "'Project Owners'" \
13dff08acca571b22542ebd2e31acf4572ea0b86 13dff08acca571b22542ebd2e31acf4572ea0b86
---- ----
GERRIT GERRIT

View File

@ -1,7 +1,7 @@
= gerrit show-caches = gerrit show-caches
== NAME == NAME
gerrit show-caches - Display current cache statistics gerrit show-caches - Display current cache statistics.
== SYNOPSIS == SYNOPSIS
[verse] [verse]
@ -51,42 +51,42 @@ Intended for interactive use only.
== EXAMPLES == EXAMPLES
---- ----
$ ssh -p 29418 review.example.com gerrit show-caches $ ssh -p 29418 review.example.com gerrit show-caches
Gerrit Code Review 2.9 now 11:14:13 CEST Gerrit Code Review 2.9 now 11:14:13 CEST
uptime 6 days 20 hrs uptime 6 days 20 hrs
Name |Entries | AvgGet |Hit Ratio| Name |Entries | AvgGet |Hit Ratio|
| Mem Disk Space| |Mem Disk| | Mem Disk Space| |Mem Disk|
--------------------------------+---------------------+---------+---------+ --------------------------------+---------------------+---------+---------+
accounts | 4096 | 3.4ms | 99% | accounts | 4096 | 3.4ms | 99% |
adv_bases | | | | adv_bases | | | |
changes | | 27.1ms | 0% | changes | | 27.1ms | 0% |
groups | 5646 | 11.8ms | 97% | groups | 5646 | 11.8ms | 97% |
groups_bymember | | | | groups_bymember | | | |
groups_byname | | | | groups_byname | | | |
groups_bysubgroup | 230 | 2.4ms | 62% | groups_bysubgroup | 230 | 2.4ms | 62% |
groups_byuuid | 5612 | 29.2ms | 99% | groups_byuuid | 5612 | 29.2ms | 99% |
groups_external | 1 | 1.5s | 98% | groups_external | 1 | 1.5s | 98% |
ldap_group_existence | | | | ldap_group_existence | | | |
ldap_groups | 650 | 680.5ms | 99% | ldap_groups | 650 | 680.5ms | 99% |
ldap_groups_byinclude | 1024 | | 83% | ldap_groups_byinclude | 1024 | | 83% |
ldap_usernames | 390 | 3.8ms | 81% | ldap_usernames | 390 | 3.8ms | 81% |
permission_sort | 16384 | | 99% | permission_sort | 16384 | | 99% |
plugin_resources | | | | plugin_resources | | | |
project_list | 1 | 3.8s | 99% | project_list | 1 | 3.8s | 99% |
projects | 6477 | 2.9ms | 99% | projects | 6477 | 2.9ms | 99% |
sshkeys | 2048 | 12.5ms | 99% | sshkeys | 2048 | 12.5ms | 99% |
D diff | 1299 62033 132.36m| 22.0ms | 85% 99%| D diff | 1299 62033 132.36m| 22.0ms | 85% 99%|
D diff_intraline | 12777 218651 128.45m| 171.1ms | 31% 96%| D diff_intraline | 12777 218651 128.45m| 171.1ms | 31% 96%|
D git_tags | 3 6 11.85k| | 0% 100%| D git_tags | 3 6 11.85k| | 0% 100%|
D web_sessions | 1024 151714 59.10m| | 99% 57%| D web_sessions | 1024 151714 59.10m| | 99% 57%|
SSH: 385 users, oldest session started 6 days 20 hrs ago SSH: 385 users, oldest session started 6 days 20 hrs ago
Tasks: 10 total = 6 running + 0 ready + 4 sleeping Tasks: 10 total = 6 running + 0 ready + 4 sleeping
Mem: 14.94g total = 3.04g used + 11.89g free + 10.00m buffers Mem: 14.94g total = 3.04g used + 11.89g free + 10.00m buffers
28.44g max 28.44g max
107 open files 107 open files
Threads: 4 CPUs available, 371 threads Threads: 4 CPUs available, 371 threads
---- ----
== SEE ALSO == SEE ALSO

View File

@ -1,7 +1,7 @@
= gerrit show-connections = gerrit show-connections
== NAME == NAME
gerrit show-connections - Display active client SSH connections gerrit show-connections - Display active client SSH connections.
== SYNOPSIS == SYNOPSIS
[verse] [verse]
@ -65,20 +65,20 @@ Remote Host::
With reverse DNS lookup (default): With reverse DNS lookup (default):
---- ----
$ ssh -p 29418 review.example.com gerrit show-connections $ ssh -p 29418 review.example.com gerrit show-connections
Session Start Idle User Remote Host Session Start Idle User Remote Host
-------------------------------------------------------------- --------------------------------------------------------------
3abf31e6 20:09:02 00:00:00 jdoe jdoe-desktop.example.com 3abf31e6 20:09:02 00:00:00 jdoe jdoe-desktop.example.com
-- --
---- ----
Without reverse DNS lookup: Without reverse DNS lookup:
---- ----
$ ssh -p 29418 review.example.com gerrit show-connections -n $ ssh -p 29418 review.example.com gerrit show-connections -n
Session Start Idle User Remote Host Session Start Idle User Remote Host
-------------------------------------------------------------- --------------------------------------------------------------
3abf31e6 20:09:02 00:00:00 a/1001240 10.0.0.1 3abf31e6 20:09:02 00:00:00 a/1001240 10.0.0.1
-- --
---- ----
GERRIT GERRIT

View File

@ -1,7 +1,8 @@
= gerrit show-queue = gerrit show-queue
== NAME == NAME
gerrit show-queue - Display the background work queues, including replication and indexing gerrit show-queue - Display the background work queues, including replication
and indexing.
== SYNOPSIS == SYNOPSIS
[verse] [verse]
@ -75,13 +76,13 @@ The following queue contains two tasks scheduled to replicate the
and `dst2`: and `dst2`:
---- ----
$ ssh -p 29418 review.example.com gerrit show-queue $ ssh -p 29418 review.example.com gerrit show-queue
Task State Command Task State Command
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
7aae09b2 14:31:15.435 mirror dst1:/home/git/tools/gerrit.git 7aae09b2 14:31:15.435 mirror dst1:/home/git/tools/gerrit.git
9ad09d27 14:31:25.434 mirror dst2:/var/cache/tools/gerrit.git 9ad09d27 14:31:25.434 mirror dst2:/var/cache/tools/gerrit.git
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
2 tasks 2 tasks
---- ----
GERRIT GERRIT

View File

@ -1,6 +1,6 @@
= gerrit stream-events = gerrit stream-events
== NAME == NAME
gerrit stream-events - Monitor events occurring in real time gerrit stream-events - Monitor events occurring in real time.
== SYNOPSIS == SYNOPSIS
[verse] [verse]
@ -37,16 +37,16 @@ This command is intended to be used in scripts.
== EXAMPLES == EXAMPLES
---- ----
$ ssh -p 29418 review.example.com gerrit stream-events $ ssh -p 29418 review.example.com gerrit stream-events
{"type":"comment-added",change:{"project":"tools/gerrit", ...}, ...} {"type":"comment-added",change:{"project":"tools/gerrit", ...}, ...}
{"type":"comment-added",change:{"project":"tools/gerrit", ...}, ...} {"type":"comment-added",change:{"project":"tools/gerrit", ...}, ...}
---- ----
Only subscribe to specific event types: Only subscribe to specific event types:
---- ----
$ ssh -p 29418 review.example.com gerrit stream-events \ $ ssh -p 29418 review.example.com gerrit stream-events \
-s patchset-created -s ref-replicated -s patchset-created -s ref-replicated
---- ----
== SCHEMA == SCHEMA

View File

@ -1,7 +1,7 @@
= suexec = suexec
== NAME == NAME
suexec - Execute a command as any registered user account suexec - Execute a command as any registered user account.
== SYNOPSIS == SYNOPSIS
[verse] [verse]
@ -49,13 +49,13 @@ This command is intended to be used in scripts.
Approve the change with commit c0ff33 as "Verified +1" as user bob@example.com Approve the change with commit c0ff33 as "Verified +1" as user bob@example.com
---- ----
$ sudo -u gerrit ssh -p 29418 \ $ sudo -u gerrit ssh -p 29418 \
-i site_path/etc/ssh_host_rsa_key \ -i site_path/etc/ssh_host_rsa_key \
"Gerrit Code Review@localhost" \ "Gerrit Code Review@localhost" \
suexec \ suexec \
--as bob@example.com \ --as bob@example.com \
-- \ -- \
gerrit approve --verified +1 c0ff33 gerrit approve --verified +1 c0ff33
---- ----
GERRIT GERRIT

View File

@ -29,29 +29,29 @@ Can be used by anyone that has permission to read the specified changeset.
Test submit_rule from stdin and return the results as JSON. Test submit_rule from stdin and return the results as JSON.
---- ----
cat rules.pl | ssh -p 29418 review.example.com gerrit test-submit rule -s I78f2c6673db24e4e92ed32f604c960dc952437d9 cat rules.pl | ssh -p 29418 review.example.com gerrit test-submit rule -s I78f2c6673db24e4e92ed32f604c960dc952437d9
[ [
{ {
"status": "NOT_READY", "status": "NOT_READY",
"reject": { "reject": {
"Any-Label-Name": {} "Any-Label-Name": {}
} }
} }
] ]
---- ----
Test the active submit_rule from the refs/meta/config branch, ignoring filters in the project parents. Test the active submit_rule from the refs/meta/config branch, ignoring filters in the project parents.
---- ----
$ ssh -p 29418 review.example.com gerrit test-submit rule I78f2c6673db24e4e92ed32f604c960dc952437d9 --no-filters $ ssh -p 29418 review.example.com gerrit test-submit rule I78f2c6673db24e4e92ed32f604c960dc952437d9 --no-filters
[ [
{ {
"status": "NOT_READY", "status": "NOT_READY",
"need": { "need": {
"Code-Review": {} "Code-Review": {}
"Verified": {} "Verified": {}
} }
} }
] ]
---- ----
== SCRIPTING == SCRIPTING

View File

@ -29,14 +29,14 @@ Can be used by anyone that has permission to read the specified change.
Test submit_type from stdin and return the submit type. Test submit_type from stdin and return the submit type.
---- ----
cat rules.pl | ssh -p 29418 review.example.com gerrit test-submit type -s I78f2c6673db24e4e92ed32f604c960dc952437d9 cat rules.pl | ssh -p 29418 review.example.com gerrit test-submit type -s I78f2c6673db24e4e92ed32f604c960dc952437d9
"MERGE_IF_NECESSARY" "MERGE_IF_NECESSARY"
---- ----
Test the active submit_type from the refs/meta/config branch, ignoring filters in the project parents. Test the active submit_type from the refs/meta/config branch, ignoring filters in the project parents.
---- ----
$ ssh -p 29418 review.example.com gerrit test-submit type I78f2c6673db24e4e92ed32f604c960dc952437d9 --no-filters $ ssh -p 29418 review.example.com gerrit test-submit type I78f2c6673db24e4e92ed32f604c960dc952437d9 --no-filters
"MERGE_IF_NECESSARY" "MERGE_IF_NECESSARY"
---- ----
== SCRIPTING == SCRIPTING

View File

@ -1,7 +1,7 @@
= gerrit version = gerrit version
== NAME == NAME
gerrit version - Show the version of the currently executing Gerrit server gerrit version - Show the version of the currently executing Gerrit server.
== SYNOPSIS == SYNOPSIS
[verse] [verse]
@ -34,8 +34,8 @@ This command is intended to be used in scripts.
== EXAMPLES == EXAMPLES
---- ----
$ ssh -p 29418 review.example.com gerrit version $ ssh -p 29418 review.example.com gerrit version
gerrit version 2.4.2 gerrit version 2.4.2
---- ----
GERRIT GERRIT