diff --git a/development.ini b/development.ini --- a/development.ini +++ b/development.ini @@ -68,15 +68,15 @@ proxypass_auth_enabled = false #clone_uri = {scheme}://{user}{pass}{netloc}{path} ## issue tracking mapping for commits messages -## uncomment url_pat, issue_server, issue_prefix to enable - +## comment out issue_pat, issue_server, issue_prefix to enable ## pattern to get the issues from commit messages -## default one used here is #1234 +## default one used here is # with a regex passive group for `#` +## {id} will be all groups matched from this pattern -url_pat = (?:^#|\s#)(\w+) +issue_pat = (?:\s*#)(\d+) -## server url to the issue, each {id} will be replaced with id +## server url to the issue, each {id} will be replaced with match ## fetched from the regex and {repo} is replaced with repository name issue_server_link = https://myissueserver.com/{repo}/issue/{id}