Mark each kind of change in the changelog, and hold the convention with a test #80
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Postulo/postulo#80
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Observation
What exists today
CHANGELOG.mdfollows Keep a Changelog with plainheadings —
### Added,### Changed,### Fixed. The entries under them are long, becauseeach says why rather than what, which is the house style and worth keeping. The cost is
that scanning the file for "what broke and got fixed" means reading headings that all look
alike.
Shape
An emoji before each Keep a Changelog heading, and the word kept beside it. The word is what
makes it readable in a plain-text terminal, in a screen reader, and to anybody whose font
does not have the glyph; the emoji is what makes it findable at a glance.
### ✨ Added### 🔧 Changed### 🐛 Fixed### 🔒 Security### ⚠️ Deprecated### 🗑️ RemovedApplied to every section in the file, not only the new ones: a convention half-applied reads
as a mistake rather than a convention.
Enforced, like the project's other conventions.
tests/test_template_lint.pyrefuses atemplate that names a side of the page;
tests/test_fonts.pyholds the image's fonts to thelanguages offered. A heading in
CHANGELOG.mdthat is not one of the six above, or is one ofthem without its mark, should fail the same way — otherwise this decays into some sections
having emoji and some not, which is worse than none having them.
What has to keep working
scripts/release_tools.pybuilds a release's notes from the changelog. It matches on## [version]and takes everything up to the next##, so the###subheadings inside arecarried through untouched — the emoji land in the release notes, which is where they are
wanted. Checked before changing anything: no parser reads the subheadings.
Classification
Documentation.