-
-
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(config): changelog for the last n commits #116
Conversation
66948b4
to
c52cd49
Compare
Codecov ReportBase: 64.06% // Head: 63.81% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #116 +/- ##
==========================================
- Coverage 64.06% 63.81% -0.24%
==========================================
Files 14 14
Lines 790 793 +3
==========================================
Hits 506 506
- Misses 284 287 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Looks great, thanks! Only needs a few edits, see my comments 🐻
Apart from those, I will be doing the following:
- Mention the
limitedcommits.toml
example in README.md - Add test fixtures
Feel free to tackle these too if you'd like!
Ah, can you also merge |
45ff563
to
5e6092c
Compare
Done 👍 |
5e6092c
to
6f94622
Compare
Added it to the README.md. Was not sure where to find the test fixtures and what to do there 😞 |
Adds a additional configuration variable `limit_commits` to the configuration struct. `limit_commits` can be set to a positive integer number to limit the commits contained in the generated changelog. Also adjusts the default config file to contain `limit_commits` as a commented out line. Extends documentation in README.md to also cover the introduced configuration value. issue: orhun#102
6f94622
to
6f8298a
Compare
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.
Awesome, thanks for your contribution! 🐻
Description
Adds an additional configuration variable
limit_commits
to the configuration struct.limit_commits
can be set to a positive integer number to limit the commits contained in the generated changelog.Also adjusts the default config file to contain
limit_commits
as a commented-out line.Extends documentation in README.md to also cover the introduced configuration value.
Motivation and Context
A possible solution for #102
How Has This Been Tested?
Locally with the configuration file
examples/limitedcommits.toml
(added with this PR) and a local git repository.Screenshots / Output (if appropriate):
Types of changes
Checklist: