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

Ouverte
#976 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
47/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
hugo
Domaine
web-dev

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
HTML
Étoiles
42
Forks
33
Merge moyen
17 h 18 min
PR mergées (30 j)
111

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de forrtproject/forrtproject.github.io

Toutes les issues de forrtproject/forrtproject.github.io

Issues similaires

Plus d'issues Web Dev

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.