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