##// 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 XMLRPC example configuration. This uses the Bugzilla at
176 XMLRPC example configuration. This uses the Bugzilla at
177 ``http://my-project.org/bugzilla``, logging in as user
177 ``http://my-project.org/bugzilla``, logging in as user
178 ``bugmail@my-project.org`` with password ``plugh``. It is used with a
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 [bugzilla]
182 [bugzilla]
182 bzurl=http://my-project.org/bugzilla
183 bzurl=http://my-project.org/bugzilla
183 user=bugmail@my-project.org
184 user=bugmail@my-project.org
184 password=plugh
185 password=plugh
185 version=xmlrpc
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 [web]
192 [web]
188 baseurl=http://my-project.org/hg
193 baseurl=http://my-project.org/hg
@@ -190,25 +195,34 b' collection of Mercurial repositories in '
190 XMLRPC+email example configuration. This uses the Bugzilla at
195 XMLRPC+email example configuration. This uses the Bugzilla at
191 ``http://my-project.org/bugzilla``, logging in as user
196 ``http://my-project.org/bugzilla``, logging in as user
192 ``bugmail@my-project.org`` wityh password ``plugh``. It is used with a
197 ``bugmail@my-project.org`` wityh password ``plugh``. It is used with a
193 collection of Mercurial repositories in ``/var/local/hg/repos/``. Bug
198 collection of Mercurial repositories in ``/var/local/hg/repos/``,
194 comments are sent to the Bugzilla email address
199 with a web interface at ``http://my-project.org/hg``. Bug comments
200 are sent to the Bugzilla email address
195 ``bugzilla@my-project.org``. ::
201 ``bugzilla@my-project.org``. ::
196
202
197 [bugzilla]
203 [bugzilla]
204 bzurl=http://my-project.org/bugzilla
198 user=bugmail@my-project.org
205 user=bugmail@my-project.org
199 password=plugh
206 password=plugh
200 version=xmlrpc
207 version=xmlrpc
201 bzemail=bugzilla@my-project.org
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 [web]
214 [web]
204 baseurl=https://dev.laicatc.com/hg
215 baseurl=http://my-project.org/hg
205 bugzillaurl=https://dev.laicatc.com/bugzilla
216
217 [usermap]
218 user@emaildomain.com=user.name@bugzilladomain.com
206
219
207 MySQL example configuration. This is for a collection of Mercurial
220 MySQL example configuration. This has a local Bugzilla 3.2 installation
208 repositories in ``/var/local/hg/repos/`` used with a local Bugzilla
221 in ``/opt/bugzilla-3.2``. The MySQL database is on ``localhost``,
209 3.2 installation in /opt/bugzilla-3.2. The MySQL database is on
222 the Bugzilla database name is ``bugs`` and MySQL is
210 ``localhost``, the Bugzilla database name is ``bugs`` and MySQL is
223 accessed with MySQL username ``bugs`` password ``XYZZY``. It is used
211 accessed with MySQL username ``bugs`` password ``XYZZY``. ::
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 [bugzilla]
227 [bugzilla]
214 host=localhost
228 host=localhost
@@ -222,7 +236,7 b' accessed with MySQL username ``bugs`` pa'
222 strip=5
236 strip=5
223
237
224 [web]
238 [web]
225 baseurl=http://dev.domain.com/hg
239 baseurl=http://my-project.org/hg
226
240
227 [usermap]
241 [usermap]
228 user@emaildomain.com=user.name@bugzilladomain.com
242 user@emaildomain.com=user.name@bugzilladomain.com
@@ -230,7 +244,7 b' accessed with MySQL username ``bugs`` pa'
230 All the above add a comment to the Bugzilla bug record of the form::
244 All the above add a comment to the Bugzilla bug record of the form::
231
245
232 Changeset 3b16791d6642 in repository-name.
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 Changeset commit comment. Bug 1234.
249 Changeset commit comment. Bug 1234.
236 '''
250 '''
General Comments 0
You need to be logged in to leave comments. Login now