From 544f5f2c5a583d47b28067ada4096c83a6a703ce Mon Sep 17 00:00:00 2001 From: Cao Xuan Hoang Date: Mon, 6 Feb 2017 16:24:10 +0700 Subject: [PATCH] Use https instead of http for git.openstack.org Trivialfix Change-Id: I4146b3a521dd51a60d790d1b129f1cb44bf029e4 --- doc/source/conf.py | 4 ++-- releasenotes/source/conf.py | 2 +- tox.ini | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 8c96215d..360f89ce 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -70,7 +70,7 @@ target_name = 'openstack-ansible-' + role_name title = 'OpenStack-Ansible Documentation: ' + role_name + 'role' # 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 # |version| and |release|, also used in various other places throughout the @@ -89,7 +89,7 @@ version = version_info.canonical_version_string() # 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 = ("http://git.openstack.org/cgit/openstack/{0}" +giturl = ("https://git.openstack.org/cgit/openstack/{0}" "/tree/doc/source").format(target_name) git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '" gitsha = os.popen(git_cmd).read().strip('\n') diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 90f6728c..dc7149eb 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -65,7 +65,7 @@ target_name = 'openstack-ansible-' + role_name title = 'OpenStack-Ansible Release Notes: ' + role_name + 'role' # 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 # |version| and |release|, also used in various other places throughout the diff --git a/tox.ini b/tox.ini index d1bd4207..1fe9afc3 100644 --- a/tox.ini +++ b/tox.ini @@ -87,7 +87,7 @@ commands = [testenv:ansible] deps = {[testenv]deps} - -rhttp://git.openstack.org/cgit/openstack/openstack-ansible-tests/plain/test-ansible-deps.txt + -rhttps://git.openstack.org/cgit/openstack/openstack-ansible-tests/plain/test-ansible-deps.txt [testenv:ansible-syntax]