sasha0 / hamster_redmine

Simple standalone script to sync tracked time from Hamster to Redmine.
1 stars 0 forks source link

Hamster-redmine

Hamster-redmine is a simple command-line script, which helps to synchronize tracked time from Hamster time tracker to Redmine project management application. Script heavily uses hamster's API and for now needs to run from same user as hamster-indicator.

Configuration

REDMINE_HOSTNAME — URL of your Redmine instance

REDMINE_API_KEY — your personal API key, available in My account section

REDMINE_DEFAULT_ACTIVITY - title of activity, you'd like to use for synchronization.

Usage

By default, script checks logs for existing time entry - so if it exists, no need to synchronize it once more.

For instance, you can check if all of your weekly tasks are synchronized with Redmine:

python hamster_redmine.py -w

Or you can synchronize all time entries later September 1, 2013:

python hamster_redmine.py -f 2013-09-01 -s

Requirements