diff options
-rw-r--r-- | docs/manifest-format.txt | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt index db48668a..338e0219 100644 --- a/docs/manifest-format.txt +++ b/docs/manifest-format.txt | |||
@@ -125,14 +125,15 @@ Element manifest-server | |||
125 | 125 | ||
126 | At most one manifest-server may be specified. The url attribute | 126 | At most one manifest-server may be specified. The url attribute |
127 | is used to specify the URL of a manifest server, which is an | 127 | is used to specify the URL of a manifest server, which is an |
128 | XML RPC service that will return a manifest in which each project | 128 | XML RPC service. |
129 | is pegged to a known good revision for the current branch and | ||
130 | target. | ||
131 | 129 | ||
132 | The manifest server should implement: | 130 | The manifest server should implement the following RPC methods: |
133 | 131 | ||
134 | GetApprovedManifest(branch, target) | 132 | GetApprovedManifest(branch, target) |
135 | 133 | ||
134 | Return a manifest in which each project is pegged to a known good revision | ||
135 | for the current branch and target. | ||
136 | |||
136 | The target to use is defined by environment variables TARGET_PRODUCT | 137 | The target to use is defined by environment variables TARGET_PRODUCT |
137 | and TARGET_BUILD_VARIANT. These variables are used to create a string | 138 | and TARGET_BUILD_VARIANT. These variables are used to create a string |
138 | of the form $TARGET_PRODUCT-$TARGET_BUILD_VARIANT, e.g. passion-userdebug. | 139 | of the form $TARGET_PRODUCT-$TARGET_BUILD_VARIANT, e.g. passion-userdebug. |
@@ -140,6 +141,11 @@ If one of those variables or both are not present, the program will call | |||
140 | GetApprovedManifest without the target parameter and the manifest server | 141 | GetApprovedManifest without the target parameter and the manifest server |
141 | should choose a reasonable default target. | 142 | should choose a reasonable default target. |
142 | 143 | ||
144 | GetManifest(tag) | ||
145 | |||
146 | Return a manifest in which each project is pegged to the revision at | ||
147 | the specified tag. | ||
148 | |||
143 | 149 | ||
144 | Element project | 150 | Element project |
145 | --------------- | 151 | --------------- |