Use https instead of http for git.openstack.org

Trivialfix

Change-Id: Ie1dbfa3c89dd10d65f69a948ae1158cf6b864c45
This commit is contained in:
gengchc2 2017-02-07 11:53:15 +08:00
parent 77bcccf98c
commit 06c4c00688
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ release = version_info.release_string()
version = version_info.version_string()
# Config logABug feature
giturl = u'http://git.openstack.org/cgit/openstack/ironic/tree/api-ref/source'
giturl = u'https://git.openstack.org/cgit/openstack/ironic/tree/api-ref/source'
# source tree
# html_context allows us to pass arbitrary values into the html template
html_context = {"bug_tag": "api-ref",

View File

@ -74,7 +74,7 @@ release = '0.1'
# 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/ironic/tree/install-guide/source' # noqa
giturl = u'https://git.openstack.org/cgit/openstack/ironic/tree/install-guide/source' # noqa
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,