3 ms·
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
by jrochkind1 5y ago
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.
- danieldisu 5y agoYou 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.
- a5aAqU 5y agoInstead 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-Git-Enforced-Policy https://git-scm.com/book/en/v2/Customizing-Git-An-Example-Gi...