Skip to content
Snippets Groups Projects
Commit 367805c8 authored by Martin Geisler's avatar Martin Geisler
Browse files

bugzilla: markup literal text as such

parent 80664e24
No related branches found
No related tags found
No related merge requests found
......@@ -60,9 +60,10 @@
bugzilla.regexp
Regular expression to match bug IDs in changeset commit message.
Must contain one "()" group. The default expression matches 'Bug
1234', 'Bug no. 1234', 'Bug number 1234', 'Bugs 1234,5678', 'Bug
1234 and 5678' and variations thereof. Matching is case insensitive.
Must contain one "()" group. The default expression matches ``Bug
1234``, ``Bug no. 1234``, ``Bug number 1234``, ``Bugs 1234,5678``,
``Bug 1234 and 5678`` and variations thereof. Matching is case
insensitive.
bugzilla.style
The style file to use when formatting comments.
......@@ -81,10 +82,11 @@
'to bug {bug}.\\ndetails:\\n\\t{desc|tabindent}'
bugzilla.strip
The number of path separator characters to strip from the front of the
Mercurial repository path ('{root}' in templates) to produce '{webroot}'.
For example, a repository with '{root}' '/var/local/my-project' with a
strip of 2 gives a value for '{webroot}' of 'my-project'. Default 0.
The number of path separator characters to strip from the front of
the Mercurial repository path (``{root}`` in templates) to produce
``{webroot}``. For example, a repository with ``{root}``
``/var/local/my-project`` with a strip of 2 gives a value for
``{webroot}`` of ``my-project``. Default 0.
web.baseurl
Base URL for browsing Mercurial repositories. Referenced from
......@@ -109,6 +111,6 @@
bugzilla.bzurl
The base URL for the Bugzilla installation.
Default 'http://localhost/bugzilla'.
Default ``http://localhost/bugzilla``.
bugzilla.user
......@@ -113,6 +115,7 @@
bugzilla.user
The username to use to log into Bugzilla via XMLRPC. Default 'bugs'.
The username to use to log into Bugzilla via XMLRPC. Default
``bugs``.
bugzilla.password
The password for Bugzilla login.
......@@ -130,6 +133,6 @@
bugzilla.host
Hostname of the MySQL server holding the Bugzilla database.
Default 'localhost'.
Default ``localhost``.
bugzilla.db
......@@ -134,5 +137,5 @@
bugzilla.db
Name of the Bugzilla database in MySQL. Default 'bugs'.
Name of the Bugzilla database in MySQL. Default ``bugs``.
bugzilla.user
......@@ -137,6 +140,6 @@
bugzilla.user
Username to use to access MySQL server. Default 'bugs'.
Username to use to access MySQL server. Default ``bugs``.
bugzilla.password
Password to use to access MySQL server.
......@@ -150,7 +153,7 @@
bugzilla.bzdir
Bugzilla install directory. Used by default notify. Default
'/var/www/html/bugzilla'.
``/var/www/html/bugzilla``.
bugzilla.notify
The command to run to get Bugzilla to send bug change notification
......@@ -154,10 +157,10 @@
bugzilla.notify
The command to run to get Bugzilla to send bug change notification
emails. Substitutes from a map with 3 keys, 'bzdir', 'id' (bug id)
and 'user' (committer bugzilla email). Default depends on version;
from 2.18 it is "cd %(bzdir)s && perl -T contrib/sendbugmail.pl
%(id)s %(user)s".
emails. Substitutes from a map with 3 keys, ``bzdir``, ``id`` (bug
id) and ``user`` (committer bugzilla email). Default depends on
version; from 2.18 it is "cd %(bzdir)s && perl -T
contrib/sendbugmail.pl %(id)s %(user)s".
Activating the extension::
......@@ -171,9 +174,9 @@
Example configurations:
XMLRPC example configuration. This uses the Bugzilla at
'http://my-project.org/bugzilla', logging in as user 'bugmail@my-project.org'
wityh password 'plugh'. It is used with a collection of Mercurial
repositories in '/var/local/hg/repos/'. ::
``http://my-project.org/bugzilla``, logging in as user
``bugmail@my-project.org`` with password ``plugh``. It is used with a
collection of Mercurial repositories in ``/var/local/hg/repos/``. ::
[bugzilla]
bzurl=http://my-project.org/bugzilla
......@@ -185,10 +188,11 @@
baseurl=http://my-project.org/hg
XMLRPC+email example configuration. This uses the Bugzilla at
'http://my-project.org/bugzilla', logging in as user 'bugmail@my-project.org'
wityh password 'plugh'. It is used with a collection of Mercurial
repositories in '/var/local/hg/repos/'. Bug comments are sent to the
Bugzilla email address 'buzilla@my-project.org'. ::
``http://my-project.org/bugzilla``, logging in as user
``bugmail@my-project.org`` wityh password ``plugh``. It is used with a
collection of Mercurial repositories in ``/var/local/hg/repos/``. Bug
comments are sent to the Bugzilla email address
``buzilla@my-project.org``. ::
[bugzilla]
user=bugmail@my-project.org
......@@ -201,10 +205,10 @@
bugzillaurl=https://dev.laicatc.com/bugzilla
MySQL example configuration. This is for a collection of Mercurial
repositories in '/var/local/hg/repos/' used with a local Bugzilla 3.2
installation in /opt/bugzilla-3.2. The MySQL database is on 'localhost',
the Bugzilla database name is 'bugs' and MySQL is accessed with MySQL
username 'bugs' password 'XYZZY'. ::
repositories in ``/var/local/hg/repos/`` used with a local Bugzilla
3.2 installation in /opt/bugzilla-3.2. The MySQL database is on
``localhost``, the Bugzilla database name is ``bugs`` and MySQL is
accessed with MySQL username ``bugs`` password ``XYZZY``. ::
[bugzilla]
host=localhost
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment