GithubHelp home page GithubHelp logo

toggl2rm's Introduction

toggl2rm

This script copies time logs from the time tracker Toggl to the issue tracker Redmine. It uses the APIs for each service, so it doesn't need anything to be done on the server side.

Usage

You should the relevant Redmine issue number to each time log in Toggl, eg: This is my fix for issue #1234.

toggle2rm -r URL -a TOKEN -t TOKEN [2012-01-31]

The arguments are:

  • -r, --redmine-url: The URL for your Redmine instance, eg: http://redmine.example.com. Note that the scheme (http or https) is required.
  • -a, --redmine-token: Your Redmine REST API token. Your Redmine instance will need to have "Enable REST API" turned on! Then you can get your token from the right column of the "My account" page in Redmine.
  • -t, --toggl-token: Your Toggl API token. You can get this from your Toggl account page.
  • Optionally, the date whose time entries you want to copy. If you leave this out, it will use the current date.

Caveats

  • This isn't particularly well-tested. But it's been working fine for us at Evolving Web!
  • You'll need Ruby to run this script.
  • It explicitly doesn't test the Redmine instance's SSL certificate, since OS X's Ruby is weird and broken.
  • It only looks at your first Toggl workspace. Patches welcome!
  • If a time log has no issue number in its description, it is just skipped.
  • There's no duplicate detection—run this script twice, and your time will be logged twice.
  • There's no support for SOCKS proxies, patches welcome.

License

This code is available under the MIT License

toggl2rm's People

Contributors

vasi 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.