Skip to content

ipq 1.0.1: an archive checks a record against its section's spec - #1

Merged
baw-dev merged 1 commit into
mainfrom
ipq-1.0.1
Sep 30, 2026
Merged

baw-dev merged 1 commit into
mainfrom
ipq-1.0.1

Conversation

@baw-dev

@baw-dev baw-dev commented Sep 30, 2026

Copy link
Copy Markdown
Owner

Inside a role's archive.md, a record is now checked against the matching spec whose in names the section it sits under. That lets a project archive closed delta entries in full against a Closed spec, instead of the Open spec with its required Waits on. Outside an archive nothing changes.

  • Test: Templates.test_an_archive_uses_the_spec_for_its_section fails without the change (D-009 has no 'Waits on' field) and passes with it. The full suite passes.
  • No effect on existing sets: check output is byte-identical on a real migrating set, and the examples stay clean.
  • Patch release: a pin of "1.0" stays valid.

Inside a role's archive.md, spec_for now prefers the matching spec whose
in= names the record's section, so a closed entry archived in full can be
checked against a Closed spec instead of the Open one. Elsewhere it takes
the first matching spec, as before.
@baw-dev
baw-dev merged commit 1c7e766 into main Sep 30, 2026
6 checks passed
@baw-dev
baw-dev deleted the ipq-1.0.1 branch September 30, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant