fix(forgejo): disable source archive downloads; crawler archives filled the disk

Crawlers fetched zip/tar.gz archives of every repo at every commit and
Forgejo cached each under data/repo-archive. On 2026-11-30 that hit 11G,
filled / and broke every BBS/news write (NNTP 441 "posting failed").
Enforce [repository] DISABLE_DOWNLOAD_SOURCE_ARCHIVES = true on every run;
git clone is unaffected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Anthony Ettinger 2026-11-30 19:06:36 +00:00
parent 3f2c8047e0
commit 5cd0c14217
2 changed files with 9 additions and 2 deletions

View file

@ -180,8 +180,9 @@ fj_ini_set actions ENABLED false && FJ_INI_CHANGED=1
fj_ini_set webhook ALLOWED_HOST_LIST external && FJ_INI_CHANGED=1
fj_ini_set migrations ALLOW_LOCALNETWORKS false && FJ_INI_CHANGED=1
fj_ini_set security DISABLE_GIT_HOOKS true && FJ_INI_CHANGED=1
fj_ini_set repository DISABLE_DOWNLOAD_SOURCE_ARCHIVES true && FJ_INI_CHANGED=1
if [ "$FJ_INI_CHANGED" = 1 ]; then
log "app.ini hardening applied (actions off, webhooks/migrations external-only, git hooks off)"
log "app.ini hardening applied (actions off, webhooks/migrations external-only, git hooks off, source archives off)"
fi
# ---- 3. branding: chovy's mark as logo + favicon -----------------------------