diff options
-rw-r--r-- | man/repo-smartsync.1 | 6 | ||||
-rw-r--r-- | man/repo-sync.1 | 6 | ||||
-rw-r--r-- | man/repo-upload.1 | 17 | ||||
-rw-r--r-- | subcmds/upload.py | 7 |
4 files changed, 29 insertions, 7 deletions
diff --git a/man/repo-smartsync.1 b/man/repo-smartsync.1 index 7f8c65a8..8475adf1 100644 --- a/man/repo-smartsync.1 +++ b/man/repo-smartsync.1 | |||
@@ -1,5 +1,5 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | 1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. |
2 | .TH REPO "1" "July 2022" "repo smartsync" "Repo Manual" | 2 | .TH REPO "1" "August 2022" "repo smartsync" "Repo Manual" |
3 | .SH NAME | 3 | .SH NAME |
4 | repo \- repo smartsync - manual page for repo smartsync | 4 | repo \- repo smartsync - manual page for repo smartsync |
5 | .SH SYNOPSIS | 5 | .SH SYNOPSIS |
@@ -20,11 +20,11 @@ number of CPU cores) | |||
20 | .TP | 20 | .TP |
21 | \fB\-\-jobs\-network\fR=\fI\,JOBS\/\fR | 21 | \fB\-\-jobs\-network\fR=\fI\,JOBS\/\fR |
22 | number of network jobs to run in parallel (defaults to | 22 | number of network jobs to run in parallel (defaults to |
23 | \fB\-\-jobs\fR) | 23 | \fB\-\-jobs\fR or 1) |
24 | .TP | 24 | .TP |
25 | \fB\-\-jobs\-checkout\fR=\fI\,JOBS\/\fR | 25 | \fB\-\-jobs\-checkout\fR=\fI\,JOBS\/\fR |
26 | number of local checkout jobs to run in parallel | 26 | number of local checkout jobs to run in parallel |
27 | (defaults to \fB\-\-jobs\fR) | 27 | (defaults to \fB\-\-jobs\fR or 8) |
28 | .TP | 28 | .TP |
29 | \fB\-f\fR, \fB\-\-force\-broken\fR | 29 | \fB\-f\fR, \fB\-\-force\-broken\fR |
30 | obsolete option (to be deleted in the future) | 30 | obsolete option (to be deleted in the future) |
diff --git a/man/repo-sync.1 b/man/repo-sync.1 index 564f79be..9cc528dd 100644 --- a/man/repo-sync.1 +++ b/man/repo-sync.1 | |||
@@ -1,5 +1,5 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | 1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. |
2 | .TH REPO "1" "July 2022" "repo sync" "Repo Manual" | 2 | .TH REPO "1" "August 2022" "repo sync" "Repo Manual" |
3 | .SH NAME | 3 | .SH NAME |
4 | repo \- repo sync - manual page for repo sync | 4 | repo \- repo sync - manual page for repo sync |
5 | .SH SYNOPSIS | 5 | .SH SYNOPSIS |
@@ -20,11 +20,11 @@ number of CPU cores) | |||
20 | .TP | 20 | .TP |
21 | \fB\-\-jobs\-network\fR=\fI\,JOBS\/\fR | 21 | \fB\-\-jobs\-network\fR=\fI\,JOBS\/\fR |
22 | number of network jobs to run in parallel (defaults to | 22 | number of network jobs to run in parallel (defaults to |
23 | \fB\-\-jobs\fR) | 23 | \fB\-\-jobs\fR or 1) |
24 | .TP | 24 | .TP |
25 | \fB\-\-jobs\-checkout\fR=\fI\,JOBS\/\fR | 25 | \fB\-\-jobs\-checkout\fR=\fI\,JOBS\/\fR |
26 | number of local checkout jobs to run in parallel | 26 | number of local checkout jobs to run in parallel |
27 | (defaults to \fB\-\-jobs\fR) | 27 | (defaults to \fB\-\-jobs\fR or 8) |
28 | .TP | 28 | .TP |
29 | \fB\-f\fR, \fB\-\-force\-broken\fR | 29 | \fB\-f\fR, \fB\-\-force\-broken\fR |
30 | obsolete option (to be deleted in the future) | 30 | obsolete option (to be deleted in the future) |
diff --git a/man/repo-upload.1 b/man/repo-upload.1 index d7fa9769..b8f6677c 100644 --- a/man/repo-upload.1 +++ b/man/repo-upload.1 | |||
@@ -1,5 +1,5 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | 1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. |
2 | .TH REPO "1" "July 2022" "repo upload" "Repo Manual" | 2 | .TH REPO "1" "August 2022" "repo upload" "Repo Manual" |
3 | .SH NAME | 3 | .SH NAME |
4 | repo \- repo upload - manual page for repo upload | 4 | repo \- repo upload - manual page for repo upload |
5 | .SH SYNOPSIS | 5 | .SH SYNOPSIS |
@@ -54,6 +54,9 @@ upload as a private change (deprecated; use \fB\-\-wip\fR) | |||
54 | \fB\-w\fR, \fB\-\-wip\fR | 54 | \fB\-w\fR, \fB\-\-wip\fR |
55 | upload as a work\-in\-progress change | 55 | upload as a work\-in\-progress change |
56 | .TP | 56 | .TP |
57 | \fB\-r\fR, \fB\-\-ready\fR | ||
58 | mark change as ready (clears work\-in\-progress setting) | ||
59 | .TP | ||
57 | \fB\-o\fR PUSH_OPTIONS, \fB\-\-push\-option\fR=\fI\,PUSH_OPTIONS\/\fR | 60 | \fB\-o\fR PUSH_OPTIONS, \fB\-\-push\-option\fR=\fI\,PUSH_OPTIONS\/\fR |
58 | additional push options to transmit | 61 | additional push options to transmit |
59 | .TP | 62 | .TP |
@@ -66,6 +69,12 @@ do everything except actually upload the CL | |||
66 | \fB\-y\fR, \fB\-\-yes\fR | 69 | \fB\-y\fR, \fB\-\-yes\fR |
67 | answer yes to all safe prompts | 70 | answer yes to all safe prompts |
68 | .TP | 71 | .TP |
72 | \fB\-\-ignore\-untracked\-files\fR | ||
73 | ignore untracked files in the working copy | ||
74 | .TP | ||
75 | \fB\-\-no\-ignore\-untracked\-files\fR | ||
76 | always ask about untracked files in the working copy | ||
77 | .TP | ||
69 | \fB\-\-no\-cert\-checks\fR | 78 | \fB\-\-no\-cert\-checks\fR |
70 | disable verifying ssl certs (unsafe) | 79 | disable verifying ssl certs (unsafe) |
71 | .SS Logging options: | 80 | .SS Logging options: |
@@ -118,6 +127,12 @@ respective list of users, and emails are sent to any new users. Users passed as | |||
118 | \fB\-\-reviewers\fR must already be registered with the code review system, or the | 127 | \fB\-\-reviewers\fR must already be registered with the code review system, or the |
119 | upload will fail. | 128 | upload will fail. |
120 | .PP | 129 | .PP |
130 | While most normal Gerrit options have dedicated command line options, direct | ||
131 | access to the Gerit options is available via \fB\-\-push\-options\fR. This is useful when | ||
132 | Gerrit has newer functionality that repo upload doesn't yet support, or doesn't | ||
133 | have plans to support. See the Push Options documentation for more details: | ||
134 | https://gerrit\-review.googlesource.com/Documentation/user\-upload.html#push_options | ||
135 | .PP | ||
121 | Configuration | 136 | Configuration |
122 | .PP | 137 | .PP |
123 | review.URL.autoupload: | 138 | review.URL.autoupload: |
diff --git a/subcmds/upload.py b/subcmds/upload.py index 01d1dea4..ac2ed146 100644 --- a/subcmds/upload.py +++ b/subcmds/upload.py | |||
@@ -78,6 +78,13 @@ added to the respective list of users, and emails are sent to any | |||
78 | new users. Users passed as --reviewers must already be registered | 78 | new users. Users passed as --reviewers must already be registered |
79 | with the code review system, or the upload will fail. | 79 | with the code review system, or the upload will fail. |
80 | 80 | ||
81 | While most normal Gerrit options have dedicated command line options, | ||
82 | direct access to the Gerit options is available via --push-options. | ||
83 | This is useful when Gerrit has newer functionality that %prog doesn't | ||
84 | yet support, or doesn't have plans to support. See the Push Options | ||
85 | documentation for more details: | ||
86 | https://gerrit-review.googlesource.com/Documentation/user-upload.html#push_options | ||
87 | |||
81 | # Configuration | 88 | # Configuration |
82 | 89 | ||
83 | review.URL.autoupload: | 90 | review.URL.autoupload: |