You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sync: compare switches by value, skip reset-only files and treat read-only dumps as partial #345
Several gaia changes affect novem/sync.py dump and load. Load/dump is an internal tool, so gaia is shipping these server-side first. This issue is the client follow-up.
Boolean readback: switches now read back as yes/no (novem-code/gaia#8033, #8035, #8038, #8039). A dump holding true differs from the server's yes text and is re-POSTed on every load (sync.py:236). Compare known boolean aliases by value.
Reset via DELETE: notification preferences gain a DELETE that resets them to the default (novem-code/gaia#8068). Sync round-trips any file listing DELETE (sync.py:130, :208), and load deletes remote files missing locally (:240), so loading a dump that predates it resets the caller's preference. Leave notification preferences out of the managed set.
Read-only dumps: listings will give read-only callers their own actions, without DELETE (novem-code/gaia#8046). A dump taken by a reader then omits files, and an owner loading it would delete them (:240). Mark a dump taken without write access as partial, and never delete remote files when loading a partial dump.
Activity