Repository navigation
ColdSnake v0.1.2
ColdSnake v0.1.2
Bug-fix release.
Fixed
- HTTP 429 throttling aborted runs. Repeated full listing passes (large
trees, several runs in an hour) trip Icedrive's rate limit, and the 1-4s
exponential backoff was too hot: the run aborted after 4 attempts. A 429 now
waitsRetry-After(capped at 300s, else 60s). - Server-side name normalization. Icedrive normalizes item names (NFKC):
a folder namedExample Album!(fullwidth!, U+FF01) already exists
remotely as the ASCIIExample Album!, so create answered2006 Folder existswhile the exact-match listing never found it and the mirror aborted
withcannot create remote folder. Folder matching, upload skip checks,
verification and prune now compare names through NFKC. - Empty files counted as failures. A legit empty local file (e.g.
Syncthing's.stignoremarker) was a per-run failure because the upload
refuses empty bodies. It is skipped with a log line and askippedcounter
in the summary and JSON document.
Added
- sqlite sync db (
~/.config/coldsnake/sync-db.sqlite): records files
that uploaded and verified as (size, mtime). The skip decision consults it
before the remote listing, and folder ids resolve lazily — a run with no
changes now makes no listing calls at all, which is what the 429 throttling
was punishing. First run after upgrading populates the db with one listing
pass; after that runs are API-quiet.--no-sync-dbor deleting the file
restores always-list-the-remote behavior (that is the resync).
Full changelog: v0.1.1...v0.1.2