[Koha-bugs] [Bug 28499] Add support for no-UI / administrative plugins

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 18 13:18:31 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28499

--- Comment #11 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to David Cook from comment #9)
> (In reply to Kyle M Hall from comment #8)
> > Perhaps a "--read-only" switch that would add an additional "_ReadOnly" key
> > to the plugin_data table? That would be easy enough to code a check for.
> 
> I was thinking adding a key to the plugin_data table was the way to go as
> well.
> 
> The only thing about the "--read-only" switch is
> "/usr/share/koha/bin/devel/install_plugins.pl" can install 0+ plugins, so
> it's not 100% clear which plugins it will affect ahead of running it.
> 
> I was thinking about keeping a configurable list of plugin names but then
> that seems cumbersome...

It's starting to feel like we need a koha-plugin tool to go along with all the
other "koha-" tools. Something that could take a kpz as an argument ( or even a
URL ) and install it from there.

That being said, I think it would be pretty easy to add an option to
install_plugins that takes a namespace ( e.g.
Koha::Plugin::Com::Company::BellsAndWhistles ) and skips over any plugins that
don't match that namespace.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list