cli: also load plugins from ~/.koji/plugins

- add plugin_path in koji.conf
- add `--plugin-paths` in cli arguments

fixes: #887
This commit is contained in:
Yuming Zhu 2018-04-17 17:36:51 +08:00 committed by Mike McLean
parent 73e1a6abad
commit ded43dec53
6 changed files with 59 additions and 17 deletions

View file

@ -37,6 +37,11 @@
;certificate of the CA that issued the HTTP server certificate
;serverca = ~/.koji/serverca.crt
;plugin paths, separated by ':' as the same as the shell's PATH
;~/.koji/plugins and koji_cli_plugins module are always be appended
;plugin_paths = ~/.koji/plugins
;[not_implemented_yet]
;enabled plugins for CLI, runroot and save_failed_tree are available
;plugins =