Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Time Tracking+Git: measuring effort per commit [closed]

I 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 down to two functions:

  1. log that i've started to work on new part of functionality timegit start
  2. 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?

like image 545
Alexey Avatar asked Mar 09 '11 13:03

Alexey


3 Answers

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.

like image 169
VonC Avatar answered Sep 27 '22 23:09

VonC


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.

like image 39
Kimmo Avatar answered Sep 27 '22 23:09

Kimmo


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...

like image 29
CharlesB Avatar answered Sep 27 '22 22:09

CharlesB