News for hackers. Stuff that matters.
Re:Keep a Changelog by jrochkind1 on Saturday December 04, 2021 @09:18AM (#29440968)
I'm having trouble figuring out what a "semantic pull request" is from that link, it's not a concept I've heard of before, and I'm interested. I mean, i assume it's some conventions for what goes in PR message, but what are they? Is there a better link?

In general, as a developer-consumer of them, I have found automatically-generated-from-commits changelogs to be not so useful, but I don't know if I've experienced any using the conventions you are recommending (which I dont' understand!).

In the small projects I write, I include links to the PR in the manually created CHANGELOG (the delta of which is part of the PR) simply by making the PR, then making another commit/ammend in the PR to add it's own url to the CHANGELOG. These are some extra steps, it's true.

Re:Keep a Changelog by danieldisu on Saturday December 04, 2021 @10:44AM (#29441543)
You use the title of the PR as a changelog item instead of every commit message.

It forces you to think a moment for a good PR title, but it is an small price to pay when it gives you a 0 extra work changelog that is good enough for semi-internal use.

Re:Keep a Changelog by a5aAqU on Saturday December 04, 2021 @02:33PM (#29443623)
Instead of using the title, could the changes be put in the description using a custom syntax? Prefix the line with `CHANGELOG:` or something like that.

    git --no-pager log | grep 'CHANGELOG: '
https://git-scm.com/book/en/v2/Customizing-Git-An-Example-Gi...