##// END OF EJS Templates
bugzilla: markup literal text as such
Martin Geisler -
r13841:367805c8 default
parent child Browse files
Show More
@@ -60,9 +60,10 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 'Bug
64 1234', 'Bug no. 1234', 'Bug number 1234', 'Bugs 1234,5678', 'Bug
65 1234 and 5678' and variations thereof. Matching is case insensitive.
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 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 the
85 Mercurial repository path ('{root}' in templates) to produce '{webroot}'.
86 For example, a repository with '{root}' '/var/local/my-project' with a
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 XMLRPC access mode configuration:
109 111
110 112 bugzilla.bzurl
111 113 The base URL for the Bugzilla installation.
112 Default 'http://localhost/bugzilla'.
114 Default ``http://localhost/bugzilla``.
113 115
114 116 bugzilla.user
115 The username to use to log into Bugzilla via XMLRPC. Default 'bugs'.
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 MySQL access mode configuration:
130 133
131 134 bugzilla.host
132 135 Hostname of the MySQL server holding the Bugzilla database.
133 Default 'localhost'.
136 Default ``localhost``.
134 137
135 138 bugzilla.db
136 Name of the Bugzilla database in MySQL. Default 'bugs'.
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 'bugs'.
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 bugzilla.bzuser
150 153
151 154 bugzilla.bzdir
152 155 Bugzilla install directory. Used by default notify. Default
153 '/var/www/html/bugzilla'.
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, 'bzdir', 'id' (bug id)
158 and 'user' (committer bugzilla email). Default depends on version;
159 from 2.18 it is "cd %(bzdir)s && perl -T contrib/sendbugmail.pl
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 Activating the extension::
171 174 Example configurations:
172 175
173 176 XMLRPC example configuration. This uses the Bugzilla at
174 'http://my-project.org/bugzilla', logging in as user 'bugmail@my-project.org'
175 wityh password 'plugh'. It is used with a collection of Mercurial
176 repositories in '/var/local/hg/repos/'. ::
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 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 'http://my-project.org/bugzilla', logging in as user 'bugmail@my-project.org'
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 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 '/var/local/hg/repos/' used with a local Bugzilla 3.2
205 installation in /opt/bugzilla-3.2. The MySQL database is on 'localhost',
206 the Bugzilla database name is 'bugs' and MySQL is accessed with MySQL
207 username 'bugs' password 'XYZZY'. ::
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