From fecaa22aecd16859479b498bd9b76041c8ce6d1e Mon Sep 17 00:00:00 2001 From: gengchc2 Date: Tue, 7 Feb 2017 11:11:22 +0800 Subject: [PATCH] Use https instead of http for git.openstack.org Trivialfix Change-Id: I3dda5d7d01e548e640aef77aca1402dd268ce0cf --- api-ref/source/conf.py | 2 +- install-guide/source/conf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index b64b5db805..15c960aa02 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -108,7 +108,7 @@ pygments_style = 'sphinx' # Config logABug feature # source tree giturl = ( - u'http://git.openstack.org/cgit/openstack/magnum/tree/api-ref/source') + u'https://git.openstack.org/cgit/openstack/magnum/tree/api-ref/source') # html_context allows us to pass arbitrary values into the html template html_context = {'bug_tag': 'api-ref', 'giturl': giturl, diff --git a/install-guide/source/conf.py b/install-guide/source/conf.py index f8c799871d..ba96a51aca 100644 --- a/install-guide/source/conf.py +++ b/install-guide/source/conf.py @@ -74,7 +74,7 @@ release = magnum_version.version_string_with_vcs() # 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/magnum/tree/' +giturl = u'https://git.openstack.org/cgit/openstack/magnum/tree/' giturl += u'install-guide/source' git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '" gitsha = os.popen(git_cmd).read().strip('\n')