diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/repo-abandon.1 | 36 | ||||
-rw-r--r-- | man/repo-branch.1 | 1 | ||||
-rw-r--r-- | man/repo-branches.1 | 59 | ||||
-rw-r--r-- | man/repo-checkout.1 | 36 | ||||
-rw-r--r-- | man/repo-cherry-pick.1 | 28 | ||||
-rw-r--r-- | man/repo-diff.1 | 35 | ||||
-rw-r--r-- | man/repo-diffmanifests.1 | 61 | ||||
-rw-r--r-- | man/repo-download.1 | 44 | ||||
-rw-r--r-- | man/repo-forall.1 | 128 | ||||
-rw-r--r-- | man/repo-gitc-delete.1 | 31 | ||||
-rw-r--r-- | man/repo-gitc-init.1 | 150 | ||||
-rw-r--r-- | man/repo-grep.1 | 119 | ||||
-rw-r--r-- | man/repo-help.1 | 33 | ||||
-rw-r--r-- | man/repo-info.1 | 40 | ||||
-rw-r--r-- | man/repo-init.1 | 170 | ||||
-rw-r--r-- | man/repo-list.1 | 61 | ||||
-rw-r--r-- | man/repo-manifest.1 | 548 | ||||
-rw-r--r-- | man/repo-overview.1 | 39 | ||||
-rw-r--r-- | man/repo-prune.1 | 28 | ||||
-rw-r--r-- | man/repo-rebase.1 | 55 | ||||
-rw-r--r-- | man/repo-selfupdate.1 | 35 | ||||
-rw-r--r-- | man/repo-smartsync.1 | 118 | ||||
-rw-r--r-- | man/repo-stage.1 | 30 | ||||
-rw-r--r-- | man/repo-start.1 | 41 | ||||
-rw-r--r-- | man/repo-status.1 | 98 | ||||
-rw-r--r-- | man/repo-sync.1 | 209 | ||||
-rw-r--r-- | man/repo-upload.1 | 175 | ||||
-rw-r--r-- | man/repo-version.1 | 24 | ||||
-rw-r--r-- | man/repo.1 | 133 |
29 files changed, 2565 insertions, 0 deletions
diff --git a/man/repo-abandon.1 b/man/repo-abandon.1 new file mode 100644 index 00000000..b3c0422f --- /dev/null +++ b/man/repo-abandon.1 | |||
@@ -0,0 +1,36 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo abandon" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo abandon - manual page for repo abandon | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,abandon \/\fR[\fI\,--all | <branchname>\/\fR] [\fI\,<project>\/\fR...] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Permanently abandon a development branch | ||
12 | .PP | ||
13 | This subcommand permanently abandons a development branch by | ||
14 | deleting it (and all its history) from your local repository. | ||
15 | .PP | ||
16 | It is equivalent to "git branch \fB\-D\fR <branchname>". | ||
17 | .SH OPTIONS | ||
18 | .TP | ||
19 | \fB\-h\fR, \fB\-\-help\fR | ||
20 | show this help message and exit | ||
21 | .TP | ||
22 | \fB\-j\fR JOBS, \fB\-\-jobs\fR=\fI\,JOBS\/\fR | ||
23 | number of jobs to run in parallel (default: based on | ||
24 | number of CPU cores) | ||
25 | .TP | ||
26 | \fB\-\-all\fR | ||
27 | delete all branches in all projects | ||
28 | .SS Logging options: | ||
29 | .TP | ||
30 | \fB\-v\fR, \fB\-\-verbose\fR | ||
31 | show all output | ||
32 | .TP | ||
33 | \fB\-q\fR, \fB\-\-quiet\fR | ||
34 | only show errors | ||
35 | .PP | ||
36 | Run `repo help abandon` to view the detailed manual. | ||
diff --git a/man/repo-branch.1 b/man/repo-branch.1 new file mode 100644 index 00000000..854ee98b --- /dev/null +++ b/man/repo-branch.1 | |||
@@ -0,0 +1 @@ | |||
.so man1/repo-branches.1 \ No newline at end of file | |||
diff --git a/man/repo-branches.1 b/man/repo-branches.1 new file mode 100644 index 00000000..7fe0b02d --- /dev/null +++ b/man/repo-branches.1 | |||
@@ -0,0 +1,59 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo branches" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo branches - manual page for repo branches | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,branches \/\fR[\fI\,<project>\/\fR...] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | View current topic branches | ||
12 | .PP | ||
13 | Summarizes the currently available topic branches. | ||
14 | .PP | ||
15 | # Branch Display | ||
16 | .PP | ||
17 | The branch display output by this command is organized into four | ||
18 | columns of information; for example: | ||
19 | .TP | ||
20 | *P nocolor | ||
21 | | in repo | ||
22 | .TP | ||
23 | repo2 | ||
24 | | | ||
25 | .PP | ||
26 | The first column contains a * if the branch is the currently | ||
27 | checked out branch in any of the specified projects, or a blank | ||
28 | if no project has the branch checked out. | ||
29 | .PP | ||
30 | The second column contains either blank, p or P, depending upon | ||
31 | the upload status of the branch. | ||
32 | .IP | ||
33 | (blank): branch not yet published by repo upload | ||
34 | .IP | ||
35 | P: all commits were published by repo upload | ||
36 | p: only some commits were published by repo upload | ||
37 | .PP | ||
38 | The third column contains the branch name. | ||
39 | .PP | ||
40 | The fourth column (after the | separator) lists the projects that | ||
41 | the branch appears in, or does not appear in. If no project list | ||
42 | is shown, then the branch appears in all projects. | ||
43 | .SH OPTIONS | ||
44 | .TP | ||
45 | \fB\-h\fR, \fB\-\-help\fR | ||
46 | show this help message and exit | ||
47 | .TP | ||
48 | \fB\-j\fR JOBS, \fB\-\-jobs\fR=\fI\,JOBS\/\fR | ||
49 | number of jobs to run in parallel (default: based on | ||
50 | number of CPU cores) | ||
51 | .SS Logging options: | ||
52 | .TP | ||
53 | \fB\-v\fR, \fB\-\-verbose\fR | ||
54 | show all output | ||
55 | .TP | ||
56 | \fB\-q\fR, \fB\-\-quiet\fR | ||
57 | only show errors | ||
58 | .PP | ||
59 | Run `repo help branches` to view the detailed manual. | ||
diff --git a/man/repo-checkout.1 b/man/repo-checkout.1 new file mode 100644 index 00000000..6dd3e6ca --- /dev/null +++ b/man/repo-checkout.1 | |||
@@ -0,0 +1,36 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo checkout" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo checkout - manual page for repo checkout | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,checkout <branchname> \/\fR[\fI\,<project>\/\fR...] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Checkout a branch for development | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .TP | ||
17 | \fB\-j\fR JOBS, \fB\-\-jobs\fR=\fI\,JOBS\/\fR | ||
18 | number of jobs to run in parallel (default: based on | ||
19 | number of CPU cores) | ||
20 | .SS Logging options: | ||
21 | .TP | ||
22 | \fB\-v\fR, \fB\-\-verbose\fR | ||
23 | show all output | ||
24 | .TP | ||
25 | \fB\-q\fR, \fB\-\-quiet\fR | ||
26 | only show errors | ||
27 | .PP | ||
28 | Run `repo help checkout` to view the detailed manual. | ||
29 | .SH DETAILS | ||
30 | .PP | ||
31 | The 'repo checkout' command checks out an existing branch that was previously | ||
32 | created by 'repo start'. | ||
33 | .PP | ||
34 | The command is equivalent to: | ||
35 | .IP | ||
36 | repo forall [<project>...] \fB\-c\fR git checkout <branchname> | ||
diff --git a/man/repo-cherry-pick.1 b/man/repo-cherry-pick.1 new file mode 100644 index 00000000..e7716c55 --- /dev/null +++ b/man/repo-cherry-pick.1 | |||
@@ -0,0 +1,28 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo cherry-pick" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo cherry-pick - manual page for repo cherry-pick | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,cherry-pick <sha1>\/\fR | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Cherry\-pick a change. | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .SS Logging options: | ||
17 | .TP | ||
18 | \fB\-v\fR, \fB\-\-verbose\fR | ||
19 | show all output | ||
20 | .TP | ||
21 | \fB\-q\fR, \fB\-\-quiet\fR | ||
22 | only show errors | ||
23 | .PP | ||
24 | Run `repo help cherry\-pick` to view the detailed manual. | ||
25 | .SH DETAILS | ||
26 | .PP | ||
27 | \&'repo cherry\-pick' cherry\-picks a change from one branch to another. The change | ||
28 | id will be updated, and a reference to the old change id will be added. | ||
diff --git a/man/repo-diff.1 b/man/repo-diff.1 new file mode 100644 index 00000000..890f8d22 --- /dev/null +++ b/man/repo-diff.1 | |||
@@ -0,0 +1,35 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo diff" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo diff - manual page for repo diff | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,diff \/\fR[\fI\,<project>\/\fR...] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Show changes between commit and working tree | ||
12 | .PP | ||
13 | The \fB\-u\fR option causes 'repo diff' to generate diff output with file paths | ||
14 | relative to the repository root, so the output can be applied | ||
15 | to the Unix 'patch' command. | ||
16 | .SH OPTIONS | ||
17 | .TP | ||
18 | \fB\-h\fR, \fB\-\-help\fR | ||
19 | show this help message and exit | ||
20 | .TP | ||
21 | \fB\-j\fR JOBS, \fB\-\-jobs\fR=\fI\,JOBS\/\fR | ||
22 | number of jobs to run in parallel (default: based on | ||
23 | number of CPU cores) | ||
24 | .TP | ||
25 | \fB\-u\fR, \fB\-\-absolute\fR | ||
26 | paths are relative to the repository root | ||
27 | .SS Logging options: | ||
28 | .TP | ||
29 | \fB\-v\fR, \fB\-\-verbose\fR | ||
30 | show all output | ||
31 | .TP | ||
32 | \fB\-q\fR, \fB\-\-quiet\fR | ||
33 | only show errors | ||
34 | .PP | ||
35 | Run `repo help diff` to view the detailed manual. | ||
diff --git a/man/repo-diffmanifests.1 b/man/repo-diffmanifests.1 new file mode 100644 index 00000000..add50f17 --- /dev/null +++ b/man/repo-diffmanifests.1 | |||
@@ -0,0 +1,61 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo diffmanifests" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo diffmanifests - manual page for repo diffmanifests | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,diffmanifests manifest1.xml \/\fR[\fI\,manifest2.xml\/\fR] [\fI\,options\/\fR] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Manifest diff utility | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .TP | ||
17 | \fB\-\-raw\fR | ||
18 | display raw diff | ||
19 | .TP | ||
20 | \fB\-\-no\-color\fR | ||
21 | does not display the diff in color | ||
22 | .TP | ||
23 | \fB\-\-pretty\-format=\fR<FORMAT> | ||
24 | print the log using a custom git pretty format string | ||
25 | .SS Logging options: | ||
26 | .TP | ||
27 | \fB\-v\fR, \fB\-\-verbose\fR | ||
28 | show all output | ||
29 | .TP | ||
30 | \fB\-q\fR, \fB\-\-quiet\fR | ||
31 | only show errors | ||
32 | .PP | ||
33 | Run `repo help diffmanifests` to view the detailed manual. | ||
34 | .SH DETAILS | ||
35 | .PP | ||
36 | The repo diffmanifests command shows differences between project revisions of | ||
37 | manifest1 and manifest2. if manifest2 is not specified, current manifest.xml | ||
38 | will be used instead. Both absolute and relative paths may be used for | ||
39 | manifests. Relative paths start from project's ".repo/manifests" folder. | ||
40 | .PP | ||
41 | The \fB\-\-raw\fR option Displays the diff in a way that facilitates parsing, the | ||
42 | project pattern will be <status> <path> <revision from> [<revision to>] and the | ||
43 | commit pattern will be <status> <onelined log> with status values respectively : | ||
44 | .IP | ||
45 | A = Added project | ||
46 | R = Removed project | ||
47 | C = Changed project | ||
48 | U = Project with unreachable revision(s) (revision(s) not found) | ||
49 | .PP | ||
50 | for project, and | ||
51 | .IP | ||
52 | A = Added commit | ||
53 | R = Removed commit | ||
54 | .PP | ||
55 | for a commit. | ||
56 | .PP | ||
57 | Only changed projects may contain commits, and commit status always starts with | ||
58 | a space, and are part of last printed project. Unreachable revisions may occur | ||
59 | if project is not up to date or if repo has not been initialized with all the | ||
60 | groups, in which case some projects won't be synced and their revisions won't be | ||
61 | found. | ||
diff --git a/man/repo-download.1 b/man/repo-download.1 new file mode 100644 index 00000000..cf7f767d --- /dev/null +++ b/man/repo-download.1 | |||
@@ -0,0 +1,44 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo download" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo download - manual page for repo download | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,download {\/\fR[\fI\,project\/\fR] \fI\,change\/\fR[\fI\,/patchset\/\fR]\fI\,}\/\fR... | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Download and checkout a change | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .TP | ||
17 | \fB\-b\fR BRANCH, \fB\-\-branch\fR=\fI\,BRANCH\/\fR | ||
18 | create a new branch first | ||
19 | .TP | ||
20 | \fB\-c\fR, \fB\-\-cherry\-pick\fR | ||
21 | cherry\-pick instead of checkout | ||
22 | .TP | ||
23 | \fB\-x\fR, \fB\-\-record\-origin\fR | ||
24 | pass \fB\-x\fR when cherry\-picking | ||
25 | .TP | ||
26 | \fB\-r\fR, \fB\-\-revert\fR | ||
27 | revert instead of checkout | ||
28 | .TP | ||
29 | \fB\-f\fR, \fB\-\-ff\-only\fR | ||
30 | force fast\-forward merge | ||
31 | .SS Logging options: | ||
32 | .TP | ||
33 | \fB\-v\fR, \fB\-\-verbose\fR | ||
34 | show all output | ||
35 | .TP | ||
36 | \fB\-q\fR, \fB\-\-quiet\fR | ||
37 | only show errors | ||
38 | .PP | ||
39 | Run `repo help download` to view the detailed manual. | ||
40 | .SH DETAILS | ||
41 | .PP | ||
42 | The 'repo download' command downloads a change from the review system and makes | ||
43 | it available in your project's local working directory. If no project is | ||
44 | specified try to use current directory as a project. | ||
diff --git a/man/repo-forall.1 b/man/repo-forall.1 new file mode 100644 index 00000000..eb2ad57b --- /dev/null +++ b/man/repo-forall.1 | |||
@@ -0,0 +1,128 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo forall" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo forall - manual page for repo forall | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,forall \/\fR[\fI\,<project>\/\fR...] \fI\,-c <command> \/\fR[\fI\,<arg>\/\fR...] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Run a shell command in each project | ||
12 | .PP | ||
13 | repo forall \fB\-r\fR str1 [str2] ... \fB\-c\fR <command> [<arg>...] | ||
14 | .SH OPTIONS | ||
15 | .TP | ||
16 | \fB\-h\fR, \fB\-\-help\fR | ||
17 | show this help message and exit | ||
18 | .TP | ||
19 | \fB\-j\fR JOBS, \fB\-\-jobs\fR=\fI\,JOBS\/\fR | ||
20 | number of jobs to run in parallel (default: based on | ||
21 | number of CPU cores) | ||
22 | .TP | ||
23 | \fB\-r\fR, \fB\-\-regex\fR | ||
24 | execute the command only on projects matching regex or | ||
25 | wildcard expression | ||
26 | .TP | ||
27 | \fB\-i\fR, \fB\-\-inverse\-regex\fR | ||
28 | execute the command only on projects not matching | ||
29 | regex or wildcard expression | ||
30 | .TP | ||
31 | \fB\-g\fR GROUPS, \fB\-\-groups\fR=\fI\,GROUPS\/\fR | ||
32 | execute the command only on projects matching the | ||
33 | specified groups | ||
34 | .TP | ||
35 | \fB\-c\fR, \fB\-\-command\fR | ||
36 | command (and arguments) to execute | ||
37 | .TP | ||
38 | \fB\-e\fR, \fB\-\-abort\-on\-errors\fR | ||
39 | abort if a command exits unsuccessfully | ||
40 | .TP | ||
41 | \fB\-\-ignore\-missing\fR | ||
42 | silently skip & do not exit non\-zero due missing | ||
43 | checkouts | ||
44 | .TP | ||
45 | \fB\-\-interactive\fR | ||
46 | force interactive usage | ||
47 | .SS Logging options: | ||
48 | .TP | ||
49 | \fB\-v\fR, \fB\-\-verbose\fR | ||
50 | show all output | ||
51 | .TP | ||
52 | \fB\-q\fR, \fB\-\-quiet\fR | ||
53 | only show errors | ||
54 | .TP | ||
55 | \fB\-p\fR | ||
56 | show project headers before output | ||
57 | .PP | ||
58 | Run `repo help forall` to view the detailed manual. | ||
59 | .SH DETAILS | ||
60 | .PP | ||
61 | Executes the same shell command in each project. | ||
62 | .PP | ||
63 | The \fB\-r\fR option allows running the command only on projects matching regex or | ||
64 | wildcard expression. | ||
65 | .PP | ||
66 | By default, projects are processed non\-interactively in parallel. If you want to | ||
67 | run interactive commands, make sure to pass \fB\-\-interactive\fR to force \fB\-\-jobs\fR 1. | ||
68 | While the processing order of projects is not guaranteed, the order of project | ||
69 | output is stable. | ||
70 | .PP | ||
71 | Output Formatting | ||
72 | .PP | ||
73 | The \fB\-p\fR option causes 'repo forall' to bind pipes to the command's stdin, stdout | ||
74 | and stderr streams, and pipe all output into a continuous stream that is | ||
75 | displayed in a single pager session. Project headings are inserted before the | ||
76 | output of each command is displayed. If the command produces no output in a | ||
77 | project, no heading is displayed. | ||
78 | .PP | ||
79 | The formatting convention used by \fB\-p\fR is very suitable for some types of | ||
80 | searching, e.g. `repo forall \fB\-p\fR \fB\-c\fR git log \fB\-SFoo\fR` will print all commits that | ||
81 | add or remove references to Foo. | ||
82 | .PP | ||
83 | The \fB\-v\fR option causes 'repo forall' to display stderr messages if a command | ||
84 | produces output only on stderr. Normally the \fB\-p\fR option causes command output to | ||
85 | be suppressed until the command produces at least one byte of output on stdout. | ||
86 | .PP | ||
87 | Environment | ||
88 | .PP | ||
89 | pwd is the project's working directory. If the current client is a mirror | ||
90 | client, then pwd is the Git repository. | ||
91 | .PP | ||
92 | REPO_PROJECT is set to the unique name of the project. | ||
93 | .PP | ||
94 | REPO_PATH is the path relative the the root of the client. | ||
95 | .PP | ||
96 | REPO_REMOTE is the name of the remote system from the manifest. | ||
97 | .PP | ||
98 | REPO_LREV is the name of the revision from the manifest, translated to a local | ||
99 | tracking branch. If you need to pass the manifest revision to a locally executed | ||
100 | git command, use REPO_LREV. | ||
101 | .PP | ||
102 | REPO_RREV is the name of the revision from the manifest, exactly as written in | ||
103 | the manifest. | ||
104 | .PP | ||
105 | REPO_COUNT is the total number of projects being iterated. | ||
106 | .PP | ||
107 | REPO_I is the current (1\-based) iteration count. Can be used in conjunction with | ||
108 | REPO_COUNT to add a simple progress indicator to your command. | ||
109 | .PP | ||
110 | REPO__* are any extra environment variables, specified by the "annotation" | ||
111 | element under any project element. This can be useful for differentiating trees | ||
112 | based on user\-specific criteria, or simply annotating tree details. | ||
113 | .PP | ||
114 | shell positional arguments ($1, $2, .., $#) are set to any arguments following | ||
115 | <command>. | ||
116 | .PP | ||
117 | Example: to list projects: | ||
118 | .IP | ||
119 | repo forall \fB\-c\fR 'echo $REPO_PROJECT' | ||
120 | .PP | ||
121 | Notice that $REPO_PROJECT is quoted to ensure it is expanded in the context of | ||
122 | running <command> instead of in the calling shell. | ||
123 | .PP | ||
124 | Unless \fB\-p\fR is used, stdin, stdout, stderr are inherited from the terminal and are | ||
125 | not redirected. | ||
126 | .PP | ||
127 | If \fB\-e\fR is used, when a command exits unsuccessfully, 'repo forall' will abort | ||
128 | without iterating through the remaining projects. | ||
diff --git a/man/repo-gitc-delete.1 b/man/repo-gitc-delete.1 new file mode 100644 index 00000000..c84c6e45 --- /dev/null +++ b/man/repo-gitc-delete.1 | |||
@@ -0,0 +1,31 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo gitc-delete" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo gitc-delete - manual page for repo gitc-delete | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,gitc-delete\/\fR | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Delete a GITC Client. | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .TP | ||
17 | \fB\-f\fR, \fB\-\-force\fR | ||
18 | force the deletion (no prompt) | ||
19 | .SS Logging options: | ||
20 | .TP | ||
21 | \fB\-v\fR, \fB\-\-verbose\fR | ||
22 | show all output | ||
23 | .TP | ||
24 | \fB\-q\fR, \fB\-\-quiet\fR | ||
25 | only show errors | ||
26 | .PP | ||
27 | Run `repo help gitc\-delete` to view the detailed manual. | ||
28 | .SH DETAILS | ||
29 | .PP | ||
30 | This subcommand deletes the current GITC client, deleting the GITC manifest and | ||
31 | all locally downloaded sources. | ||
diff --git a/man/repo-gitc-init.1 b/man/repo-gitc-init.1 new file mode 100644 index 00000000..9b61866e --- /dev/null +++ b/man/repo-gitc-init.1 | |||
@@ -0,0 +1,150 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "September 2021" "repo gitc-init" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo gitc-init - manual page for repo gitc-init | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,gitc-init \/\fR[\fI\,options\/\fR] [\fI\,client name\/\fR] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Initialize a GITC Client. | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .SS Logging options: | ||
17 | .TP | ||
18 | \fB\-v\fR, \fB\-\-verbose\fR | ||
19 | show all output | ||
20 | .TP | ||
21 | \fB\-q\fR, \fB\-\-quiet\fR | ||
22 | only show errors | ||
23 | .SS Manifest options: | ||
24 | .TP | ||
25 | \fB\-u\fR URL, \fB\-\-manifest\-url\fR=\fI\,URL\/\fR | ||
26 | manifest repository location | ||
27 | .TP | ||
28 | \fB\-b\fR REVISION, \fB\-\-manifest\-branch\fR=\fI\,REVISION\/\fR | ||
29 | manifest branch or revision (use HEAD for default) | ||
30 | .TP | ||
31 | \fB\-m\fR NAME.xml, \fB\-\-manifest\-name\fR=\fI\,NAME\/\fR.xml | ||
32 | initial manifest file | ||
33 | .TP | ||
34 | \fB\-\-standalone\-manifest\fR | ||
35 | download the manifest as a static file rather then | ||
36 | create a git checkout of the manifest repo | ||
37 | .TP | ||
38 | \fB\-g\fR GROUP, \fB\-\-groups\fR=\fI\,GROUP\/\fR | ||
39 | restrict manifest projects to ones with specified | ||
40 | group(s) [default|all|G1,G2,G3|G4,\-G5,\-G6] | ||
41 | .TP | ||
42 | \fB\-p\fR PLATFORM, \fB\-\-platform\fR=\fI\,PLATFORM\/\fR | ||
43 | restrict manifest projects to ones with a specified | ||
44 | platform group [auto|all|none|linux|darwin|...] | ||
45 | .TP | ||
46 | \fB\-\-submodules\fR | ||
47 | sync any submodules associated with the manifest repo | ||
48 | .SS Manifest (only) checkout options: | ||
49 | .TP | ||
50 | \fB\-\-current\-branch\fR | ||
51 | fetch only current manifest branch from server | ||
52 | .TP | ||
53 | \fB\-\-no\-current\-branch\fR | ||
54 | fetch all manifest branches from server | ||
55 | .TP | ||
56 | \fB\-\-tags\fR | ||
57 | fetch tags in the manifest | ||
58 | .TP | ||
59 | \fB\-\-no\-tags\fR | ||
60 | don't fetch tags in the manifest | ||
61 | .SS Checkout modes: | ||
62 | .TP | ||
63 | \fB\-\-mirror\fR | ||
64 | create a replica of the remote repositories rather | ||
65 | than a client working directory | ||
66 | .TP | ||
67 | \fB\-\-archive\fR | ||
68 | checkout an archive instead of a git repository for | ||
69 | each project. See git archive. | ||
70 | .TP | ||
71 | \fB\-\-worktree\fR | ||
72 | use git\-worktree to manage projects | ||
73 | .SS Project checkout optimizations: | ||
74 | .TP | ||
75 | \fB\-\-reference\fR=\fI\,DIR\/\fR | ||
76 | location of mirror directory | ||
77 | .TP | ||
78 | \fB\-\-dissociate\fR | ||
79 | dissociate from reference mirrors after clone | ||
80 | .TP | ||
81 | \fB\-\-depth\fR=\fI\,DEPTH\/\fR | ||
82 | create a shallow clone with given depth; see git clone | ||
83 | .TP | ||
84 | \fB\-\-partial\-clone\fR | ||
85 | perform partial clone (https://gitscm.com/docs/gitrepositorylayout#_code_partialclone_code) | ||
86 | .TP | ||
87 | \fB\-\-no\-partial\-clone\fR | ||
88 | disable use of partial clone (https://gitscm.com/docs/gitrepositorylayout#_code_partialclone_code) | ||
89 | .TP | ||
90 | \fB\-\-partial\-clone\-exclude\fR=\fI\,PARTIAL_CLONE_EXCLUDE\/\fR | ||
91 | exclude the specified projects (a comma\-delimited | ||
92 | project names) from partial clone (https://gitscm.com/docs/gitrepositorylayout#_code_partialclone_code) | ||
93 | .TP | ||
94 | \fB\-\-clone\-filter\fR=\fI\,CLONE_FILTER\/\fR | ||
95 | filter for use with \fB\-\-partial\-clone\fR [default: | ||
96 | blob:none] | ||
97 | .TP | ||
98 | \fB\-\-use\-superproject\fR | ||
99 | use the manifest superproject to sync projects | ||
100 | .TP | ||
101 | \fB\-\-no\-use\-superproject\fR | ||
102 | disable use of manifest superprojects | ||
103 | .TP | ||
104 | \fB\-\-clone\-bundle\fR | ||
105 | enable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS (default if | ||
106 | not \fB\-\-partial\-clone\fR) | ||
107 | .TP | ||
108 | \fB\-\-no\-clone\-bundle\fR | ||
109 | disable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS (default if | ||
110 | \fB\-\-partial\-clone\fR) | ||
111 | .SS repo Version options: | ||
112 | .TP | ||
113 | \fB\-\-repo\-url\fR=\fI\,URL\/\fR | ||
114 | repo repository location ($REPO_URL) | ||
115 | .TP | ||
116 | \fB\-\-repo\-rev\fR=\fI\,REV\/\fR | ||
117 | repo branch or revision ($REPO_REV) | ||
118 | .TP | ||
119 | \fB\-\-no\-repo\-verify\fR | ||
120 | do not verify repo source code | ||
121 | .SS Other options: | ||
122 | .TP | ||
123 | \fB\-\-config\-name\fR | ||
124 | Always prompt for name/e\-mail | ||
125 | .SS GITC options: | ||
126 | .TP | ||
127 | \fB\-f\fR MANIFEST_FILE, \fB\-\-manifest\-file\fR=\fI\,MANIFEST_FILE\/\fR | ||
128 | Optional manifest file to use for this GITC client. | ||
129 | .TP | ||
130 | \fB\-c\fR GITC_CLIENT, \fB\-\-gitc\-client\fR=\fI\,GITC_CLIENT\/\fR | ||
131 | Name of the gitc_client instance to create or modify. | ||
132 | .PP | ||
133 | Run `repo help gitc\-init` to view the detailed manual. | ||
134 | .SH DETAILS | ||
135 | .PP | ||
136 | The 'repo gitc\-init' command is ran to initialize a new GITC client for use with | ||
137 | the GITC file system. | ||
138 | .PP | ||
139 | This command will setup the client directory, initialize repo, just like repo | ||
140 | init does, and then downloads the manifest collection and installs it in the | ||
141 | \&.repo/directory of the GITC client. | ||
142 | .PP | ||
143 | Once this is done, a GITC manifest is generated by pulling the HEAD SHA for each | ||
144 | project and generates the properly formatted XML file and installs it as | ||
145 | \&.manifest in the GITC client directory. | ||
146 | .PP | ||
147 | The \fB\-c\fR argument is required to specify the GITC client name. | ||
148 | .PP | ||
149 | The optional \fB\-f\fR argument can be used to specify the manifest file to use for | ||
150 | this GITC client. | ||
diff --git a/man/repo-grep.1 b/man/repo-grep.1 new file mode 100644 index 00000000..be410588 --- /dev/null +++ b/man/repo-grep.1 | |||
@@ -0,0 +1,119 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo grep" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo grep - manual page for repo grep | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,grep {pattern | -e pattern} \/\fR[\fI\,<project>\/\fR...] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Print lines matching a pattern | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .TP | ||
17 | \fB\-j\fR JOBS, \fB\-\-jobs\fR=\fI\,JOBS\/\fR | ||
18 | number of jobs to run in parallel (default: based on | ||
19 | number of CPU cores) | ||
20 | .SS Logging options: | ||
21 | .TP | ||
22 | \fB\-\-verbose\fR | ||
23 | show all output | ||
24 | .TP | ||
25 | \fB\-q\fR, \fB\-\-quiet\fR | ||
26 | only show errors | ||
27 | .SS Sources: | ||
28 | .TP | ||
29 | \fB\-\-cached\fR | ||
30 | Search the index, instead of the work tree | ||
31 | .TP | ||
32 | \fB\-r\fR TREEish, \fB\-\-revision\fR=\fI\,TREEish\/\fR | ||
33 | Search TREEish, instead of the work tree | ||
34 | .SS Pattern: | ||
35 | .TP | ||
36 | \fB\-e\fR PATTERN | ||
37 | Pattern to search for | ||
38 | .TP | ||
39 | \fB\-i\fR, \fB\-\-ignore\-case\fR | ||
40 | Ignore case differences | ||
41 | .TP | ||
42 | \fB\-a\fR, \fB\-\-text\fR | ||
43 | Process binary files as if they were text | ||
44 | .TP | ||
45 | \fB\-I\fR | ||
46 | Don't match the pattern in binary files | ||
47 | .TP | ||
48 | \fB\-w\fR, \fB\-\-word\-regexp\fR | ||
49 | Match the pattern only at word boundaries | ||
50 | .TP | ||
51 | \fB\-v\fR, \fB\-\-invert\-match\fR | ||
52 | Select non\-matching lines | ||
53 | .TP | ||
54 | \fB\-G\fR, \fB\-\-basic\-regexp\fR | ||
55 | Use POSIX basic regexp for patterns (default) | ||
56 | .TP | ||
57 | \fB\-E\fR, \fB\-\-extended\-regexp\fR | ||
58 | Use POSIX extended regexp for patterns | ||
59 | .TP | ||
60 | \fB\-F\fR, \fB\-\-fixed\-strings\fR | ||
61 | Use fixed strings (not regexp) for pattern | ||
62 | .SS Pattern Grouping: | ||
63 | .TP | ||
64 | \fB\-\-all\-match\fR | ||
65 | Limit match to lines that have all patterns | ||
66 | .TP | ||
67 | \fB\-\-and\fR, \fB\-\-or\fR, \fB\-\-not\fR | ||
68 | Boolean operators to combine patterns | ||
69 | .TP | ||
70 | \-(, \-) | ||
71 | Boolean operator grouping | ||
72 | .SS Output: | ||
73 | .TP | ||
74 | \fB\-n\fR | ||
75 | Prefix the line number to matching lines | ||
76 | .TP | ||
77 | \fB\-C\fR CONTEXT | ||
78 | Show CONTEXT lines around match | ||
79 | .TP | ||
80 | \fB\-B\fR CONTEXT | ||
81 | Show CONTEXT lines before match | ||
82 | .TP | ||
83 | \fB\-A\fR CONTEXT | ||
84 | Show CONTEXT lines after match | ||
85 | .TP | ||
86 | \fB\-l\fR, \fB\-\-name\-only\fR, \fB\-\-files\-with\-matches\fR | ||
87 | Show only file names containing matching lines | ||
88 | .TP | ||
89 | \fB\-L\fR, \fB\-\-files\-without\-match\fR | ||
90 | Show only file names not containing matching lines | ||
91 | .PP | ||
92 | Run `repo help grep` to view the detailed manual. | ||
93 | .SH DETAILS | ||
94 | .PP | ||
95 | Search for the specified patterns in all project files. | ||
96 | .PP | ||
97 | Boolean Options | ||
98 | .PP | ||
99 | The following options can appear as often as necessary to express the pattern to | ||
100 | locate: | ||
101 | .HP | ||
102 | \fB\-e\fR PATTERN | ||
103 | .HP | ||
104 | \fB\-\-and\fR, \fB\-\-or\fR, \fB\-\-not\fR, \-(, \-) | ||
105 | .PP | ||
106 | Further, the \fB\-r\fR/\-\-revision option may be specified multiple times in order to | ||
107 | scan multiple trees. If the same file matches in more than one tree, only the | ||
108 | first result is reported, prefixed by the revision name it was found under. | ||
109 | .PP | ||
110 | Examples | ||
111 | .PP | ||
112 | Look for a line that has '#define' and either 'MAX_PATH or 'PATH_MAX': | ||
113 | .IP | ||
114 | repo grep \fB\-e\fR '#define' \fB\-\-and\fR \-\e( \fB\-e\fR MAX_PATH \fB\-e\fR PATH_MAX \e) | ||
115 | .PP | ||
116 | Look for a line that has 'NODE' or 'Unexpected' in files that contain a line | ||
117 | that matches both expressions: | ||
118 | .IP | ||
119 | repo grep \fB\-\-all\-match\fR \fB\-e\fR NODE \fB\-e\fR Unexpected | ||
diff --git a/man/repo-help.1 b/man/repo-help.1 new file mode 100644 index 00000000..d6da3c51 --- /dev/null +++ b/man/repo-help.1 | |||
@@ -0,0 +1,33 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo help" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo help - manual page for repo help | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,help \/\fR[\fI\,--all|command\/\fR] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Display detailed help on a command | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .TP | ||
17 | \fB\-a\fR, \fB\-\-all\fR | ||
18 | show the complete list of commands | ||
19 | .TP | ||
20 | \fB\-\-help\-all\fR | ||
21 | show the \fB\-\-help\fR of all commands | ||
22 | .SS Logging options: | ||
23 | .TP | ||
24 | \fB\-v\fR, \fB\-\-verbose\fR | ||
25 | show all output | ||
26 | .TP | ||
27 | \fB\-q\fR, \fB\-\-quiet\fR | ||
28 | only show errors | ||
29 | .PP | ||
30 | Run `repo help help` to view the detailed manual. | ||
31 | .SH DETAILS | ||
32 | .PP | ||
33 | Displays detailed usage information about a command. | ||
diff --git a/man/repo-info.1 b/man/repo-info.1 new file mode 100644 index 00000000..cf7c17b8 --- /dev/null +++ b/man/repo-info.1 | |||
@@ -0,0 +1,40 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo info" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo info - manual page for repo info | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,info \/\fR[\fI\,-dl\/\fR] [\fI\,-o \/\fR[\fI\,-c\/\fR]] [\fI\,<project>\/\fR...] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Get info on the manifest branch, current branch or unmerged branches | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .TP | ||
17 | \fB\-d\fR, \fB\-\-diff\fR | ||
18 | show full info and commit diff including remote | ||
19 | branches | ||
20 | .TP | ||
21 | \fB\-o\fR, \fB\-\-overview\fR | ||
22 | show overview of all local commits | ||
23 | .TP | ||
24 | \fB\-c\fR, \fB\-\-current\-branch\fR | ||
25 | consider only checked out branches | ||
26 | .TP | ||
27 | \fB\-\-no\-current\-branch\fR | ||
28 | consider all local branches | ||
29 | .TP | ||
30 | \fB\-l\fR, \fB\-\-local\-only\fR | ||
31 | disable all remote operations | ||
32 | .SS Logging options: | ||
33 | .TP | ||
34 | \fB\-v\fR, \fB\-\-verbose\fR | ||
35 | show all output | ||
36 | .TP | ||
37 | \fB\-q\fR, \fB\-\-quiet\fR | ||
38 | only show errors | ||
39 | .PP | ||
40 | Run `repo help info` to view the detailed manual. | ||
diff --git a/man/repo-init.1 b/man/repo-init.1 new file mode 100644 index 00000000..9957b64d --- /dev/null +++ b/man/repo-init.1 | |||
@@ -0,0 +1,170 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "September 2021" "repo init" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo init - manual page for repo init | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,init \/\fR[\fI\,options\/\fR] [\fI\,manifest url\/\fR] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Initialize a repo client checkout in the current directory | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .SS Logging options: | ||
17 | .TP | ||
18 | \fB\-v\fR, \fB\-\-verbose\fR | ||
19 | show all output | ||
20 | .TP | ||
21 | \fB\-q\fR, \fB\-\-quiet\fR | ||
22 | only show errors | ||
23 | .SS Manifest options: | ||
24 | .TP | ||
25 | \fB\-u\fR URL, \fB\-\-manifest\-url\fR=\fI\,URL\/\fR | ||
26 | manifest repository location | ||
27 | .TP | ||
28 | \fB\-b\fR REVISION, \fB\-\-manifest\-branch\fR=\fI\,REVISION\/\fR | ||
29 | manifest branch or revision (use HEAD for default) | ||
30 | .TP | ||
31 | \fB\-m\fR NAME.xml, \fB\-\-manifest\-name\fR=\fI\,NAME\/\fR.xml | ||
32 | initial manifest file | ||
33 | .TP | ||
34 | \fB\-\-standalone\-manifest\fR | ||
35 | download the manifest as a static file rather then | ||
36 | create a git checkout of the manifest repo | ||
37 | .TP | ||
38 | \fB\-g\fR GROUP, \fB\-\-groups\fR=\fI\,GROUP\/\fR | ||
39 | restrict manifest projects to ones with specified | ||
40 | group(s) [default|all|G1,G2,G3|G4,\-G5,\-G6] | ||
41 | .TP | ||
42 | \fB\-p\fR PLATFORM, \fB\-\-platform\fR=\fI\,PLATFORM\/\fR | ||
43 | restrict manifest projects to ones with a specified | ||
44 | platform group [auto|all|none|linux|darwin|...] | ||
45 | .TP | ||
46 | \fB\-\-submodules\fR | ||
47 | sync any submodules associated with the manifest repo | ||
48 | .SS Manifest (only) checkout options: | ||
49 | .TP | ||
50 | \fB\-c\fR, \fB\-\-current\-branch\fR | ||
51 | fetch only current manifest branch from server | ||
52 | .TP | ||
53 | \fB\-\-no\-current\-branch\fR | ||
54 | fetch all manifest branches from server | ||
55 | .TP | ||
56 | \fB\-\-tags\fR | ||
57 | fetch tags in the manifest | ||
58 | .TP | ||
59 | \fB\-\-no\-tags\fR | ||
60 | don't fetch tags in the manifest | ||
61 | .SS Checkout modes: | ||
62 | .TP | ||
63 | \fB\-\-mirror\fR | ||
64 | create a replica of the remote repositories rather | ||
65 | than a client working directory | ||
66 | .TP | ||
67 | \fB\-\-archive\fR | ||
68 | checkout an archive instead of a git repository for | ||
69 | each project. See git archive. | ||
70 | .TP | ||
71 | \fB\-\-worktree\fR | ||
72 | use git\-worktree to manage projects | ||
73 | .SS Project checkout optimizations: | ||
74 | .TP | ||
75 | \fB\-\-reference\fR=\fI\,DIR\/\fR | ||
76 | location of mirror directory | ||
77 | .TP | ||
78 | \fB\-\-dissociate\fR | ||
79 | dissociate from reference mirrors after clone | ||
80 | .TP | ||
81 | \fB\-\-depth\fR=\fI\,DEPTH\/\fR | ||
82 | create a shallow clone with given depth; see git clone | ||
83 | .TP | ||
84 | \fB\-\-partial\-clone\fR | ||
85 | perform partial clone (https://gitscm.com/docs/gitrepositorylayout#_code_partialclone_code) | ||
86 | .TP | ||
87 | \fB\-\-no\-partial\-clone\fR | ||
88 | disable use of partial clone (https://gitscm.com/docs/gitrepositorylayout#_code_partialclone_code) | ||
89 | .TP | ||
90 | \fB\-\-partial\-clone\-exclude\fR=\fI\,PARTIAL_CLONE_EXCLUDE\/\fR | ||
91 | exclude the specified projects (a comma\-delimited | ||
92 | project names) from partial clone (https://gitscm.com/docs/gitrepositorylayout#_code_partialclone_code) | ||
93 | .TP | ||
94 | \fB\-\-clone\-filter\fR=\fI\,CLONE_FILTER\/\fR | ||
95 | filter for use with \fB\-\-partial\-clone\fR [default: | ||
96 | blob:none] | ||
97 | .TP | ||
98 | \fB\-\-use\-superproject\fR | ||
99 | use the manifest superproject to sync projects | ||
100 | .TP | ||
101 | \fB\-\-no\-use\-superproject\fR | ||
102 | disable use of manifest superprojects | ||
103 | .TP | ||
104 | \fB\-\-clone\-bundle\fR | ||
105 | enable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS (default if | ||
106 | not \fB\-\-partial\-clone\fR) | ||
107 | .TP | ||
108 | \fB\-\-no\-clone\-bundle\fR | ||
109 | disable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS (default if | ||
110 | \fB\-\-partial\-clone\fR) | ||
111 | .SS repo Version options: | ||
112 | .TP | ||
113 | \fB\-\-repo\-url\fR=\fI\,URL\/\fR | ||
114 | repo repository location ($REPO_URL) | ||
115 | .TP | ||
116 | \fB\-\-repo\-rev\fR=\fI\,REV\/\fR | ||
117 | repo branch or revision ($REPO_REV) | ||
118 | .TP | ||
119 | \fB\-\-no\-repo\-verify\fR | ||
120 | do not verify repo source code | ||
121 | .SS Other options: | ||
122 | .TP | ||
123 | \fB\-\-config\-name\fR | ||
124 | Always prompt for name/e\-mail | ||
125 | .PP | ||
126 | Run `repo help init` to view the detailed manual. | ||
127 | .SH DETAILS | ||
128 | .PP | ||
129 | The 'repo init' command is run once to install and initialize repo. The latest | ||
130 | repo source code and manifest collection is downloaded from the server and is | ||
131 | installed in the .repo/ directory in the current working directory. | ||
132 | .PP | ||
133 | When creating a new checkout, the manifest URL is the only required setting. It | ||
134 | may be specified using the \fB\-\-manifest\-url\fR option, or as the first optional | ||
135 | argument. | ||
136 | .PP | ||
137 | The optional \fB\-b\fR argument can be used to select the manifest branch to checkout | ||
138 | and use. If no branch is specified, the remote's default branch is used. This is | ||
139 | equivalent to using \fB\-b\fR HEAD. | ||
140 | .PP | ||
141 | The optional \fB\-m\fR argument can be used to specify an alternate manifest to be | ||
142 | used. If no manifest is specified, the manifest default.xml will be used. | ||
143 | .PP | ||
144 | If the \fB\-\-standalone\-manifest\fR argument is set, the manifest will be downloaded | ||
145 | directly from the specified \fB\-\-manifest\-url\fR as a static file (rather than setting | ||
146 | up a manifest git checkout). With \fB\-\-standalone\-manifest\fR, the manifest will be | ||
147 | fully static and will not be re\-downloaded during subsesquent `repo init` and | ||
148 | `repo sync` calls. | ||
149 | .PP | ||
150 | The \fB\-\-reference\fR option can be used to point to a directory that has the content | ||
151 | of a \fB\-\-mirror\fR sync. This will make the working directory use as much data as | ||
152 | possible from the local reference directory when fetching from the server. This | ||
153 | will make the sync go a lot faster by reducing data traffic on the network. | ||
154 | .PP | ||
155 | The \fB\-\-dissociate\fR option can be used to borrow the objects from the directory | ||
156 | specified with the \fB\-\-reference\fR option only to reduce network transfer, and stop | ||
157 | borrowing from them after a first clone is made by making necessary local copies | ||
158 | of borrowed objects. | ||
159 | .PP | ||
160 | The \fB\-\-no\-clone\-bundle\fR option disables any attempt to use \fI\,$URL/clone.bundle\/\fP to | ||
161 | bootstrap a new Git repository from a resumeable bundle file on a content | ||
162 | delivery network. This may be necessary if there are problems with the local | ||
163 | Python HTTP client or proxy configuration, but the Git binary works. | ||
164 | .PP | ||
165 | Switching Manifest Branches | ||
166 | .PP | ||
167 | To switch to another manifest branch, `repo init \fB\-b\fR otherbranch` may be used in | ||
168 | an existing client. However, as this only updates the manifest, a subsequent | ||
169 | `repo sync` (or `repo sync \fB\-d\fR`) is necessary to update the working directory | ||
170 | files. | ||
diff --git a/man/repo-list.1 b/man/repo-list.1 new file mode 100644 index 00000000..7f85e612 --- /dev/null +++ b/man/repo-list.1 | |||
@@ -0,0 +1,61 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo list" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo list - manual page for repo list | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,list \/\fR[\fI\,-f\/\fR] [\fI\,<project>\/\fR...] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | List projects and their associated directories | ||
12 | .PP | ||
13 | repo list [\-f] \fB\-r\fR str1 [str2]... | ||
14 | .SH OPTIONS | ||
15 | .TP | ||
16 | \fB\-h\fR, \fB\-\-help\fR | ||
17 | show this help message and exit | ||
18 | .TP | ||
19 | \fB\-r\fR, \fB\-\-regex\fR | ||
20 | filter the project list based on regex or wildcard | ||
21 | matching of strings | ||
22 | .TP | ||
23 | \fB\-g\fR GROUPS, \fB\-\-groups\fR=\fI\,GROUPS\/\fR | ||
24 | filter the project list based on the groups the | ||
25 | project is in | ||
26 | .TP | ||
27 | \fB\-a\fR, \fB\-\-all\fR | ||
28 | show projects regardless of checkout state | ||
29 | .TP | ||
30 | \fB\-n\fR, \fB\-\-name\-only\fR | ||
31 | display only the name of the repository | ||
32 | .TP | ||
33 | \fB\-p\fR, \fB\-\-path\-only\fR | ||
34 | display only the path of the repository | ||
35 | .TP | ||
36 | \fB\-f\fR, \fB\-\-fullpath\fR | ||
37 | display the full work tree path instead of the | ||
38 | relative path | ||
39 | .TP | ||
40 | \fB\-\-relative\-to\fR=\fI\,PATH\/\fR | ||
41 | display paths relative to this one (default: top of | ||
42 | repo client checkout) | ||
43 | .SS Logging options: | ||
44 | .TP | ||
45 | \fB\-v\fR, \fB\-\-verbose\fR | ||
46 | show all output | ||
47 | .TP | ||
48 | \fB\-q\fR, \fB\-\-quiet\fR | ||
49 | only show errors | ||
50 | .PP | ||
51 | Run `repo help list` to view the detailed manual. | ||
52 | .SH DETAILS | ||
53 | .PP | ||
54 | List all projects; pass '.' to list the project for the cwd. | ||
55 | .PP | ||
56 | By default, only projects that currently exist in the checkout are shown. If you | ||
57 | want to list all projects (using the specified filter settings), use the \fB\-\-all\fR | ||
58 | option. If you want to show all projects regardless of the manifest groups, then | ||
59 | also pass \fB\-\-groups\fR all. | ||
60 | .PP | ||
61 | This is similar to running: repo forall \fB\-c\fR 'echo "$REPO_PATH : $REPO_PROJECT"'. | ||
diff --git a/man/repo-manifest.1 b/man/repo-manifest.1 new file mode 100644 index 00000000..be467607 --- /dev/null +++ b/man/repo-manifest.1 | |||
@@ -0,0 +1,548 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo manifest" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo manifest - manual page for repo manifest | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,manifest \/\fR[\fI\,-o {-|NAME.xml}\/\fR] [\fI\,-m MANIFEST.xml\/\fR] [\fI\,-r\/\fR] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Manifest inspection utility | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .TP | ||
17 | \fB\-r\fR, \fB\-\-revision\-as\-HEAD\fR | ||
18 | save revisions as current HEAD | ||
19 | .TP | ||
20 | \fB\-m\fR NAME.xml, \fB\-\-manifest\-name\fR=\fI\,NAME\/\fR.xml | ||
21 | temporary manifest to use for this sync | ||
22 | .TP | ||
23 | \fB\-\-suppress\-upstream\-revision\fR | ||
24 | if in \fB\-r\fR mode, do not write the upstream field (only | ||
25 | of use if the branch names for a sha1 manifest are | ||
26 | sensitive) | ||
27 | .TP | ||
28 | \fB\-\-suppress\-dest\-branch\fR | ||
29 | if in \fB\-r\fR mode, do not write the dest\-branch field | ||
30 | (only of use if the branch names for a sha1 manifest | ||
31 | are sensitive) | ||
32 | .TP | ||
33 | \fB\-\-json\fR | ||
34 | output manifest in JSON format (experimental) | ||
35 | .TP | ||
36 | \fB\-\-pretty\fR | ||
37 | format output for humans to read | ||
38 | .TP | ||
39 | \fB\-\-no\-local\-manifests\fR | ||
40 | ignore local manifests | ||
41 | .TP | ||
42 | \fB\-o\fR \-|NAME.xml, \fB\-\-output\-file\fR=\fI\,\-\/\fR|NAME.xml | ||
43 | file to save the manifest to | ||
44 | .SS Logging options: | ||
45 | .TP | ||
46 | \fB\-v\fR, \fB\-\-verbose\fR | ||
47 | show all output | ||
48 | .TP | ||
49 | \fB\-q\fR, \fB\-\-quiet\fR | ||
50 | only show errors | ||
51 | .PP | ||
52 | Run `repo help manifest` to view the detailed manual. | ||
53 | .SH DETAILS | ||
54 | .PP | ||
55 | With the \fB\-o\fR option, exports the current manifest for inspection. The manifest | ||
56 | and (if present) local_manifests/ are combined together to produce a single | ||
57 | manifest file. This file can be stored in a Git repository for use during future | ||
58 | \&'repo init' invocations. | ||
59 | .PP | ||
60 | The \fB\-r\fR option can be used to generate a manifest file with project revisions set | ||
61 | to the current commit hash. These are known as "revision locked manifests", as | ||
62 | they don't follow a particular branch. In this case, the 'upstream' attribute is | ||
63 | set to the ref we were on when the manifest was generated. The 'dest\-branch' | ||
64 | attribute is set to indicate the remote ref to push changes to via 'repo | ||
65 | upload'. | ||
66 | .PP | ||
67 | repo Manifest Format | ||
68 | .PP | ||
69 | A repo manifest describes the structure of a repo client; that is the | ||
70 | directories that are visible and where they should be obtained from with git. | ||
71 | .PP | ||
72 | The basic structure of a manifest is a bare Git repository holding a single | ||
73 | `default.xml` XML file in the top level directory. | ||
74 | .PP | ||
75 | Manifests are inherently version controlled, since they are kept within a Git | ||
76 | repository. Updates to manifests are automatically obtained by clients during | ||
77 | `repo sync`. | ||
78 | .PP | ||
79 | [TOC] | ||
80 | .PP | ||
81 | XML File Format | ||
82 | .PP | ||
83 | A manifest XML file (e.g. `default.xml`) roughly conforms to the following DTD: | ||
84 | .PP | ||
85 | ```xml <!DOCTYPE manifest [ | ||
86 | .TP | ||
87 | <!ELEMENT manifest (notice?, | ||
88 | remote*, | ||
89 | default?, | ||
90 | manifest\-server?, | ||
91 | remove\-project*, | ||
92 | project*, | ||
93 | extend\-project*, | ||
94 | repo\-hooks?, | ||
95 | superproject?, | ||
96 | contactinfo?, | ||
97 | include*)> | ||
98 | .IP | ||
99 | <!ELEMENT notice (#PCDATA)> | ||
100 | .IP | ||
101 | <!ELEMENT remote (annotation*)> | ||
102 | <!ATTLIST remote name ID #REQUIRED> | ||
103 | <!ATTLIST remote alias CDATA #IMPLIED> | ||
104 | <!ATTLIST remote fetch CDATA #REQUIRED> | ||
105 | <!ATTLIST remote pushurl CDATA #IMPLIED> | ||
106 | <!ATTLIST remote review CDATA #IMPLIED> | ||
107 | <!ATTLIST remote revision CDATA #IMPLIED> | ||
108 | .IP | ||
109 | <!ELEMENT default EMPTY> | ||
110 | <!ATTLIST default remote IDREF #IMPLIED> | ||
111 | <!ATTLIST default revision CDATA #IMPLIED> | ||
112 | <!ATTLIST default dest\-branch CDATA #IMPLIED> | ||
113 | <!ATTLIST default upstream CDATA #IMPLIED> | ||
114 | <!ATTLIST default sync\-j CDATA #IMPLIED> | ||
115 | <!ATTLIST default sync\-c CDATA #IMPLIED> | ||
116 | <!ATTLIST default sync\-s CDATA #IMPLIED> | ||
117 | <!ATTLIST default sync\-tags CDATA #IMPLIED> | ||
118 | .IP | ||
119 | <!ELEMENT manifest\-server EMPTY> | ||
120 | <!ATTLIST manifest\-server url CDATA #REQUIRED> | ||
121 | .TP | ||
122 | <!ELEMENT project (annotation*, | ||
123 | project*, | ||
124 | copyfile*, | ||
125 | linkfile*)> | ||
126 | .TP | ||
127 | <!ATTLIST project name | ||
128 | CDATA #REQUIRED> | ||
129 | .TP | ||
130 | <!ATTLIST project path | ||
131 | CDATA #IMPLIED> | ||
132 | .TP | ||
133 | <!ATTLIST project remote | ||
134 | IDREF #IMPLIED> | ||
135 | .TP | ||
136 | <!ATTLIST project revision | ||
137 | CDATA #IMPLIED> | ||
138 | .IP | ||
139 | <!ATTLIST project dest\-branch CDATA #IMPLIED> | ||
140 | <!ATTLIST project groups CDATA #IMPLIED> | ||
141 | <!ATTLIST project sync\-c CDATA #IMPLIED> | ||
142 | <!ATTLIST project sync\-s CDATA #IMPLIED> | ||
143 | <!ATTLIST project sync\-tags CDATA #IMPLIED> | ||
144 | <!ATTLIST project upstream CDATA #IMPLIED> | ||
145 | <!ATTLIST project clone\-depth CDATA #IMPLIED> | ||
146 | <!ATTLIST project force\-path CDATA #IMPLIED> | ||
147 | .IP | ||
148 | <!ELEMENT annotation EMPTY> | ||
149 | <!ATTLIST annotation name CDATA #REQUIRED> | ||
150 | <!ATTLIST annotation value CDATA #REQUIRED> | ||
151 | <!ATTLIST annotation keep CDATA "true"> | ||
152 | .IP | ||
153 | <!ELEMENT copyfile EMPTY> | ||
154 | <!ATTLIST copyfile src CDATA #REQUIRED> | ||
155 | <!ATTLIST copyfile dest CDATA #REQUIRED> | ||
156 | .IP | ||
157 | <!ELEMENT linkfile EMPTY> | ||
158 | <!ATTLIST linkfile src CDATA #REQUIRED> | ||
159 | <!ATTLIST linkfile dest CDATA #REQUIRED> | ||
160 | .IP | ||
161 | <!ELEMENT extend\-project EMPTY> | ||
162 | <!ATTLIST extend\-project name CDATA #REQUIRED> | ||
163 | <!ATTLIST extend\-project path CDATA #IMPLIED> | ||
164 | <!ATTLIST extend\-project groups CDATA #IMPLIED> | ||
165 | <!ATTLIST extend\-project revision CDATA #IMPLIED> | ||
166 | <!ATTLIST extend\-project remote CDATA #IMPLIED> | ||
167 | .IP | ||
168 | <!ELEMENT remove\-project EMPTY> | ||
169 | <!ATTLIST remove\-project name CDATA #REQUIRED> | ||
170 | <!ATTLIST remove\-project optional CDATA #IMPLIED> | ||
171 | .IP | ||
172 | <!ELEMENT repo\-hooks EMPTY> | ||
173 | <!ATTLIST repo\-hooks in\-project CDATA #REQUIRED> | ||
174 | <!ATTLIST repo\-hooks enabled\-list CDATA #REQUIRED> | ||
175 | .IP | ||
176 | <!ELEMENT superproject EMPTY> | ||
177 | <!ATTLIST superproject name CDATA #REQUIRED> | ||
178 | <!ATTLIST superproject remote IDREF #IMPLIED> | ||
179 | .IP | ||
180 | <!ELEMENT contactinfo EMPTY> | ||
181 | <!ATTLIST contactinfo bugurl CDATA #REQUIRED> | ||
182 | .IP | ||
183 | <!ELEMENT include EMPTY> | ||
184 | <!ATTLIST include name CDATA #REQUIRED> | ||
185 | <!ATTLIST include groups CDATA #IMPLIED> | ||
186 | .PP | ||
187 | ]> | ||
188 | ``` | ||
189 | .PP | ||
190 | For compatibility purposes across repo releases, all unknown elements are | ||
191 | silently ignored. However, repo reserves all possible names for itself for | ||
192 | future use. If you want to use custom elements, the `x\-*` namespace is reserved | ||
193 | for that purpose, and repo guarantees to never allocate any corresponding names. | ||
194 | .PP | ||
195 | A description of the elements and their attributes follows. | ||
196 | .PP | ||
197 | Element manifest | ||
198 | .PP | ||
199 | The root element of the file. | ||
200 | .PP | ||
201 | Element notice | ||
202 | .PP | ||
203 | Arbitrary text that is displayed to users whenever `repo sync` finishes. The | ||
204 | content is simply passed through as it exists in the manifest. | ||
205 | .PP | ||
206 | Element remote | ||
207 | .PP | ||
208 | One or more remote elements may be specified. Each remote element specifies a | ||
209 | Git URL shared by one or more projects and (optionally) the Gerrit review server | ||
210 | those projects upload changes through. | ||
211 | .PP | ||
212 | Attribute `name`: A short name unique to this manifest file. The name specified | ||
213 | here is used as the remote name in each project's .git/config, and is therefore | ||
214 | automatically available to commands like `git fetch`, `git remote`, `git pull` | ||
215 | and `git push`. | ||
216 | .PP | ||
217 | Attribute `alias`: The alias, if specified, is used to override `name` to be set | ||
218 | as the remote name in each project's .git/config. Its value can be duplicated | ||
219 | while attribute `name` has to be unique in the manifest file. This helps each | ||
220 | project to be able to have same remote name which actually points to different | ||
221 | remote url. | ||
222 | .PP | ||
223 | Attribute `fetch`: The Git URL prefix for all projects which use this remote. | ||
224 | Each project's name is appended to this prefix to form the actual URL used to | ||
225 | clone the project. | ||
226 | .PP | ||
227 | Attribute `pushurl`: The Git "push" URL prefix for all projects which use this | ||
228 | remote. Each project's name is appended to this prefix to form the actual URL | ||
229 | used to "git push" the project. This attribute is optional; if not specified | ||
230 | then "git push" will use the same URL as the `fetch` attribute. | ||
231 | .PP | ||
232 | Attribute `review`: Hostname of the Gerrit server where reviews are uploaded to | ||
233 | by `repo upload`. This attribute is optional; if not specified then `repo | ||
234 | upload` will not function. | ||
235 | .PP | ||
236 | Attribute `revision`: Name of a Git branch (e.g. `main` or `refs/heads/main`). | ||
237 | Remotes with their own revision will override the default revision. | ||
238 | .PP | ||
239 | Element default | ||
240 | .PP | ||
241 | At most one default element may be specified. Its remote and revision attributes | ||
242 | are used when a project element does not specify its own remote or revision | ||
243 | attribute. | ||
244 | .PP | ||
245 | Attribute `remote`: Name of a previously defined remote element. Project | ||
246 | elements lacking a remote attribute of their own will use this remote. | ||
247 | .PP | ||
248 | Attribute `revision`: Name of a Git branch (e.g. `main` or `refs/heads/main`). | ||
249 | Project elements lacking their own revision attribute will use this revision. | ||
250 | .PP | ||
251 | Attribute `dest\-branch`: Name of a Git branch (e.g. `main`). Project elements | ||
252 | not setting their own `dest\-branch` will inherit this value. If this value is | ||
253 | not set, projects will use `revision` by default instead. | ||
254 | .PP | ||
255 | Attribute `upstream`: Name of the Git ref in which a sha1 can be found. Used | ||
256 | when syncing a revision locked manifest in \fB\-c\fR mode to avoid having to sync the | ||
257 | entire ref space. Project elements not setting their own `upstream` will inherit | ||
258 | this value. | ||
259 | .PP | ||
260 | Attribute `sync\-j`: Number of parallel jobs to use when synching. | ||
261 | .PP | ||
262 | Attribute `sync\-c`: Set to true to only sync the given Git branch (specified in | ||
263 | the `revision` attribute) rather than the whole ref space. Project elements | ||
264 | lacking a sync\-c element of their own will use this value. | ||
265 | .PP | ||
266 | Attribute `sync\-s`: Set to true to also sync sub\-projects. | ||
267 | .PP | ||
268 | Attribute `sync\-tags`: Set to false to only sync the given Git branch (specified | ||
269 | in the `revision` attribute) rather than the other ref tags. | ||
270 | .PP | ||
271 | Element manifest\-server | ||
272 | .PP | ||
273 | At most one manifest\-server may be specified. The url attribute is used to | ||
274 | specify the URL of a manifest server, which is an XML RPC service. | ||
275 | .PP | ||
276 | The manifest server should implement the following RPC methods: | ||
277 | .IP | ||
278 | GetApprovedManifest(branch, target) | ||
279 | .PP | ||
280 | Return a manifest in which each project is pegged to a known good revision for | ||
281 | the current branch and target. This is used by repo sync when the \fB\-\-smart\-sync\fR | ||
282 | option is given. | ||
283 | .PP | ||
284 | The target to use is defined by environment variables TARGET_PRODUCT and | ||
285 | TARGET_BUILD_VARIANT. These variables are used to create a string of the form | ||
286 | $TARGET_PRODUCT\-$TARGET_BUILD_VARIANT, e.g. passion\-userdebug. If one of those | ||
287 | variables or both are not present, the program will call GetApprovedManifest | ||
288 | without the target parameter and the manifest server should choose a reasonable | ||
289 | default target. | ||
290 | .IP | ||
291 | GetManifest(tag) | ||
292 | .PP | ||
293 | Return a manifest in which each project is pegged to the revision at the | ||
294 | specified tag. This is used by repo sync when the \fB\-\-smart\-tag\fR option is given. | ||
295 | .PP | ||
296 | Element project | ||
297 | .PP | ||
298 | One or more project elements may be specified. Each element describes a single | ||
299 | Git repository to be cloned into the repo client workspace. You may specify | ||
300 | Git\-submodules by creating a nested project. Git\-submodules will be | ||
301 | automatically recognized and inherit their parent's attributes, but those may be | ||
302 | overridden by an explicitly specified project element. | ||
303 | .PP | ||
304 | Attribute `name`: A unique name for this project. The project's name is appended | ||
305 | onto its remote's fetch URL to generate the actual URL to configure the Git | ||
306 | remote with. The URL gets formed as: | ||
307 | .IP | ||
308 | ${remote_fetch}/${project_name}.git | ||
309 | .PP | ||
310 | where ${remote_fetch} is the remote's fetch attribute and ${project_name} is the | ||
311 | project's name attribute. The suffix ".git" is always appended as repo assumes | ||
312 | the upstream is a forest of bare Git repositories. If the project has a parent | ||
313 | element, its name will be prefixed by the parent's. | ||
314 | .PP | ||
315 | The project name must match the name Gerrit knows, if Gerrit is being used for | ||
316 | code reviews. | ||
317 | .PP | ||
318 | "name" must not be empty, and may not be an absolute path or use "." or ".." | ||
319 | path components. It is always interpreted relative to the remote's fetch | ||
320 | settings, so if a different base path is needed, declare a different remote with | ||
321 | the new settings needed. These restrictions are not enforced for [Local | ||
322 | Manifests]. | ||
323 | .PP | ||
324 | Attribute `path`: An optional path relative to the top directory of the repo | ||
325 | client where the Git working directory for this project should be placed. If not | ||
326 | supplied the project "name" is used. If the project has a parent element, its | ||
327 | path will be prefixed by the parent's. | ||
328 | .PP | ||
329 | "path" may not be an absolute path or use "." or ".." path components. These | ||
330 | restrictions are not enforced for [Local Manifests]. | ||
331 | .PP | ||
332 | If you want to place files into the root of the checkout (e.g. a README or | ||
333 | Makefile or another build script), use the [copyfile] or [linkfile] elements | ||
334 | instead. | ||
335 | .PP | ||
336 | Attribute `remote`: Name of a previously defined remote element. If not supplied | ||
337 | the remote given by the default element is used. | ||
338 | .PP | ||
339 | Attribute `revision`: Name of the Git branch the manifest wants to track for | ||
340 | this project. Names can be relative to refs/heads (e.g. just "main") or absolute | ||
341 | (e.g. "refs/heads/main"). Tags and/or explicit SHA\-1s should work in theory, but | ||
342 | have not been extensively tested. If not supplied the revision given by the | ||
343 | remote element is used if applicable, else the default element is used. | ||
344 | .PP | ||
345 | Attribute `dest\-branch`: Name of a Git branch (e.g. `main`). When using `repo | ||
346 | upload`, changes will be submitted for code review on this branch. If | ||
347 | unspecified both here and in the default element, `revision` is used instead. | ||
348 | .PP | ||
349 | Attribute `groups`: List of groups to which this project belongs, whitespace or | ||
350 | comma separated. All projects belong to the group "all", and each project | ||
351 | automatically belongs to a group of its name:`name` and path:`path`. E.g. for | ||
352 | `<project name="monkeys" path="barrel\-of"/>`, that project definition is | ||
353 | implicitly in the following manifest groups: default, name:monkeys, and | ||
354 | path:barrel\-of. If you place a project in the group "notdefault", it will not be | ||
355 | automatically downloaded by repo. If the project has a parent element, the | ||
356 | `name` and `path` here are the prefixed ones. | ||
357 | .PP | ||
358 | Attribute `sync\-c`: Set to true to only sync the given Git branch (specified in | ||
359 | the `revision` attribute) rather than the whole ref space. | ||
360 | .PP | ||
361 | Attribute `sync\-s`: Set to true to also sync sub\-projects. | ||
362 | .PP | ||
363 | Attribute `upstream`: Name of the Git ref in which a sha1 can be found. Used | ||
364 | when syncing a revision locked manifest in \fB\-c\fR mode to avoid having to sync the | ||
365 | entire ref space. | ||
366 | .PP | ||
367 | Attribute `clone\-depth`: Set the depth to use when fetching this project. If | ||
368 | specified, this value will override any value given to repo init with the | ||
369 | \fB\-\-depth\fR option on the command line. | ||
370 | .PP | ||
371 | Attribute `force\-path`: Set to true to force this project to create the local | ||
372 | mirror repository according to its `path` attribute (if supplied) rather than | ||
373 | the `name` attribute. This attribute only applies to the local mirrors syncing, | ||
374 | it will be ignored when syncing the projects in a client working directory. | ||
375 | .PP | ||
376 | Element extend\-project | ||
377 | .PP | ||
378 | Modify the attributes of the named project. | ||
379 | .PP | ||
380 | This element is mostly useful in a local manifest file, to modify the attributes | ||
381 | of an existing project without completely replacing the existing project | ||
382 | definition. This makes the local manifest more robust against changes to the | ||
383 | original manifest. | ||
384 | .PP | ||
385 | Attribute `path`: If specified, limit the change to projects checked out at the | ||
386 | specified path, rather than all projects with the given name. | ||
387 | .PP | ||
388 | Attribute `groups`: List of additional groups to which this project belongs. | ||
389 | Same syntax as the corresponding element of `project`. | ||
390 | .PP | ||
391 | Attribute `revision`: If specified, overrides the revision of the original | ||
392 | project. Same syntax as the corresponding element of `project`. | ||
393 | .PP | ||
394 | Attribute `remote`: If specified, overrides the remote of the original project. | ||
395 | Same syntax as the corresponding element of `project`. | ||
396 | .PP | ||
397 | Element annotation | ||
398 | .PP | ||
399 | Zero or more annotation elements may be specified as children of a project or | ||
400 | remote element. Each element describes a name\-value pair. For projects, this | ||
401 | name\-value pair will be exported into each project's environment during a | ||
402 | \&'forall' command, prefixed with `REPO__`. In addition, there is an optional | ||
403 | attribute "keep" which accepts the case insensitive values "true" (default) or | ||
404 | "false". This attribute determines whether or not the annotation will be kept | ||
405 | when exported with the manifest subcommand. | ||
406 | .PP | ||
407 | Element copyfile | ||
408 | .PP | ||
409 | Zero or more copyfile elements may be specified as children of a project | ||
410 | element. Each element describes a src\-dest pair of files; the "src" file will be | ||
411 | copied to the "dest" place during `repo sync` command. | ||
412 | .PP | ||
413 | "src" is project relative, "dest" is relative to the top of the tree. Copying | ||
414 | from paths outside of the project or to paths outside of the repo client is not | ||
415 | allowed. | ||
416 | .PP | ||
417 | "src" and "dest" must be files. Directories or symlinks are not allowed. | ||
418 | Intermediate paths must not be symlinks either. | ||
419 | .PP | ||
420 | Parent directories of "dest" will be automatically created if missing. | ||
421 | .PP | ||
422 | Element linkfile | ||
423 | .PP | ||
424 | It's just like copyfile and runs at the same time as copyfile but instead of | ||
425 | copying it creates a symlink. | ||
426 | .PP | ||
427 | The symlink is created at "dest" (relative to the top of the tree) and points to | ||
428 | the path specified by "src" which is a path in the project. | ||
429 | .PP | ||
430 | Parent directories of "dest" will be automatically created if missing. | ||
431 | .PP | ||
432 | The symlink target may be a file or directory, but it may not point outside of | ||
433 | the repo client. | ||
434 | .PP | ||
435 | Element remove\-project | ||
436 | .PP | ||
437 | Deletes the named project from the internal manifest table, possibly allowing a | ||
438 | subsequent project element in the same manifest file to replace the project with | ||
439 | a different source. | ||
440 | .PP | ||
441 | This element is mostly useful in a local manifest file, where the user can | ||
442 | remove a project, and possibly replace it with their own definition. | ||
443 | .PP | ||
444 | Attribute `optional`: Set to true to ignore remove\-project elements with no | ||
445 | matching `project` element. | ||
446 | .PP | ||
447 | Element repo\-hooks | ||
448 | .PP | ||
449 | NB: See the [practical documentation](./repo\-hooks.md) for using repo hooks. | ||
450 | .PP | ||
451 | Only one repo\-hooks element may be specified at a time. Attempting to redefine | ||
452 | it will fail to parse. | ||
453 | .PP | ||
454 | Attribute `in\-project`: The project where the hooks are defined. The value must | ||
455 | match the `name` attribute (**not** the `path` attribute) of a previously | ||
456 | defined `project` element. | ||
457 | .PP | ||
458 | Attribute `enabled\-list`: List of hooks to use, whitespace or comma separated. | ||
459 | .PP | ||
460 | Element superproject | ||
461 | .PP | ||
462 | *** *Note*: This is currently a WIP. *** | ||
463 | .PP | ||
464 | NB: See the [git superprojects documentation]( | ||
465 | https://en.wikibooks.org/wiki/Git/Submodules_and_Superprojects) for background | ||
466 | information. | ||
467 | .PP | ||
468 | This element is used to specify the URL of the superproject. It has "name" and | ||
469 | "remote" as atrributes. Only "name" is required while the others have reasonable | ||
470 | defaults. At most one superproject may be specified. Attempting to redefine it | ||
471 | will fail to parse. | ||
472 | .PP | ||
473 | Attribute `name`: A unique name for the superproject. This attribute has the | ||
474 | same meaning as project's name attribute. See the [element | ||
475 | project](#element\-project) for more information. | ||
476 | .PP | ||
477 | Attribute `remote`: Name of a previously defined remote element. If not supplied | ||
478 | the remote given by the default element is used. | ||
479 | .PP | ||
480 | Element contactinfo | ||
481 | .PP | ||
482 | *** *Note*: This is currently a WIP. *** | ||
483 | .PP | ||
484 | This element is used to let manifest authors self\-register contact info. It has | ||
485 | "bugurl" as a required atrribute. This element can be repeated, and any later | ||
486 | entries will clobber earlier ones. This would allow manifest authors who extend | ||
487 | manifests to specify their own contact info. | ||
488 | .PP | ||
489 | Attribute `bugurl`: The URL to file a bug against the manifest owner. | ||
490 | .PP | ||
491 | Element include | ||
492 | .PP | ||
493 | This element provides the capability of including another manifest file into the | ||
494 | originating manifest. Normal rules apply for the target manifest to include \- it | ||
495 | must be a usable manifest on its own. | ||
496 | .PP | ||
497 | Attribute `name`: the manifest to include, specified relative to the manifest | ||
498 | repository's root. | ||
499 | .PP | ||
500 | "name" may not be an absolute path or use "." or ".." path components. These | ||
501 | restrictions are not enforced for [Local Manifests]. | ||
502 | .PP | ||
503 | Attribute `groups`: List of additional groups to which all projects in the | ||
504 | included manifest belong. This appends and recurses, meaning all projects in | ||
505 | sub\-manifests carry all parent include groups. Same syntax as the corresponding | ||
506 | element of `project`. | ||
507 | .PP | ||
508 | Local Manifests | ||
509 | .PP | ||
510 | Additional remotes and projects may be added through local manifest files stored | ||
511 | in `$TOP_DIR/.repo/local_manifests/*.xml`. | ||
512 | .PP | ||
513 | For example: | ||
514 | .IP | ||
515 | \f(CW$ ls .repo/local_manifests\fR | ||
516 | .IP | ||
517 | local_manifest.xml | ||
518 | another_local_manifest.xml | ||
519 | .IP | ||
520 | \f(CW$ cat .repo/local_manifests/local_manifest.xml\fR | ||
521 | .IP | ||
522 | <?xml version="1.0" encoding="UTF\-8"?> | ||
523 | <manifest> | ||
524 | .IP | ||
525 | <project path="manifest" | ||
526 | .IP | ||
527 | name="tools/manifest" /> | ||
528 | .IP | ||
529 | <project path="platform\-manifest" | ||
530 | .IP | ||
531 | name="platform/manifest" /> | ||
532 | .IP | ||
533 | </manifest> | ||
534 | .PP | ||
535 | Users may add projects to the local manifest(s) prior to a `repo sync` | ||
536 | invocation, instructing repo to automatically download and manage these extra | ||
537 | projects. | ||
538 | .PP | ||
539 | Manifest files stored in `$TOP_DIR/.repo/local_manifests/*.xml` will be loaded | ||
540 | in alphabetical order. | ||
541 | .PP | ||
542 | Projects from local manifest files are added into local::<local manifest | ||
543 | filename> group. | ||
544 | .PP | ||
545 | The legacy `$TOP_DIR/.repo/local_manifest.xml` path is no longer supported. | ||
546 | .SS [copyfile]: #Element\-copyfile [linkfile]: #Element\-linkfile [Local Manifests]: | ||
547 | .PP | ||
548 | #local\-manifests | ||
diff --git a/man/repo-overview.1 b/man/repo-overview.1 new file mode 100644 index 00000000..a12c7640 --- /dev/null +++ b/man/repo-overview.1 | |||
@@ -0,0 +1,39 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo overview" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo overview - manual page for repo overview | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,overview \/\fR[\fI\,--current-branch\/\fR] [\fI\,<project>\/\fR...] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Display overview of unmerged project branches | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .TP | ||
17 | \fB\-c\fR, \fB\-\-current\-branch\fR | ||
18 | consider only checked out branches | ||
19 | .TP | ||
20 | \fB\-\-no\-current\-branch\fR | ||
21 | consider all local branches | ||
22 | .SS Logging options: | ||
23 | .TP | ||
24 | \fB\-v\fR, \fB\-\-verbose\fR | ||
25 | show all output | ||
26 | .TP | ||
27 | \fB\-q\fR, \fB\-\-quiet\fR | ||
28 | only show errors | ||
29 | .PP | ||
30 | Run `repo help overview` to view the detailed manual. | ||
31 | .SH DETAILS | ||
32 | .PP | ||
33 | The 'repo overview' command is used to display an overview of the projects | ||
34 | branches, and list any local commits that have not yet been merged into the | ||
35 | project. | ||
36 | .PP | ||
37 | The \fB\-c\fR/\-\-current\-branch option can be used to restrict the output to only | ||
38 | branches currently checked out in each project. By default, all branches are | ||
39 | displayed. | ||
diff --git a/man/repo-prune.1 b/man/repo-prune.1 new file mode 100644 index 00000000..bd68a373 --- /dev/null +++ b/man/repo-prune.1 | |||
@@ -0,0 +1,28 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo prune" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo prune - manual page for repo prune | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,prune \/\fR[\fI\,<project>\/\fR...] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Prune (delete) already merged topics | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .TP | ||
17 | \fB\-j\fR JOBS, \fB\-\-jobs\fR=\fI\,JOBS\/\fR | ||
18 | number of jobs to run in parallel (default: based on | ||
19 | number of CPU cores) | ||
20 | .SS Logging options: | ||
21 | .TP | ||
22 | \fB\-v\fR, \fB\-\-verbose\fR | ||
23 | show all output | ||
24 | .TP | ||
25 | \fB\-q\fR, \fB\-\-quiet\fR | ||
26 | only show errors | ||
27 | .PP | ||
28 | Run `repo help prune` to view the detailed manual. | ||
diff --git a/man/repo-rebase.1 b/man/repo-rebase.1 new file mode 100644 index 00000000..aa261036 --- /dev/null +++ b/man/repo-rebase.1 | |||
@@ -0,0 +1,55 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo rebase" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo rebase - manual page for repo rebase | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,rebase {\/\fR[\fI\,<project>\/\fR...] \fI\,| -i <project>\/\fR...\fI\,}\/\fR | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Rebase local branches on upstream branch | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .TP | ||
17 | \fB\-\-fail\-fast\fR | ||
18 | stop rebasing after first error is hit | ||
19 | .TP | ||
20 | \fB\-f\fR, \fB\-\-force\-rebase\fR | ||
21 | pass \fB\-\-force\-rebase\fR to git rebase | ||
22 | .TP | ||
23 | \fB\-\-no\-ff\fR | ||
24 | pass \fB\-\-no\-ff\fR to git rebase | ||
25 | .TP | ||
26 | \fB\-\-autosquash\fR | ||
27 | pass \fB\-\-autosquash\fR to git rebase | ||
28 | .TP | ||
29 | \fB\-\-whitespace\fR=\fI\,WS\/\fR | ||
30 | pass \fB\-\-whitespace\fR to git rebase | ||
31 | .TP | ||
32 | \fB\-\-auto\-stash\fR | ||
33 | stash local modifications before starting | ||
34 | .TP | ||
35 | \fB\-m\fR, \fB\-\-onto\-manifest\fR | ||
36 | rebase onto the manifest version instead of upstream | ||
37 | HEAD (this helps to make sure the local tree stays | ||
38 | consistent if you previously synced to a manifest) | ||
39 | .SS Logging options: | ||
40 | .TP | ||
41 | \fB\-v\fR, \fB\-\-verbose\fR | ||
42 | show all output | ||
43 | .TP | ||
44 | \fB\-q\fR, \fB\-\-quiet\fR | ||
45 | only show errors | ||
46 | .TP | ||
47 | \fB\-i\fR, \fB\-\-interactive\fR | ||
48 | interactive rebase (single project only) | ||
49 | .PP | ||
50 | Run `repo help rebase` to view the detailed manual. | ||
51 | .SH DETAILS | ||
52 | .PP | ||
53 | \&'repo rebase' uses git rebase to move local changes in the current topic branch | ||
54 | to the HEAD of the upstream history, useful when you have made commits in a | ||
55 | topic branch but need to incorporate new upstream changes "underneath" them. | ||
diff --git a/man/repo-selfupdate.1 b/man/repo-selfupdate.1 new file mode 100644 index 00000000..70c855ab --- /dev/null +++ b/man/repo-selfupdate.1 | |||
@@ -0,0 +1,35 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo selfupdate" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo selfupdate - manual page for repo selfupdate | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,selfupdate\/\fR | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Update repo to the latest version | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .SS Logging options: | ||
17 | .TP | ||
18 | \fB\-v\fR, \fB\-\-verbose\fR | ||
19 | show all output | ||
20 | .TP | ||
21 | \fB\-q\fR, \fB\-\-quiet\fR | ||
22 | only show errors | ||
23 | .SS repo Version options: | ||
24 | .TP | ||
25 | \fB\-\-no\-repo\-verify\fR | ||
26 | do not verify repo source code | ||
27 | .PP | ||
28 | Run `repo help selfupdate` to view the detailed manual. | ||
29 | .SH DETAILS | ||
30 | .PP | ||
31 | The 'repo selfupdate' command upgrades repo to the latest version, if a newer | ||
32 | version is available. | ||
33 | .PP | ||
34 | Normally this is done automatically by 'repo sync' and does not need to be | ||
35 | performed by an end\-user. | ||
diff --git a/man/repo-smartsync.1 b/man/repo-smartsync.1 new file mode 100644 index 00000000..5d939117 --- /dev/null +++ b/man/repo-smartsync.1 | |||
@@ -0,0 +1,118 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo smartsync" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo smartsync - manual page for repo smartsync | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,smartsync \/\fR[\fI\,<project>\/\fR...] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Update working tree to the latest known good revision | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .TP | ||
17 | \fB\-j\fR JOBS, \fB\-\-jobs\fR=\fI\,JOBS\/\fR | ||
18 | number of jobs to run in parallel (default: based on | ||
19 | number of CPU cores) | ||
20 | .TP | ||
21 | \fB\-\-jobs\-network\fR=\fI\,JOBS\/\fR | ||
22 | number of network jobs to run in parallel (defaults to | ||
23 | \fB\-\-jobs\fR) | ||
24 | .TP | ||
25 | \fB\-\-jobs\-checkout\fR=\fI\,JOBS\/\fR | ||
26 | number of local checkout jobs to run in parallel | ||
27 | (defaults to \fB\-\-jobs\fR) | ||
28 | .TP | ||
29 | \fB\-f\fR, \fB\-\-force\-broken\fR | ||
30 | obsolete option (to be deleted in the future) | ||
31 | .TP | ||
32 | \fB\-\-fail\-fast\fR | ||
33 | stop syncing after first error is hit | ||
34 | .TP | ||
35 | \fB\-\-force\-sync\fR | ||
36 | overwrite an existing git directory if it needs to | ||
37 | point to a different object directory. WARNING: this | ||
38 | may cause loss of data | ||
39 | .TP | ||
40 | \fB\-\-force\-remove\-dirty\fR | ||
41 | force remove projects with uncommitted modifications | ||
42 | if projects no longer exist in the manifest. WARNING: | ||
43 | this may cause loss of data | ||
44 | .TP | ||
45 | \fB\-l\fR, \fB\-\-local\-only\fR | ||
46 | only update working tree, don't fetch | ||
47 | .TP | ||
48 | \fB\-\-no\-manifest\-update\fR, \fB\-\-nmu\fR | ||
49 | use the existing manifest checkout as\-is. (do not | ||
50 | update to the latest revision) | ||
51 | .TP | ||
52 | \fB\-n\fR, \fB\-\-network\-only\fR | ||
53 | fetch only, don't update working tree | ||
54 | .TP | ||
55 | \fB\-d\fR, \fB\-\-detach\fR | ||
56 | detach projects back to manifest revision | ||
57 | .TP | ||
58 | \fB\-c\fR, \fB\-\-current\-branch\fR | ||
59 | fetch only current branch from server | ||
60 | .TP | ||
61 | \fB\-\-no\-current\-branch\fR | ||
62 | fetch all branches from server | ||
63 | .TP | ||
64 | \fB\-m\fR NAME.xml, \fB\-\-manifest\-name\fR=\fI\,NAME\/\fR.xml | ||
65 | temporary manifest to use for this sync | ||
66 | .TP | ||
67 | \fB\-\-clone\-bundle\fR | ||
68 | enable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS | ||
69 | .TP | ||
70 | \fB\-\-no\-clone\-bundle\fR | ||
71 | disable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS | ||
72 | .TP | ||
73 | \fB\-u\fR MANIFEST_SERVER_USERNAME, \fB\-\-manifest\-server\-username\fR=\fI\,MANIFEST_SERVER_USERNAME\/\fR | ||
74 | username to authenticate with the manifest server | ||
75 | .TP | ||
76 | \fB\-p\fR MANIFEST_SERVER_PASSWORD, \fB\-\-manifest\-server\-password\fR=\fI\,MANIFEST_SERVER_PASSWORD\/\fR | ||
77 | password to authenticate with the manifest server | ||
78 | .TP | ||
79 | \fB\-\-fetch\-submodules\fR | ||
80 | fetch submodules from server | ||
81 | .TP | ||
82 | \fB\-\-use\-superproject\fR | ||
83 | use the manifest superproject to sync projects | ||
84 | .TP | ||
85 | \fB\-\-no\-use\-superproject\fR | ||
86 | disable use of manifest superprojects | ||
87 | .TP | ||
88 | \fB\-\-tags\fR | ||
89 | fetch tags | ||
90 | .TP | ||
91 | \fB\-\-no\-tags\fR | ||
92 | don't fetch tags | ||
93 | .TP | ||
94 | \fB\-\-optimized\-fetch\fR | ||
95 | only fetch projects fixed to sha1 if revision does not | ||
96 | exist locally | ||
97 | .TP | ||
98 | \fB\-\-retry\-fetches\fR=\fI\,RETRY_FETCHES\/\fR | ||
99 | number of times to retry fetches on transient errors | ||
100 | .TP | ||
101 | \fB\-\-prune\fR | ||
102 | delete refs that no longer exist on the remote | ||
103 | .SS Logging options: | ||
104 | .TP | ||
105 | \fB\-v\fR, \fB\-\-verbose\fR | ||
106 | show all output | ||
107 | .TP | ||
108 | \fB\-q\fR, \fB\-\-quiet\fR | ||
109 | only show errors | ||
110 | .SS repo Version options: | ||
111 | .TP | ||
112 | \fB\-\-no\-repo\-verify\fR | ||
113 | do not verify repo source code | ||
114 | .PP | ||
115 | Run `repo help smartsync` to view the detailed manual. | ||
116 | .SH DETAILS | ||
117 | .PP | ||
118 | The 'repo smartsync' command is a shortcut for sync \fB\-s\fR. | ||
diff --git a/man/repo-stage.1 b/man/repo-stage.1 new file mode 100644 index 00000000..07e1cac6 --- /dev/null +++ b/man/repo-stage.1 | |||
@@ -0,0 +1,30 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo stage" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo stage - manual page for repo stage | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,stage -i \/\fR[\fI\,<project>\/\fR...] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Stage file(s) for commit | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .SS Logging options: | ||
17 | .TP | ||
18 | \fB\-v\fR, \fB\-\-verbose\fR | ||
19 | show all output | ||
20 | .TP | ||
21 | \fB\-q\fR, \fB\-\-quiet\fR | ||
22 | only show errors | ||
23 | .TP | ||
24 | \fB\-i\fR, \fB\-\-interactive\fR | ||
25 | use interactive staging | ||
26 | .PP | ||
27 | Run `repo help stage` to view the detailed manual. | ||
28 | .SH DETAILS | ||
29 | .PP | ||
30 | The 'repo stage' command stages files to prepare the next commit. | ||
diff --git a/man/repo-start.1 b/man/repo-start.1 new file mode 100644 index 00000000..b00a31f4 --- /dev/null +++ b/man/repo-start.1 | |||
@@ -0,0 +1,41 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo start" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo start - manual page for repo start | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,start <newbranchname> \/\fR[\fI\,--all | <project>\/\fR...] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Start a new branch for development | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .TP | ||
17 | \fB\-j\fR JOBS, \fB\-\-jobs\fR=\fI\,JOBS\/\fR | ||
18 | number of jobs to run in parallel (default: based on | ||
19 | number of CPU cores) | ||
20 | .TP | ||
21 | \fB\-\-all\fR | ||
22 | begin branch in all projects | ||
23 | .TP | ||
24 | \fB\-r\fR REVISION, \fB\-\-rev\fR=\fI\,REVISION\/\fR, \fB\-\-revision\fR=\fI\,REVISION\/\fR | ||
25 | point branch at this revision instead of upstream | ||
26 | .TP | ||
27 | \fB\-\-head\fR, \fB\-\-HEAD\fR | ||
28 | abbreviation for \fB\-\-rev\fR HEAD | ||
29 | .SS Logging options: | ||
30 | .TP | ||
31 | \fB\-v\fR, \fB\-\-verbose\fR | ||
32 | show all output | ||
33 | .TP | ||
34 | \fB\-q\fR, \fB\-\-quiet\fR | ||
35 | only show errors | ||
36 | .PP | ||
37 | Run `repo help start` to view the detailed manual. | ||
38 | .SH DETAILS | ||
39 | .PP | ||
40 | \&'repo start' begins a new branch of development, starting from the revision | ||
41 | specified in the manifest. | ||
diff --git a/man/repo-status.1 b/man/repo-status.1 new file mode 100644 index 00000000..fbae2c5d --- /dev/null +++ b/man/repo-status.1 | |||
@@ -0,0 +1,98 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo status" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo status - manual page for repo status | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,status \/\fR[\fI\,<project>\/\fR...] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Show the working tree status | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .TP | ||
17 | \fB\-j\fR JOBS, \fB\-\-jobs\fR=\fI\,JOBS\/\fR | ||
18 | number of jobs to run in parallel (default: based on | ||
19 | number of CPU cores) | ||
20 | .TP | ||
21 | \fB\-o\fR, \fB\-\-orphans\fR | ||
22 | include objects in working directory outside of repo | ||
23 | projects | ||
24 | .SS Logging options: | ||
25 | .TP | ||
26 | \fB\-v\fR, \fB\-\-verbose\fR | ||
27 | show all output | ||
28 | .TP | ||
29 | \fB\-q\fR, \fB\-\-quiet\fR | ||
30 | only show errors | ||
31 | .PP | ||
32 | Run `repo help status` to view the detailed manual. | ||
33 | .SH DETAILS | ||
34 | .PP | ||
35 | \&'repo status' compares the working tree to the staging area (aka index), and the | ||
36 | most recent commit on this branch (HEAD), in each project specified. A summary | ||
37 | is displayed, one line per file where there is a difference between these three | ||
38 | states. | ||
39 | .PP | ||
40 | The \fB\-j\fR/\-\-jobs option can be used to run multiple status queries in parallel. | ||
41 | .PP | ||
42 | The \fB\-o\fR/\-\-orphans option can be used to show objects that are in the working | ||
43 | directory, but not associated with a repo project. This includes unmanaged | ||
44 | top\-level files and directories, but also includes deeper items. For example, if | ||
45 | dir/subdir/proj1 and dir/subdir/proj2 are repo projects, dir/subdir/proj3 will | ||
46 | be shown if it is not known to repo. | ||
47 | .PP | ||
48 | Status Display | ||
49 | .PP | ||
50 | The status display is organized into three columns of information, for example | ||
51 | if the file 'subcmds/status.py' is modified in the project 'repo' on branch | ||
52 | \&'devwork': | ||
53 | .TP | ||
54 | project repo/ | ||
55 | branch devwork | ||
56 | .TP | ||
57 | \fB\-m\fR | ||
58 | subcmds/status.py | ||
59 | .PP | ||
60 | The first column explains how the staging area (index) differs from the last | ||
61 | commit (HEAD). Its values are always displayed in upper case and have the | ||
62 | following meanings: | ||
63 | .TP | ||
64 | \-: | ||
65 | no difference | ||
66 | .TP | ||
67 | A: | ||
68 | added (not in HEAD, in index ) | ||
69 | .TP | ||
70 | M: | ||
71 | modified ( in HEAD, in index, different content ) | ||
72 | .TP | ||
73 | D: | ||
74 | deleted ( in HEAD, not in index ) | ||
75 | .TP | ||
76 | R: | ||
77 | renamed (not in HEAD, in index, path changed ) | ||
78 | .TP | ||
79 | C: | ||
80 | copied (not in HEAD, in index, copied from another) | ||
81 | .TP | ||
82 | T: | ||
83 | mode changed ( in HEAD, in index, same content ) | ||
84 | .TP | ||
85 | U: | ||
86 | unmerged; conflict resolution required | ||
87 | .PP | ||
88 | The second column explains how the working directory differs from the index. Its | ||
89 | values are always displayed in lower case and have the following meanings: | ||
90 | .TP | ||
91 | \-: | ||
92 | new / unknown (not in index, in work tree ) | ||
93 | .TP | ||
94 | m: | ||
95 | modified ( in index, in work tree, modified ) | ||
96 | .TP | ||
97 | d: | ||
98 | deleted ( in index, not in work tree ) | ||
diff --git a/man/repo-sync.1 b/man/repo-sync.1 new file mode 100644 index 00000000..c87c9701 --- /dev/null +++ b/man/repo-sync.1 | |||
@@ -0,0 +1,209 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo sync" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo sync - manual page for repo sync | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,sync \/\fR[\fI\,<project>\/\fR...] | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Update working tree to the latest revision | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .TP | ||
17 | \fB\-j\fR JOBS, \fB\-\-jobs\fR=\fI\,JOBS\/\fR | ||
18 | number of jobs to run in parallel (default: based on | ||
19 | number of CPU cores) | ||
20 | .TP | ||
21 | \fB\-\-jobs\-network\fR=\fI\,JOBS\/\fR | ||
22 | number of network jobs to run in parallel (defaults to | ||
23 | \fB\-\-jobs\fR) | ||
24 | .TP | ||
25 | \fB\-\-jobs\-checkout\fR=\fI\,JOBS\/\fR | ||
26 | number of local checkout jobs to run in parallel | ||
27 | (defaults to \fB\-\-jobs\fR) | ||
28 | .TP | ||
29 | \fB\-f\fR, \fB\-\-force\-broken\fR | ||
30 | obsolete option (to be deleted in the future) | ||
31 | .TP | ||
32 | \fB\-\-fail\-fast\fR | ||
33 | stop syncing after first error is hit | ||
34 | .TP | ||
35 | \fB\-\-force\-sync\fR | ||
36 | overwrite an existing git directory if it needs to | ||
37 | point to a different object directory. WARNING: this | ||
38 | may cause loss of data | ||
39 | .TP | ||
40 | \fB\-\-force\-remove\-dirty\fR | ||
41 | force remove projects with uncommitted modifications | ||
42 | if projects no longer exist in the manifest. WARNING: | ||
43 | this may cause loss of data | ||
44 | .TP | ||
45 | \fB\-l\fR, \fB\-\-local\-only\fR | ||
46 | only update working tree, don't fetch | ||
47 | .TP | ||
48 | \fB\-\-no\-manifest\-update\fR, \fB\-\-nmu\fR | ||
49 | use the existing manifest checkout as\-is. (do not | ||
50 | update to the latest revision) | ||
51 | .TP | ||
52 | \fB\-n\fR, \fB\-\-network\-only\fR | ||
53 | fetch only, don't update working tree | ||
54 | .TP | ||
55 | \fB\-d\fR, \fB\-\-detach\fR | ||
56 | detach projects back to manifest revision | ||
57 | .TP | ||
58 | \fB\-c\fR, \fB\-\-current\-branch\fR | ||
59 | fetch only current branch from server | ||
60 | .TP | ||
61 | \fB\-\-no\-current\-branch\fR | ||
62 | fetch all branches from server | ||
63 | .TP | ||
64 | \fB\-m\fR NAME.xml, \fB\-\-manifest\-name\fR=\fI\,NAME\/\fR.xml | ||
65 | temporary manifest to use for this sync | ||
66 | .TP | ||
67 | \fB\-\-clone\-bundle\fR | ||
68 | enable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS | ||
69 | .TP | ||
70 | \fB\-\-no\-clone\-bundle\fR | ||
71 | disable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS | ||
72 | .TP | ||
73 | \fB\-u\fR MANIFEST_SERVER_USERNAME, \fB\-\-manifest\-server\-username\fR=\fI\,MANIFEST_SERVER_USERNAME\/\fR | ||
74 | username to authenticate with the manifest server | ||
75 | .TP | ||
76 | \fB\-p\fR MANIFEST_SERVER_PASSWORD, \fB\-\-manifest\-server\-password\fR=\fI\,MANIFEST_SERVER_PASSWORD\/\fR | ||
77 | password to authenticate with the manifest server | ||
78 | .TP | ||
79 | \fB\-\-fetch\-submodules\fR | ||
80 | fetch submodules from server | ||
81 | .TP | ||
82 | \fB\-\-use\-superproject\fR | ||
83 | use the manifest superproject to sync projects | ||
84 | .TP | ||
85 | \fB\-\-no\-use\-superproject\fR | ||
86 | disable use of manifest superprojects | ||
87 | .TP | ||
88 | \fB\-\-tags\fR | ||
89 | fetch tags | ||
90 | .TP | ||
91 | \fB\-\-no\-tags\fR | ||
92 | don't fetch tags | ||
93 | .TP | ||
94 | \fB\-\-optimized\-fetch\fR | ||
95 | only fetch projects fixed to sha1 if revision does not | ||
96 | exist locally | ||
97 | .TP | ||
98 | \fB\-\-retry\-fetches\fR=\fI\,RETRY_FETCHES\/\fR | ||
99 | number of times to retry fetches on transient errors | ||
100 | .TP | ||
101 | \fB\-\-prune\fR | ||
102 | delete refs that no longer exist on the remote | ||
103 | .TP | ||
104 | \fB\-s\fR, \fB\-\-smart\-sync\fR | ||
105 | smart sync using manifest from the latest known good | ||
106 | build | ||
107 | .TP | ||
108 | \fB\-t\fR SMART_TAG, \fB\-\-smart\-tag\fR=\fI\,SMART_TAG\/\fR | ||
109 | smart sync using manifest from a known tag | ||
110 | .SS Logging options: | ||
111 | .TP | ||
112 | \fB\-v\fR, \fB\-\-verbose\fR | ||
113 | show all output | ||
114 | .TP | ||
115 | \fB\-q\fR, \fB\-\-quiet\fR | ||
116 | only show errors | ||
117 | .SS repo Version options: | ||
118 | .TP | ||
119 | \fB\-\-no\-repo\-verify\fR | ||
120 | do not verify repo source code | ||
121 | .PP | ||
122 | Run `repo help sync` to view the detailed manual. | ||
123 | .SH DETAILS | ||
124 | .PP | ||
125 | The 'repo sync' command synchronizes local project directories with the remote | ||
126 | repositories specified in the manifest. If a local project does not yet exist, | ||
127 | it will clone a new local directory from the remote repository and set up | ||
128 | tracking branches as specified in the manifest. If the local project already | ||
129 | exists, 'repo sync' will update the remote branches and rebase any new local | ||
130 | changes on top of the new remote changes. | ||
131 | .PP | ||
132 | \&'repo sync' will synchronize all projects listed at the command line. Projects | ||
133 | can be specified either by name, or by a relative or absolute path to the | ||
134 | project's local directory. If no projects are specified, 'repo sync' will | ||
135 | synchronize all projects listed in the manifest. | ||
136 | .PP | ||
137 | The \fB\-d\fR/\-\-detach option can be used to switch specified projects back to the | ||
138 | manifest revision. This option is especially helpful if the project is currently | ||
139 | on a topic branch, but the manifest revision is temporarily needed. | ||
140 | .PP | ||
141 | The \fB\-s\fR/\-\-smart\-sync option can be used to sync to a known good build as | ||
142 | specified by the manifest\-server element in the current manifest. The | ||
143 | \fB\-t\fR/\-\-smart\-tag option is similar and allows you to specify a custom tag/label. | ||
144 | .PP | ||
145 | The \fB\-u\fR/\-\-manifest\-server\-username and \fB\-p\fR/\-\-manifest\-server\-password options can | ||
146 | be used to specify a username and password to authenticate with the manifest | ||
147 | server when using the \fB\-s\fR or \fB\-t\fR option. | ||
148 | .PP | ||
149 | If \fB\-u\fR and \fB\-p\fR are not specified when using the \fB\-s\fR or \fB\-t\fR option, 'repo sync' will | ||
150 | attempt to read authentication credentials for the manifest server from the | ||
151 | user's .netrc file. | ||
152 | .PP | ||
153 | \&'repo sync' will not use authentication credentials from \fB\-u\fR/\-p or .netrc if the | ||
154 | manifest server specified in the manifest file already includes credentials. | ||
155 | .PP | ||
156 | By default, all projects will be synced. The \fB\-\-fail\-fast\fR option can be used to | ||
157 | halt syncing as soon as possible when the first project fails to sync. | ||
158 | .PP | ||
159 | The \fB\-\-force\-sync\fR option can be used to overwrite existing git directories if | ||
160 | they have previously been linked to a different object directory. WARNING: This | ||
161 | may cause data to be lost since refs may be removed when overwriting. | ||
162 | .PP | ||
163 | The \fB\-\-force\-remove\-dirty\fR option can be used to remove previously used projects | ||
164 | with uncommitted changes. WARNING: This may cause data to be lost since | ||
165 | uncommitted changes may be removed with projects that no longer exist in the | ||
166 | manifest. | ||
167 | .PP | ||
168 | The \fB\-\-no\-clone\-bundle\fR option disables any attempt to use \fI\,$URL/clone.bundle\/\fP to | ||
169 | bootstrap a new Git repository from a resumeable bundle file on a content | ||
170 | delivery network. This may be necessary if there are problems with the local | ||
171 | Python HTTP client or proxy configuration, but the Git binary works. | ||
172 | .PP | ||
173 | The \fB\-\-fetch\-submodules\fR option enables fetching Git submodules of a project from | ||
174 | server. | ||
175 | .PP | ||
176 | The \fB\-c\fR/\-\-current\-branch option can be used to only fetch objects that are on the | ||
177 | branch specified by a project's revision. | ||
178 | .PP | ||
179 | The \fB\-\-optimized\-fetch\fR option can be used to only fetch projects that are fixed | ||
180 | to a sha1 revision if the sha1 revision does not already exist locally. | ||
181 | .PP | ||
182 | The \fB\-\-prune\fR option can be used to remove any refs that no longer exist on the | ||
183 | remote. | ||
184 | .PP | ||
185 | SSH Connections | ||
186 | .PP | ||
187 | If at least one project remote URL uses an SSH connection (ssh://, git+ssh://, | ||
188 | or user@host:path syntax) repo will automatically enable the SSH ControlMaster | ||
189 | option when connecting to that host. This feature permits other projects in the | ||
190 | same 'repo sync' session to reuse the same SSH tunnel, saving connection setup | ||
191 | overheads. | ||
192 | .PP | ||
193 | To disable this behavior on UNIX platforms, set the GIT_SSH environment variable | ||
194 | to 'ssh'. For example: | ||
195 | .IP | ||
196 | export GIT_SSH=ssh | ||
197 | repo sync | ||
198 | .PP | ||
199 | Compatibility | ||
200 | .PP | ||
201 | This feature is automatically disabled on Windows, due to the lack of UNIX | ||
202 | domain socket support. | ||
203 | .PP | ||
204 | This feature is not compatible with url.insteadof rewrites in the user's | ||
205 | ~/.gitconfig. 'repo sync' is currently not able to perform the rewrite early | ||
206 | enough to establish the ControlMaster tunnel. | ||
207 | .PP | ||
208 | If the remote SSH daemon is Gerrit Code Review, version 2.0.10 or later is | ||
209 | required to fix a server side protocol bug. | ||
diff --git a/man/repo-upload.1 b/man/repo-upload.1 new file mode 100644 index 00000000..36a0daca --- /dev/null +++ b/man/repo-upload.1 | |||
@@ -0,0 +1,175 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo upload" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo upload - manual page for repo upload | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,upload \/\fR[\fI\,--re --cc\/\fR] [\fI\,<project>\/\fR]... | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Upload changes for code review | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .TP | ||
17 | \fB\-j\fR JOBS, \fB\-\-jobs\fR=\fI\,JOBS\/\fR | ||
18 | number of jobs to run in parallel (default: based on | ||
19 | number of CPU cores) | ||
20 | .TP | ||
21 | \fB\-t\fR | ||
22 | send local branch name to Gerrit Code Review | ||
23 | .TP | ||
24 | \fB\-\-hashtag\fR=\fI\,HASHTAGS\/\fR, \fB\-\-ht\fR=\fI\,HASHTAGS\/\fR | ||
25 | add hashtags (comma delimited) to the review | ||
26 | .TP | ||
27 | \fB\-\-hashtag\-branch\fR, \fB\-\-htb\fR | ||
28 | add local branch name as a hashtag | ||
29 | .TP | ||
30 | \fB\-l\fR LABELS, \fB\-\-label\fR=\fI\,LABELS\/\fR | ||
31 | add a label when uploading | ||
32 | .TP | ||
33 | \fB\-\-re\fR=\fI\,REVIEWERS\/\fR, \fB\-\-reviewers\fR=\fI\,REVIEWERS\/\fR | ||
34 | request reviews from these people | ||
35 | .TP | ||
36 | \fB\-\-cc\fR=\fI\,CC\/\fR | ||
37 | also send email to these email addresses | ||
38 | .TP | ||
39 | \fB\-\-br\fR=\fI\,BRANCH\/\fR, \fB\-\-branch\fR=\fI\,BRANCH\/\fR | ||
40 | (local) branch to upload | ||
41 | .TP | ||
42 | \fB\-c\fR, \fB\-\-current\-branch\fR | ||
43 | upload current git branch | ||
44 | .TP | ||
45 | \fB\-\-no\-current\-branch\fR | ||
46 | upload all git branches | ||
47 | .TP | ||
48 | \fB\-\-ne\fR, \fB\-\-no\-emails\fR | ||
49 | do not send e\-mails on upload | ||
50 | .TP | ||
51 | \fB\-p\fR, \fB\-\-private\fR | ||
52 | upload as a private change (deprecated; use \fB\-\-wip\fR) | ||
53 | .TP | ||
54 | \fB\-w\fR, \fB\-\-wip\fR | ||
55 | upload as a work\-in\-progress change | ||
56 | .TP | ||
57 | \fB\-o\fR PUSH_OPTIONS, \fB\-\-push\-option\fR=\fI\,PUSH_OPTIONS\/\fR | ||
58 | additional push options to transmit | ||
59 | .TP | ||
60 | \fB\-D\fR BRANCH, \fB\-\-destination\fR=\fI\,BRANCH\/\fR, \fB\-\-dest\fR=\fI\,BRANCH\/\fR | ||
61 | submit for review on this target branch | ||
62 | .TP | ||
63 | \fB\-n\fR, \fB\-\-dry\-run\fR | ||
64 | do everything except actually upload the CL | ||
65 | .TP | ||
66 | \fB\-y\fR, \fB\-\-yes\fR | ||
67 | answer yes to all safe prompts | ||
68 | .TP | ||
69 | \fB\-\-no\-cert\-checks\fR | ||
70 | disable verifying ssl certs (unsafe) | ||
71 | .SS Logging options: | ||
72 | .TP | ||
73 | \fB\-v\fR, \fB\-\-verbose\fR | ||
74 | show all output | ||
75 | .TP | ||
76 | \fB\-q\fR, \fB\-\-quiet\fR | ||
77 | only show errors | ||
78 | .SS pre\-upload hooks: | ||
79 | .TP | ||
80 | \fB\-\-no\-verify\fR | ||
81 | Do not run the pre\-upload hook. | ||
82 | .TP | ||
83 | \fB\-\-verify\fR | ||
84 | Run the pre\-upload hook without prompting. | ||
85 | .TP | ||
86 | \fB\-\-ignore\-hooks\fR | ||
87 | Do not abort if pre\-upload hooks fail. | ||
88 | .PP | ||
89 | Run `repo help upload` to view the detailed manual. | ||
90 | .SH DETAILS | ||
91 | .PP | ||
92 | The 'repo upload' command is used to send changes to the Gerrit Code Review | ||
93 | system. It searches for topic branches in local projects that have not yet been | ||
94 | published for review. If multiple topic branches are found, 'repo upload' opens | ||
95 | an editor to allow the user to select which branches to upload. | ||
96 | .PP | ||
97 | \&'repo upload' searches for uploadable changes in all projects listed at the | ||
98 | command line. Projects can be specified either by name, or by a relative or | ||
99 | absolute path to the project's local directory. If no projects are specified, | ||
100 | \&'repo upload' will search for uploadable changes in all projects listed in the | ||
101 | manifest. | ||
102 | .PP | ||
103 | If the \fB\-\-reviewers\fR or \fB\-\-cc\fR options are passed, those emails are added to the | ||
104 | respective list of users, and emails are sent to any new users. Users passed as | ||
105 | \fB\-\-reviewers\fR must already be registered with the code review system, or the | ||
106 | upload will fail. | ||
107 | .PP | ||
108 | Configuration | ||
109 | .PP | ||
110 | review.URL.autoupload: | ||
111 | .PP | ||
112 | To disable the "Upload ... (y/N)?" prompt, you can set a per\-project or global | ||
113 | Git configuration option. If review.URL.autoupload is set to "true" then repo | ||
114 | will assume you always answer "y" at the prompt, and will not prompt you | ||
115 | further. If it is set to "false" then repo will assume you always answer "n", | ||
116 | and will abort. | ||
117 | .PP | ||
118 | review.URL.autoreviewer: | ||
119 | .PP | ||
120 | To automatically append a user or mailing list to reviews, you can set a | ||
121 | per\-project or global Git option to do so. | ||
122 | .PP | ||
123 | review.URL.autocopy: | ||
124 | .PP | ||
125 | To automatically copy a user or mailing list to all uploaded reviews, you can | ||
126 | set a per\-project or global Git option to do so. Specifically, | ||
127 | review.URL.autocopy can be set to a comma separated list of reviewers who you | ||
128 | always want copied on all uploads with a non\-empty \fB\-\-re\fR argument. | ||
129 | .PP | ||
130 | review.URL.username: | ||
131 | .PP | ||
132 | Override the username used to connect to Gerrit Code Review. By default the | ||
133 | local part of the email address is used. | ||
134 | .PP | ||
135 | The URL must match the review URL listed in the manifest XML file, or in the | ||
136 | \&.git/config within the project. For example: | ||
137 | .IP | ||
138 | [remote "origin"] | ||
139 | .IP | ||
140 | url = git://git.example.com/project.git | ||
141 | review = http://review.example.com/ | ||
142 | .IP | ||
143 | [review "http://review.example.com/"] | ||
144 | .IP | ||
145 | autoupload = true | ||
146 | autocopy = johndoe@company.com,my\-team\-alias@company.com | ||
147 | .PP | ||
148 | review.URL.uploadtopic: | ||
149 | .PP | ||
150 | To add a topic branch whenever uploading a commit, you can set a per\-project or | ||
151 | global Git option to do so. If review.URL.uploadtopic is set to "true" then repo | ||
152 | will assume you always want the equivalent of the \fB\-t\fR option to the repo command. | ||
153 | If unset or set to "false" then repo will make use of only the command line | ||
154 | option. | ||
155 | .PP | ||
156 | review.URL.uploadhashtags: | ||
157 | .PP | ||
158 | To add hashtags whenever uploading a commit, you can set a per\-project or global | ||
159 | Git option to do so. The value of review.URL.uploadhashtags will be used as | ||
160 | comma delimited hashtags like the \fB\-\-hashtag\fR option. | ||
161 | .PP | ||
162 | review.URL.uploadlabels: | ||
163 | .PP | ||
164 | To add labels whenever uploading a commit, you can set a per\-project or global | ||
165 | Git option to do so. The value of review.URL.uploadlabels will be used as comma | ||
166 | delimited labels like the \fB\-\-label\fR option. | ||
167 | .PP | ||
168 | review.URL.uploadnotify: | ||
169 | .PP | ||
170 | Control e\-mail notifications when uploading. | ||
171 | https://gerrit\-review.googlesource.com/Documentation/user\-upload.html#notify | ||
172 | .PP | ||
173 | References | ||
174 | .PP | ||
175 | Gerrit Code Review: https://www.gerritcodereview.com/ | ||
diff --git a/man/repo-version.1 b/man/repo-version.1 new file mode 100644 index 00000000..cc703f61 --- /dev/null +++ b/man/repo-version.1 | |||
@@ -0,0 +1,24 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo version" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repo version - manual page for repo version | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | \fI\,version\/\fR | ||
8 | .SH DESCRIPTION | ||
9 | Summary | ||
10 | .PP | ||
11 | Display the version of repo | ||
12 | .SH OPTIONS | ||
13 | .TP | ||
14 | \fB\-h\fR, \fB\-\-help\fR | ||
15 | show this help message and exit | ||
16 | .SS Logging options: | ||
17 | .TP | ||
18 | \fB\-v\fR, \fB\-\-verbose\fR | ||
19 | show all output | ||
20 | .TP | ||
21 | \fB\-q\fR, \fB\-\-quiet\fR | ||
22 | only show errors | ||
23 | .PP | ||
24 | Run `repo help version` to view the detailed manual. | ||
diff --git a/man/repo.1 b/man/repo.1 new file mode 100644 index 00000000..4aa76380 --- /dev/null +++ b/man/repo.1 | |||
@@ -0,0 +1,133 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
2 | .TH REPO "1" "July 2021" "repo" "Repo Manual" | ||
3 | .SH NAME | ||
4 | repo \- repository management tool built on top of git | ||
5 | .SH SYNOPSIS | ||
6 | .B repo | ||
7 | [\fI\,-p|--paginate|--no-pager\/\fR] \fI\,COMMAND \/\fR[\fI\,ARGS\/\fR] | ||
8 | .SH OPTIONS | ||
9 | .TP | ||
10 | \fB\-h\fR, \fB\-\-help\fR | ||
11 | show this help message and exit | ||
12 | .TP | ||
13 | \fB\-\-help\-all\fR | ||
14 | show this help message with all subcommands and exit | ||
15 | .TP | ||
16 | \fB\-p\fR, \fB\-\-paginate\fR | ||
17 | display command output in the pager | ||
18 | .TP | ||
19 | \fB\-\-no\-pager\fR | ||
20 | disable the pager | ||
21 | .TP | ||
22 | \fB\-\-color\fR=\fI\,COLOR\/\fR | ||
23 | control color usage: auto, always, never | ||
24 | .TP | ||
25 | \fB\-\-trace\fR | ||
26 | trace git command execution (REPO_TRACE=1) | ||
27 | .TP | ||
28 | \fB\-\-trace\-python\fR | ||
29 | trace python command execution | ||
30 | .TP | ||
31 | \fB\-\-time\fR | ||
32 | time repo command execution | ||
33 | .TP | ||
34 | \fB\-\-version\fR | ||
35 | display this version of repo | ||
36 | .TP | ||
37 | \fB\-\-show\-toplevel\fR | ||
38 | display the path of the top\-level directory of the | ||
39 | repo client checkout | ||
40 | .TP | ||
41 | \fB\-\-event\-log\fR=\fI\,EVENT_LOG\/\fR | ||
42 | filename of event log to append timeline to | ||
43 | .TP | ||
44 | \fB\-\-git\-trace2\-event\-log\fR=\fI\,GIT_TRACE2_EVENT_LOG\/\fR | ||
45 | directory to write git trace2 event log to | ||
46 | .SS "The complete list of recognized repo commands are:" | ||
47 | .TP | ||
48 | abandon | ||
49 | Permanently abandon a development branch | ||
50 | .TP | ||
51 | branch | ||
52 | View current topic branches | ||
53 | .TP | ||
54 | branches | ||
55 | View current topic branches | ||
56 | .TP | ||
57 | checkout | ||
58 | Checkout a branch for development | ||
59 | .TP | ||
60 | cherry\-pick | ||
61 | Cherry\-pick a change. | ||
62 | .TP | ||
63 | diff | ||
64 | Show changes between commit and working tree | ||
65 | .TP | ||
66 | diffmanifests | ||
67 | Manifest diff utility | ||
68 | .TP | ||
69 | download | ||
70 | Download and checkout a change | ||
71 | .TP | ||
72 | forall | ||
73 | Run a shell command in each project | ||
74 | .TP | ||
75 | gitc\-delete | ||
76 | Delete a GITC Client. | ||
77 | .TP | ||
78 | gitc\-init | ||
79 | Initialize a GITC Client. | ||
80 | .TP | ||
81 | grep | ||
82 | Print lines matching a pattern | ||
83 | .TP | ||
84 | help | ||
85 | Display detailed help on a command | ||
86 | .TP | ||
87 | info | ||
88 | Get info on the manifest branch, current branch or unmerged branches | ||
89 | .TP | ||
90 | init | ||
91 | Initialize a repo client checkout in the current directory | ||
92 | .TP | ||
93 | list | ||
94 | List projects and their associated directories | ||
95 | .TP | ||
96 | manifest | ||
97 | Manifest inspection utility | ||
98 | .TP | ||
99 | overview | ||
100 | Display overview of unmerged project branches | ||
101 | .TP | ||
102 | prune | ||
103 | Prune (delete) already merged topics | ||
104 | .TP | ||
105 | rebase | ||
106 | Rebase local branches on upstream branch | ||
107 | .TP | ||
108 | selfupdate | ||
109 | Update repo to the latest version | ||
110 | .TP | ||
111 | smartsync | ||
112 | Update working tree to the latest known good revision | ||
113 | .TP | ||
114 | stage | ||
115 | Stage file(s) for commit | ||
116 | .TP | ||
117 | start | ||
118 | Start a new branch for development | ||
119 | .TP | ||
120 | status | ||
121 | Show the working tree status | ||
122 | .TP | ||
123 | sync | ||
124 | Update working tree to the latest revision | ||
125 | .TP | ||
126 | upload | ||
127 | Upload changes for code review | ||
128 | .TP | ||
129 | version | ||
130 | Display the version of repo | ||
131 | .PP | ||
132 | See 'repo help <command>' for more information on a specific command. | ||
133 | Bug reports: https://bugs.chromium.org/p/gerrit/issues/entry?template=Repo+tool+issue | ||