You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
towncrier snafu on multiline changelog entry #13828
first line is near the bottom of Bugfixes section (4th up from the end)
second line (newcontrib part) ended up combined with a different changelog entry (5th one from top of Bugfixes section, which was Benedikt Ehinger's PR)
This is because I manually moved all :newcontrib: to the top of the changelog, and did a bad job.
To prevent it from happening in the future, we could (1) be more careful, or (2) change how towncrier sorts the changelog to automatically put any with :newcontrib: at the top. No idea if that's actually doable / if towncrier is that flexible...
I was thinking maybe enforce that changelog entries be only one line, but that seems overly restrictive... most of the time it would be fine but occasionally we want to do something fancy. So I guess +1 for investigating whether towncrier sort can be customized, if someone wants to look into it.
I noticed another small rendering quirk in the 1.12.0 changelog.... several entries have duplicate PR links at the end (for example, #13706 and #13566). It seems like the towncrier generation might be double-appending the reference. Just wanted to flag this here since it's related to the other changelog formatting issues!
I noticed another small rendering quirk in the 1.12.0 changelog.... several entries have duplicate PR links at the end (for example, #13706 and #13566).
The changelog entries for #13706 and #13566 had links to the PRs within the changelog entries, however they shouldn't be added there because towncrier automatically creates a links to this.
Could try enforcing there is no gh link within the changelog, but could there be cases we want to include a reference to a previous PR?
Ah, I see. That makes total sense, @tsbinns. I'll make sure to omit the manual PR reference in future towncrier fragments to let the automation handle it. Thanks for clarifying the root cause!
Activity
larsoner commentedon Apr 9, 2026
This is because I manually moved all
:newcontrib:to the top of the changelog, and did a bad job.To prevent it from happening in the future, we could (1) be more careful, or (2) change how
towncriersorts the changelog to automatically put any with:newcontrib:at the top. No idea if that's actually doable / iftowncrieris that flexible...drammock commentedon Apr 9, 2026
I was thinking maybe enforce that changelog entries be only one line, but that seems overly restrictive... most of the time it would be fine but occasionally we want to do something fancy. So I guess +1 for investigating whether towncrier sort can be customized, if someone wants to look into it.
PragnyaKhandelwal commentedon Apr 10, 2026
I noticed another small rendering quirk in the 1.12.0 changelog.... several entries have duplicate PR links at the end (for example, #13706 and #13566). It seems like the
towncriergeneration might be double-appending the reference. Just wanted to flag this here since it's related to the other changelog formatting issues!tsbinns commentedon Apr 10, 2026
The changelog entries for #13706 and #13566 had links to the PRs within the changelog entries, however they shouldn't be added there because towncrier automatically creates a links to this.
Could try enforcing there is no gh link within the changelog, but could there be cases we want to include a reference to a previous PR?
PragnyaKhandelwal commentedon Apr 10, 2026
Ah, I see. That makes total sense, @tsbinns. I'll make sure to omit the manual PR reference in future
towncrierfragments to let the automation handle it. Thanks for clarifying the root cause!larsoner commentedon Apr 10, 2026
I'll open a PR to fix the changelog entries