Repository navigation
docs: split release and upgrade notes by version - #290
Conversation
|
@prusnak Concept ACK. Before merging, In the long term, I'd like to minimize the manual steps before and after a release. Today the only step after a release is pushing the tag; this PR adds a second one (creating the next version's TBD pages and their index and The review from Opus: The split itself is sound, but Must
Should
Optional
Tested: compared master's two guides with the split pages and drafts (no content lost, 0.2.0 headings match), checked every released anchor in Assisted-by: Claude Code (Claude Opus 5.5) |
ostermayer
left a comment
There was a problem hiding this comment.
Concept ACK from me too. I compared the old guides with the new pages line by line, and nothing got lost. 8d0e1b22 covers most of seberm's list and part of mine, so here's only what's left.
- An entry now has to keep some text, but not the draft's text, so a dropped step still passes. Comparing each draft's lines, with link targets stripped, against the version page would catch that and still allow rebased links. That's how I checked this PR.
- A draft without a
####heading still passes CI when it's added. It then blocks the release PR, because the draft is read from history, and only a separate fix on master clears it. Checking for the heading in every draft moves the error to the PR that adds it. NOTEonly matches<version>/<name>.md, so a nested file or a.markdownfile under a draft directory is skipped by every check.- In CI,
HEAD^1of the merge checkout is the exact base it merged into.pull_request.base.shacomes from the event and may not match it. - On master, a 0.2.0 notice now says
See docs/upgrading/0.2.0.md, which is the TBD page. Before, it named the section with the steps. Pointing at the draft directory while it exists would help. - README's migration guide link for caller-controlled pins also lands on the TBD page now. It could link the
unstable-nixos-basedraft until the release. modules/versioning/0.2.0/secure-node-ssh-password-login.nixstill saysSee docs/upgrading.md., and the collector now addsSee docs/upgrading/0.2.0.md.after it. That one's mine. Drop it here or I'll fix it after this merges.Fixes #287in the description would close #287 on merge.
|
Checked |
|
@prusnak LGTM All earlier must/should items are fixed. I could no longer reproduce any of them on Should
Tested: consolidated 0.2.0 from the real drafts on the PR merged with master, then ran Assisted-by: Claude Code (Claude Opus 5.5) |
Keep each upcoming change in its own file so concurrent PRs can add notes without editing shared indexes or the mdBook sidebar. Consolidate drafts into per-version pages during release preparation. Point migration notices to the version pages and preserve bookmarks from the old guides. Reject drafts and TBD pages for finalized versions in CI and before tagging. Give the release-note checker the signing code owners. Check shared navigation and newly added migration notices against the target branch. Verify that every draft heading survives consolidation in CI and before tagging. Assisted-by: Codex (gpt-6.2-sol)
Recover drafts across release-preparation commits and check that each entry reaches its version page. Validate titles, the final configVersion instruction, navigation, and link targets and anchors in the rendered book. Give the first draft PR a helper to create the milestone pages and navigation. Exercise both CI and signing with split preparation, incomplete notes, and a corrected release. Assisted-by: Codex (gpt-6.2-astra)
Compare each draft with the text under its published heading, allowing prose to wrap and links to move. Check draft paths and headings in the contributing PR and use the test merge's first parent as the CI base. Point migration notices and the README to the active upgrade drafts. Require README links to move to the version page when it is finalized. Assisted-by: Codex (gpt-6.2-astra)
Keep each upcoming change in its own file so concurrent PRs can add notes without editing shared indexes or the mdBook sidebar. Consolidate drafts into per-version pages during release preparation.
Point migration notices to the version pages and preserve bookmarks from the old guides. Reject drafts and TBD pages for finalized versions in CI and before tagging.
Give the release-note checker the signing code owners. Check shared navigation and newly added migration notices against the target branch. Verify that every draft heading survives consolidation in CI and before tagging.
Assisted-by: Codex (gpt-6.2-sol)