Show More
@@ -33,8 +33,9 b' news' | |||
|
33 | 33 | - implements #330 api method for listing nodes ar particular revision |
|
34 | 34 | - fixed #331 RhodeCode mangles repository names if the a repository group |
|
35 | 35 | contains the "full path" to the repositories |
|
36 |
- #73 added linking issues in commit messages to cho |
|
|
36 | - #73 added linking issues in commit messages to chosen issue tracker url | |
|
37 | 37 | based on user defined regular expression |
|
38 | - new compact changelog with expandable commit messages | |
|
38 | 39 | |
|
39 | 40 | fixes |
|
40 | 41 | ----- |
@@ -434,16 +434,19 b' messages and replace that with an url to' | |||
|
434 | 434 | uncomment following variables in the ini file:: |
|
435 | 435 | |
|
436 | 436 | url_pat = (?:^#|\s#)(\w+) |
|
437 | issue_server = https://myissueserver.com/issue/{id} | |
|
437 | issue_server_link = https://myissueserver.com/{repo}/issue/{id} | |
|
438 | 438 | issue_prefix = # |
|
439 | 439 | |
|
440 |
`url_pat` is the regular expression that will |
|
|
441 |
will match issues in format of #<number> eg. #300. |
|
|
442 | Matched issues will be replace with the `issue_server` url replacing {id} with | |
|
443 | id fetched from regex. Since the # is striped `issue_prefix` is added as a | |
|
444 | prefix to url. `issue_prefix` can be something different than # if you pass | |
|
445 | ISSUE- as issue prefix this will generate an url in format | |
|
446 | `<a href="https://myissueserver.com/issue/300">ISSUE-300</a>` | |
|
440 | `url_pat` is the regular expression that will fetch issues from commit messages. | |
|
441 | Default regex will match issues in format of #<number> eg. #300. | |
|
442 | ||
|
443 | Matched issues will be replace with the link specified as `issue_server_link` | |
|
444 | {id} will be replaced with issue id, and {repo} with repository name. | |
|
445 | Since the # is striped `issue_prefix` is added as a prefix to url. | |
|
446 | `issue_prefix` can be something different than # if you pass | |
|
447 | ISSUE- as issue prefix this will generate an url in format:: | |
|
448 | ||
|
449 | <a href="https://myissueserver.com/example_repo/issue/300">ISSUE-300</a> | |
|
447 | 450 | |
|
448 | 451 | Hook management |
|
449 | 452 | --------------- |
General Comments 0
You need to be logged in to leave comments.
Login now