Use https instead of http for git.openstack.org

TrivialFix

Change-Id: Ia69034ea3b571e88d6e8e9f12c3b974bb81e4bb2
This commit is contained in:
gecong1973 2017-02-06 11:53:49 +08:00
parent 773245e447
commit a687052023
3 changed files with 3 additions and 3 deletions

View File

@ -80,7 +80,7 @@ version = version_info.canonical_version_string()
# gitsha: The SHA checksum of the bug description. Automatically extracted from git log. # gitsha: The SHA checksum of the bug description. Automatically extracted from git log.
# bug_tag: Tag for categorizing the bug. Must be set manually. # bug_tag: Tag for categorizing the bug. Must be set manually.
# These variables are passed to the logabug code via html_context. # These variables are passed to the logabug code via html_context.
giturl = ("http://git.openstack.org/cgit/openstack/{0}" giturl = ("https://git.openstack.org/cgit/openstack/{0}"
"/tree/deploy-guide/source").format(target_name) "/tree/deploy-guide/source").format(target_name)
git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '" git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '"
gitsha = os.popen(git_cmd).read().strip('\n') gitsha = os.popen(git_cmd).read().strip('\n')

View File

@ -80,7 +80,7 @@ version = version_info.canonical_version_string()
# gitsha: The SHA checksum of the bug description. Automatically extracted from git log. # gitsha: The SHA checksum of the bug description. Automatically extracted from git log.
# bug_tag: Tag for categorizing the bug. Must be set manually. # bug_tag: Tag for categorizing the bug. Must be set manually.
# These variables are passed to the logabug code via html_context. # These variables are passed to the logabug code via html_context.
giturl = ("http://git.openstack.org/cgit/openstack/{0}" giturl = ("https://git.openstack.org/cgit/openstack/{0}"
"/tree/doc/source").format(target_name) "/tree/doc/source").format(target_name)
git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '" git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '"
gitsha = os.popen(git_cmd).read().strip('\n') gitsha = os.popen(git_cmd).read().strip('\n')

View File

@ -64,7 +64,7 @@ target_name = u'openstack-ansible'
title = u'OpenStack-Ansible Release Notes' title = u'OpenStack-Ansible Release Notes'
# The link to the browsable source code (for the left hand menu) # The link to the browsable source code (for the left hand menu)
oslosphinx_cgit_link = 'http://git.openstack.org/cgit/openstack/' + target_name oslosphinx_cgit_link = 'https://git.openstack.org/cgit/openstack/' + target_name
# The version info for the project you're documenting, acts as replacement for # The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the # |version| and |release|, also used in various other places throughout the