Friday, December 19, 2014

Time Tracking from Commit Messages

Everybody hates time tracking. Mostly because it takes some time (even if it's just several minutes) to enter the TT system, enter the duration, choose the project and maybe write a comment. Programmers have it a little easier. They are used to writing comments after their work into a VCS (Mercurial, Git, etc.).

Why not combine the two. What if you could write a time you spent on the feature directly into the commit message? Some VCS support this already.

Trac (http://trac.edgewall.org/wiki/TimeTracking)

It's a plugin which is not easy to configure but you can enter the time spent in brackets like this "(1h)".

Freckle Time Tracking (http://mir.aculo.us/2009/10/12/instant-time-tracking-from-git-commit-messages/)

"So Freckle Time Tracking now comes with Github integration, which means you can instantly log time from Git commit messages when you push updates to Github."

Entering times looks like this "f:2.5". More details: https://help.letsfreckle.com/import-export-api/log-time-from-commit-messages

Redmine (http://www.redmine.org/issues/1518)

Supports it since 5 years ago. Format "time 30 m" on a new line.

JIRA (https://confluence.atlassian.com/display/AOD/Processing+JIRA+issues+with+commit+messages)

That's the largest issue tracker, of course it supports it. Format: "#time 1w 2d 4h 30m".

Rechnung+

I'm the developer of a small time-tracking system and I don't use any of the above. So I've made a small PHP script which would analyze the commit log and collect the times from it. Format: "[0.5h]" or "[22:15-23:00]". The results would look like this, but it's easy to customize.


1 comment:

Blog27999 said...

This is how my associate Wesley Virgin's autobiography launches with this SHOCKING AND CONTROVERSIAL video.

You see, Wesley was in the army-and shortly after leaving-he revealed hidden, "SELF MIND CONTROL" secrets that the CIA and others used to obtain anything they want.

As it turns out, these are the same secrets many famous people (especially those who "became famous out of nowhere") and the greatest business people used to become rich and famous.

You probably know that you only use 10% of your brain.

That's because most of your brain's power is UNCONSCIOUS.

Perhaps that conversation has even occurred IN YOUR own brain... as it did in my good friend Wesley Virgin's brain 7 years back, while riding an unregistered, beat-up bucket of a vehicle with a suspended driver's license and with $3 on his banking card.

"I'm absolutely fed up with going through life check to check! Why can't I become successful?"

You've been a part of those those types of conversations, isn't it right?

Your success story is going to be written. You just have to take a leap of faith in YOURSELF.

CLICK HERE TO LEARN WESLEY'S METHOD