# HG changeset patch # User Marcin Kuzminski # Date 2012-01-06 18:37:36 # Node ID 2ef309c3175d3e95bdf47c74cdab01cbc05d1624 # Parent a6a30c919513f8552ca05fbab5254a77002a8d87 docs update diff --git a/docs/setup.rst b/docs/setup.rst --- a/docs/setup.rst +++ b/docs/setup.rst @@ -425,7 +425,25 @@ the following in the [app:main] section forge the authentication header and could effectively become authenticated using any account of their liking. +Integration with Issue trackers +------------------------------- +RhodeCode provides a simple integration with issue trackers. It's possible +to define a regular expression that will fetch issue id stored in commit +messages and replace that with an url to this issue. To enable this simply +uncomment following variables in the ini file:: + + url_pat = (?:^#|\s#)(\w+) + issue_server = https://myissueserver.com/issue/{id} + issue_prefix = # + +`url_pat` is the regular expression that will match issues, default given regex +will match issues in format of # eg. #300. +Matched issues will be replace with the `issue_server` url replacing {id} with +id fetched from regex. Since the # is striped `issue_prefix` is added as a +prefix to url. `issue_prefix` can be something different than # if you pass +ISSUE- as issue prefix this will generate an url in format +`ISSUE-300` Hook management ---------------