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

Abierto
#976 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
47/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
hugo
Área
web-dev

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

[!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.

Lenguaje dominante
HTML
Estrellas
42
Forks
33
Merge medio
17 h 18 min
PR fusionados (30 d)
111

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de forrtproject/forrtproject.github.io

Todos los issues de forrtproject/forrtproject.github.io

Issues similares

Más issues de Web Dev

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.