Repository general files update

Updated gitignore to skip additional files.
Updated configuration.
Pinned WSME version to 0.6.1 as 0.6.2 is causing troubles with python
3.3 and later.
Updated tox configuration to integrate coverage and configuration
updating entries.

Change-Id: Ibf474cf978758e8d5e299e523fbc26687a6e4aa7
This commit is contained in:
Stéphane Albert 2014-11-19 10:45:52 +01:00 committed by Stéphane Albert
parent 3a939cb962
commit 1ee1a0ac0f
4 changed files with 25 additions and 3 deletions

4
.gitignore vendored
View File

@ -34,6 +34,7 @@ htmlcov/
.cache
nosetests.xml
coverage.xml
cover
# Translations
*.mo
@ -47,3 +48,6 @@ docs/_build/
# Rope
.ropeproject/
# Others
*.sqlite

View File

@ -422,8 +422,9 @@
# Deprecated group/name - [DATABASE]/sql_max_pool_size
#max_pool_size=<None>
# Maximum db connection retries during startup. Set to -1 to
# specify an infinite retry count. (integer value)
# Maximum number of database connection retries during
# startup. Set to -1 to specify an infinite retry count.
# (integer value)
# Deprecated group/name - [DEFAULT]/sql_max_retries
# Deprecated group/name - [DATABASE]/sql_max_retries
#max_retries=10

View File

@ -6,7 +6,7 @@ iso8601
PasteDeploy==1.5.2
posix_ipc
pecan==0.5.0
wsme
WSME>=0.6,!=0.6.2
oslo.config>=1.2.0
oslo.messaging
oslo.db

17
tox.ini
View File

@ -21,6 +21,23 @@ commands =
flake8 {posargs} cloudkitty
{toxinidir}/tools/config/check_uptodate.sh
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands =
python setup.py testr --coverage {posargs}
[testenv:checkconfig]
sitepackages = False
envdir = {toxworkdir}/venv
commands =
{toxinidir}/tools/config/check_uptodate.sh
[testenv:genconfig]
sitepackages = False
envdir = {toxworkdir}/venv
commands =
bash tools/config/generate_sample.sh -b . -p cloudkitty -o etc/cloudkitty
[testenv:docs]
commands = python setup.py build_sphinx