Releases: Goutte/git-spend
The One Year Usage Review
What's Changed
- Now also reading directives from commit subjects and notes
- Improve the overall reliability
Full Changelog: 1.1.0...1.2.1
Using automated CI builds
The builds of this release should be similar to the 1.1.0, but built by Continuous Integration.
🥳 it works !
Support for translations and manpage generation
You can now use :
sudo git spend man --install
to generate and install the manpages for git-spend, so that git help spend finds them.
They will be generated in your system language (derived from environment variables LANGUAGE, LC_ALL, and LANG, by decreasing priority).
I've included a tentative build for arm64 in this release, but it's quite big because upx needs a special build to pack arm64 binaries, and I can't run it.
Make your own:
make release-linux-arm64
That is a good excuse to look into CI release artifacts as a sequel…
To be continued…
Initial stable release
Now that we've renamed the project to integrate with git nicely, and I'm happy with our API, it's time for a stable release !
You can now do git spend sum to get the time spent on commits.
Support for ref and datetime ranges
You can now filter by range using the --until and --since flags.
They accept commit refs, either a commit hash, a tag, HEAD~2, a date or a datetime.
Support for filters and many more formats
Now with filters by --author and the ability to --exclude-merge commits, as well as better behavior in edge cases.
You can additionally format the output in --months, --weeks, --days as well as --minutes and --hours.
gitime sum --author Goutte --days
Initial release
Usage
Get the sum of your /spend and /spent commands inside your git commit messages :
gitime sum
Yields something like
2 days 27 minutes.
or
gitime sum --minutes
gitime sum --hours
Yields the sum in the specified unit.
The binary grew a bit big ever since we added viper and cobra, but that's OK.