mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-01-02 16:14:25 +00:00
manifest-format.txt: Add documentation for GetManifest RPC method
Add documentation of the GetManifest RPC method in the manifest-server section. Change-Id: I5cda5929bc8a0ca9d3f2b9da63216427041d2823
This commit is contained in:
parent
918ff85c1e
commit
9a27d0111d
@ -125,14 +125,15 @@ Element manifest-server
|
|||||||
|
|
||||||
At most one manifest-server may be specified. The url attribute
|
At most one manifest-server may be specified. The url attribute
|
||||||
is used to specify the URL of a manifest server, which is an
|
is used to specify the URL of a manifest server, which is an
|
||||||
XML RPC service that will return a manifest in which each project
|
XML RPC service.
|
||||||
is pegged to a known good revision for the current branch and
|
|
||||||
target.
|
|
||||||
|
|
||||||
The manifest server should implement:
|
The manifest server should implement the following RPC methods:
|
||||||
|
|
||||||
GetApprovedManifest(branch, target)
|
GetApprovedManifest(branch, target)
|
||||||
|
|
||||||
|
Return a manifest in which each project is pegged to a known good revision
|
||||||
|
for the current branch and target.
|
||||||
|
|
||||||
The target to use is defined by environment variables TARGET_PRODUCT
|
The target to use is defined by environment variables TARGET_PRODUCT
|
||||||
and TARGET_BUILD_VARIANT. These variables are used to create a string
|
and TARGET_BUILD_VARIANT. These variables are used to create a string
|
||||||
of the form $TARGET_PRODUCT-$TARGET_BUILD_VARIANT, e.g. passion-userdebug.
|
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
|
|||||||
GetApprovedManifest without the target parameter and the manifest server
|
GetApprovedManifest without the target parameter and the manifest server
|
||||||
should choose a reasonable default target.
|
should choose a reasonable default target.
|
||||||
|
|
||||||
|
GetManifest(tag)
|
||||||
|
|
||||||
|
Return a manifest in which each project is pegged to the revision at
|
||||||
|
the specified tag.
|
||||||
|
|
||||||
|
|
||||||
Element project
|
Element project
|
||||||
---------------
|
---------------
|
||||||
|
Loading…
Reference in New Issue
Block a user