forked from brunetton/redminetimesync
-
Notifications
You must be signed in to change notification settings - Fork 0
sdragnev/redminetimesync
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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)
About
Script to push time entries from Gnome Time Tracker applet to Redmine
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%