Skip to content
Snippets Groups Projects
Commit 6a39a360 authored by godzie44's avatar godzie44 Committed by Yaroslav Dynnikov
Browse files

feature: two-step plugin installing and removing

Now for installation and enable plugin, there are two steps instead of one
(`pico.load_plugin` previously).
1. Install plugin (`pico.install_plugin`):
validate plugin, create system tables.
2. Enable plugin (`pico.enable_plugin`):
loads plugin into instances memory, call `on_start` callback.

Same for a plugin removing process (`pico.remove_plugin` previously):
1. Disable plugin (`pico.disable_plugin`): call `on_stop` callbacks, drop
plugin from instances.
2. Remove plugin (`pico.remove_plugin`):
remove plugin meta from system tables.
parent 946046de
No related branches found
No related tags found
1 merge request!948feature: two-step plugin installing and removing
Pipeline #38879 passed
Showing
with 1209 additions and 534 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment