aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build-scripts/helpers14
-rwxr-xr-xbuild-scripts/rewrite-manifest.py12
2 files changed, 14 insertions, 12 deletions
diff --git a/build-scripts/helpers b/build-scripts/helpers
index 9a762e4..2c67f98 100644
--- a/build-scripts/helpers
+++ b/build-scripts/helpers
@@ -41,10 +41,9 @@ repo-sync-from-mirror () {
mkdir -p out
cp .repo/manifest.xml out/source-manifest.xml
-# Disabled as a test - pfalcon 2014-01-25
-# echo Replace Linaro git URLs with lightweight http git URLs.
-# ${BUILD_SCRIPT_ROOT}/rewrite-manifest.py .repo/manifest.xml > processed-manifest.xml
-# cp processed-manifest.xml .repo/manifest.xml
+ echo Replace Linaro git URLs with lightweight http git URLs.
+ ${BUILD_SCRIPT_ROOT}/rewrite-manifest.py .repo/manifest.xml > processed-manifest.xml
+ cp processed-manifest.xml .repo/manifest.xml
echo ----------------------------
repo-sync-stubborn
@@ -75,10 +74,9 @@ repo-sync-from-seed () {
mkdir -p out
cp .repo/manifest.xml out/source-manifest.xml
-# Disabled as a test - pfalcon 2014-01-25
-# echo Replace Linaro git URLs with lightweight http git URLs.
-# ${BUILD_SCRIPT_ROOT}/rewrite-manifest.py .repo/manifest.xml > processed-manifest.xml
-# cp processed-manifest.xml .repo/manifest.xml
+ echo Replace Linaro git URLs with lightweight http git URLs.
+ ${BUILD_SCRIPT_ROOT}/rewrite-manifest.py .repo/manifest.xml > processed-manifest.xml
+ cp processed-manifest.xml .repo/manifest.xml
export TIMEFORMAT="TIME: Repo sync (using seed as reference): %lR"
repo-sync-stubborn
diff --git a/build-scripts/rewrite-manifest.py b/build-scripts/rewrite-manifest.py
index 948fed0..4bdf15a 100755
--- a/build-scripts/rewrite-manifest.py
+++ b/build-scripts/rewrite-manifest.py
@@ -7,10 +7,14 @@ from xml.etree.cElementTree import (
import sys
rewrite_urls = {
- 'git://git.linaro.org': 'http://git.linaro.org/git-ro',
- 'git://git.linaro.org/': 'http://git.linaro.org/git-ro/',
- 'git://android.git.linaro.org': 'http://android.git.linaro.org/git-ro',
- 'git://android.git.linaro.org/': 'http://android.git.linaro.org/git-ro/',
+# 'git://git.linaro.org': 'http://git.linaro.org/git-ro',
+# 'git://git.linaro.org/': 'http://git.linaro.org/git-ro/',
+# 'git://android.git.linaro.org': 'http://android.git.linaro.org/git-ro',
+# 'git://android.git.linaro.org/': 'http://android.git.linaro.org/git-ro/',
+ 'git://git.linaro.org': 'http://git.linaro.org/git',
+ 'git://git.linaro.org/': 'http://git.linaro.org/git/',
+ 'git://android.git.linaro.org': 'http://android.git.linaro.org/git',
+ 'git://android.git.linaro.org/': 'http://android.git.linaro.org/git/',
}
def rewrite_git_urls(root):