when running tox in a devstack directory where you have previously run tox
-edocs the bashate testenv will fail as the shocco code doesn't match the
devstack style.
eg:
---
E003: Indent not multiple of 4: ' 2>/dev/null ||'
- /home/stack/projects/openstack/openstack-dev/devstack/shocco/shocco.sh : L352
<snip>
27 bashate error(s) found
---
Take the easy path and avoid running bashate in the shocco dir.
Change-Id: I5b0155332ec994afaffc5c5961902281864cff61
there was a missing -or which meant we weren't running this on most of
the files in the repository.
Change-Id: If926afc8f12f6beb80d7a9af7c787b3dcc360a89
* config/INI functions from functions-common to to inc/ini-config
* local.conf meta-config functions from lib/config to inc/meta-config
Change-Id: I00fab724075a693529273878875cfd292d00b18a
Remove unnecessary old code from tools/build_docs.sh; it now only builds
docs for the current branch in the current working directory.
Fix the merging if the git log changes into changes.html.
Change-Id: I965dc3383b6317807ca0d47fe42648a19e96b57b
The current test does not match file files in /lib/* because the
-wholename command is missing the preceeding \*. The whole command is
a little difficult to understand.
This re-lays the find command, using -prune to skip dot directories
and keeping a hopefully clearer flow of what is being matched.
Change-Id: Idd856e897ff97095fb116294a9187ff4b198fa26
The motivation for this conversion is to have DevStack's docs be
generated using a more familair workflow for OpenStack projects, using
Sphinx.
Changing from raw HTML to RST will also make it easier to contribute
more documentation, as well as making edits less of a hassle.
The majority of the work was done by using Pandoc to convert from HTML
to RST, with minor edits to the output to remove errors in Sphinx.
Change-Id: I9636017965aeade37b950ddf5bdb0c22ab9004bd
As per the governance resolution https://review.openstack.org/119875,
projects should have a docs environment in their tox.ini testing
interface. Add one.
Change-Id: Ib3548bc23713e120089ae29b5c4e851de48cf8d3
Create a tox.ini file to install bashate into a virtualenv for running
tests. It can be run with a command such as "tox -v -ebashate". The find
command being used is equivalent to the default list of files discovered
by bashate plus the exclusion of the .tox/ directory. Also add the .tox/
directory to the .gitignore file.
Change-Id: I94cab4e4a9118d62edfce29ead1f1e2a5f48e529