✨ Blacklist: support pythonversions & pluginversions

Also deprecate plain versions key.

That way we can now easier define blacklisted version ranges and also
limit blacklisting to specific python versions (on top of OctoPrint and
plugin versions).
This commit is contained in:
Gina Häußge committed 2021-04-15 17:31:15 +02:00
1 parent 61ed63d233
commit 17958a460d
3 files changed
+32 -9

No files matched your search

+2 -1
View File
@@ -67,7 +67,8 @@ def plugin_manager(
this defaults to the entry point ``octoprint.plugin``.
plugin_disabled_list (list): A list of plugin identifiers that are currently disabled. If not provided this
defaults to all plugins for which ``enabled`` is set to ``False`` in the settings.
plugin_blacklist (list): A list of plugin identifiers/identifier-version tuples that are currently blacklisted.
plugin_blacklist (list): A list of plugin identifiers/identifier-requirement tuples
that are currently blacklisted.
plugin_restart_needing_hooks (list): A list of hook namespaces which cause a plugin to need a restart in order
be enabled/disabled. Does not have to contain full hook identifiers, will be matched with startswith similar
to logging handlers