From bbb53bc9dd4f0611ad32f299923bf4d6ec43f6c2 Mon Sep 17 00:00:00 2001 From: gengchc2 Date: Tue, 7 Feb 2017 18:16:09 +0800 Subject: [PATCH] Use https instead of http for git.openstack.org Trivialfix Change-Id: I82449f497999c82c58fc5730b3f26672d8fceeff --- 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 fe1ccca097..db91ac9879 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -79,7 +79,7 @@ version = ceilometer_version.canonical_version_string() # Config logABug feature giturl = ( - u'http://git.openstack.org/cgit/openstack/ceilometer/tree/api-ref/source') + u'https://git.openstack.org/cgit/openstack/ceilometer/tree/api-ref/source') # source tree # html_context allows us to pass arbitrary values into the html template html_context = {'bug_tag': 'api-ref', diff --git a/install-guide/source/conf.py b/install-guide/source/conf.py index 913919512a..c410bda900 100644 --- a/install-guide/source/conf.py +++ b/install-guide/source/conf.py @@ -73,7 +73,7 @@ release = '0.1' # gitsha: The SHA checksum of the bug description. Automatically 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/ceilometer/tree/install-guide/source' +giturl = u'https://git.openstack.org/cgit/openstack/ceilometer/tree/install-guide/source' git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '" gitsha = os.popen(git_cmd).read().strip('\n') html_context = {"gitsha": gitsha, "bug_tag": bug_tag,