# HG changeset patch # User Marcin Kuzminski # Date 1326074698 -7200 # Node ID 941dee1131365b6b8fd5e60c965546f55ba74faa # Parent 682057a38cd39e18108ea9285e353a29ee784e0c docs update diff -r 682057a38cd3 -r 941dee113136 docs/changelog.rst --- a/docs/changelog.rst Mon Jan 09 04:00:44 2012 +0200 +++ b/docs/changelog.rst Mon Jan 09 04:04:58 2012 +0200 @@ -33,8 +33,9 @@ - implements #330 api method for listing nodes ar particular revision - fixed #331 RhodeCode mangles repository names if the a repository group contains the "full path" to the repositories -- #73 added linking issues in commit messages to choosen issue tracker url +- #73 added linking issues in commit messages to chosen issue tracker url based on user defined regular expression +- new compact changelog with expandable commit messages fixes ----- diff -r 682057a38cd3 -r 941dee113136 docs/setup.rst --- a/docs/setup.rst Mon Jan 09 04:00:44 2012 +0200 +++ b/docs/setup.rst Mon Jan 09 04:04:58 2012 +0200 @@ -434,16 +434,19 @@ uncomment following variables in the ini file:: url_pat = (?:^#|\s#)(\w+) - issue_server = https://myissueserver.com/issue/{id} + issue_server_link = https://myissueserver.com/{repo}/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` +`url_pat` is the regular expression that will fetch issues from commit messages. +Default regex will match issues in format of # eg. #300. + +Matched issues will be replace with the link specified as `issue_server_link` +{id} will be replaced with issue id, and {repo} with repository name. +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 ---------------