feature: two-step plugin installing and removing
Summary
- feature: two-step plugin installing and removing.
Now for installation and enable plugin, there are two steps instead of one
(pico.load_plugin
previously).
- Install plugin (
pico.install_plugin
): validate plugin, create system tables. - Enable plugin (
pico.enable_plugin
): loads plugin into instances memory, callon_start
callback.
Same for a plugin removing process (pico.remove_plugin
previously):
- Disable plugin (
pico.disable_plugin
): callon_stop
callbacks, drop plugin from instances. - Remove plugin (
pico.remove_plugin
): remove plugin meta from system tables.
- Changes should be cherry-picked to 24.2: no
- Docs follow-up: docs#236 (closed), docs#237, docs#238 (closed), docs#239 (closed)
Please see the updated plugin life-cycle diagrams:
Edited by Konstantin D