diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manifest-format.txt | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt index 2b49d466..5c014d6d 100644 --- a/docs/manifest-format.txt +++ b/docs/manifest-format.txt | |||
@@ -20,7 +20,10 @@ A manifest XML file (e.g. 'default.xml') roughly conforms to the | |||
20 | following DTD: | 20 | following DTD: |
21 | 21 | ||
22 | <!DOCTYPE manifest [ | 22 | <!DOCTYPE manifest [ |
23 | <!ELEMENT manifest (remote*, default?, project*)> | 23 | <!ELEMENT manifest (remote*, |
24 | default?, | ||
25 | project*, | ||
26 | add-remote*)> | ||
24 | 27 | ||
25 | <!ELEMENT remote (EMPTY)> | 28 | <!ELEMENT remote (EMPTY)> |
26 | <!ATTLIST remote name ID #REQUIRED> | 29 | <!ATTLIST remote name ID #REQUIRED> |
@@ -37,6 +40,13 @@ following DTD: | |||
37 | <!ATTLIST project path CDATA #IMPLIED> | 40 | <!ATTLIST project path CDATA #IMPLIED> |
38 | <!ATTLIST project remote IDREF #IMPLIED> | 41 | <!ATTLIST project remote IDREF #IMPLIED> |
39 | <!ATTLIST project revision CDATA #IMPLIED> | 42 | <!ATTLIST project revision CDATA #IMPLIED> |
43 | |||
44 | <!ELEMENT add-remote (EMPTY)> | ||
45 | <!ATTLIST add-remote to-project ID #REQUIRED> | ||
46 | <!ATTLIST add-remote name ID #REQUIRED> | ||
47 | <!ATTLIST add-remote fetch CDATA #REQUIRED> | ||
48 | <!ATTLIST add-remote review CDATA #IMPLIED> | ||
49 | <!ATTLIST add-remote project-name CDATA #IMPLIED> | ||
40 | ]> | 50 | ]> |
41 | 51 | ||
42 | A description of the elements and their attributes follows. | 52 | A description of the elements and their attributes follows. |
@@ -74,6 +84,18 @@ Only permitted when the remote element is nested inside of a project | |||
74 | element (see below). If not given, defaults to the name supplied | 84 | element (see below). If not given, defaults to the name supplied |
75 | in the project's name attribute. | 85 | in the project's name attribute. |
76 | 86 | ||
87 | Element add-remote | ||
88 | ------------------ | ||
89 | |||
90 | Adds a remote to an existing project, whose name is given by the | ||
91 | to-project attribute. This is functionally equivalent to nesting | ||
92 | a remote element under the project, but has the advantage that it | ||
93 | can be specified in the uesr's `local_manifest.xml` to add a remote | ||
94 | to a project declared by the normal manifest. | ||
95 | |||
96 | The element can be used to add a fork of an existing project that | ||
97 | the user needs to work with. | ||
98 | |||
77 | 99 | ||
78 | Element default | 100 | Element default |
79 | --------------- | 101 | --------------- |