Repository navigation
Open
Description
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)
Metadata
Metadata
Assignees
Labels
No labels
Activity