Decouple build artifact naming from RFC "seriesInfo" metadata

オープン
#885 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
markdown, python, shell

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

  1. 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.
  2. Pass the output basename explicitly to the Markdown-to-HTML conversion pipeline, bypassing or updating the container entrypoint's reliance on "grep".
  3. Maintain backward compatibility for existing FAPI documents that currently use "seriesInfo.value".
  4. Ensure the generated HTML and XML do not incorrectly identify OIDF documents as IETF Internet-Drafts or Standards Track documents.
  5. 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

主要言語
HTML
スター
5
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

openid/fapi のほかの issue

openid/fapi の issue をすべて見る

似ている issue

Build System の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。