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
Improve changelog #622
Comments
Here's an example for GitHub's native generator, which I set up for the gluonfx-maven-plugin:
|
I like customizeable changelogs :) |
I think this is a good idea, go for it! |
I had a lame idea that I think is worth considering: keeping a manual changelog. I can already hear the masses gasping in terror, "manually doing a task that could be automated?!", but yes, I've seen projects do this and it always makes for a nice, clean and easy-to-digest changelog. It adds a little bit of work for each PR author (or maintainer) but it's fairly minimal and it provides a degree of control that no other solution can offer. |
I did use "Keep a Changelog" in some other projects and we (me and my teammates) often forgot to update the I believe it is easier for us to leverage our already nice PR titles/descriptions and labels, and generate the changelog. We already have PS: GitHub can now render mathematical expressions, so I do this (because I can): See also: Euler's identity |
I agree with both of you. 😁 It seems overkill to try and automate this in detail (which label combinations, exactly?) but a manual log is error-prone as well. What if we try better automation as @beatngu13 proposes, but don't try to hit the nail right on the head with what exact issues are included (because I assume that'll be complex and also prone to then-automated errors). Instead, following a release, we go over the release notes manually and kick out what doesn't belong there? |
@beatngu13 : Please let me know if you will work on this in the near future. If not, I might kick it out of the 2.0 milestone to get that one closer to the finishing line. |
@nipafx I don't think I will find time soon. I will remove it from the milestone, so it doesn't block our progress towards 2.0. |
Just for fun, after releasing 1.7.2, I went into the generated changelog and filtered out the more user-facing issues/PRs (it's a bit weird that we include both) and placed them on top under the heading "Prominent changes". That was pretty quick, so I think it's doable. We should really look into including issues and PRs, though - feels to me that just one (probably issues?) would suffice. |
We currently use the shipkit-changelog Gradle plugin to generate changelogs for releases. For example, this is the generated changelog for v1.7.0:
As can be seen, and as described in the plugin's readme, the generated "[…] changelog [is] based on commit history and Github pull requests/issues".
In contrast to other changelog generators such as release-drafter or GitHub native, there seem to be little to no configuration options? Something I consider a problem is, e.g., the missing ability to filter tags like
theme: build
, as this can be confusing to users. For example, the changelog entry "Update to JDK 11 (#608)" let this user think v1.7.0 can only be used with Java 11+.We should (i) discuss how we can improve our changelog and (ii) if such improvements can be done with shipkit-changelog, or if we require other tooling.
The text was updated successfully, but these errors were encountered: