diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manifest-format.txt | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt index a36af67c..f499868c 100644 --- a/docs/manifest-format.txt +++ b/docs/manifest-format.txt | |||
@@ -45,8 +45,7 @@ following DTD: | |||
45 | <!ELEMENT manifest-server (EMPTY)> | 45 | <!ELEMENT manifest-server (EMPTY)> |
46 | <!ATTLIST url CDATA #REQUIRED> | 46 | <!ATTLIST url CDATA #REQUIRED> |
47 | 47 | ||
48 | <!ELEMENT project (annotation?, | 48 | <!ELEMENT project (annotation?)> |
49 | project*)> | ||
50 | <!ATTLIST project name CDATA #REQUIRED> | 49 | <!ATTLIST project name CDATA #REQUIRED> |
51 | <!ATTLIST project path CDATA #IMPLIED> | 50 | <!ATTLIST project path CDATA #IMPLIED> |
52 | <!ATTLIST project remote IDREF #IMPLIED> | 51 | <!ATTLIST project remote IDREF #IMPLIED> |
@@ -153,10 +152,7 @@ Element project | |||
153 | 152 | ||
154 | One or more project elements may be specified. Each element | 153 | One or more project elements may be specified. Each element |
155 | describes a single Git repository to be cloned into the repo | 154 | describes a single Git repository to be cloned into the repo |
156 | client workspace. You may specify Git-submodules by creating a | 155 | client workspace. |
157 | nested project. Git-submodules will be automatically | ||
158 | recognized and inherit their parent's attributes, but those | ||
159 | may be overridden by an explicitly specified project element. | ||
160 | 156 | ||
161 | Attribute `name`: A unique name for this project. The project's | 157 | Attribute `name`: A unique name for this project. The project's |
162 | name is appended onto its remote's fetch URL to generate the actual | 158 | name is appended onto its remote's fetch URL to generate the actual |
@@ -167,8 +163,7 @@ URL to configure the Git remote with. The URL gets formed as: | |||
167 | where ${remote_fetch} is the remote's fetch attribute and | 163 | where ${remote_fetch} is the remote's fetch attribute and |
168 | ${project_name} is the project's name attribute. The suffix ".git" | 164 | ${project_name} is the project's name attribute. The suffix ".git" |
169 | is always appended as repo assumes the upstream is a forest of | 165 | is always appended as repo assumes the upstream is a forest of |
170 | bare Git repositories. If the project has a parent element, its | 166 | bare Git repositories. |
171 | name will be prefixed by the parent's. | ||
172 | 167 | ||
173 | The project name must match the name Gerrit knows, if Gerrit is | 168 | The project name must match the name Gerrit knows, if Gerrit is |
174 | being used for code reviews. | 169 | being used for code reviews. |
@@ -176,8 +171,6 @@ being used for code reviews. | |||
176 | Attribute `path`: An optional path relative to the top directory | 171 | Attribute `path`: An optional path relative to the top directory |
177 | of the repo client where the Git working directory for this project | 172 | of the repo client where the Git working directory for this project |
178 | should be placed. If not supplied the project name is used. | 173 | should be placed. If not supplied the project name is used. |
179 | If the project has a parent element, its path will be prefixed | ||
180 | by the parent's. | ||
181 | 174 | ||
182 | Attribute `remote`: Name of a previously defined remote element. | 175 | Attribute `remote`: Name of a previously defined remote element. |
183 | If not supplied the remote given by the default element is used. | 176 | If not supplied the remote given by the default element is used. |
@@ -197,8 +190,6 @@ its name:`name` and path:`path`. E.g. for | |||
197 | definition is implicitly in the following manifest groups: | 190 | definition is implicitly in the following manifest groups: |
198 | default, name:monkeys, and path:barrel-of. If you place a project in the | 191 | default, name:monkeys, and path:barrel-of. If you place a project in the |
199 | group "notdefault", it will not be automatically downloaded by repo. | 192 | group "notdefault", it will not be automatically downloaded by repo. |
200 | If the project has a parent element, the `name` and `path` here | ||
201 | are the prefixed ones. | ||
202 | 193 | ||
203 | Element annotation | 194 | Element annotation |
204 | ------------------ | 195 | ------------------ |