]> source.dussan.org Git - gitblit.git/commitdiff
Add pull request linking in changelog to generated documentation
authorJames Moger <james.moger@gitblit.com>
Fri, 22 Nov 2013 15:36:05 +0000 (10:36 -0500)
committerJames Moger <james.moger@gitblit.com>
Fri, 22 Nov 2013 15:36:05 +0000 (10:36 -0500)
Change-Id: I06dbc0fdad93c042d783c97378429856bd9111bf

build.xml

index e2c46b2adb047155224dcfd9f219995692545ab5..3e42cb9d7f12568de274f7118fa2a66e7ca56289 100644 (file)
--- a/build.xml
+++ b/build.xml
                        <properties token="%PROPERTIES%" file="${project.distrib.dir}/data/gitblit.properties" />\r
                        \r
                        <regex searchPattern="\b(issue)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="&lt;a href='http://code.google.com/p/gitblit/issues/detail?id=$3'&gt;issue $3&lt;/a&gt;" />\r
+                       <regex searchPattern="\b(pr|pull request)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="&lt;a href='https://github.com/gitblit/gitblit/pull/$3'&gt;pull request #$3&lt;/a&gt;" />\r
                        \r
                        <!-- Set the logo from the mx:doc resources -->\r
                        <logo file="${project.resources.dir}/gitblt_25_white.png" />\r
                                <properties token="%PROPERTIES%" file="${project.distrib.dir}/data/gitblit.properties" />\r
                                \r
                                <regex searchPattern="\b(issue)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="&lt;a href='http://code.google.com/p/gitblit/issues/detail?id=$3'&gt;issue $3&lt;/a&gt;" />\r
-                               \r
+                               <regex searchPattern="\b(pr|pull request)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="&lt;a href='https://github.com/gitblit/gitblit/pull/$3'&gt;pull request #$3&lt;/a&gt;" />\r
+\r
                                <!-- Set the logo from the mx:doc resources -->\r
                                <logo file="${project.resources.dir}/gitblt_25_white.png" />\r
                                <favicon file="${project.resources.dir}/gitblt-favicon.png" />\r