Presenting git timetracker tool, asking asking git notes merge

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone!

I'm glad to present you a new git tool I've been working on together
with Daniel (danigm), the new git timetrack comand, part of the
distributed time tracker project [1]. It allows you to track the time
spent in commits done to a git repository. I want to thanks for the
help to the people in #git-devel IRC Channel, without their help this
would have been much more difficult to develop.

Git timetracker uses Git notes to add Time-spent annotations to
commits. It actually requires git-next because it makes use of git
notes merge. Git timetracker is really easy to use, a small example is
shown in the wiki [1]. As a tip, notice that git timetrack --summary
accept the same options as git log, so for example you can do a git
timetrack --summary --since=1week dir/file.c .

Why did we develop timetracker? We are creating a small software
company and we needed to do (rough) estimations of the time the
development in the projects we work on will take, so we thought that
the first thing we need to do that is to have some real information
about time spent in those projects.

When the user does a git push, the timetracker notes are pushed,
because git timetrack --init adds a push=... line to the remote in the
config files. When it does git pull, it also pulls notes because of a
fetch=..., and it merges those notes in refs/notes/merge with an
post-merge hook. That solution is suboptimal, because for example when
doing git pull --rebase that doesn't work, and the user needs to do
manually a git timetrack --merge. Can't we add an option to git pull
to merge the fetched notes? For me, as a git notes user, it would be
great if I had something like
fetch=refs/notes/timetracker:refs/notes/timetracker and
notes-automerge=refs/notes/timetracker in my remote, and then doing a
git pull automatically calls to git notes merge.

Regards,
   Eduardo
--
[1] http://wadobo.com/trac/dtt
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]