-
-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(changelog): support splitting commits by lines #101
Conversation
@orhun please let me know if there are any code quality or reservations about merging. Perhaps it would need more warnings about how splitting commits or allowing multiple changes per commit violates the conventional commits standard? I have an intent to use the feature whether as a fork or upstreamed. |
…t is not provided
Codecov Report
@@ Coverage Diff @@
## main #101 +/- ##
==========================================
+ Coverage 42.89% 44.59% +1.70%
==========================================
Files 15 15
Lines 998 1034 +36
Branches 258 265 +7
==========================================
+ Hits 428 461 +33
Misses 442 442
- Partials 128 131 +3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merging with some tweaks, thanks! 🐻
For pin@ ## [0.9.0] - 2022-08-16 ### Documentation - Add test repository link to README.md ### Features - Support splitting commits by lines ([#101](orhun/git-cliff#101)) - Support setting commit SHA while using `--with-commit` - Add commit author and committer to the context ([#100](orhun/git-cliff#100)) ### Miscellaneous Tasks - Use an alternative method to fetch registry - Enable building arm64 docker images - Update the description on Docker Hub on push - Disable updating the description on Docker Hub - Add GitHub Sponsors option for funding - Upgrade dependencies - Update MSRV to 1.60.0 - Upgrade versions in Dockerfile - Enable strip option for release profile ### Refactor - Run clippy for tests - Use a more concise conversion for string
Description
Enables splitting commits by line, representing multiple changes in a single commit.
Motivation and Context
To be upfront: this violates "conventional commits". It should remain off by default if conventional commits is to be respected.
This change makes it easier for teams to gradually adopt conventional commits with less friction and a lower barrier to entry.
This also (as a side effect, but not intended) enables squash commits to behave much more nicely when they summarize a set of changes as a unit.
How Has This Been Tested?
This is being tested on the repo https://github.com/pulumi/pulumi-watch along with a GitHub Action that scans pull request bodies to render the eventual changelog.
Screenshots / Output (if appropriate):
Types of changes
Checklist: