Add towncrier for automatic changelog generation (#10379)

blast from the past! resurrects
https://github.com/certbot/certbot/pull/9803 with all of @bmw's changes.
i figured instead of force-pushing a basically brand new branch and
obliterating the old review, i'd just start from a clean slate

fixes #8272

---------

Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
Co-authored-by: Brad Warren <bmw@eff.org>
This commit is contained in:
Will Greenberg
2025-07-31 07:12:56 -07:00
committed by GitHub
co-authored by Brad Warren Brad Warren
parent 1f128b0e0a
commit 2ac7baa651
15 changed files with 64 additions and 66 deletions
+26
View File
@@ -0,0 +1,26 @@
[tool.towncrier]
package = "certbot"
directory = "newsfragments"
filename = "certbot/CHANGELOG.md"
title_format = "## {version} - {project_date}"
issue_format = "[#{issue}](https://github.com/certbot/certbot/issues/{issue})"
issue_pattern = "\\d+"
wrap = true
ignore = []
# Our three custom news fragment types, declared in order of how we'd like them
# to appear in the changelog
[[tool.towncrier.type]]
directory = "added"
name = "Added"
showcontent = true
[[tool.towncrier.type]]
directory = "changed"
name = "Changed"
showcontent = true
[[tool.towncrier.type]]
directory = "fixed"
name = "Fixed"
showcontent = true