Decouple build artifact naming from RFC "seriesInfo" metadata
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
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- build-system, documentation
Hướng nghiên cứu
Start with openid/fapi/build-all.py and the markdown2rfc container's make.sh entrypoint, which both derive output names from seriesInfo.value. Trace how build metadata and output names flow into HTML and XML generation, then check the openid/publication checks. Done means documents without a seriesInfo block build with OIDF naming, existing identifiers and artifacts remain intact, and rendered output has no unintended IETF metadata.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
The FAPI build pipeline currently depends on the "seriesInfo.value" field to determine output filenames.
This dependency exists in two places:
- "openid/fapi/build-all.py" extracts the output basename from a "value = "..."" line.
- The "danielfett/markdown2rfc" container's "make.sh" entrypoint uses "grep -m1 value" for the same purpose.
This forces OpenID Foundation documents to include RFC-specific "seriesInfo" metadata solely to make the build succeed.
For example, FAPI 2.0 Implementation Advice currently declares "name = "Internet-Draft"", although it is not an IETF Internet-Draft.
Proposed changes
- Decouple output filename generation from "seriesInfo". Derive the document basename from the source filename and the draft revision from the document title or explicitly configured build metadata.
- Pass the output basename explicitly to the Markdown-to-HTML conversion pipeline, bypassing or updating the container entrypoint's reliance on "grep".
- Maintain backward compatibility for existing FAPI documents that currently use "seriesInfo.value".
- Ensure the generated HTML and XML do not incorrectly identify OIDF documents as IETF Internet-Drafts or Standards Track documents.
- Preserve the existing manifest, HTML filename normalization, and XML artifact generation.
Acceptance criteria
- Existing FAPI documents continue to build without changing their published document identifiers.
- A document without a "[seriesInfo]" block builds successfully.
- The output filename follows the OIDF specification naming conventions.
- The rendered HTML contains no unintended IETF Internet-Draft metadata or boilerplate.
- The generated artifacts pass the "openid/publication" checks.
References
- "OIDF Naming and Contents of Specifications" (https://openid.net/wg/resources/naming-and-contents-of-specifications/)
- "OIDF Publication Error Modes" (https://github.com/openid/publication/blob/main/ERROR-MODES.md)
- "FAPI build-all.py" (https://github.com/openid/fapi/blob/master/build-all.py)
- "markdown2rfc make.sh" (https://github.com/oauthstuff/markdown2rfc/blob/master/make.sh)
- "RFC 7991 §2.47" (https://www.rfc-editor.org/rfc/rfc7991#section-2.47)
- Ngôn ngữ chính
- HTML
- Star
- 5
- Fork
- 3
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của openid/fapi
-
component: FAPI 1: Advanced migrated-from-bitbucket priority: major type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
migrated-from-bitbucket priority: trivial type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
Add support for resource-server constrained grant status queries for asynchronous delivery use casesĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
-
Grant management draft statusĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
nekko-labs/nekko-agent#1756 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[compiler-rt] Rtsan-aarch64-NoInstTest: error: no such file or directory: 'NOTFOUND' (libatomic)Đang mởbuild-problem compiler-rt:rtsan platform:linux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
llvm/llvm-project#239039 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Gradle liquibaseDiffChangelog drops jhi_date_time_wrapperCó thể đã có người làm @mraible đã nhận hôm nay. Đang mởarea: triage theme: undefined
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
jhipster/generator-jhipster#35998 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug dependencies known-issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
aaif-goose/goose#13327 ·
Maintainer thường phản hồi trong vòng 1 ngày