Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Script to push time entries from Gnome Time Tracker applet to Redmine
Python
branch: master

This branch is 3 commits ahead, 41 commits behind brunetton:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
redmine.py
redminetimesync.config
redminetimesync.py

README

WHAT IS THIS?
- This is meant to help people (like me) that use both Hamster Applet (Gnome Time Tracker) and Redmine to keep trace of activities done.

HOW I CAN USE IT
Enter your activities in the following format:
#XXXX some text, comments
XXXX being the issue number
Any text following the issue ID and before the comma will be ignored - this is only for your own reference; having only the issue # may get confusing if you don't know which issue it refers to.
Anything after the comma will be treated as a comment and send to Redmine as such.

USAGE
1) Clone the repository: git clone https://github.com/llaen/redminetimesync.git
2) Edit redminetimesync.config: it's an INI-like file that needs three parameters:

db: /home/<your_username>/.local/share/hamster-applet/hamster.db
url: https://projects.devsum.it
key: <your_redmine_api_key_here>
activity_id: X

where "db" is the full path to your hamster applet (SQLite 3) database, "url" is the URL of your Redmine (>= v1.1) and
"key" is the Redmine' API key
"activity_id" (OPTIONAL) is the ID of the activity enumeration you'd like to log the time against (check your redmine enumerations settings). Don't use if you'd like to use the default setting in Redmine.

3) run the python script: ./redminetimesync.py
With no parameter, it will sync time entries for today; if you want to sync past days, add an integer as parameter (e.g. "./redminetimesync.py 1" for yesteday, "./redminetimesync.py 3" for 3 days ago, etc)
Something went wrong with that request. Please try again.