[Koha-bugs] [Bug 23191] Administrators should be able to install plugins from the command line

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 25 08:47:08 CEST 2019


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

--- Comment #11 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
(In reply to Katrin Fischer from comment #9)
> I think reinstalling might be a real issue: What if the plugin comes with
> its own data, will it get killed?

So the re-installing all really isn't a change.. that's always happened.. for
any plugin you installed we would iterate and re-install all other plugins at
the same time.

By 'install' I mean literally telling Koha that the plugin exists and what
methods are available within it.. we update the plugin_methods table but we do
not update any internal plugin data, that all remains intact. We will trigger
the 'install' or 'upgrade' methods from within the plugin if required (i.e. we
check versions within the database and only run the install if it has not been
run before, or the upgrade if we've caught a version change). It is up to the
plugin author to make sure their 'upgrade' method doesn't splat older data
during such actions.

In short.. I think the re-install loop is a non-issue.. it's a minor annoyance
performance wise but it shouldn't cause any harm and in reality is unrelated to
this patch.. Clearly the fact that I output the actual results of the script
run is confusing people :(

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


More information about the Koha-bugs mailing list