MrDraw/src/octoprint/plugins
Gina Häußge 25a4d4b79b SWU: Track check origins, ignore if from unavailable plugin
There was a problem with software update checks configurations stored in
config.yaml for which the providing plugin was then removed, since those
check definitions then lacked their default values to be merged on whatever
was stored in config.yaml, causing incomplete check configurations as a
consequence over which the plugin tripped.

This patch fixes that in that it tracks which check config keys are provided
by plugins and only returns those as the active check configurations that
belong to plugins that are still in the system.

TODO: This is only half of the solution. Check configurations of plugins
that are being uninstalled should be removed from the config if the
user decides to remove any settings by the plugin too. We need some
adjustments in the lifecycle tracking in order to make this possible
however, so for now this must suffice to at least prevent any errors from
occuring when incomplete configs are encountered.
(cherry picked from commit 8af8b8f)
2015-09-21 16:46:44 +02:00
..
cura Made "Software Update" and "CuraEngine" translateable 2015-07-07 18:39:47 +02:00
discovery Finalizing first version of plugin lifecycle management 2015-04-14 17:55:46 +02:00
pluginmanager PMGR: Dependency links can make pip install take longer 2015-07-23 10:54:39 +02:00
softwareupdate SWU: Track check origins, ignore if from unavailable plugin 2015-09-21 16:46:44 +02:00
virtual_printer Fixing some more merge errors 2015-08-28 08:58:12 +02:00