Use https instead of http for git.openstack.org

Trivialfix

Change-Id: I82449f497999c82c58fc5730b3f26672d8fceeff
This commit is contained in:
gengchc2 2017-02-07 18:16:09 +08:00
parent 170e18014b
commit bbb53bc9dd
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ version = ceilometer_version.canonical_version_string()
# Config logABug feature # Config logABug feature
giturl = ( giturl = (
u'http://git.openstack.org/cgit/openstack/ceilometer/tree/api-ref/source') u'https://git.openstack.org/cgit/openstack/ceilometer/tree/api-ref/source')
# source tree # source tree
# html_context allows us to pass arbitrary values into the html template # html_context allows us to pass arbitrary values into the html template
html_context = {'bug_tag': 'api-ref', html_context = {'bug_tag': 'api-ref',

View File

@ -73,7 +73,7 @@ release = '0.1'
# 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 = u'http://git.openstack.org/cgit/openstack/ceilometer/tree/install-guide/source' giturl = u'https://git.openstack.org/cgit/openstack/ceilometer/tree/install-guide/source'
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')
html_context = {"gitsha": gitsha, "bug_tag": bug_tag, html_context = {"gitsha": gitsha, "bug_tag": bug_tag,