[Koha-bugs] [Bug 28498] Add CLI counterpart for plugin actions
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jul 27 06:02:41 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28498
--- Comment #9 from David Cook <dcook at prosentient.com.au> ---
(In reply to Nick Clemens from comment #0)
> We need a CLI counterpart for plugin actions:
> - Install (from a URL, from a .kpz)
> - Upgrade (from a URL, from a .kpz)
> - Uninstall
> - Configure based on some file format
I'm still keen on this one.
I would love to turn on plugins for all my Koha instances while disabling the
Plugin web upload. This feature would be a bit more convenient than using
install_plugins.pl.
Actually I was most of the way with Bug 25671, although that code didn't take
into account that you could have multiple "plugin_dir" entries. That's a gotcha
with this CLI feature. I suppose you could always assume a default path and
override or fail as necessary. (Using a "default" attribute on the main
plugin_dir path would be handy...)
I don't know. I keep wanting to use plugins more, but it's just not been quite
convenient enough.
I'm still thinking a bit about my "Plugin Manager" Koha plugin which would
provide a list of curated plugins that would let library staff install plugins
with a click of a button.
And then deploy that "Plugin Manager" Koha plugin using a centralized "plugin
dir" and just run 'koha-foreach perl
/usr/share/koha/bin/devel/install_plugins.pl' for install/upgrade of those
centralized plugins that I want to enforce on all instances...
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list