forked from github/github-services
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbugzilla
More file actions
34 lines (26 loc) · 1.17 KB
/
bugzilla
File metadata and controls
34 lines (26 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Bugzilla
========
This service hook posts comments on Bugzilla bugs when commit messages
reference a bug by id number.
Bugs are recognised by the following formats, which are case-insensitive:
- Ticket 123
- Bug 123
- Tracker item 123
Multiple bugs can also be specified by separating them with a comma,
apersand, plus or "and":
- Bug 123, 124 and 125
If the central repository option is enabled and there is a "fix",
"close", or "address" before the bug then that bug is closed.
If a commit has already been mentioned in the bug comments when pushed
by another user then a comment isn't made, unless the central repository
option is enabled. In this case only the first line of the commit message
is included in the bug comment.
This hook requires Bugzilla version >= 3.4 to function correctly
and >= 4.0 to be able to close bugs.
Settings
--------
- server_url - The URL for the Bugzilla installation, eg http://bugzilla.mozilla.org/
- username - Email address for Bugzilla user account
- password - Password for the user account
- central_repository - Set to true to enable closing bugs and commenting on commits that were
already pushed to another user's repository