summaryrefslogtreecommitdiffstats
path: root/man/repo-init.1
diff options
context:
space:
mode:
authorJack Neus <jackneus@google.com>2021-07-26 23:08:54 +0000
committerJack Neus <jackneus@google.com>2021-09-28 15:40:46 +0000
commitc474c9cba1a8fbe09c219cc588d9ed334d31cd1e (patch)
tree16cfecbac2dcd974c7971536bf2bda15d7296f66 /man/repo-init.1
parent956f7363d100abe6c1f58b36d7aea59b9e41cd04 (diff)
downloadgit-repo-c474c9cba1a8fbe09c219cc588d9ed334d31cd1e.tar.gz
repo: Add support for standalone manifests
Added --standalone_manifest to repo tool. If set, the manifest is downloaded directly from the appropriate source (currently, we only support GS) and used instead of creating a manifest git checkout. The manifests.git repo is still created to keep track of various config but is marked as being for a standalone manifest so that the repo tool doesn't try to run networked git commands in it. BUG=b:192664812 TEST=existing tests (no coverage), manual runs Change-Id: I84378cbc7f8e515eabeccdde9665efc8cd2a9d21 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/312942 Tested-by: Jack Neus <jackneus@google.com> Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'man/repo-init.1')
-rw-r--r--man/repo-init.112
1 files changed, 11 insertions, 1 deletions
diff --git a/man/repo-init.1 b/man/repo-init.1
index e860f95d..9957b64d 100644
--- a/man/repo-init.1
+++ b/man/repo-init.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 2021" "repo init" "Repo Manual" 2.TH REPO "1" "September 2021" "repo init" "Repo Manual"
3.SH NAME 3.SH NAME
4repo \- repo init - manual page for repo init 4repo \- repo init - manual page for repo init
5.SH SYNOPSIS 5.SH SYNOPSIS
@@ -31,6 +31,10 @@ manifest branch or revision (use HEAD for default)
31\fB\-m\fR NAME.xml, \fB\-\-manifest\-name\fR=\fI\,NAME\/\fR.xml 31\fB\-m\fR NAME.xml, \fB\-\-manifest\-name\fR=\fI\,NAME\/\fR.xml
32initial manifest file 32initial manifest file
33.TP 33.TP
34\fB\-\-standalone\-manifest\fR
35download the manifest as a static file rather then
36create a git checkout of the manifest repo
37.TP
34\fB\-g\fR GROUP, \fB\-\-groups\fR=\fI\,GROUP\/\fR 38\fB\-g\fR GROUP, \fB\-\-groups\fR=\fI\,GROUP\/\fR
35restrict manifest projects to ones with specified 39restrict manifest projects to ones with specified
36group(s) [default|all|G1,G2,G3|G4,\-G5,\-G6] 40group(s) [default|all|G1,G2,G3|G4,\-G5,\-G6]
@@ -137,6 +141,12 @@ equivalent to using \fB\-b\fR HEAD.
137The optional \fB\-m\fR argument can be used to specify an alternate manifest to be 141The optional \fB\-m\fR argument can be used to specify an alternate manifest to be
138used. If no manifest is specified, the manifest default.xml will be used. 142used. If no manifest is specified, the manifest default.xml will be used.
139.PP 143.PP
144If the \fB\-\-standalone\-manifest\fR argument is set, the manifest will be downloaded
145directly from the specified \fB\-\-manifest\-url\fR as a static file (rather than setting
146up a manifest git checkout). With \fB\-\-standalone\-manifest\fR, the manifest will be
147fully static and will not be re\-downloaded during subsesquent `repo init` and
148`repo sync` calls.
149.PP
140The \fB\-\-reference\fR option can be used to point to a directory that has the content 150The \fB\-\-reference\fR option can be used to point to a directory that has the content
141of a \fB\-\-mirror\fR sync. This will make the working directory use as much data as 151of a \fB\-\-mirror\fR sync. This will make the working directory use as much data as
142possible from the local reference directory when fetching from the server. This 152possible from the local reference directory when fetching from the server. This