Generator scripts and a draft are published on forrt.org from content bundles

Aperta
#976 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
47/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
hugo
Ambito
web-dev

Direzione di ricerca

Start by checking Hugo's content bundle behavior and the listed files, then read config/_default/config.toml, data-processing.yml, AGENTS.md, and scripts/rebrand/compare_builds.py. Decide whether to move the generators into scripts/ or exclude the files with ignoreFiles; moving them also requires updating their output paths. Done means none of the five files is served with a 200 response, and the Doors branch accounts for the changed path list in allowed_changes.txt.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

[!NOTE]
🤖 Claude Opus 5.5 responding on behalf of Lukas Wallrich

Hugo copies non-content files out of page bundles, so these generator scripts and an old draft are served from forrt.org:

  • /resources/resource.py
  • /summaries/summaries.py
  • /glossary/_create_glossaries.py
  • /glossary/_build_references.py
  • /replication-hub/submit/submit.mdOUT

All five return 200 on the live site. A grep of the four scripts for tokens, secrets, API keys and passwords found nothing, so this looks like clutter and not an exposure. They do not belong on the site, though, and each generator's output path now depends on the folder it sits in.

Options: move the generators to scripts/ and update data-processing.yml and AGENTS.md, or exclude these files through ignoreFiles in config/_default/config.toml. Removing them changes the path list, so scripts/rebrand/compare_builds.py will list them until they go into allowed_changes.txt on the Doors branch.

Found while building the Doors resources directory. It does not block that work.

Lingua principale
HTML
Stelle
42
Fork
33
Merge medio
17h 18m
PR unite (30g)
111

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di forrtproject/forrtproject.github.io

Tutte le issue di forrtproject/forrtproject.github.io

Issue simili

Altre issue su Web Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.