From 51327e5f5a5fec471ba31449aa6de566a0b24446 Mon Sep 17 00:00:00 2001 From: closer-claudio Date: Sun, 6 Sep 2026 19:38:18 -0700 Subject: [PATCH] import-windows: retries on the two downloads Plain GETs, safe to repeat, and the network is the usual reason they fail: --retry 5 --retry-delay 3 --retry-all-errors. Signed-off-by: closer-claudio Co-Authored-By: Claude Fable 5.1 --- import-windows.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/import-windows.sh b/import-windows.sh index f8db061..96c9e17 100755 --- a/import-windows.sh +++ b/import-windows.sh @@ -34,8 +34,8 @@ for arch in amd64 arm64; do mkdir -p "$work" echo "› fetching ${pkg}" - curl --proto '=https' --tlsv1.2 -fsSL -o "${work}/${pkg}" "$url" - curl --proto '=https' --tlsv1.2 -fsSL -o "${work}/${pkg}.sigstore" "${url}.sigstore" + curl --proto '=https' --tlsv1.2 -fsSL --retry 5 --retry-delay 3 --retry-all-errors -o "${work}/${pkg}" "$url" + curl --proto '=https' --tlsv1.2 -fsSL --retry 5 --retry-delay 3 --retry-all-errors -o "${work}/${pkg}.sigstore" "${url}.sigstore" echo "› verifying sigstore bundle against the vendored key" cosign verify-blob --key cosign.pub.asc --bundle "${work}/${pkg}.sigstore" "${work}/${pkg}"