From bbbaf8509bcf34b72864d14cb4ee85f68202f12e Mon Sep 17 00:00:00 2001 From: gengchc2 Date: Tue, 7 Feb 2017 18:21:12 +0800 Subject: [PATCH] Use https instead of http for git.openstack.org Trivialfix Change-Id: I1c5e0a4b32e557b8c52d1a288ebe8b043f34214f --- api-guide/source/conf.py | 2 +- install-guide/source/conf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api-guide/source/conf.py b/api-guide/source/conf.py index e77849a35..9dd1df82b 100644 --- a/api-guide/source/conf.py +++ b/api-guide/source/conf.py @@ -78,7 +78,7 @@ release = '2.1.0' # bug_tag: Tag for categorizing the bug. Must be set manually. # bug_project: Launchpad project to file bugs against. # These variables are passed to the logabug code via html_context. -giturl = (u"http://git.openstack.org/cgit/openstack/barbican/tree/" +giturl = (u"https://git.openstack.org/cgit/openstack/barbican/tree/" "api-guide/source") git_cmd = ["/usr/bin/git", "rev-parse", "HEAD"] gitsha = subprocess.Popen( diff --git a/install-guide/source/conf.py b/install-guide/source/conf.py index 51c57f29c..518795034 100644 --- a/install-guide/source/conf.py +++ b/install-guide/source/conf.py @@ -74,7 +74,7 @@ release = '0.1' # extracted from git log. # bug_tag: Tag for categorizing the bug. Must be set manually. # These variables are passed to the logabug code via html_context. -giturl = (u'http://git.openstack.org/cgit/openstack/barbican/' +giturl = (u'https://git.openstack.org/cgit/openstack/barbican/' 'tree/install-guide/source') git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '" gitsha = os.popen(git_cmd).read().strip('\n')