Is it possible to have a formally defined place where users can put in their local customizations? 

Advantages:

1) location is standardized for both users and developers. 

2) because of (1), it is a directory that will be known to be preserved across upgrades.

3) because of (1), an upgrade could look for that directory existing and if so, telling the upgrading user “private_extensions” directory non empty. You need to see if anything in it needs changing due to the upgrade” etc

4) I have mine, and I do call it “private_extensions”

Sent from my iPhone

On Dec 13, 2023, at 4:47 AM, Paul R Anderson <[email protected]> wrote:


That would be better than just deleting it. Wondering if  the new 'scripts' subdirectory could be located at ~/weewx-data/util/scripts ?
Paul

On Wed, Dec 13, 2023 at 7:33 AM Tom Keffer <[email protected]> wrote:
We could timestamp the old 'scripts' subdirectory instead of deleting it.

On Wed, Dec 13, 2023 at 4:29 AM [email protected] <[email protected]> wrote:
pip update to 5.0.0b17 deletes ~/weewx-data/scripts if it exist, then creates new ~/weewx-data/scripts directory to hold setup-daemon.systemd and setup-daemon.mac. On previous V4 setup.py installs and newer V5 pip installs I have always created a scripts subdirectory within the WeeWX directory to hold custom scripts related to WeeWX. The scripts directory and it's subdirectories were always safe when updating to a new version of WeeWx. I bet I'm not the only user that normally creates a custom scripts directory and will be surprised when their by custom scripts disappear. I guess it's resonable to assume WeeWX has controll of all files under ~/weewx-data/ and user is at own peril by adding custom files. I was just surprised that the existing ~/weewx-data/scripts directory was removed without warning.

--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/2fd8ae9a-fc15-4694-95b6-14f1ee220e31n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/CAOAVAefsPGHaYoG1Z0DD5jfVG2tk%2BEaPy-jSXZom4Q%3DZwuT19A%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/A94197D1-BBB5-4930-940E-8176653FD3BD%40gmail.com.

Reply via email to