Repository navigation
build(linux): towncrier fragments for the Linux changelog - #3534
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The Linux changelog was a hand-edited
[Unreleased]block, while the macOS app uses towncrier fragments. Both now use towncrier, one config per project, built with--dir linux.Change
linux/towncrier.tomlmirrors the root config; headings linklinux-v{version}. The 13 Added entries become fragments named for build(linux): release notes, JSON upgraders, arm64, hotfix, user docs #3464 and refactor(linux): finish remediation steps 40 to 45 #3413. The lead block moves to the 0.1.0 release PR, as the root's does (text at a67dcf2).check-changelog.pychecks both projects. A Linux release PR may also set the version files, and the PR that adds atowncrier.tomlbrings its changelog as is.check_packaging.pyreads towncrier's linked heading. A pre-release needs no section;release-linux.ymldrafts its notes.linux/docs/releasing.mdand the Linux guides point at.claude/rules/changelog.md.Verified
Both test suites pass, and both projects render with
towncrier build --draft. Changed tests:test_a_good_tree_passes(OK line names both projects),test_a_pre_release_tag_passes_when_the_spec_packages_the_tilde_version(no rc section).