From e595724fe53b25100298f1c9df21262540783681 Mon Sep 17 00:00:00 2001 From: gecong1973 Date: Mon, 6 Feb 2017 11:39:31 +0800 Subject: [PATCH] Use https instead of http for git.openstack.org TrivialFix Change-Id: Ib1bcb6ae5e2ef97579d39bceb93bf076c2492099 --- 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 2959252..02b9652 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 22646c4..b567f7a 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 9ff7f47..17a6108 100644 --- a/tox.ini +++ b/tox.ini @@ -82,7 +82,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]