Release v2.13.0: Protect /quant/audio in rsync, auto-provision espeak-ng on VPS in sync-vps-repos.sh, add .wav to Caddyfile, and verify Fedora 41 RPM packaging in push-all-to-git-libre-audio.sh

This commit is contained in:
Hermes Agent committed 2026-12-01 11:26:34 +00:00
1 parent 6af5d32b15
commit 6624209f2b
3 files changed
+14 -4

No files matched your search

+2 -2
View File
@@ -10,7 +10,7 @@ www.hyperstitionstud.io {
}
hyperstitionstud.io {
@compressible not path *.gz *.br *.tgz *.xz *.zst *.zip *.woff2 *.png *.mp3 *.pdf
@compressible not path *.gz *.br *.tgz *.xz *.zst *.zip *.woff2 *.png *.mp3 *.wav *.pdf
encode @compressible zstd gzip
# Zero-PII Route Counter Log (Strategy 3A — remote_ip, client_ip, Cookie, User-Agent, and Referer deleted)
@@ -39,7 +39,7 @@ hyperstitionstud.io {
-Server
}
@immutable_media path *.pdf *.png *.mp3 *.graphml *.gexf *.canvas *.woff2
@immutable_media path *.pdf *.png *.mp3 *.wav *.graphml *.gexf *.canvas *.woff2
header @immutable_media Cache-Control "public, max-age=86400, stale-while-revalidate=604800"
@html_js path *.html *.js *.json
+10
View File
@@ -179,6 +179,7 @@ for entry in "${REPOS[@]}"; do
run_checked "rsync ${repo}" ${LIVE_SUDO} rsync -a --delete \
--filter='P *.gz' \
--filter='P *.br' \
--filter='P site/quant/audio/***' \
--exclude='.git' \
--exclude='completed-plans-archive.tar.gz' \
--exclude='inactive-plans-archive.tar.gz' \
@@ -200,6 +201,15 @@ ${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/learn" "${LIVE_REPOS}/learn"
${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/quant" "${LIVE_REPOS}/quant"
${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/donate" "${LIVE_REPOS}/donate"
echo "[3b/5] Generating untracked deploy-time /quant/audio/*.wav spoken voice tracks (Strategy 1A, 0 audio files in Git)..."
if [[ -z "$(type -P espeak-ng || true)" ]] && [[ -z "$(type -P espeak || true)" ]] && [[ "${DO_CADDY}" -eq 1 ]]; then
if [[ -n "$(type -P dnf || true)" ]]; then
echo " -> Installing espeak-ng via dnf for natural spoken English tour narration..."
${SUDO} dnf install -y -q espeak-ng || true
elif [[ -n "$(type -P apt-get || true)" ]]; then
echo " -> Installing espeak-ng via apt-get for natural spoken English tour narration..."
${SUDO} env DEBIAN_FRONTEND=noninteractive apt-get install -y -qq espeak-ng || true
fi
fi
run_checked "hs-quant-voice-build" ${LIVE_SUDO} env PYTHONPATH="${REPOS_ROOT}/hyperstitionstudio-core/src" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.quant_voice \
--workspace-root "${REPOS_ROOT}" \
--out-dir "${LIVE_REPOS}/hyperstitionstudio-core/site/quant/audio"