;doc: contrib: commit conventions update

This commit is contained in:
Simon Michael 2021-07-04 12:07:40 -10:00
parent 7d6dc7fbc9
commit eb6accf94f

View File

@ -510,12 +510,10 @@ Relevant tools include:
## Commit messages ## Commit messages
Starting with the 1.23 release cycle, I'm proposing some new Starting with the 1.23 release cycle, I'm proposing some new
conventions for commit messages (WIP, will evolve as needed), conventions for commit messages (WIP, will evolve as needed), aiming to
aiming to:
- reduce the cost of maintaining change docs (changelogs, release notes, announcements)
- reduce the cost of releases
- encourage considered, focussed, well documented changes - encourage considered, focussed, well documented changes
- reduce the cost of code review, maintaining changelogs and release notes, and releasing
- increase our throughput (rate of shipping useful, reliable, documented, maintainable features) - increase our throughput (rate of shipping useful, reliable, documented, maintainable features)
**hledger commit conventions:** **hledger commit conventions:**
@ -570,13 +568,15 @@ aiming to:
the end of the summary: `(#NNNN)`. the end of the summary: `(#NNNN)`.
7. The summary, and description if any, communicate this change's 7. The summary, and description if any, communicate this change's
purpose as clearly as possible to its target audience: end users, purpose as clearly as possible to its intended audience:
builders/packagers/library users, developers/debuggers. The text end users, builders/packagers/library users, or developers/debuggers.
should be ready for use in changelogs/release notes when applicable. The text (or its first sentence/first paragraphs) should be ready
for use in changelogs/release notes when applicable.
Crafting good commit messages (and thereby, good commits, and good Crafting good commit messages (and thereby good commits, good change
change documentation) is an art and a habit; we'll check and satisfy documentation, easier code review, faster merging) is an art and a
these conventions as part of CI and code review. habit; we'll check and satisfy these conventions as part of CI and
code review.
Related: Related: