summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-06-15 17:34:59 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-06-15 17:34:59 +0100
commit2855641783252df811f4e263d02ec17a59b61158 (patch)
treedaaa1489714721e90486feceb77a22d1c282bdac
parent3b8e20ae645a0a8f6b57c053f4598407edce1d36 (diff)
downloadmorph-cache-server-2855641783252df811f4e263d02ec17a59b61158.tar.gz
Tweak the awful workaround for bad metadata from YBD
-rwxr-xr-xscripts/submit-build4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/submit-build b/scripts/submit-build
index 7da0750..7c1e5b5 100755
--- a/scripts/submit-build
+++ b/scripts/submit-build
@@ -102,9 +102,9 @@ def parse_ybd_artifact_metadata(text):
# FIXME: this feels like a big hack. I think YBD should put the actual URL
# in the metadata.
if repo.startswith('baserock:'):
- repo = 'git://git.baserock.org/baserock/' + repo[9:]
+ repo = 'git://git.baserock.org/baserock/%s.git' % repo[9:]
if repo.startswith('upstream:'):
- repo = 'git://git.baserock.org/delta/' + repo[9:]
+ repo = 'git://git.baserock.org/delta/%s.git' % repo[9:]
return repo, ref