release-notes-generator icon indicating copy to clipboard operation
release-notes-generator copied to clipboard

proposal: allow of a more flexibel way of adding more information to parsed commit messages

Open hvanoch opened this issue 3 years ago • 0 comments

The release-notes-generator is responsible of parsing commit messages into an object and writing release notes.

There is currently no easy way of adding custom code to enhance the parsed commit message. Like adding more information/references.

The use case I have is that we need to link service desk tickets as references to the commit. This is based on the our internal JIRA ticket number. The internal ticket number is correctly parsed. What I now want to do is parse the JIRA ticket number, call the JIRA API and check for linked service desk tickets and add them as reference.

Currently there is no way of doing this without creating a completely custom module. I believe it would be useful if there would be an extra step between parsing and writing where custom plugins/modules can perform transformation on the commit objects. Each plugin can then do there own custom thing.

What do you think?

hvanoch avatar Apr 29 '22 11:04 hvanoch