summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2012-08-21 14:23:49 +0900
committergerrit code review <noreply-gerritcodereview@google.com>2012-09-05 06:00:47 -0700
commit9a27d0111d5cf88c6b9409261707a5d7d50aaa64 (patch)
tree4a80e3e4c1fd1367a120371375c8d3703edb4701 /docs
parent918ff85c1e9d9606e4924a0af9a8ddc2e4db692a (diff)
downloadgit-repo-9a27d0111d5cf88c6b9409261707a5d7d50aaa64.tar.gz
manifest-format.txt: Add documentation for GetManifest RPC method
Add documentation of the GetManifest RPC method in the manifest-server section. Change-Id: I5cda5929bc8a0ca9d3f2b9da63216427041d2823
Diffstat (limited to 'docs')
-rw-r--r--docs/manifest-format.txt14
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
126At most one manifest-server may be specified. The url attribute 126At most one manifest-server may be specified. The url attribute
127is used to specify the URL of a manifest server, which is an 127is used to specify the URL of a manifest server, which is an
128XML RPC service that will return a manifest in which each project 128XML RPC service.
129is pegged to a known good revision for the current branch and
130target.
131 129
132The manifest server should implement: 130The manifest server should implement the following RPC methods:
133 131
134 GetApprovedManifest(branch, target) 132 GetApprovedManifest(branch, target)
135 133
134Return a manifest in which each project is pegged to a known good revision
135for the current branch and target.
136
136The target to use is defined by environment variables TARGET_PRODUCT 137The target to use is defined by environment variables TARGET_PRODUCT
137and TARGET_BUILD_VARIANT. These variables are used to create a string 138and TARGET_BUILD_VARIANT. These variables are used to create a string
138of the form $TARGET_PRODUCT-$TARGET_BUILD_VARIANT, e.g. passion-userdebug. 139of 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
140GetApprovedManifest without the target parameter and the manifest server 141GetApprovedManifest without the target parameter and the manifest server
141should choose a reasonable default target. 142should choose a reasonable default target.
142 143
144 GetManifest(tag)
145
146Return a manifest in which each project is pegged to the revision at
147the specified tag.
148
143 149
144Element project 150Element project
145--------------- 151---------------