Introduce towncrier to help with writing better changelogs #1247
No reviewers
Labels
No labels
Blocked
Bug
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
To-Merge
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Blocks
#1248 feat: Add pull request template
continuwuation/continuwuity
Reference
continuwuation/continuwuity!1247
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "nex/meta/towncrier"
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?
Adds the config for towncrier so that we can write changelogs easier. Inspired by Synapse's contributing guide.
Requires towncrier:
pipx install towncrierCreating a changelog for the current git tag from the existing news fragments:
towncrier build --name Continuwuity --version "$(git describe --tags --abbrev=0)" --date "$(date -I)"alternatively
uv tool install towncrier.Could also use https://towncrier.readthedocs.io/en/stable/pre-commit.html although I'm not sure what that does
uv smelly
looks beyond what we need (we don't necessarily want a news fragment for each... commit)
@Jade wrote in #1247 (comment):
Re: the pre-commit integration: this seems to imply that
towncrier-checkwould do a validity check of news fragments, whereastowncrier-updatewould seem to build news from fragments if they weren't already incorporated... though I'm not sure if that's the correct interpretation.