diff options
| author | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-08-21 14:23:49 +0900 |
|---|---|---|
| committer | gerrit code review <noreply-gerritcodereview@google.com> | 2012-09-05 06:00:47 -0700 |
| commit | 9a27d0111d5cf88c6b9409261707a5d7d50aaa64 (patch) | |
| tree | 4a80e3e4c1fd1367a120371375c8d3703edb4701 | |
| parent | 918ff85c1e9d9606e4924a0af9a8ddc2e4db692a (diff) | |
| download | git-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
| -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 | --------------- |
