summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-02-07 19:39:34 +0000
committerGerrit Code Review <review@openstack.org>2017-02-07 19:39:34 +0000
commit29a07955cba0f0ecc22ff22fd147d0ce67059098 (patch)
treec945ee6e1481fd2993da88d939ee7a0aedf779aa
parent6e6a0b2f85d9fc36bbc98e355d0fef77c4467870 (diff)
parent702c8048875736911fd8d5f8a14b02842606986d (diff)
downloadswift-29a07955cba0f0ecc22ff22fd147d0ce67059098.tar.gz
Merge "Use https instead of http for git.openstack.org"
-rw-r--r--api-ref/source/conf.py2
-rw-r--r--install-guide/source/conf.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py
index a93a40f12..254bcc6bd 100644
--- a/api-ref/source/conf.py
+++ b/api-ref/source/conf.py
@@ -77,7 +77,7 @@ version = __version__.rsplit('.', 1)[0]
release = __version__
# Config logABug feature
-giturl = u'http://git.openstack.org/cgit/openstack/swift/tree/api-ref/source'
+giturl = u'https://git.openstack.org/cgit/openstack/swift/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 93840fa51..c44eda9af 100644
--- a/install-guide/source/conf.py
+++ b/install-guide/source/conf.py
@@ -74,7 +74,7 @@ release = __version__
# 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/swift/tree/install-guide/source'
+giturl = u'https://git.openstack.org/cgit/openstack/swift/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,