how to preserve plugin modifications when SIP system is updated - Printable Version +- SIP (https://nosack.com/sipforum) +-- Forum: SIP (Sustainable Irrigation Platform) (https://nosack.com/sipforum/forumdisplay.php?fid=1) +--- Forum: Writing plugins (https://nosack.com/sipforum/forumdisplay.php?fid=8) +--- Thread: how to preserve plugin modifications when SIP system is updated (/showthread.php?tid=254) |
how to preserve plugin modifications when SIP system is updated - paul - 2021 Aug 31 Hi Dan, Let's say I have made a pin reassignment in the buzzer.py plugin: BUZZER_PIN = 32 --> BUZZER_PIN = 10 I want to preserve this reassignment in the following two scenarios: 1. when I perform SIP upgrade, and 2. when I re-install the plugin If it is not possible, do I just keep a local copy of the modified plugin and then copy it to the SIP/plugins directory after the upgrade or re-install? On the other hand, I think the plugin runs independently from sip.py so might not be vulnerable to SIP upgrade. Paul RE: how to preserve plugin modifications when SIP system is updated - dan - 2021 Aug 31 SIP upgrades are git pulls. This should not affect most plugins or saved configuration/irrigation program data. There are a few plugins that are included with the core software which can get changed in an upgrade. Dan |