-
Notifications
You must be signed in to change notification settings - Fork 683
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
Find a better way to add to the changelog #595
Comments
I definitely agree. If it may help as a source of inspiration, this is what we use in rkt: basically a script to collect all PR titles and summaries since last tag. It is up to the release pilot (the one currently owning the GPG key) to do the final cosmetic pass and push the artifacts. I think it could be even further automated via cargo-release. /cc @sunng87 |
Thank you for mentioning. For now cargo-release cannot generate changelog because I still haven't found a standard way to collect changes. In my previous team, we use Changelog is an important part of software and maybe we need to write it formally just like our code. Any suggestion is welcomed. |
I think there should be a command-line option like Commit title:
Commit body:
This would then be appended to the end of the "Added" section of the changelog like:
So that last line follows the format of starting with one "Added", "Changed", "Fixed", or "Removed" (and various other conjugates of those verbs) following by a bunch of text. If there's a I have another couple of projects on GitLab (gattii and serialport-rs) and I'd love if this could be designed from the beginning to support GitLab as well as GitHub (there they call PRs MRs) and I can help with testing that as well. |
@Susurrus I'd be wary of mandating a single syntax, as I already seen multiple attempted proposals and all of them with limited success. Mostly because different projects have different requirements, and a one-size-fits-all quickly becomes too baroque. To avoid stealing this thread I'm moving this cargo-release discussion over to crate-ci/cargo-release#31, so that nix maintainers can still discuss what they need here without too much noise. |
Every time a PR gets merged, almost all other PRs end up requiring a rebase to fix up the changelog. This is annoying for everyone involved.
The text was updated successfully, but these errors were encountered: