-
Bug
-
Resolution: Unresolved
-
Normal
-
1.2, 2.0.4
-
None
When Picard starts, it imports (with some magic around) every plugin – even if it is disabled. Thus the "body" of the module is executed.
This as several drawbacks:
1) Functions like register_*_action() will add even disabled plugins to the _*_actions lists, so the plugin has to be checked whether it is enabled every time (see plugins.ExtensionPoint.__inter__())
2) Setup code in the body of the plugin will be executed even if the plugin is not used.
Using the std-libs modulefinder module, it should not be to hard working around this.
- is a dependency of
-
PICARD-1404 Management of third-party plugins
- Open
- is related to
-
PICARD-2228 Classical extras plugin modifies Picard config on startup
- Open
-
PICARD-1861 Update plugin management system
- In Progress