Skip to content
Snippets Groups Projects
Commit 9f7ffcbb authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Remove the deprecated "giturl" option"

parents 3456005c ecb5b44c
No related branches found
No related tags found
No related merge requests found
...@@ -69,17 +69,14 @@ version = '0.1' ...@@ -69,17 +69,14 @@ version = '0.1'
release = '0.1' release = '0.1'
# A few variables have to be set for the log-a-bug feature. # A few variables have to be set for the log-a-bug feature.
# giturl: The location of conf.py on Git. Must be set manually.
# gitsha: The SHA checksum of the bug description. Automatically extracted # gitsha: The SHA checksum of the bug description. Automatically extracted
# from git log. # 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'https://git.openstack.org/cgit/openstack/kolla-ansible/tree/deploy-guide/source' # noqa
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,
"giturl": giturl, "bug_project": "kolla-ansible"}
"bug_project": "Kolla"}
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment