-
Notifications
You must be signed in to change notification settings - Fork 3
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
Drop CHANGELOG.md and generate Changelog automatically #119
Comments
Relates to #118 |
I feel exactly the same about the manually maintained So from me it's a clear go for the proposal 👍 |
I do understand that maintaining a change log is a hassle but for me it is what works best. From all the tools I have looked to automate this, were a disappointment to me. They do lack structure in their output and or require sings to be put in commit messages and or are bound to a specific GIT hosting API (GitHubt, GitLab, Bitbucket etc.). I would like to be surprised and not have to do this manually. |
We can still alter the release notes after it has been generated if something is not worded appropriately, but at least the manual collection of the changes is automated and we have a good starting point for minor adjustments. |
I'd say it's definitely worth to give it a try. Also in my opinion it's not really a requirement to be Git hosting provider independent. The release-changelog-builder GH action seems simple and extendable enough. The Kubernetes release notes generator might also be interesting. (See crossplane/crossplane#1828) |
So I played around with the changelog builder, even for a project that uses Goreleaser. https://github.com/ccremer/k8up/releases
Config (labels & template) here: https://github.com/ccremer/k8up/blob/v1.1.0/.github/changelog-configuration.json Please have a look and we can discuss our further steps. But it looks pretty nice :) |
We could further discuss whether the "changes" need to be further separated. |
We have gone ahead with K8up already: https://github.com/vshn/k8up/releases/tag/v1.0.0-rc2 |
Context
Currently, we maintain a CHANGELOG.md from https://keepachangelog.com, however the maintenance of this file is (IHMO) a pain:
My proposal:
Both approaches (keepachangelog) and the generated one from the Action require discipline, but the generated one reduces this discipline to maintain nice PR titles (which we hopefully do already) and setting labels if categorization is required. But even without categorization, it's included in the changelog. More automation, more better :)
Alternatives
Go-based projects can use https://goreleaser.com/ to generate a changelog directly from commits. Other programming languages may or may not have something similar that can be integrated into GH Actions. This proposal is not about dropping Goreleaser or its feature in order to make every Syn-project have the same look of the changelog, but rather enabling automation for those projects that don't have any sort of changelog generation at all.
The text was updated successfully, but these errors were encountered: