summaryrefslogtreecommitdiffstats
path: root/.gitbugtraq
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-11-25 13:02:20 -0500
committerJames Moger <james.moger@gitblit.com>2013-12-03 10:36:19 -0500
commitc6f3d01c29bb67156b8154bfe5780537b0ef43ac (patch)
tree9af2cdf8bc2137d937d48ef78ecd0971e9f7e7a6 /.gitbugtraq
parentb6976fc0a4b1fd07e1e72fdd06597a0ffb9d48ef (diff)
downloadgitblit-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 '.gitbugtraq')
-rw-r--r--.gitbugtraq7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitbugtraq b/.gitbugtraq
new file mode 100644
index 00000000..9a2670c7
--- /dev/null
+++ b/.gitbugtraq
@@ -0,0 +1,7 @@
+[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]+)"