entropy/entropy
Pranesh Pandurangan 0be7808705 Move register-audit/repair code to backend
Abstract out cfg file operations in the register workflow. Changed
the get_driver code in engine to be static, so we can call it from
main too.

Added a new function in file_backend to return the config file given
the script type. Eg. return audit_cfg for audit.

Added a new function in file_backend to replace check_duplicate, that
returns True if a script already is already registered.

Added a couple of string variables in base.py

The function get_cfg_file, when using a db, will actually return a
table. So this belongs in the backend, the code refactor here ensures
this function is not called in the main() code.

Raise errors instead of returning None in the some backend functions

Completes blueprint backend-abstraction
Change-Id: I20d6bd46caf56c750e4b1193a6f5d00ce4e930f6
2014-06-09 19:50:56 -07:00
..
audit More logging fixes, and queue work 2014-04-27 14:08:26 -07:00
backends Move register-audit/repair code to backend 2014-06-09 19:50:56 -07:00
examples Move cfg file creation to driver 2014-06-02 20:31:14 +00:00
repair Make entropy suitable for pypi distribution, part 0 2014-04-10 13:08:51 -07:00
tests Add code to stackforge/entropy 2013-12-13 11:51:43 -08:00
__init__.py Add code to stackforge/entropy 2013-12-13 11:51:43 -08:00
__main__.py Move register-audit/repair code to backend 2014-06-09 19:50:56 -07:00
engine.py Move register-audit/repair code to backend 2014-06-09 19:50:56 -07:00
exceptions.py add a wait next function to return next audit job 2014-05-29 17:35:33 -07:00
utils.py Move register-audit/repair code to backend 2014-06-09 19:50:56 -07:00