Add reno for release notes management

Since reno is the new tool for Relnotes [1], we need to add it
to Nova and provide some Sphinx docs for Liberty and Mitaka.

Change-Id: Ibd74e62b6f36076dbec17dd146632fd42aad6eb2
This commit is contained in:
Sylvain Bauza 2015-11-05 12:12:28 +01:00
parent 3311fe2d09
commit 6e3757672c
3 changed files with 10 additions and 1 deletions

3
.gitignore vendored
View File

@ -41,3 +41,6 @@ nova/tests/cover/*
nova/vcsversion.py nova/vcsversion.py
tools/conf/nova.conf* tools/conf/nova.conf*
doc/source/_static/nova.conf.sample doc/source/_static/nova.conf.sample
# Files created by releasenotes build
releasenotes/build

View File

@ -25,3 +25,6 @@ bandit>=0.13.2
# vmwareapi driver specific dependencies # vmwareapi driver specific dependencies
oslo.vmware>=1.16.0 # Apache-2.0 oslo.vmware>=1.16.0 # Apache-2.0
# releasenotes
reno>=0.1.1 # Apache2

View File

@ -116,6 +116,9 @@ commands = {[testenv:docs]commands}
[testenv:bandit] [testenv:bandit]
commands = bandit -c bandit.yaml -r nova -n 5 -ll commands = bandit -c bandit.yaml -r nova -n 5 -ll
[testenv:releasenotes]
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[flake8] [flake8]
# E125 is deliberately excluded. See https://github.com/jcrocholl/pep8/issues/126 # E125 is deliberately excluded. See https://github.com/jcrocholl/pep8/issues/126
# The rest of the ignores are TODOs # The rest of the ignores are TODOs
@ -123,7 +126,7 @@ commands = bandit -c bandit.yaml -r nova -n 5 -ll
# E251 Skipped due to https://github.com/jcrocholl/pep8/issues/301 # E251 Skipped due to https://github.com/jcrocholl/pep8/issues/301
ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405 ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405
exclude = .venv,.git,.tox,dist,doc,*openstack/common/*,*lib/python*,*egg,build,tools/xenserver* exclude = .venv,.git,.tox,dist,doc,*openstack/common/*,*lib/python*,*egg,build,tools/xenserver*,releasenotes
# To get a list of functions that are more complex than 25, set max-complexity # To get a list of functions that are more complex than 25, set max-complexity
# to 25 and run 'tox -epep8'. # to 25 and run 'tox -epep8'.
# 34 is currently the most complex thing we have # 34 is currently the most complex thing we have