I’ve also noticed this. Sent from my iPhone
> On Nov 6, 2022, at 4:55 AM, Greg Troxel <[email protected]> wrote: > > > (I have been running WeeWX since the very end of 2017, and updated a few > times. I'm building with setup.py on NetBSD, but I'm quite used to python.) > > There is some config file auto update/merge stuff. My usual practice > is to keep my config file matching the default example in the source > code, except for things that I intend to change, and after an update (of > almost anything, not just WeeWX) I try to diff and reduce unintended > diffs. And yes, I think this is normal :-) > > I have noticed that after doing a WeeWX upgrade, which tries to do > something that feels like a 3-way merge from old to new configs with > mine, and almost entirely gets it right, that the config file differs > from the example in two ways: > > - a bunch of whitespace changes, not important but annoying > - quoted strings are no longer quoted > > Because of this I have tended to update less often than I might. > > A few minutes ago I glanced at configobj and saw the magic words "round > tripper" at https://pypi.org/project/configobj/ > > ConfigObj is a simple but powerful config file reader and writer: an > ini file round tripper. > > > So I wonder if the changes are something configobj views as > normalization, and if instead > > - It should be configured with WeeWX'S whitespace and qouting rules. > - WeeWX should round-trip the default files > > or if > > - I'm confused. > - It's an artifact of my system (but I have configobj 5.0.6 which is > current). > > Do other people see this? > > -- > 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/rmitu3cw8fm.fsf%40s1.lexort.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/7B9C1269-79E5-4949-A6E3-C01BDB238B99%40gmail.com.
