diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/manifest-format.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt index 28a21bb7..d5c6a024 100644 --- a/docs/manifest-format.txt +++ b/docs/manifest-format.txt | |||
| @@ -26,6 +26,7 @@ following DTD: | |||
| 26 | manifest-server?, | 26 | manifest-server?, |
| 27 | remove-project*, | 27 | remove-project*, |
| 28 | project*, | 28 | project*, |
| 29 | extend-project*, | ||
| 29 | repo-hooks?)> | 30 | repo-hooks?)> |
| 30 | 31 | ||
| 31 | <!ELEMENT notice (#PCDATA)> | 32 | <!ELEMENT notice (#PCDATA)> |
| @@ -67,6 +68,11 @@ following DTD: | |||
| 67 | <!ATTLIST annotation value CDATA #REQUIRED> | 68 | <!ATTLIST annotation value CDATA #REQUIRED> |
| 68 | <!ATTLIST annotation keep CDATA "true"> | 69 | <!ATTLIST annotation keep CDATA "true"> |
| 69 | 70 | ||
| 71 | <!ELEMENT extend-project> | ||
| 72 | <!ATTLIST extend-project name CDATA #REQUIRED> | ||
| 73 | <!ATTLIST extend-project path CDATA #IMPLIED> | ||
| 74 | <!ATTLIST extend-project groups CDATA #IMPLIED> | ||
| 75 | |||
| 70 | <!ELEMENT remove-project (EMPTY)> | 76 | <!ELEMENT remove-project (EMPTY)> |
| 71 | <!ATTLIST remove-project name CDATA #REQUIRED> | 77 | <!ATTLIST remove-project name CDATA #REQUIRED> |
| 72 | 78 | ||
| @@ -252,6 +258,22 @@ rather than the `name` attribute. This attribute only applies to the | |||
| 252 | local mirrors syncing, it will be ignored when syncing the projects in a | 258 | local mirrors syncing, it will be ignored when syncing the projects in a |
| 253 | client working directory. | 259 | client working directory. |
| 254 | 260 | ||
| 261 | Element extend-project | ||
| 262 | ---------------------- | ||
| 263 | |||
| 264 | Modify the attributes of the named project. | ||
| 265 | |||
| 266 | This element is mostly useful in a local manifest file, to modify the | ||
| 267 | attributes of an existing project without completely replacing the | ||
| 268 | existing project definition. This makes the local manifest more robust | ||
| 269 | against changes to the original manifest. | ||
| 270 | |||
| 271 | Attribute `path`: If specified, limit the change to projects checked out | ||
| 272 | at the specified path, rather than all projects with the given name. | ||
| 273 | |||
| 274 | Attribute `groups`: List of additional groups to which this project | ||
| 275 | belongs. Same syntax as the corresponding element of `project`. | ||
| 276 | |||
| 255 | Element annotation | 277 | Element annotation |
| 256 | ------------------ | 278 | ------------------ |
| 257 | 279 | ||
