summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2010-12-07 10:31:19 -0800
committerShawn O. Pearce <sop@google.com>2010-12-07 11:13:29 -0800
commit13f3da50d40b89ee5b05f5f3de9542c20edac6d1 (patch)
treed085b6f6b498bde85a1969fce884dd24e88d03d5 /docs
parent3218c13205694434edb2375ab8a8515554eed366 (diff)
parent2b8db3ce3e7344b9f3b5216637c5af0d54be5656 (diff)
downloadgit-repo-13f3da50d40b89ee5b05f5f3de9542c20edac6d1.tar.gz
Merge branch 'stable'
* stable: (33 commits) Added feature to print a <notice> from manifest at the end of a sync. sync: Use --force-broken to continue other projects upload: Remove --replace option sync --quiet: be more quiet sync: Enable use of git clone --reference Only delete corrupt pickle config files if they exist Don't allow git fetch to start ControlMaster Check for existing SSH ControlMaster Fix for handling values of EDITOR which contain a space. upload: Fix --replace flag rebase: Pass through more options upload: Allow review.HOST.username to override email upload -t: Automatically include local branch name Warn users before uploading if there are local changes sync: Try fetching a tag as a last resort before giving up rebase: Automatically rebase branch on upstrea upload: Automatically --cc folks in review.URL.autocopy Fix format string bugs in grep Do not invoke ssh with -p argument when no port has been specified. Allow files to be copied into new folders ... Conflicts: git_config.py manifest_xml.py subcmds/init.py subcmds/sync.py subcmds/upload.py Change-Id: I4756a6908277e91505c35287a122a775b68f4df5
Diffstat (limited to 'docs')
-rw-r--r--docs/manifest_submodule.txt6
-rw-r--r--docs/manifest_xml.txt30
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
77This key is not supported by repo. If set, it will be ignored. 77This key is not supported by repo. If set, it will be ignored.
78 78
79repo.notice
80-----------
81
82A 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
20following DTD: 20following 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
89revision attribute will use this revision. 96revision attribute will use this revision.
90 97
91 98
99Element manifest-server
100-----------------------
101
102At most one manifest-server may be specified. The url attribute
103is used to specify the URL of a manifest server, which is an
104XML RPC service that will return a manifest in which each project
105is pegged to a known good revision for the current branch and
106target.
107
108The manifest server should implement:
109
110 GetApprovedManifest(branch, target)
111
112The target to use is defined by environment variables TARGET_PRODUCT
113and TARGET_BUILD_VARIANT. These variables are used to create a string
114of the form $TARGET_PRODUCT-$TARGET_BUILD_VARIANT, e.g. passion-userdebug.
115If one of those variables or both are not present, the program will call
116GetApprovedManifest without the target paramater and the manifest server
117should choose a reasonable default target.
118
119
92Element project 120Element project
93--------------- 121---------------
94 122