🟠 Draft | Measure the time you spent on a project
Find a file
2014-09-26 09:42:09 +02:00
bin Add more tests, for range, range_list and cli. 2014-09-26 09:42:09 +02:00
lib Add more tests, for range, range_list and cli. 2014-09-26 09:42:09 +02:00
spec Add more tests, for range, range_list and cli. 2014-09-26 09:42:09 +02:00
.gitignore Transform to gem. 2014-09-24 15:52:12 +02:00
Gemfile Transform to gem. 2014-09-24 15:52:12 +02:00
Gemfile.lock Prepare for TDD. 2014-09-24 19:47:23 +02:00
LICENSE.txt Transform to gem. 2014-09-24 15:52:12 +02:00
Rakefile Added spec for author_list. 2014-09-25 08:05:05 +02:00
README.md Transform to gem. 2014-09-24 15:52:12 +02:00
timecost.gemspec Final cleanup for per-author range. 2014-09-25 09:13:05 +02:00
TODO.md Add todo-list. 2014-09-25 09:19:36 +02:00

TimeCost for Git

Use git logs to give an estimation of spent time & costs of your projects.

Installation

Install the project with:

$ gem install timecost

Usage

To get the total time spent on your git project

$ git timecost

[...]

(1.36) 2012-12-31T11:15:31+01:00 - 2012-12-31T12:36:55+01:00
        * Glenn Y. Rolland <glenux@glenux.net>
          Fix filtering.
        * Glenn Y. Rolland <glenux@glenux.net>
          Time range extractor for git.

TOTAL: 3.36 hours

To get the time spent on your project since a given date

$ git timecost -d 2013-03-01
set date filter to 2013-03-01
(1.0) 2013-09-23T13:02:39+02:00 - 2013-09-23T14:02:39+02:00
        * Glenn Y. Rolland <glenux@glenux.net>
          Add support for import / export / merge of ranges.

TOTAL: 1.00 hours

For other possibilities

$ git timecost -h

Contributing

  1. Fork it ( https://github.com/[my-github-username]/timecost/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request