Coder Social home page Coder Social logo

tempo-tantrum's Introduction

Tempo Tantrum

Tempo Tantrum

Hate updating Tempo manually? Of course you do. Use Tempo Tantrum instead and update your time tracking in batches with a simple text file containing your work log.

Usage

Update ~/.tempo-tantrum with your Jira configuration

ex. ~/.tempo-tantrum config

jira location: https://jira-host
user: user
pass: pass

And create your work log, a YAML list of work log items keyed by date.

ex. work-log.yaml

3/29/2013:

  - project: PROJECT-ID
    hours: 2
    comments: >
      Some comments

  - project: ANOTHER-PROJECT-ID
    hours: 3
    comments: >
      Some more comments

3/30/2013:

  - project: PROJECT-ID
    hours: 2
    comments: >
      Some comments

  - project: ANOTHER-PROJECT-ID
    hours: 3
    comments: >
      Some more comments

4/1/2013:

  - project: PROJECT-1-ID
    hours: 2
    comments: >
      Some comments

  - project: PROJECT-2-ID
    startTime: 8:30 am
    endTime: 9:30 am
    comments: >
      Some more comments

  - project: PROJECT-3-ID
    worklog:
      -
        startTime: 9:30 am
        endTime: 10:30 am
        comments: >
          Work log 1 comment
      -
        hours: 2
        comments: >
          Work log 2 comment
    comments: >
      Project 3 comment

Notice that the work log is a list of date blocks and each date block contains a list of project work log items.

And run tempo-tantrum with your work log

$ tempo-tantrum -w le-work-log

OR run it without a filename for interactive mode!

$: ./tempo-tantrum
Entering interactive mode
Date (ex. 4/9/2013): 4/16/2013
Enter work log
Project: PROJECT-ID
Hours: 1
Comments: Some stuff
All done, go get a cup of coffee

Note that tempo-tantrum is not stateful nor idempotent therefore you should be probably run tempo-tantrum with a fresh log each time.

Requirements

Ruby, cURL

tempo-tantrum's People

Contributors

karmadude avatar

Watchers

James Cloos avatar Tomasz Wojtuń avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.