##// END OF EJS Templates
bugzilla: correct sample configurations...
Jim Hague -
r13870:ce066d42 default
parent child Browse files
Show More
@@ -176,13 +176,18 b' Example configurations:'
176 176 XMLRPC example configuration. This uses the Bugzilla at
177 177 ``http://my-project.org/bugzilla``, logging in as user
178 178 ``bugmail@my-project.org`` with password ``plugh``. It is used with a
179 collection of Mercurial repositories in ``/var/local/hg/repos/``. ::
179 collection of Mercurial repositories in ``/var/local/hg/repos/``,
180 with a web interface at ``http://my-project.org/hg``. ::
180 181
181 182 [bugzilla]
182 183 bzurl=http://my-project.org/bugzilla
183 184 user=bugmail@my-project.org
184 185 password=plugh
185 186 version=xmlrpc
187 template=Changeset {node|short} in {root|basename}.
188 {hgweb}/{webroot}/rev/{node|short}\\n
189 {desc}\\n
190 strip=5
186 191
187 192 [web]
188 193 baseurl=http://my-project.org/hg
@@ -190,25 +195,34 b' collection of Mercurial repositories in '
190 195 XMLRPC+email example configuration. This uses the Bugzilla at
191 196 ``http://my-project.org/bugzilla``, logging in as user
192 197 ``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
198 collection of Mercurial repositories in ``/var/local/hg/repos/``,
199 with a web interface at ``http://my-project.org/hg``. Bug comments
200 are sent to the Bugzilla email address
195 201 ``bugzilla@my-project.org``. ::
196 202
197 203 [bugzilla]
204 bzurl=http://my-project.org/bugzilla
198 205 user=bugmail@my-project.org
199 206 password=plugh
200 207 version=xmlrpc
201 208 bzemail=bugzilla@my-project.org
209 template=Changeset {node|short} in {root|basename}.
210 {hgweb}/{webroot}/rev/{node|short}\\n
211 {desc}\\n
212 strip=5
202 213
203 214 [web]
204 baseurl=https://dev.laicatc.com/hg
205 bugzillaurl=https://dev.laicatc.com/bugzilla
215 baseurl=http://my-project.org/hg
216
217 [usermap]
218 user@emaildomain.com=user.name@bugzilladomain.com
206 219
207 MySQL example configuration. This is for a collection of Mercurial
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``. ::
220 MySQL example configuration. This has a local Bugzilla 3.2 installation
221 in ``/opt/bugzilla-3.2``. The MySQL database is on ``localhost``,
222 the Bugzilla database name is ``bugs`` and MySQL is
223 accessed with MySQL username ``bugs`` password ``XYZZY``. It is used
224 with a collection of Mercurial repositories in ``/var/local/hg/repos/``,
225 with a web interface at ``http://my-project.org/hg``. ::
212 226
213 227 [bugzilla]
214 228 host=localhost
@@ -222,7 +236,7 b' accessed with MySQL username ``bugs`` pa'
222 236 strip=5
223 237
224 238 [web]
225 baseurl=http://dev.domain.com/hg
239 baseurl=http://my-project.org/hg
226 240
227 241 [usermap]
228 242 user@emaildomain.com=user.name@bugzilladomain.com
@@ -230,7 +244,7 b' accessed with MySQL username ``bugs`` pa'
230 244 All the above add a comment to the Bugzilla bug record of the form::
231 245
232 246 Changeset 3b16791d6642 in repository-name.
233 http://dev.domain.com/hg/repository-name/rev/3b16791d6642
247 http://my-project.org/hg/repository-name/rev/3b16791d6642
234 248
235 249 Changeset commit comment. Bug 1234.
236 250 '''
General Comments 0
You need to be logged in to leave comments. Login now