Keep a Changelog
keepachangelog.com
Keep a Changelog
1–10 of 47 posts
Re: Keep a Changelog
#2Depending on how you write your comments for commits, merges, or tags, it seems that you could dump those logs and have quite a reasonable changelog.
Re: Keep a Changelog
#3Updated: French, Portuguese Brazilian, Spanish International
It doesn't affect the app other than those specific translations and it makes it easy to pinpoint when a given translation was last updated.
Re: Keep a Changelog
#4> Dumping a diff of commit logs. Just don’t do that, you’re helping nobody. Depending on how you write your comments for commits, merges, or tags, it seems that you could dump those logs and have quite a reasonable changelog.
Re: Keep a Changelog
#5And if you build your distributions with Dist::Zilla[2] you can use plugins to ensure that you have an entry for your release[3] and that the changelog follows the standard[4].
[1] https://metacpan.org/pod/distribution/CPAN-Changes/lib/CPAN/...
[2] https://metacpan.org/pod/Dist::Zilla
[3] https://metacpan.org/pod/Dist::Zilla::Plugin::CheckChangesHa...
[4] https://metacpan.org/pod/Dist::Zilla::Plugin::Test::CPAN::Ch...
Re: Keep a Changelog
#6https://github.com/tech-angels/vandamme/#changelogs-conventi...
I prefer Vandamme's recommended format, but I'd greatly appreciate this site's format as well.
Re: Keep a Changelog
#7Re: Keep a Changelog
#8I thought this was the point of squashing your commits together when making a pull request, so the `git log` of master reads like a changelog. You can also interactively rebase and change commit messages if the wording is confusing.
Re: Keep a Changelog
#9For an actual log of individual changes, that's what "git log" is for; any project that pre-dates git should "git mv ChangeLog ChangeLog.pre-git". And if your "git log" output isn't highly readable, write better commit messages and group changes into more logical commits; once you stop breaking "git rebase -i", that gets a lot easier.
Some of this advice potentially makes sense, but for a NEWS file, not a changelog. A NEWS file has one top-level heading per release, containing the release notes for that release, summarizing the key user-visible changes. However, that file should not attempt to track every change, should not contain times or dates, and should get grouped in logical chunks rather than chronological order.
And while it can potentially make sense to update that file as part of the commit introducing a new user-visible change, that also reintroduces the same conflict and collaboration issues as a changelog, so personally I only update NEWS files right before a release. I run a script that generates a properly formatted NEWS entry based on the version and git commit messages (turning each one into a markdown bullet-list entry with indentation), then edit the result to add headings, group entries under those headings, and delete any non-user-visible changes that don't merit a release note.
Re: Keep a Changelog
#10 > Is there a standard change log format?
Sadly, no. But I want to change that.
What's missing from some formats which already exist and are pretty popular? https://www.debian.org/doc/debian-policy/ch-source.html describes debian changelog format which applies to all .deb packages for years now.