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

Đang mở
#976 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
47/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
hugo
Lĩnh vực
web-dev

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
HTML
Star
42
Fork
33
Merge trung bình
17 giờ 18 phút
Pull request đã merge (30 ngày)
111

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của forrtproject/forrtproject.github.io

Tất cả issue của forrtproject/forrtproject.github.io

Issue tương tự

Thêm issue về Web Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.