Skip to content
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

Add commit statistics to the changelog #452

Open
orhun opened this issue Jan 17, 2024 · 1 comment
Open

Add commit statistics to the changelog #452

orhun opened this issue Jan 17, 2024 · 1 comment
Labels
feature/request New feature or request good first issue Good for newcomers

Comments

@orhun
Copy link
Owner

orhun commented Jan 17, 2024

Is your feature request related to a problem? Please describe.

cargo-smart-release has a cool feature that adds the commits statistics to the changelog:

Commit Statistics
7 commits contributed to the release.
83 days passed between releases.
1 commit was understood as conventional.
0 issues like '(#ID)' were seen in commit messages

Describe the solution you'd like

Implement the same functionality in git-cliff and make it configurable via template.

I'm thinking it can be accessed via {{ statistics }} variable.

Describe alternatives you've considered

None.

Additional context

See CommitStatistics struct in https://github.com/Byron/cargo-smart-release/blob/main/src/changelog/section/segment.rs

@orhun orhun added the feature/request New feature or request label Jan 17, 2024
@orhun orhun self-assigned this Jan 17, 2024
@melMass
Copy link

melMass commented Feb 7, 2024

I tried a few tools like git-cliff before but it's by far my favorite one!
This issue is the last "critical" thing I miss from it. Mainly to be able to spot missed/ignored commits.
Thanks for the great work

@orhun orhun added the good first issue Good for newcomers label Mar 2, 2024
@orhun orhun removed their assignment Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/request New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants