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
Is your feature request related to a problem? Please describe.
We use conventinal commits and make use of footers to link to external systems.
It would be nice to have the possibility to proccess these footers and transform them into links.
These links can then be included in the changelog entry so that readers of the changelog can just click them
to get to the linked item.
Describe the solution you'd like
I think the most flexible way would be to have an additional custom tera filters available that can be applied to each footer value during template processing.
{% for footer in footers %}
{{ footer | into_links }}
{% endfor %}
The behaviour of into links would be configured in the config file as a series of replace patterns.
Describe alternatives you've considered
The following are alternatives I have tought off:
Searches for patterns in commite messages and allows to convert them into
links via regular expression replacement.
This allows to include links to issue trackers and other tools in the resulting
changelog.
Closesorhun#41
orhun
changed the title
Add supporte for interpreting footers and turning them into links
Add support for interpreting footers and turning them into links
Dec 31, 2021
Is your feature request related to a problem? Please describe.
We use conventinal commits and make use of footers to link to external systems.
It would be nice to have the possibility to proccess these footers and transform them into links.
These links can then be included in the changelog entry so that readers of the changelog can just click them
to get to the linked item.
Given the following example commit:
I would like to generate the following changelog entry:
Describe the solution you'd like
I think the most flexible way would be to have an additional custom tera filters available that can be applied to each footer value during template processing.
The behaviour of into links would be configured in the config file as a series of replace patterns.
Describe alternatives you've considered
The following are alternatives I have tought off:
regex_replace
in tera, as proposed in How to regex replace strings? #14, could most probably solve the issue.The text was updated successfully, but these errors were encountered: