Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    Hammertime 0.2.4

    Download button

    No screenshots available
    Downloads: 154  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Alen Mujezinovic | More programs
    MIT/X Consortium Lic... / FREE
    January 28th, 2012, 07:35 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Hammertime description

    Time tracking with Git

    Hammertime is a Python module that provides Git-based time tracking functions. Use it either with your repository you're doing work in, or create a new repository to track your work.

    Installation

    Either with pip or easy_install:

    easy_install Hammertime
    pip install Hammertime


    Usage

    cd /repository
    git time start -m "Doing some work"
    # do work, commits, etc
    git time stop -m "Not doing work anymore"
    git time show


    If you've got a json command line utility installed, try something like:

    git time show | json -o times delta
    git time show | json -o times start.message end.message delta


    Help

    git time -h

    Note

    Invoking git time stop in sequence twice or more will always override the last git time stop entry. Invoking git time start will always create new entries.

    Example session

    alen@mu:[hammertime ~master]$ git time start -m "Starting something to work on"
    alen@mu:[hammertime ~master]$ vim README.md
    alen@mu:[hammertime ~master]$ git commit -am "Saved the example session"
    [master 11a0c98] Saved the example session
     1 files changed, 5 insertions(+), 0 deletions(-)
    alen@mu:[hammertime ~master]$ git time stop -m "Readme updates with example session"
    alen@mu:[hammertime ~master]$ git time show
    {"times": [{"start": {"message": "Starting something to work on", "time": "2011-02-02T13:37:44.761185"}, "stop": {"message": "Readme updates with example session", "time": "2011-02-02T13:39:21.330041"}, "delta": "0:01:36"}]}
    alen@mu:[hammertime ~master]$ git time show | json -o times delta
    {
     "delta": "0:01:36"
    }
    alen@mu:[hammertime ~master]$ git time show | json -o times delta start.message stop.message
    {
     "delta": "0:01:36",
     "start": {
     "message": "Starting something to work on"
     },
     "stop": {
     "message": "Readme updates with example session"
     }
    }



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    time tracking | Git tracking | Git | time | tracking

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM