-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically create Changelog #197
Comments
@segator was also proposing a tool more integrated to github, let's check that too! |
@metmajer Yes! That would be so awesome. Can you explain a little how your process looks like so that git-chglog can generate the changelog well? E.g. how do you deal with labels/milestones/projects? And how do you deal with issues vs. PRs? |
@michaelsauter I thought you'd like it :) It's really simple. Being a git-based tool, The tool filters out merge commits and you should also filter out commit messages of kind With |
Hmm, then I am not convinced about the tool. I strongly feel that a changelog has nothing to do with commits. Commits are IMHO the wrong level for a changelog. There are people that care about commits, and then there are people that do not care about commits. I was in the first camp for a long time before I came to the conclusion that when you work on GitHub with pull requests and such, those are your "units of change", so really that information that is put there should be part of your changelog. If you have a changelog that does not reference the issues I feel it is hard for consumers to decide the impact of the change. For more background on my views, please see https://zachholman.com/posts/git-commit-history/ and https://keepachangelog.com/en/1.0.0/. The tool I would like to have does this:
This process implies that: all changes are done through pull requests, and for every PR there must be at least one issue that describes the bug/feature/whatever. If that tool does not exist yet, it seems time for a new side-project :D Or you convince me otherwise, but right now I have a pretty set view on how this should work... |
Is your feature request related to a problem? Please describe.
Maintaining Changelogs at release time is a time-consuming task. This could be automated.
Describe the solution you'd like
At terraform-docs, as many other open source projects, we use the git-chglog generator to do just that. A sample config and template can be found here.
FYI @gerardcl
The text was updated successfully, but these errors were encountered: