Browse Source

Use https instead of http for git.openstack.org

TrivialFix

Change-Id: I7edc7077ba702418ec09805e897474784a4a9f5a
tags/16.0.0.0b1
gecong1973 2 years ago
parent
commit
ffce210f9b
3 changed files with 4 additions and 4 deletions
  1. 2
    2
      doc/source/conf.py
  2. 1
    1
      releasenotes/source/conf.py
  3. 1
    1
      tox.ini

+ 2
- 2
doc/source/conf.py View File

@@ -70,7 +70,7 @@ target_name = 'openstack-ansible-' + role_name
70 70
 title = 'OpenStack-Ansible Documentation: ' + role_name + 'role'
71 71
 
72 72
 # The link to the browsable source code (for the left hand menu)
73
-oslosphinx_cgit_link = 'http://git.openstack.org/cgit/openstack/' + target_name
73
+oslosphinx_cgit_link = 'https://git.openstack.org/cgit/openstack/' + target_name
74 74
 
75 75
 # The version info for the project you're documenting, acts as replacement for
76 76
 # |version| and |release|, also used in various other places throughout the
@@ -89,7 +89,7 @@ version = version_info.canonical_version_string()
89 89
 #           Automatically extracted from git log.
90 90
 #   bug_tag: Tag for categorizing the bug. Must be set manually.
91 91
 # These variables are passed to the logabug code via html_context.
92
-giturl = ("http://git.openstack.org/cgit/openstack/{0}"
92
+giturl = ("https://git.openstack.org/cgit/openstack/{0}"
93 93
           "/tree/doc/source").format(target_name)
94 94
 git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '"
95 95
 gitsha = os.popen(git_cmd).read().strip('\n')

+ 1
- 1
releasenotes/source/conf.py View File

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

+ 1
- 1
tox.ini View File

@@ -82,7 +82,7 @@ commands =
82 82
 [testenv:ansible]
83 83
 deps =
84 84
     {[testenv]deps}
85
-    -rhttp://git.openstack.org/cgit/openstack/openstack-ansible-tests/plain/test-ansible-deps.txt
85
+    -rhttps://git.openstack.org/cgit/openstack/openstack-ansible-tests/plain/test-ansible-deps.txt
86 86
 
87 87
 
88 88
 [testenv:ansible-syntax]

Loading…
Cancel
Save