From 60058a5e45795c15fb1023c905ee66ecd01c0786 Mon Sep 17 00:00:00 2001 From: Josh Vaughen Date: Sun, 13 Sep 2026 06:40:58 -0700 Subject: [PATCH] chore(render): accept lib v2.1.1, retry passes rsync exit 23 --- render.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/render.txt b/render.txt index 1999d69..450c132 100644 --- a/render.txt +++ b/render.txt @@ -3,7 +3,7 @@ task: [list] rm -f /work/.run/publish.txt /work/.run/orphans.txt task: [list] mkdir -p /work/.run /work/staging task: [retry] for i in 1 2 3 4 5; do rc=0; ( rsync --timeout=300 --contimeout=60 --no-h --exclude='*.r[0-9]*.tar.xz' --exclude='/systems/texlive/tlnet/update-tlmgr-r*' --include=/systems/ --include=/systems/texlive/ --include='/systems/texlive/tlnet/***' --exclude='*' -rL --list-only rsync://rsync.dante.ctan.org/CTAN/ > /work/.run/listing.txt ) || rc=$? # subshell so CMD's exit cannot end the loop; || so Task's errexit cannot - case $rc in 0|24) exit 0;; 5|10|12|30|35) ;; *) exit $rc;; esac + case $rc in 0|23|24) exit 0;; 5|10|12|30|35) ;; *) exit $rc;; esac test $i -lt 5 || break s=$((15 * 2 ** i + RANDOM % (2 * 15 + 1))); echo "rsync exit $rc, retry $i in ${s}s" >&2; sleep $s done; exit $rc @@ -55,7 +55,7 @@ task: [prepare] mkdir -p /work/.run/tl task: [prepare] printf '%s\n' tlpkg/texlive.tlpdb.xz tlpkg/texlive.tlpdb.sha512 tlpkg/texlive.tlpdb.sha512.asc tlpkg/gpg/pubring.gpg > /work/.run/tl/files.txt task: [retry] for i in 1 2 3 4 5; do rc=0; ( rsync --timeout=300 --contimeout=60 --no-h -Lt --files-from=/work/.run/tl/files.txt rsync://rsync.dante.ctan.org/CTAN/systems/texlive/tlnet/ /work/.run/tl/ ) || rc=$? # subshell so CMD's exit cannot end the loop; || so Task's errexit cannot - case $rc in 0|24) exit 0;; 5|10|12|30|35) ;; *) exit $rc;; esac + case $rc in 0|23|24) exit 0;; 5|10|12|30|35) ;; *) exit $rc;; esac test $i -lt 5 || break s=$((15 * 2 ** i + RANDOM % (2 * 15 + 1))); echo "rsync exit $rc, retry $i in ${s}s" >&2; sleep $s done; exit $rc @@ -66,7 +66,7 @@ task: [fetch] find /work/staging -mindepth 1 -delete task: [fetch] cut -f1 > /work/.run/files.txt task: [retry] for i in 1 2 3 4 5; do rc=0; ( rsync --timeout=300 --contimeout=60 --no-h -Lt --files-from=/work/.run/files.txt --ignore-missing-args rsync://rsync.dante.ctan.org/CTAN/ /work/staging/ ) || rc=$? # subshell so CMD's exit cannot end the loop; || so Task's errexit cannot - case $rc in 0|24) exit 0;; 5|10|12|30|35) ;; *) exit $rc;; esac + case $rc in 0|23|24) exit 0;; 5|10|12|30|35) ;; *) exit $rc;; esac test $i -lt 5 || break s=$((15 * 2 ** i + RANDOM % (2 * 15 + 1))); echo "rsync exit $rc, retry $i in ${s}s" >&2; sleep $s done; exit $rc