Artifact 900bfb7b6a9b64f9277eb6fa4c6aec58882a0b630f3852c5f571386a0b4e0520:
- Executable file
scripts/refresh-conformance-rfcs.sh
— part of check-in
[3e1f791160]
at
2026-10-20 00:51:31
on branch feat/submanifest-reader
— test(conformance): drop the erratum files; the draft text is the authority
zit applied every erratum in its draft text and retired docs/rfcs/erratum/ at check-in 62a7d1bb3f. Each draft records its corrections in its own Changes appendix, so the suite stops pinning and reading erratum files: the "# erratum" pin lines, the parser branch that accepted them and conformance/rfcs/erratum/ are removed, and comments that named an erratum file cite the draft section instead.
The artifact-format, repo-state, sync-protocol and delta-format drafts are byte-identical at 62a7d1bb3f. The sub-manifest draft is re-pinned; it differs only in its expiry date, reflow, and the dropped pointer to the erratum files. The sparse-cone draft is re-pinned to the 19 October 2026 revision on zit's horizon-rfc branch (0acb5e185c, its merge of 62a7d1bb3f): section 3.6 is removed and section 3.4 states the literal prefix rule once, so SC-3.6-1 becomes SC-3.4-3 (a metacharacter is a literal character, never expanded, and the member may be refused), covered by the same case, renamed sparsecone.3.4.metachar. The refresh script copies the -01 texts to their -01 names and takes the horizon-rfc drafts from a second checkout. (user: [email protected], size: 1341) [annotate] [blame] [check-ins using] [more...]
#!/bin/sh # Copy the Fossil drafts the conformance suite is written against from a zit # checkout into conformance/rfcs, unmodified. The draft text is the authority: # each draft records its corrections in its own Changes appendix. # # A refreshed draft changes its SHA-256, so the coverage test fails until each # requirements table that pins it has been checked against the new text and # its pin moved. That is the point: a draft change must be read, not absorbed. # # zit names each draft -00; artifact-format, sync-protocol and repo-state hold # the -01 text and keep their -01 names here. The sparse-cone and horizon # drafts follow zit's horizon-rfc branch; pass that checkout's docs/rfcs as # the second argument to refresh them too (see conformance/rfcs/README.md). # # Usage: scripts/refresh-conformance-rfcs.sh [path-to-zit-rfcs [path-to-horizon-rfc-rfcs]] set -eu src=${1:-"$HOME/zit/docs/rfcs"} branch=${2:-} dst=$(dirname "$0")/../conformance/rfcs for draft in artifact-format sync-protocol repo-state; do cp "$src/draft-fossil-$draft-00.txt" "$dst/draft-fossil-$draft-01.txt" done for draft in delta-format submanifests; do cp "$src/draft-fossil-$draft-00.txt" "$dst/" done if [ -n "$branch" ]; then for draft in sparse-cone horizon; do cp "$branch/draft-fossil-$draft-00.txt" "$dst/" done fi shasum -a 256 "$dst"/*.txt