We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this questionI want to measure how much time i spend per each commit and i want a simple time accounting system that would use Git VCS. Basically this comes dow开发者_如何学编程n to two functions:
- log that i've started to work on new part of functionality
timegit start
- view report for certain period
timegit log
, that will show a commit message and the time spent
the end times it would extract from git log
So do you know such a program?
That may not cover all of your requirements, but the project GitStats (to be run on a Unix platform) can produce interesting data.
For instance, here is the "activity" on the git repo itself:
It is oriented on the number (of commits, lines, tags, ...), but you could modify it to add a column about the delay between two commits.
I made git-hours which estimates the effort spent on a git repository in hours. It's not precise but gives a rough estimate of the project's size.
Looks like something exists. Untested but seems to be what you want.
Also Redmine both tracks time and commits, but doesn't seem to provide the link between both. However it could be a nice project and shuoldn't be too hard, as it has a good plugin architecture.
Same thing for Trac, this page lists interesting stuff, but all are related to tickets, not commits. So you'd have to link each commit to a ticket, which is a nice idea but can be painful on the long run...
Give it a try:
https://github.com/BimbaLaszlo/timmec
It just prints the summarized times for now, but I will make it better (start/stop, tags is planned for example).
git-tracker-cli
The library that gives a rough estimation of the time spent on implementation based on the history of commits.
精彩评论