diff options
author | James Moger <james.moger@gitblit.com> | 2013-11-25 13:02:20 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-12-03 10:36:19 -0500 |
commit | c6f3d01c29bb67156b8154bfe5780537b0ef43ac (patch) | |
tree | 9af2cdf8bc2137d937d48ef78ecd0971e9f7e7a6 /build.moxie | |
parent | b6976fc0a4b1fd07e1e72fdd06597a0ffb9d48ef (diff) | |
download | gitblit-c6f3d01c29bb67156b8154bfe5780537b0ef43ac.tar.gz gitblit-c6f3d01c29bb67156b8154bfe5780537b0ef43ac.zip |
Add support for per-repository bugtraq configuration
Imported the reference implementation contributed by syntevo which
is used in their SmartGit product. You may create a bugtraq config
section inf your .git/config file OR you may add a .gitbugtraq file
to the root of your repository.
Example:
[bugtraq "issues"]
url = http://code.google.com/p/gitblit/issues/detail?id=%BUGID%
logRegex = "[Ii]ssue[-#:\\s]{1}\\d+"
logRegex1 = "\\d+"
[bugtraq "[pullrequests"]
url = "https://github.com/gitblit/gitblit/pull/%BUGID%"
logRegex = "(?:pull request|pull|pr)\\s*[-#]?([0-9]+)"
Change-Id: Iaba305bf4280d08cc4d1abf533c2f1365470a43f
Diffstat (limited to 'build.moxie')
-rw-r--r-- | build.moxie | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build.moxie b/build.moxie index 44f4cf80..22fdfeac 100644 --- a/build.moxie +++ b/build.moxie @@ -57,8 +57,10 @@ mainclass: com.gitblit.GitBlitServer # a scope to each directory. sourceDirectories: - compile 'src/main/java' +- compile 'src/main/bugtraq' - compile 'src/main/dagger' apt - test 'src/test/java' +- test 'src/test/bugtraq' # Moxie supports one site-scoped directory for mx:doc - site 'src/site' @@ -125,6 +127,7 @@ dependencies: - compile 'com.squareup.dagger:dagger:1.1.0' :war apt - compile 'com.squareup.dagger:dagger-compiler:1.1.0' :war optional apt # Standard dependencies +- compile 'com.intellij:annotations:12.0' :war - compile 'com.beust:jcommander:1.17' :fedclient :authority - compile 'log4j:log4j:1.2.17' :war :fedclient :authority - compile 'org.slf4j:slf4j-api:1.6.6' :war :fedclient :authority |