forked from brunetton/redminetimesync
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
20 lines (15 loc) · 1 KB
/
README
File metadata and controls
20 lines (15 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
- toDo
USAGE
1) Clone the repository: git clone git://github.com/shaftoe/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>
act: <name_to_use_in_hamster>:<redmine_activity_number>,[*]
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, "act" is the dictionary of terms to use in hamster and convert to redmine activity
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)