Repository navigation
cmd/syncthing, lib/config: Remove restartOnWakeup option & functionality (fixes #8448) - #8449
Conversation
|
Doesn't there need to be a migration to a new config version (including removing the option from the XML file)? |
|
We're outright removing it, not replacing it with a different field. |
| string usage_reporting_url = 21 [(ext.goname) = "URURL", (ext.xml) = "urURL", (ext.json) = "urURL", (ext.default) = "https://data.syncthing.net/newdata"]; | ||
| bool usage_reporting_post_insecurely = 22 [(ext.goname) = "URPostInsecurely", (ext.xml) = "urPostInsecurely", (ext.json) = "urPostInsecurely", (ext.default) = "false"]; | ||
| int32 usage_reporting_initial_delay_s = 23 [(ext.goname) = "URInitialDelayS", (ext.xml) = "urInitialDelayS", (ext.json) = "urInitialDelayS", (ext.default) = "1800"]; | ||
| bool restart_on_wakeup = 24 [(ext.default) = "true"]; |
There was a problem hiding this comment.
Should not be removed but moved down to the deprecated options for backwards compost
Likely doesn't matter as json/xml ignoring unknown entries, but would still be good to handle it given we use proto.
There was a problem hiding this comment.
I considered a reserved 24; but skipped it since we have no binary marshalling of these types... Removing it entirely means it will just get dropped on next save, which seems fine to me?
There was a problem hiding this comment.
yah right, it really doesn't matter and what i intended to propose was actually wrong. all good as is here
* main: cmd/syncthing, lib/config: Remove restartOnWakeup option & functionality (fixes syncthing#8448) (syncthing#8449) gui: Remove blank meta tags (syncthing#8362) gui: Add device sync status (fixes syncthing#7981) (syncthing#8401) gui: Fix detailed staggered versioning information in folder info (ref syncthing#8348) (syncthing#8433) all: Support syncing ownership (fixes syncthing#1329) (syncthing#8434) gui, man, authors: Update docs, translations, and contributors lib/model, lib/config: Apply sensible defaults for auto-accepted encrypted folder (fixes syncthing#8296) (syncthing#8427) gui: Move filesystem watcher explanation from tooltip to help block (syncthing#8432) gui: Use discovered IDs from cache when adding a new remote device (syncthing#8382) build: Update goleveldb (syncthing#8440) gui, man, authors: Update docs, translations, and contributors cmd/syncthing/cli: Add show discovery command (fixes syncthing#8007) (syncthing#8378) gui, man, authors: Update docs, translations, and contributors lib/osutil: Only announce address of interfaces which are up (fixes syncthing#7458) (syncthing#8422) gui: Fix missing span end tag and missing nbsp semicolon in HTML (syncthing#8419)
* main: all: Fix unused method receiver (further) (syncthing#8466) all: Minor deprecation updates lib/model: Clarify normal shallow copy lib/api: Missing error handling in config handler (syncthing#8463) all: Remove unused method receivers (syncthing#8462) all: Combine sequential appends (syncthing#8461) cmd/ursrv: Silence linter with correct regexps (syncthing#8460) all: Unused parameter should be replaced by underscore (syncthing#8464) all: Remove or convert deprecated API usages (syncthing#8459) lib/config: Remove unnecessary use of `fmt.Sprintf` (syncthing#8458) lib/model: Replace `for` loop with `append` (syncthing#8457) all: Fix check for empty string (syncthing#8456) cmd/syncthing, lib/config: Remove restartOnWakeup option & functionality (fixes syncthing#8448) (syncthing#8449) gui: Remove blank meta tags (syncthing#8362) gui: Add device sync status (fixes syncthing#7981) (syncthing#8401) gui: Fix detailed staggered versioning information in folder info (ref syncthing#8348) (syncthing#8433)
It's old and busted