-
Notifications
You must be signed in to change notification settings - Fork 167
Start tracking a changelog #171
Comments
TIL there are specs for changelogs.
The second links acknowledges the unparseability but splits to added/changed/deprecated/removed/fixed/security. A more straightforward alternative used in rust-libp2p would be: each PR should include a new line to CHANGELOG.md, which is like Of the above I'd lean towards the style used by rust-libp2p. |
The advantage of conventional commits is, that you normally also end up with a nice/clean history on Git. You could e.g. easily see breaking changes in the history and look at the diff what they are about without getting back and forth in the changelog. Though a down-side is that it puts extra work to the people that merge code as contributions from external contributors might need to change the commit message before merging (though this can be done through the GitHub UI when mergeing). |
Thanks @vmx. We'll consider that. I agree and my issue with conventional commits is enforcement. If we can get a git hook in place to slap people's wrists so I don't have to that would be fine, but I have to admit I'm not able (and perhaps not willing) to be a watchdog in that regard. 🤔 |
Another question, would it make sense to write a changelog entry number 0 that details what we have so far? Perhaps call it reloease |
If manual changelog entries are needed, someone would need to watchdog those too. |
I can automate that with GitHub Pull requests templates that include a checkbox i.e.
|
Checking the conventional commit message could also be a checkbox :) It could even be checked by CI if it has the correct syntax, the semantics of course would still need to be checked by a human. |
Ok, copy that. I'll take a first crack at all this and report back! |
The #400 has my proposal for this, which is essentially the simplest form I've been keeping in |
400: Start tracking changelog r=aphelionz a=koivunej Closes #171: - CONTRIBUTING.md description, algorithm for choosing the CHANGELOG file - pull_request_template.md - CHANGELOG.md and unixfs/CHANGELOG.md preparation with `# Next` Co-authored-by: Joonas Koivunen <joonas@equilibrium.co>
Can be in any format as long as it serves the purpose.
Inspiration
Issue can be closed when:
The text was updated successfully, but these errors were encountered: