Ability to set different fragment types #707
OnceUponALoop
started this conversation in
General
Replies: 1 comment
-
Thanks for the suggestion. In my case, is not common... but I guess that it can help a lot with open source projects, where contributors are used with all kind of extensions I would pretty much love to get rid of the "directory" config maybe something like this [tool.towncrier.type]]
name="🐞 Bugfixes"
-directory="bugfix"
+extension=["bugfix", "bug", "fix"]
showcontent=true but also allow simple config via [tool.towncrier.type]]
name="🐞 Bugfixes"
-directory="bugfix"
+extension="bugfix"
showcontent=true |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In our use-case we found it helpful to extend the existing categories (to match our conventional commit categories) and support multiple fragment extensions for each category.
This was accomplished from the outside by adding the logic to the jinja template (macro abuse) rather than modifying towncrier source.
I'm wondering if this is a common enough use-case that it would be worth extending to cover in towncrier directly.
Example
.feat
,.feature
.bug
,.bugfix
,.fix
.minor
,.refactor
.misc
,.chore
towncrier.toml
snippetBeta Was this translation helpful? Give feedback.
All reactions