pbr pre-versioning causes current sdist to have versions leading up to 0.1, but
that is already released - we should be leading up to 0.2.
Change-Id: Ia7860bf4588daeb19fc0a75c7f914e6b11c4ccae
Added base.py, which has classes for backends to derive from. This is
the stevedore suggested way of writing drivers.
stevedore.readthedocs.org/en/latest/tutorial/creating_plugins.html
Added entrypoints to setup.cfg
implements blueprint backend-abstraction
Change-Id: Ib53bd1ec930f15480e33b9105033e9999f96b842
Correct logging: reset loggers in engine.py, and setup your own
Added functions to setup logging in engine.py and Audit class,
can be used by audit scripts. Added a reset_logger function in utils
Expose __main__.py as a CLI on packaging. So after installing
the entropy package, you can call commands like
entropy register-audit
entropy start-engine
from anywhere in your machine. Made changes to setup.cfg to make
the main function an entry point.
Moved the engine_cfg file to /tmp/engines.cfg. That way, even though
it is hardcoded, it's at least fairly uniform across machines.
Change-Id: I704bf5e4635ffc539d7a73c5f84ef4bf8b2e801e
Load modules dynamically, allowing better control over audit/react scripts
Change code structure a bit (put audit scripts in audit/ dir, react scripts
in repair/ dir)
Enable stevedore, for audit/react scripts installed with the package
Remove all homedir references
Change-Id: I7351d6b7cd9ca5ba9cfa9526dfbefbfecacc3dc8
Because upstream wasn't mentioned when project was created, merge
existing upstream code manually. Current upstream is
https://github.com/pran1990/entropy
Add first draft of script in entropy/entropy.py. Utils used by the package are in entropy/utils.py
Added licenses to py scripts and LICENCE file
Added tox.ini, requirements.txt, and test-requirements.txt to setup
environments for gerrit's jenkins tests
Added sphinx docs in docs/. Instructions to build docs are in docs/README.rst
Change-Id: Ifff7cff38989e8c5509d3ecf4b34485893bfcfdb