Commit Graph
2 Commits
Author SHA1 Message Date
Hector Ventura d29c472004 fix(installer): retry transient downloads and stop false checksum errors (#6)
A 504 while fetching sha256sums.txt was swallowed inside a command-
substitution pipeline (set -e can't see it), leaving the expected checksum
empty so the installer reported 'Checksum mismatch! Expected:  Got: ...' on a
perfectly valid binary. Add a download() helper with explicit retry-and-backoff
(treating HTTP errors and 0-byte responses as retryable), fetch checksums to a
file so failures are caught, and emit distinct errors for a failed checksum
fetch vs. an actual mismatch. Add FLOCI_SKIP_CHECKSUM and FLOCI_DOWNLOAD_RETRIES
escape hatches.

Fixes floci-io/floci#1236
2026-06-10 17:16:06 -05:00
Hector Ventura aef1df595f chore: first commit 2026-05-12 17:10:46 -05:00