From a1f61071d0001229ce32b0816c7e5d7ffd2fd6ee Mon Sep 17 00:00:00 2001 From: Anton Soldatov <igelhaus@gmail.com> Date: Thu, 10 Apr 2014 13:52:47 +0400 Subject: [PATCH] Sample config files updated --- .../default-layout.conf | 10 ++++++++ config-samples/redminer.conf | 25 +++++++++++++++++++ 2 files changed, 35 insertions(+) rename layout-sample.conf => config-samples/default-layout.conf (51%) create mode 100644 config-samples/redminer.conf diff --git a/layout-sample.conf b/config-samples/default-layout.conf similarity index 51% rename from layout-sample.conf rename to config-samples/default-layout.conf index 1d8ef26..e55bd0f 100644 --- a/layout-sample.conf +++ b/config-samples/default-layout.conf @@ -1,8 +1,18 @@ +# +# Default layout should be located at $HOME/.redminer/default-layout.conf +# Custom path may be specified as +# perl redminer.pl --layout /path/to/layout.conf +# + [project] description=<<DESCRIPTION Description of the master project DESCRIPTION +# Copy permission from the project with ID 42 +perm_source=42 + +# Subproject suffix is the rest of the section name after the 'subproject-'part: [subproject-development] name_suffix=Development description=<<DESCRIPTION diff --git a/config-samples/redminer.conf b/config-samples/redminer.conf new file mode 100644 index 0000000..08e5625 --- /dev/null +++ b/config-samples/redminer.conf @@ -0,0 +1,25 @@ +# +# Default config should be located at $HOME/.redminer/redminer.conf +# Custom path may be specified as +# perl redminer.pl --conf /path/to/redminer.conf +# + +[redmine] + +host=redmine.example.com +# Host could also include a path and/or schema prefix ('http' is the default value), e.g.: +# * example.com/redmine +# * http://example.com/redmine +# * https://example.com/redmine +# etc. + +key=xxx +# How to obtain an API key: +# http://www.redmine.org/projects/redmine/wiki/Rest_api#Authentication +# You can find your API key on your account page ( /my/account ) when logged in, on the right-hand pane of the default layout. + +# User+Password auth is also possible: +# [redmine] +# host=redmine.example.com +# user=redmine-robot +# pass=p@s$w0rD -- GitLab