[Koha-bugs] [Bug 25671] Install 1 Koha plugin for X Koha instances using the CLI
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 9 15:27:43 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25671
--- Comment #6 from David Cook <dcook at prosentient.com.au> ---
The following would work too but it wouldn't be efficient with a KPZ file or a
HTTP(S) URL, because it would be re-downloading and/or re-unzipping every time:
koha-foreach perl misc/koha_plugin.pl --install
https://github.com/bywatersolutions/koha-plugin-coverflow/releases/download/v2.4.35/koha-coverflow-plugin-v2.4.35.kpz
koha-foreach perl misc/koha_plugin.pl --uninstall
Koha::Plugin::Com::ByWaterSolutions::CoverFlow
That said, it could be done with an unzipped plugin. That could be interesting.
You wouldn't even need a KPZ file. You could point it right at a git checkout
for instance. (That could actually be really useful from a Koha plugin
development point of view as well.)
--
Perhaps I should rename misc/koha_plugin.pl to misc/koha_plugin_manager.pl.
--
A goal of mine is to use this management feature to actually install a Koha
Plugin for all my many libraries which is itself a Web-based Koha Plugin
manager (inspired by the "Game Package Registry for Unity release" from Google
for the Unity IDE). That Web-based Koha Plugin manager will then easily let
Koha intranet users decide which plugins they want to install, but it'll only
include a list of curated plugins.
Alternatively, I might use this management feature to install Koha plugins
which used to be local customizations, and popular third-party plugins like
Bywater's CoverFlow.
Ultimately, I think we need a tool like this for dealing with plugins on any
kind of scale that becomes manually unmanageable (e.g. 40 instances, 80
instances, etc.)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list