diff options
Diffstat (limited to 'docs/manifest-format.md')
| -rw-r--r-- | docs/manifest-format.md | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/docs/manifest-format.md b/docs/manifest-format.md index 71fa04c5..06d370a3 100644 --- a/docs/manifest-format.md +++ b/docs/manifest-format.md | |||
| @@ -98,7 +98,9 @@ following DTD: | |||
| 98 | <!ATTLIST linkfile src CDATA #REQUIRED> | 98 | <!ATTLIST linkfile src CDATA #REQUIRED> |
| 99 | <!ATTLIST linkfile dest CDATA #REQUIRED> | 99 | <!ATTLIST linkfile dest CDATA #REQUIRED> |
| 100 | 100 | ||
| 101 | <!ELEMENT extend-project EMPTY> | 101 | <!ELEMENT extend-project (annotation*, |
| 102 | copyfile*, | ||
| 103 | linkfile*)> | ||
| 102 | <!ATTLIST extend-project name CDATA #REQUIRED> | 104 | <!ATTLIST extend-project name CDATA #REQUIRED> |
| 103 | <!ATTLIST extend-project path CDATA #IMPLIED> | 105 | <!ATTLIST extend-project path CDATA #IMPLIED> |
| 104 | <!ATTLIST extend-project dest-path CDATA #IMPLIED> | 106 | <!ATTLIST extend-project dest-path CDATA #IMPLIED> |
| @@ -427,19 +429,20 @@ Same syntax as the corresponding element of `project`. | |||
| 427 | ### Element annotation | 429 | ### Element annotation |
| 428 | 430 | ||
| 429 | Zero or more annotation elements may be specified as children of a | 431 | Zero or more annotation elements may be specified as children of a |
| 430 | project or remote element. Each element describes a name-value pair. | 432 | project element, an extend-project element, or a remote element. Each |
| 431 | For projects, this name-value pair will be exported into each project's | 433 | element describes a name-value pair. For projects, this name-value pair |
| 432 | environment during a 'forall' command, prefixed with `REPO__`. In addition, | 434 | will be exported into each project's environment during a 'forall' |
| 433 | there is an optional attribute "keep" which accepts the case insensitive values | 435 | command, prefixed with `REPO__`. In addition, there is an optional |
| 434 | "true" (default) or "false". This attribute determines whether or not the | 436 | attribute "keep" which accepts the case insensitive values "true" |
| 437 | (default) or "false". This attribute determines whether or not the | ||
| 435 | annotation will be kept when exported with the manifest subcommand. | 438 | annotation will be kept when exported with the manifest subcommand. |
| 436 | 439 | ||
| 437 | ### Element copyfile | 440 | ### Element copyfile |
| 438 | 441 | ||
| 439 | Zero or more copyfile elements may be specified as children of a | 442 | Zero or more copyfile elements may be specified as children of a |
| 440 | project element. Each element describes a src-dest pair of files; | 443 | project element, or an extend-project element. Each element describes a |
| 441 | the "src" file will be copied to the "dest" place during `repo sync` | 444 | src-dest pair of files; the "src" file will be copied to the "dest" |
| 442 | command. | 445 | place during `repo sync` command. |
| 443 | 446 | ||
| 444 | "src" is project relative, "dest" is relative to the top of the tree. | 447 | "src" is project relative, "dest" is relative to the top of the tree. |
| 445 | Copying from paths outside of the project or to paths outside of the repo | 448 | Copying from paths outside of the project or to paths outside of the repo |
