Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switched CLI to Cement and improved error handling + logging faciliti…
…es (fixes #216 and fixes #219) (#289) * Ported CLI to cement (#218) * added super minimal cement-based CLI * added basic bug list command to cement CLI * added -q option to bug list command * updated force parameter to True for bug download * added upload and download commands to bug CLI * updated BugManager to set force to True * added uninstall command to cement CLI * added bug coverage method to cement CLI * added bug validate command to cement CLI * added commented-out code for --installed and --uninstalled flags to bug list command * added basic source group to cement CLI * added source add command to cement CLI * added source update command to cement CLI * added __delitem__ to source manager * added source remove command to cement CLI * ported tool commands to cement CLI * ported container commands to cement CLI * finished porting existing CLI to cement * fixed logging bugs and tweaked CLI to exit with code 1 on failure * refactored cli/__init__.py * updated changelog * code style violation * updated base controller * updated bug controller * updated container controller * updated source controller * updated tool controller * updated app module * fixed source controller * removed manybugs test * removed test_manybugs from .travis.yml * added better error handling to CLI * added logging to file and prettier error formatting * tidied up error reporting * updated logger to use mode w * ensure log directory exists * write logs to .bugzoo/logs * updated changelog * removed date from CHANGELOG * updated bug controller to throw BugNotFound errors * added ToolNotFound exception * updated container controller to throw better errors * updated source controller to raise SourceNotFoundWithName * updated tool controller to throw ToolNotFound exceptions * renamed bug uninstall to bug remove * renamed tool uninstall to tool remove * updated change log
- Loading branch information