# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.todo']
+extensions = ['sphinx.ext.todo', 'sphinx.ext.extlinks']
if tags.has('enable_rst2pdf'):
extensions.append('rst2pdf.pdfbuilder')
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
-exclude_patterns = ['*.inc.rst']
+exclude_patterns = ['**.inc.rst']
# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None
# Background images fitting mode
pdf_fit_background_mode = 'scale'
+# -- Options for Sphinx extensions -------------------------------------------
+
+# Temporary highlighting of TODO items
todo_include_todos = True
integrating/index
administering/index
using/index
+
+.. todolist::
-.. _migrating:
+.. _migrating-from-other-btses:
Migrating From Other Bug-Tracking Systems
#########################################
############
Over time it is possible for the Bugzilla database to become corrupt
-or to have anomalies.
-This could happen through normal usage of Bugzilla, manual database
+or to have anomalies. This could happen through manual database
administration outside of the Bugzilla user interface, or from some
-other unexpected event. Bugzilla includes a "Sanity Check" script that
+other unexpected event. Bugzilla includes a "Sanity Check" that
can perform several basic database checks, and repair certain problems or
inconsistencies.
-To run the "Sanity Check" script, log in as an Administrator and click the
-"Sanity Check" link in the admin page. Any problems that are found will be
-displayed in red letters. If the script is capable of fixing a problem,
-it will present a link to initiate the fix. If the script cannot
+To run a Sanity Check, log in as an Administrator and click the
+:guilabel:`Sanity Check` link in the admin page. Any problems that are found
+will be displayed in red letters. If the script is capable of fixing a
+problem, it will present a link to initiate the fix. If the script cannot
fix the problem it will require manual database administration or recovery.
-The "Sanity Check" script can also be run from the command line via the perl
+Sanity Check can also be run from the command line via the perl
script :file:`sanitycheck.pl`. The script can also be run as
-a :command:`cron` job. Results will be delivered by email.
+a :command:`cron` job. Results will be delivered by email to an address
+specified on the command line.
-The "Sanity Check" script should be run on a regular basis as a matter of
+Sanity Check should be run on a regular basis as a matter of
best practice.
-.. warning:: The "Sanity Check" script is no substitute for a competent database
- administrator. It is only designed to check and repair basic database
- problems.
-
-
:file:`Bugzilla/Constants.pm` in your Bugzilla directory and search for
:code:`BUGZILLA_VERSION`.
-.. include:: migrating-from-2.rst.inc
+.. include:: migrating-from-2.inc.rst
.. |diffcommand| replace:: :command:`bzr diff > patch.diff`
.. |extstatusinfo| replace:: The command :command:`bzr status extensions/` should help you work out what you added, if anything.
-.. include:: migrating-from-1.rst.inc
-.. include:: migrating-from-2.rst.inc
+.. include:: migrating-from-1.inc.rst
+.. include:: migrating-from-2.inc.rst
.. |diffcommand| replace:: :command:`cvs diff -puN > patch.diff`
.. |extstatusinfo| replace:: The command :command:`cvs status extensions/` should help you work out what you added, if anything.
-.. include:: migrating-from-1.rst.inc
-.. include:: migrating-from-2.rst.inc
+.. include:: migrating-from-1.inc.rst
+.. include:: migrating-from-2.inc.rst
Without a source code management system to help you, the process may be
trickier.
-.. include:: upgrading-with-1.rst.inc
+.. include:: upgrading-with-1.inc.rst
As you are using a tarball and not an SCM, it's not at all easy to see if
you've made local code customizations. You may have to use institutional
:command:`cd bugzilla`
-.. include:: upgrading-with-2.rst.inc
+.. include:: upgrading-with-2.inc.rst
with Bugzilla that will automatically do all of the database migration
for you.
-.. include:: upgrading-with-1.rst.inc
+.. include:: upgrading-with-1.inc.rst
You can see if you have local code customizations using:
detected these customizations in the step above, before you started the
upgrade.
-.. include:: upgrading-with-2.rst.inc
+.. include:: upgrading-with-2.inc.rst