Mercurial > kallithea
comparison docs/setup.rst @ 3943:a5bccf34c512 beta
fixed docs error, should be issue_pat
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 04 Jun 2013 11:09:40 +0200 |
parents | f06bb68caef5 |
children | 5293d4bbb1ea |
comparison
equal
deleted
inserted
replaced
3942:e6a3f4b414d2 | 3943:a5bccf34c512 |
---|---|
449 RhodeCode provides a simple integration with issue trackers. It's possible | 449 RhodeCode provides a simple integration with issue trackers. It's possible |
450 to define a regular expression that will fetch issue id stored in commit | 450 to define a regular expression that will fetch issue id stored in commit |
451 messages and replace that with an url to this issue. To enable this simply | 451 messages and replace that with an url to this issue. To enable this simply |
452 uncomment following variables in the ini file:: | 452 uncomment following variables in the ini file:: |
453 | 453 |
454 url_pat = (?:^#|\s#)(\w+) | 454 issue_pat = (?:^#|\s#)(\w+) |
455 issue_server_link = https://myissueserver.com/{repo}/issue/{id} | 455 issue_server_link = https://myissueserver.com/{repo}/issue/{id} |
456 issue_prefix = # | 456 issue_prefix = # |
457 | 457 |
458 `url_pat` is the regular expression that will fetch issues from commit messages. | 458 `issue_pat` is the regular expression that will fetch issues from commit messages. |
459 Default regex will match issues in format of #<number> eg. #300. | 459 Default regex will match issues in format of #<number> eg. #300. |
460 | 460 |
461 Matched issues will be replace with the link specified as `issue_server_link` | 461 Matched issues will be replace with the link specified as `issue_server_link` |
462 {id} will be replaced with issue id, and {repo} with repository name. | 462 {id} will be replaced with issue id, and {repo} with repository name. |
463 Since the # is striped `issue_prefix` is added as a prefix to url. | 463 Since the # is striped `issue_prefix` is added as a prefix to url. |