From c2a458f1a90b7bd4d4c3148175e82b06efc9de29 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 9 Jan 2015 13:26:44 +0100 Subject: reproducible: update links after apache change. strip the leading /userContent where possible --- bin/reproducible_common.py | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'bin/reproducible_common.py') diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py index eaafcedc..72352bda 100755 --- a/bin/reproducible_common.py +++ b/bin/reproducible_common.py @@ -20,14 +20,14 @@ DEBUG = False QUIET = False BIN_PATH = '/srv/jenkins/bin' -BASE = '/var/lib/jenkins' +BASE = '/var/lib/jenkins/userContent' -REPRODUCIBLE_DB = BASE + '/userContent/reproducible.db' -REPRODUCIBLE_JSON = BASE + '/userContent/reproducible.json' +REPRODUCIBLE_DB = BASE + '/reproducible.db' +REPRODUCIBLE_JSON = BASE + '/reproducible.json' -NOTES_URI = '/userContent/notes' -ISSUES_URI = '/userContent/issues' -RB_PKG_URI = '/userContent/rb-pkg' +NOTES_URI = '/notes' +ISSUES_URI = 'issues' +RB_PKG_URI = '/rb-pkg' NOTES_PATH = BASE + NOTES_URI ISSUES_PATH = BASE + ISSUES_URI RB_PKG_PATH = BASE + RB_PKG_URI @@ -102,49 +102,49 @@ html_head_page = Template((tab*2).join(""" """.splitlines(True))) -- cgit v1.2.3-70-g09d2