diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/manifest_submodule.txt | 6 | ||||
| -rw-r--r-- | docs/manifest_xml.txt | 30 |
2 files changed, 35 insertions, 1 deletions
diff --git a/docs/manifest_submodule.txt b/docs/manifest_submodule.txt index e7d1f643..1718284b 100644 --- a/docs/manifest_submodule.txt +++ b/docs/manifest_submodule.txt | |||
| @@ -76,6 +76,12 @@ submodule.<name>.update | |||
| 76 | 76 | ||
| 77 | This key is not supported by repo. If set, it will be ignored. | 77 | This key is not supported by repo. If set, it will be ignored. |
| 78 | 78 | ||
| 79 | repo.notice | ||
| 80 | ----------- | ||
| 81 | |||
| 82 | A message displayed when repo sync uses this manifest. | ||
| 83 | |||
| 84 | |||
| 79 | .review | 85 | .review |
| 80 | ======= | 86 | ======= |
| 81 | 87 | ||
diff --git a/docs/manifest_xml.txt b/docs/manifest_xml.txt index da0e69ff..37fbd5cd 100644 --- a/docs/manifest_xml.txt +++ b/docs/manifest_xml.txt | |||
| @@ -20,11 +20,15 @@ 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*, | 23 | <!ELEMENT manifest (notice?, |
| 24 | remote*, | ||
| 24 | default?, | 25 | default?, |
| 26 | manifest-server?, | ||
| 25 | remove-project*, | 27 | remove-project*, |
| 26 | project*)> | 28 | project*)> |
| 27 | 29 | ||
| 30 | <!ELEMENT notice (#PCDATA)> | ||
| 31 | |||
| 28 | <!ELEMENT remote (EMPTY)> | 32 | <!ELEMENT remote (EMPTY)> |
| 29 | <!ATTLIST remote name ID #REQUIRED> | 33 | <!ATTLIST remote name ID #REQUIRED> |
| 30 | <!ATTLIST remote fetch CDATA #REQUIRED> | 34 | <!ATTLIST remote fetch CDATA #REQUIRED> |
| @@ -34,6 +38,9 @@ following DTD: | |||
| 34 | <!ATTLIST default remote IDREF #IMPLIED> | 38 | <!ATTLIST default remote IDREF #IMPLIED> |
| 35 | <!ATTLIST default revision CDATA #IMPLIED> | 39 | <!ATTLIST default revision CDATA #IMPLIED> |
| 36 | 40 | ||
| 41 | <!ELEMENT manifest-server (EMPTY)> | ||
| 42 | <!ATTLIST url CDATA #REQUIRED> | ||
| 43 | |||
| 37 | <!ELEMENT project (EMPTY)> | 44 | <!ELEMENT project (EMPTY)> |
| 38 | <!ATTLIST project name CDATA #REQUIRED> | 45 | <!ATTLIST project name CDATA #REQUIRED> |
| 39 | <!ATTLIST project path CDATA #IMPLIED> | 46 | <!ATTLIST project path CDATA #IMPLIED> |
| @@ -89,6 +96,27 @@ Attribute `revision`: Name of a Git branch (e.g. `master` or | |||
| 89 | revision attribute will use this revision. | 96 | revision attribute will use this revision. |
| 90 | 97 | ||
| 91 | 98 | ||
| 99 | Element manifest-server | ||
| 100 | ----------------------- | ||
| 101 | |||
| 102 | At most one manifest-server may be specified. The url attribute | ||
| 103 | is used to specify the URL of a manifest server, which is an | ||
| 104 | XML RPC service that will return a manifest in which each project | ||
| 105 | is pegged to a known good revision for the current branch and | ||
| 106 | target. | ||
| 107 | |||
| 108 | The manifest server should implement: | ||
| 109 | |||
| 110 | GetApprovedManifest(branch, target) | ||
| 111 | |||
| 112 | The target to use is defined by environment variables TARGET_PRODUCT | ||
| 113 | and TARGET_BUILD_VARIANT. These variables are used to create a string | ||
| 114 | of the form $TARGET_PRODUCT-$TARGET_BUILD_VARIANT, e.g. passion-userdebug. | ||
| 115 | If one of those variables or both are not present, the program will call | ||
| 116 | GetApprovedManifest without the target paramater and the manifest server | ||
| 117 | should choose a reasonable default target. | ||
| 118 | |||
| 119 | |||
| 92 | Element project | 120 | Element project |
| 93 | --------------- | 121 | --------------- |
| 94 | 122 | ||
