SIP
Update to a new plugin version - Printable Version

+- SIP (https://nosack.com/sipforum)
+-- Forum: SIP (Sustainable Irrigation Platform) (https://nosack.com/sipforum/forumdisplay.php?fid=1)
+--- Forum: Installation and set up questions (https://nosack.com/sipforum/forumdisplay.php?fid=2)
+--- Thread: Update to a new plugin version (/showthread.php?tid=327)



Update to a new plugin version - cdesouza - 2024 Mar 15

If there is a newer version of a plugin available how do I install it?

As far as I can see UPDATE ENABLED only enables/disables plugins by changing the .py file permissions. So the only way is to uninstall the plugin and reinstall it, losing the setting in the process.

In plugin_manager.py should update_plugins() not call install_plugins() one way or another?

Another option might be to have three separate functions Enable/Disable, Update and Uninstall


RE: Update to a new plugin version - dan - 2024 Mar 15

You can just install the new version over the existing one and not loose settings.


RE: Update to a new plugin version - cdesouza - 2024 Mar 20

So simple, I'm embarrassed