several enhancement tu fusiondirectory-setup
Requirements
Descriptive title for this enhancement
- option to list which plugin are installed ( ex : --list-installed-plugin
- option to --install-plugin to specify a particular plugin from a particular path
Actual behavior
- list of installed plugin
- no options to see wich plugin are installed ( list of schema installed isn't a good method)
- option to --install-plugins
- we're obliged to read a long list of plugin , pick the number ( which could change), enter the number and the path of plugin It allowed to bypass human interaction like :
root@fd-14-dev:/usr/local/src# /usr/local/bin/fusiondirectory-setup --set-fd_home=/usr/local/share/fusiondirectory --install-plugins
Setting fd_home to /usr/local/share/fusiondirectory
Installing FusionDirectory's plugins
Where is your plugins archive or folder?:
/usr/local/src/fd-plugins <===== UI Interaction
Available plugins:
1:alias
...
57:webservice
Which plugins do you want to install (use "all" to install all plugins)?:
34 27 <===== UI Interaction ( number could change)
Installing plugin mail
Installing plugin personal
Expected behavior
- list of installed plugin
fusiondirectory-setup --installed-plugins
supann
mail
argonaut
system
- option to --install plugins
fusiondirectory-setup --install-plugin --plugin-path=/usr/loca/src/fd-plugins --plugin-name=supann
Installing plugin supann from /usr/loca/src/fd-plugins/supann
Benefits
more automated actions possible when installed from source