Fomantic-UI icon indicating copy to clipboard operation
Fomantic-UI copied to clipboard

feat(auto-changelog): auto-changelog template customization

Open ko2in opened this issue 1 year ago • 3 comments

Description

The current changelog file generates by auto-changelog contains the commits relating to the dependency updates by @dependabot which aren't really necessary.

This PR adds a custom template that overrides the compact.hbs used by auto-changelog when generating the changelog data that exclude the commits which have the subject starts with build(deps): bump or build(deps-dev): bump.

Please note that there are also commits which have the subject starts with chore(release): bump, and those are not effected by this PR.

Closes

#2900

ko2in avatar Sep 21 '23 06:09 ko2in

@lubber-de Any feedback?

ko2in avatar Sep 27 '23 11:09 ko2in

@lubber-de Any feedback?

Your change basically works. However, i think we should redesign the whole changelog, not just removing the deps commits, and make more use of the autochangelog and handlebars features.

Something like grouping commits to a respective component section, so something like.

Fixes

Accordion

  • removed the grouping

Modal

  • autofocus did not work

New features

Chore

  • added types

Feed

  • new connected variant

Calendar

  • calendar can now be displayed off canvas

I am not sure, if we would be able to still mention depency sommits, but collect them and only mention the very latest update, so instead of

Dependency updates

build(deps-dev): bump postcss from 8.4.21 to 8.4.22 build(deps-dev): bump postcss from 8.4.22 to 8.4.23 build(deps-dev): bump postcss from 8.4.23 to 8.4.24 build(deps-dev): bump postcss from 8.4.24 to 8.4.25 build(deps-dev): bump postcss from 8.4.25 to 8.4.26

we only output

Dependency updates

postcss from 8.4.21 to 8.4.26

Opinion?

lubber-de avatar Sep 27 '23 18:09 lubber-de

@lubber-de Yes, I like your proposition. The difficulty here is not all commit messages are not followed the same convention which would make harder to filter out what the commit is about (fix, feature, etc.)

ko2in avatar Sep 28 '23 07:09 ko2in