Show More
@@ -60,9 +60,10 b' bugzilla.version' | |||
|
60 | 60 | |
|
61 | 61 | bugzilla.regexp |
|
62 | 62 | Regular expression to match bug IDs in changeset commit message. |
|
63 |
Must contain one "()" group. The default expression matches |
|
|
64 |
1234 |
|
|
65 |
1234 and 5678 |
|
|
63 | Must contain one "()" group. The default expression matches ``Bug | |
|
64 | 1234``, ``Bug no. 1234``, ``Bug number 1234``, ``Bugs 1234,5678``, | |
|
65 | ``Bug 1234 and 5678`` and variations thereof. Matching is case | |
|
66 | insensitive. | |
|
66 | 67 | |
|
67 | 68 | bugzilla.style |
|
68 | 69 | The style file to use when formatting comments. |
@@ -81,10 +82,11 b' bugzilla.template' | |||
|
81 | 82 | 'to bug {bug}.\\ndetails:\\n\\t{desc|tabindent}' |
|
82 | 83 | |
|
83 | 84 | bugzilla.strip |
|
84 |
The number of path separator characters to strip from the front of |
|
|
85 |
Mercurial repository path ( |
|
|
86 |
For example, a repository with |
|
|
87 | strip of 2 gives a value for '{webroot}' of 'my-project'. Default 0. | |
|
85 | The number of path separator characters to strip from the front of | |
|
86 | the Mercurial repository path (``{root}`` in templates) to produce | |
|
87 | ``{webroot}``. For example, a repository with ``{root}`` | |
|
88 | ``/var/local/my-project`` with a strip of 2 gives a value for | |
|
89 | ``{webroot}`` of ``my-project``. Default 0. | |
|
88 | 90 | |
|
89 | 91 | web.baseurl |
|
90 | 92 | Base URL for browsing Mercurial repositories. Referenced from |
@@ -109,10 +111,11 b' XMLRPC access mode configuration:' | |||
|
109 | 111 | |
|
110 | 112 | bugzilla.bzurl |
|
111 | 113 | The base URL for the Bugzilla installation. |
|
112 |
Default |
|
|
114 | Default ``http://localhost/bugzilla``. | |
|
113 | 115 | |
|
114 | 116 | bugzilla.user |
|
115 |
The username to use to log into Bugzilla via XMLRPC. Default |
|
|
117 | The username to use to log into Bugzilla via XMLRPC. Default | |
|
118 | ``bugs``. | |
|
116 | 119 | |
|
117 | 120 | bugzilla.password |
|
118 | 121 | The password for Bugzilla login. |
@@ -130,13 +133,13 b' MySQL access mode configuration:' | |||
|
130 | 133 | |
|
131 | 134 | bugzilla.host |
|
132 | 135 | Hostname of the MySQL server holding the Bugzilla database. |
|
133 |
Default |
|
|
136 | Default ``localhost``. | |
|
134 | 137 | |
|
135 | 138 | bugzilla.db |
|
136 |
Name of the Bugzilla database in MySQL. Default |
|
|
139 | Name of the Bugzilla database in MySQL. Default ``bugs``. | |
|
137 | 140 | |
|
138 | 141 | bugzilla.user |
|
139 |
Username to use to access MySQL server. Default |
|
|
142 | Username to use to access MySQL server. Default ``bugs``. | |
|
140 | 143 | |
|
141 | 144 | bugzilla.password |
|
142 | 145 | Password to use to access MySQL server. |
@@ -150,14 +153,14 b' bugzilla.bzuser' | |||
|
150 | 153 | |
|
151 | 154 | bugzilla.bzdir |
|
152 | 155 | Bugzilla install directory. Used by default notify. Default |
|
153 |
|
|
|
156 | ``/var/www/html/bugzilla``. | |
|
154 | 157 | |
|
155 | 158 | bugzilla.notify |
|
156 | 159 | The command to run to get Bugzilla to send bug change notification |
|
157 |
emails. Substitutes from a map with 3 keys, |
|
|
158 |
|
|
|
159 |
from 2.18 it is "cd %(bzdir)s && perl -T |
|
|
160 | %(id)s %(user)s". | |
|
160 | emails. Substitutes from a map with 3 keys, ``bzdir``, ``id`` (bug | |
|
161 | id) and ``user`` (committer bugzilla email). Default depends on | |
|
162 | version; from 2.18 it is "cd %(bzdir)s && perl -T | |
|
163 | contrib/sendbugmail.pl %(id)s %(user)s". | |
|
161 | 164 | |
|
162 | 165 | Activating the extension:: |
|
163 | 166 | |
@@ -171,9 +174,9 b' Activating the extension::' | |||
|
171 | 174 | Example configurations: |
|
172 | 175 | |
|
173 | 176 | XMLRPC example configuration. This uses the Bugzilla at |
|
174 |
|
|
|
175 | wityh password 'plugh'. It is used with a collection of Mercurial | |
|
176 |
repositories in |
|
|
177 | ``http://my-project.org/bugzilla``, logging in as user | |
|
178 | ``bugmail@my-project.org`` with password ``plugh``. It is used with a | |
|
179 | collection of Mercurial repositories in ``/var/local/hg/repos/``. :: | |
|
177 | 180 | |
|
178 | 181 | [bugzilla] |
|
179 | 182 | bzurl=http://my-project.org/bugzilla |
@@ -185,10 +188,11 b" repositories in '/var/local/hg/repos/'. " | |||
|
185 | 188 | baseurl=http://my-project.org/hg |
|
186 | 189 | |
|
187 | 190 | XMLRPC+email example configuration. This uses the Bugzilla at |
|
188 |
|
|
|
189 | wityh password 'plugh'. It is used with a collection of Mercurial | |
|
190 | repositories in '/var/local/hg/repos/'. Bug comments are sent to the | |
|
191 | Bugzilla email address 'buzilla@my-project.org'. :: | |
|
191 | ``http://my-project.org/bugzilla``, logging in as user | |
|
192 | ``bugmail@my-project.org`` wityh password ``plugh``. It is used with a | |
|
193 | collection of Mercurial repositories in ``/var/local/hg/repos/``. Bug | |
|
194 | comments are sent to the Bugzilla email address | |
|
195 | ``buzilla@my-project.org``. :: | |
|
192 | 196 | |
|
193 | 197 | [bugzilla] |
|
194 | 198 | user=bugmail@my-project.org |
@@ -201,10 +205,10 b" Bugzilla email address 'buzilla@my-proje" | |||
|
201 | 205 | bugzillaurl=https://dev.laicatc.com/bugzilla |
|
202 | 206 | |
|
203 | 207 | MySQL example configuration. This is for a collection of Mercurial |
|
204 |
repositories in |
|
|
205 |
installation in /opt/bugzilla-3.2. The MySQL database is on |
|
|
206 |
the Bugzilla database name is |
|
|
207 |
username |
|
|
208 | repositories in ``/var/local/hg/repos/`` used with a local Bugzilla | |
|
209 | 3.2 installation in /opt/bugzilla-3.2. The MySQL database is on | |
|
210 | ``localhost``, the Bugzilla database name is ``bugs`` and MySQL is | |
|
211 | accessed with MySQL username ``bugs`` password ``XYZZY``. :: | |
|
208 | 212 | |
|
209 | 213 | [bugzilla] |
|
210 | 214 | host=localhost |
General Comments 0
You need to be logged in to leave comments.
Login now