I'm trying to make a manifest converter for Leslie's ICS box so that folks can sync from the local mirror instead of having to each pull down their own data independently (at several GB per user, I'm sure). Problem is, the CM9 manifest.xml looks like this:
Code:
<remote name="github"
fetch=".."
review="review.cyanogenmod.com" />
Which corresponds to this change:
Code:
commit 89acec784fd50305cc55d05ecb3416fcd7c3eb0e
Author: Koushik Dutta <koushd@gmail.com>
Date: Wed Feb 29 10:44:16 2012 -0800
switch to whatever protocol people init the repo with
Change-Id: If99f3f646a25918abeaccfaf29d63e6a73d6a827
diff --git a/default.xml b/default.xml
index 2a0ba15..6eebcc8 100644
--- a/default.xml
+++ b/default.xml
@@ -5,7 +5,7 @@
fetch="https://android.googlesource.com/" />
<remote name="github"
- fetch="http://github.com/"
+ fetch=".."
review="review.cyanogenmod.com" />
<default revision="refs/heads/ics"
Now the problem I'm having is, how the heck does the repo script translate ".." into "http://github.com/"? I'm thinking it must be relative to the default remote for the manifests:
Code:
icsbox:~/src/test$ cd .repo/manifests
icsbox:~/src/test/.repo/manifests$ git remote -v
origin git://github.com/CyanogenMod/android.git (fetch)
origin git://github.com/CyanogenMod/android.git (push)
icsbox:~/src/test/.repo/manifests$
So, taking "git://github.com/CyanogenMod/android.git" and chopping off the project name and adding ".." yields "git://github.com/CyanogenMod/.." which is equivalent to "git://github.com/".
Does that make sense, or have I had too much coffee?
Regardless, can anyone point me to documentation for relative paths in repo manifests just to be sure?