Skip to content

Commit

Permalink
Ignore activities.config and redmine.config; adding templates files
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Duyé committed Oct 9, 2014
1 parent f4a1c11 commit 77a7764
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*~
*.pyc
git_ignored/
activities.config
redminetimesync.config
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ INSTALLATION
------------

1. Clone the repository
2. Edit **redminetimesync.config**: it's an INI-like file that needs two parameters:

2. Copy `redminetimesync.config.tpl` to `redminetimesync.config` : it's an INI-like file that needs two parameters:

- url: your Redmine public url
- key: your Redmine API key
Expand All @@ -43,6 +43,9 @@ ADVANCED CONFIGURATION

### Activities

Activities are defined in `activities.config` file. You can copy sample file `activities.config.tpl` (and rename it)
and adjust it for your needs.

#### Default activity

When adding times in Redmine, default activity is associated with time entry, if a default activity is defined. If there is no default activity defined in Redmine, the script will raise an error (because you're trying to add a new time entry with no activity associated). There are two workarounds :
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion redminetimesync.config → redminetimesync.config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ issue_id_regexp: .*# ?(\d+)

# Activity id sent to each time entry (uncomment this if you have an error in Redmine due to undefined default activity)
# See activities.config file for an enhanced control upon activities
;redmine_default_activity_id: 9
#redmine_default_activity_id: 9

0 comments on commit 77a7764

Please sign in to comment.