mirror of
https://github.com/profullstack/agentbbs.git
synced 2026-12-01 01:14:47 +00:00
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:
parent
3f2c8047e0
commit
5cd0c14217
2 changed files with 9 additions and 2 deletions
|
|
@ -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 -----------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue