]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Big rearrangement, as discussed in public meeting. Plus resolve lots of TODOs.
authorGervase Markham <gerv@gerv.net>
Wed, 26 Nov 2014 16:04:32 +0000 (16:04 +0000)
committerGervase Markham <gerv@gerv.net>
Wed, 26 Nov 2014 16:04:32 +0000 (16:04 +0000)
45 files changed:
docs/en/rst/about/index.rst
docs/en/rst/administering/index.rst
docs/en/rst/administering/keywords.rst
docs/en/rst/administering/parameters.rst
docs/en/rst/customizing/extensions.rst [deleted file]
docs/en/rst/customizing/index.rst [deleted file]
docs/en/rst/index.rst
docs/en/rst/installing/apache-windows.rst
docs/en/rst/installing/backups.rst [moved from docs/en/rst/maintaining/backups.rst with 91% similarity]
docs/en/rst/installing/essential-post-install-config.rst
docs/en/rst/installing/index.rst
docs/en/rst/installing/linux.rst
docs/en/rst/installing/mac-os-x.rst
docs/en/rst/installing/merging-accounts.rst [moved from docs/en/rst/maintaining/merging-accounts.rst with 100% similarity]
docs/en/rst/installing/migrating-from-1.inc.rst [new file with mode: 0644]
docs/en/rst/installing/migrating-from-2.inc.rst [moved from docs/en/rst/upgrading/migrating-from-2.inc.rst with 81% similarity]
docs/en/rst/installing/migrating-from-a-tarball.rst [new file with mode: 0644]
docs/en/rst/installing/migrating-from-bzr.rst [moved from docs/en/rst/upgrading/migrating-from-bzr.rst with 100% similarity]
docs/en/rst/installing/migrating-from-cvs.rst [moved from docs/en/rst/upgrading/migrating-from-cvs.rst with 100% similarity]
docs/en/rst/installing/multiple-bugzillas.rst [new file with mode: 0644]
docs/en/rst/installing/optional-post-install-config.rst
docs/en/rst/installing/quick-start.rst
docs/en/rst/installing/sanity-check.rst [moved from docs/en/rst/maintaining/sanity-check.rst with 100% similarity]
docs/en/rst/installing/upgrading-customizations.rst [moved from docs/en/rst/upgrading/upgrading-customizations.rst with 100% similarity]
docs/en/rst/installing/upgrading-with-1.inc.rst [moved from docs/en/rst/upgrading/upgrading-with-1.inc.rst with 100% similarity]
docs/en/rst/installing/upgrading-with-2.inc.rst [moved from docs/en/rst/upgrading/upgrading-with-2.inc.rst with 100% similarity]
docs/en/rst/installing/upgrading-with-a-tarball.rst [moved from docs/en/rst/upgrading/upgrading-with-a-tarball.rst with 100% similarity]
docs/en/rst/installing/upgrading-with-git.rst [moved from docs/en/rst/upgrading/upgrading-with-git.rst with 100% similarity]
docs/en/rst/installing/upgrading.rst [moved from docs/en/rst/upgrading/overview.rst with 78% similarity]
docs/en/rst/installing/windows.rst
docs/en/rst/integrating/extensions.rst [moved from docs/en/rst/customizing/writing-extensions.rst with 91% similarity]
docs/en/rst/integrating/faq.rst [moved from docs/en/rst/customizing/faq.rst with 100% similarity]
docs/en/rst/integrating/index.rst
docs/en/rst/integrating/languages.rst [moved from docs/en/rst/customizing/languages.rst with 100% similarity]
docs/en/rst/integrating/skins.rst [moved from docs/en/rst/customizing/skins.rst with 100% similarity]
docs/en/rst/integrating/templates.rst [moved from docs/en/rst/customizing/templates.rst with 99% similarity]
docs/en/rst/integrating/tips.rst [deleted file]
docs/en/rst/maintaining/index.rst [deleted file]
docs/en/rst/maintaining/upgrades.rst [deleted file]
docs/en/rst/upgrading/index.rst [deleted file]
docs/en/rst/upgrading/migrating-from-1.inc.rst [deleted file]
docs/en/rst/upgrading/migrating-from-a-tarball.rst [deleted file]
docs/en/rst/using/finding.rst
docs/en/rst/using/index.rst
docs/en/rst/using/tips.rst

index 3c0d19ca5ef31ca2dc47c1d99d468bd704399a00..239c6ecea5badc1c0a415e75e2b4ab8d59dac001 100644 (file)
@@ -1,8 +1,8 @@
 .. _about:
 
-================
-About This Guide
-================
+========================
+About This Documentation
+========================
 
 This is the documentation for version |version| of Bugzilla, a bug-tracking
 system from Mozilla. Bugzilla is an enterprise-class piece of software
index 5f8b3ccc0b15582d81eba0da30f2ef0d84e0645d..c47819323111f2981785e7dc08663693a90856bb 100644 (file)
@@ -1,8 +1,8 @@
 .. _administering:
 
-======================
-Administering Bugzilla
-======================
+====================
+Administration Guide
+====================
 
 For those with :group:`admin` privileges, Bugzilla can be administered using
 the :guilabel:`Administration` link in the header. The administrative
index a7b9efd018dcb22d2b2beaf24cbe421e31351134..245bcbe4c8dd1f44508e5ce45d24bedec084e9f5 100644 (file)
@@ -7,17 +7,10 @@ The administrator can define keywords which can be used to tag and
 categorise bugs. For example, the keyword "regression" is commonly used.
 A company might have a policy stating all regressions
 must be fixed by the next release—this keyword can make tracking those
-bugs much easier.
-
-Keywords are global, rather than per product. If the administrator changes
-a keyword currently applied to any bugs, the keyword cache must be rebuilt
-using the :ref:`sanity-check` script.
-
-.. todo:: Does this mean changing the name of the keyword? Is it still true?
-
-Currently keywords cannot be marked obsolete to prevent future usage.
+bugs much easier. Keywords are global, rather than per product. 
 
 Keywords can be created, edited, or deleted by clicking the "Keywords"
 link in the admin page. There are two fields for each keyword—the keyword
-itself and a brief description.
+itself and a brief description. Currently keywords cannot be marked obsolete
+to prevent future usage.
 
index 2af178b6ae908526dc155d700f22ea586df83f6d..8e3e6123157aaf3168e6f8ff922bc390f4d0be87 100644 (file)
@@ -78,18 +78,6 @@ shutdownhtml
     Bugzilla pages for all users, including Admins. Used in the event
     of site maintenance or outage situations.
 
-    .. note:: Although regular log-in capability is disabled
-       while :param:`shutdownhtml`
-       is enabled, safeguards are in place to protect the unfortunate
-       admin who loses connection to Bugzilla. Should this happen to you,
-       go directly to the :file:`editparams.cgi` (by typing
-       the URL in manually, if necessary). Doing this will prompt you to
-       log in, and your name/password will be accepted here (but nowhere
-       else).
-
-       .. todo:: Is this still true? The editparams.cgi code seems to
-                 call using LOGIN_REQUIRED in the conventional manner...
-
 announcehtml
     Any text in this field will be displayed at the top of every HTML
     page in this Bugzilla installation. The text is not wrapped in any
@@ -408,7 +396,7 @@ makeproductgroups
     used for querying bugs.
 
     .. todo:: This is spectacularly unclear. I have no idea what makeproductgroups
-              does - can someone explain it to me?
+              does - can someone explain it to me? Convert this item into a bug on checkin.
 
 chartgroup
     The name of the group of users who can use the 'New Charts' feature. Administrators should ensure that the public categories and series definitions do not divulge confidential information before enabling this for an untrusted population. If left blank, no users will be able to use New Charts.
diff --git a/docs/en/rst/customizing/extensions.rst b/docs/en/rst/customizing/extensions.rst
deleted file mode 100644 (file)
index 73e8d58..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-.. _extensions:
-
-Extensions
-##########
-
-One of the best ways to customize Bugzilla is by using a Bugzilla
-Extension. Extensions can modify both the code and UI of Bugzilla in a way
-that can be distributed to other Bugzilla users and ported forward to future
-versions of Bugzilla with minimal effort.
-
-We maintain a
-`list of available extensions <https://wiki.mozilla.org/Bugzilla:Addons>`_
-written by other people on our wiki. You would need to
-make sure that the extension in question works with your version of Bugzilla.
-Or you can look into :ref:`writing your own extension <writing-extensions>`.
diff --git a/docs/en/rst/customizing/index.rst b/docs/en/rst/customizing/index.rst
deleted file mode 100644 (file)
index d6c41e9..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-.. highlight:: perl
-
-.. _customizing:
-
-====================
-Customizing Bugzilla
-====================
-
-You may find that Bugzilla already does what you want it to do, you just
-need to configure it correctly. Read the :ref:`administering` sections
-carefully to see if that's the case for you. If not, then this chapter
-explains how to use the available mechanisms for customization.
-
-.. toctree::
-   :maxdepth: 2
-
-   faq
-   extensions
-   skins
-   languages
-   templates
-   writing-extensions
index 7a597a855f90d64845f7f29c800e335ce949e944..e95560e8e092d2679531c908c88651d0ad195efc 100644 (file)
@@ -3,17 +3,14 @@ Bugzilla Documentation
 ======================
 
 .. toctree::
-   :maxdepth: 2
+   :maxdepth: 1
    :numbered: 4
 
    about/index
+   using/index
    installing/index
-   upgrading/index
-   maintaining/index
-   customizing/index
-   integrating/index
    administering/index
-   using/index
+   integrating/index
 
 .. toctree::
    :hidden:
index 10bf1c6dbfe213bee3a33005634973a2d18bec30..5e8ac89288dffbd4f8a0fa8cd08ba4e4468ca2de 100644 (file)
@@ -115,7 +115,8 @@ in its log files.
 
 #. Replace ``%r`` with ``%m %U``.
 
-.. todo:: Is this the right line? Or given how we've configured it above, is it not a vhost?
+(If you have configured Apache differently, a different log line might apply.
+Adjust these instructions accordingly.)
 
 Restart Apache
 ==============
similarity index 91%
rename from docs/en/rst/maintaining/backups.rst
rename to docs/en/rst/installing/backups.rst
index 384c79437b06ad092e5e53152d6807e7613da315..f20b3021ab6e5461de75be8569d280686cc979e6 100644 (file)
@@ -21,7 +21,7 @@ See the
 `mysqldump documentation <http://dev.mysql.com/doc/mysql/en/mysqldump.html>`_
 for more information on :file:`mysqldump`.
 
-.. todo:: Mention max_allowed_packet?
+.. todo:: Mention max_allowed_packet? Convert this item to a bug on checkin.
 
 PostgreSQL
 ----------
index 3882c16a2868eea859628a8de5a6855fcbd5995a..c5e9c0bc1479e66fd81dfd781e0e6395275a8652 100644 (file)
@@ -168,3 +168,5 @@ Once you've created your own, you will want to delete TestProduct (which
 will delete TestComponent automatically). Note that if you've filed a bug in
 TestProduct to try Bugzilla out, you'll need to move it elsewhere before it's
 possible to delete TestProduct.
+
+Now, you may want to do some of the :ref:`optional-post-install-config`.
index ab818d26a1f5eeec756c84fd8b62c1de487a1f2b..91a81bede6257c411de6e468d989992020a12760 100644 (file)
@@ -2,14 +2,14 @@
 
 .. _installing:
 
-===================
-Installing Bugzilla
-===================
+==================================
+Installation and Maintenance Guide
+==================================
 
 .. note:: If you just want to *use* Bugzilla,
    you do not need to install it. None of this chapter is relevant to
    you. Ask your Bugzilla administrator for the URL to access it from
-   your web browser. You may want to read :ref:`using`.
+   your web browser. You may want to read the :ref:`using`.
 
 Bugzilla can be installed under Linux, Windows, Mac OS X, and perhaps other
 operating systems. However, if you are setting it up on a dedicated machine
@@ -19,7 +19,7 @@ operating system that provides an ideal environment for Bugzilla. In that
 case, you may want to read the :ref:`Quick Start instructions <quick-start>`.
 
 .. toctree::
-   :maxdepth: 2
+   :maxdepth: 1
 
    quick-start
    linux
@@ -29,3 +29,8 @@ case, you may want to read the :ref:`Quick Start instructions <quick-start>`.
    optional-post-install-config
    migrating
    moving
+   upgrading
+   backups
+   sanity-check
+   merging-accounts
+   multiple-bugzillas
index 3f4cb9169e233cecf8c5237e35aa9ac3a079e8be..97192fac3a27fc9a628a98e38c2c2fd8f9e44419 100644 (file)
@@ -12,11 +12,6 @@ of additional configuration required.
 If you are installing your machine from scratch, :ref:`quick-start` may be
 the best instructions for you.
 
-.. todo:: What's our current position on Debian/Ubuntu packages of Bugzilla? Are
-          there any, and are they any good?
-
-.. todo:: Which versions of RHEL have packages new enough for us to support them?
-
 .. _linux-install-packages:
 
 Install Packages
@@ -50,28 +45,26 @@ If you want to install a version of Bugzilla from the Bugzilla project, you
 will instead need:
 
 :command:`yum install httpd mysql-server mod_perl mod_perl-devel httpd-devel
-graphviz patchutils gcc  perl(Apache2::SizeLimit) perl(Authen::Radius)
-perl(Authen::SASL) perl(Cache::Memcached) perl(CGI) perl(Chart::Lines)
-perl(Daemon::Generic) perl(Date::Format) perl(DateTime)
-perl(DateTime::TimeZone) perl(DBI) perl(Digest::SHA) perl(Email::MIME)
-perl(Email::MIME::Attachment::Stripper) perl(Email::Reply) perl(Email::Sender)
-perl(Encode) perl(Encode::Detect) perl(File::MimeInfo::Magic)
-perl(File::Slurp) perl(GD) perl(GD::Graph) perl(GD::Text)
-perl(HTML::FormatText::WithLinks) perl(HTML::Parser) perl(HTML::Scrubber)
-perl(IO::Scalar) perl(JSON::RPC) perl(JSON::XS) perl(List::MoreUtils)
-perl(LWP::UserAgent) perl(Math::Random::ISAAC) perl(MIME::Parser)
-perl(mod_perl2) perl(Net::LDAP) perl(Net::SMTP::SSL) perl(PatchReader)
-perl(SOAP::Lite) perl(Template) perl(Template::Plugin::GD::Image)
-perl(Test::Taint) perl(TheSchwartz) perl(URI) perl(XMLRPC::Lite)
-perl(XML::Twig)`
-
-.. todo:: Converted to perl() form as per glob's request using info in
-   Requirements.pm, but I have no idea if that's exactly right...
+graphviz patchutils gcc 'perl(Apache2::SizeLimit)' 'perl(Authen::Radius)'
+'perl(Authen::SASL)' 'perl(Cache::Memcached)' 'perl(CGI)' 'perl(Chart::Lines)'
+'perl(Daemon::Generic)' 'perl(Date::Format)' 'perl(DateTime)'
+'perl(DateTime::TimeZone)' 'perl(DBI)' 'perl(Digest::SHA)' 'perl(Email::MIME)'
+'perl(Email::MIME::Attachment::Stripper)' 'perl(Email::Reply)'
+'perl(Email::Sender)' 'perl(Encode)' 'perl(Encode::Detect)'
+'perl(File::MimeInfo::Magic)' 'perl(File::Slurp)' 'perl(GD)' 'perl(GD::Graph)'
+'perl(GD::Text)' 'perl(HTML::FormatText::WithLinks)' 'perl(HTML::Parser)'
+'perl(HTML::Scrubber)' 'perl(IO::Scalar)' 'perl(JSON::RPC)' 'perl(JSON::XS)'
+'perl(List::MoreUtils)' 'perl(LWP::UserAgent)' 'perl(Math::Random::ISAAC)'
+'perl(MIME::Parser)' 'perl(mod_perl2)' 'perl(Net::LDAP)' 'perl(Net::SMTP::SSL)'
+'perl(PatchReader)' 'perl(SOAP::Lite)' 'perl(Template)'
+'perl(Template::Plugin::GD::Image)' 'perl(Test::Taint)' 'perl(TheSchwartz)'
+'perl(URI)' 'perl(XMLRPC::Lite)' 'perl(XML::Twig)'`
 
 If you are running RHEL6, you will have to enable the "RHEL Server Optional"
 channel in RHN to get some of those packages. 
 
-.. todo:: Add Sqlite RPMs
+If you plan to use SQlite as your database, you will need to also install
+the appropriate packages for that.
 
 Ubuntu and Debian
 -----------------
@@ -92,7 +85,8 @@ libencode-detect-perl libmodule-build-perl libnet-ldap-perl
 libauthen-sasl-perl libtemplate-perl-doc libfile-mimeinfo-perl
 libhtml-formattext-withlinks-perl libgd-dev lynx-cur graphviz`
 
-.. todo:: Add Sqlite debs
+If you plan to use SQlite as your database, you will need to also install
+the appropriate packages for that.
 
 Gentoo
 ------
@@ -144,14 +138,6 @@ server's configuration.
    includes any directory which is configured using the
    ``ScriptAlias`` directive of Apache.
 
-Once all the files are in a web accessible directory, make that
-directory writable by your web server's user. This is a temporary step
-until you run the :file:`checksetup.pl` script, which locks down your
-installation.
-
-.. todo:: Why is this necessary? What does the webserver write there before
-          checksetup.pl is run?
-
 .. _linux-install-perl-modules:
 
 Perl Modules
@@ -163,19 +149,21 @@ times, Bugzilla may require a version of a Perl module newer than the one
 your distribution packages, in which case you will need to install a
 Bugzilla-only copy of the newer version.
 
-At this point, you need to :file:`su` to root. You should remain as root
-until the end of the install.
-
-.. todo:: Is this true, if they are installing modules locally?
+At this point you probably need to become ``root``, e.g. by using
+:command:`su`. You should remain as root until the end of the install. This
+can be avoided in some circumstances if you are a member of your webserver's
+group, but being root is easier and will always work.
 
-To check whether you have all the required modules and what is still missing,
-run:
+To check whether you have all the required modules, run:
 
 :command:`./checksetup.pl --check-modules`
 
 You can run this command as many times as necessary.
 
-Install all missing modules locally like this:
+If you have not already installed the necessary modules, and want to do it
+system-wide, invoke your package manager appropriately at this point.
+Alternatively, you can install all missing modules locally (i.e. just for
+Bugzilla) like this:
 
 :command:`./install-module.pl --all`
 
@@ -191,7 +179,8 @@ Or, you can pass an individual module name:
    distribution you are using, but are often called
    :file:`<packagename>-devel`.
 
-   .. todo:: Give examples for Debian/Ubuntu and RedHat?
+   .. todo:: Give examples for Debian/Ubuntu and RedHat.
+             Convert this item to a bug after checkin.
 
 .. _linux-config-webserver:
 
index 3d9c64355a32ab439b9565dc00e217481a5328ad..545d2fa278de594ec126575b972679ae739ae7d8 100644 (file)
@@ -5,6 +5,11 @@ Mac OS X
 
 .. _macosx-install-packages:
 
+.. note:: The Bugzilla team has very little Mac expertise and we've not been
+          able to do a successful install of the latest version. We got
+          close, though. If you've managed it, tell us how and we can update
+          these docs!
+
 Install Packages
 ================
 
@@ -109,10 +114,8 @@ Database Engine
 
 Bugzilla supports MySQL, PostgreSQL, Oracle and SQLite as database servers.
 You only require one of these systems to make use of Bugzilla. MySQL is
-most commonly used on Mac OS X. Configure your server according to the
-instructions below:
-
-.. todo:: Has anyone tried anything other than MySQL on Mac OS X?
+most commonly used on Mac OS X. (In fact, we have no reports of anyone using
+anything else.) Configure your server according to the instructions below:
 
 * :ref:`mysql`
 * :ref:`postgresql`
diff --git a/docs/en/rst/installing/migrating-from-1.inc.rst b/docs/en/rst/installing/migrating-from-1.inc.rst
new file mode 100644 (file)
index 0000000..d834a86
--- /dev/null
@@ -0,0 +1,7 @@
+.. This file is included in multiple places, so can't have labels as they
+   appear as duplicates.
+   
+The procedure to migrate to Git is as follows. The idea is to switch version
+control systems without changing the version of Bugzilla you are using,
+to minimise the risk of conflict or problems. Any upgrade can then
+happen as a separate step.
similarity index 81%
rename from docs/en/rst/upgrading/migrating-from-2.inc.rst
rename to docs/en/rst/installing/migrating-from-2.inc.rst
index 351850ada7b39229a07a90dbd71ae5b919be79b1..873a9c87da9fbd57bfbb40bf1ed6166e13eb9063 100644 (file)
@@ -4,12 +4,19 @@
 Download Code from Git
 ======================
 
-Download an additional copy of your *current* version of Bugzilla from the git
-repository into a separate directory alongside your existing Bugzilla
-installation (which we will assume is in a directory called :file:`bugzilla`).
-
-You will need a copy of the git program. All Linux distributions have it;
-search your package manager for "git". On Windows or Mac OS X, you can
+First, you need to find what version of Bugzilla you are using. It should be
+in the top right corner of the front page but, if not, open the file
+:file:`Bugzilla/Constants.pm` in your Bugzilla directory and search for
+:code:`BUGZILLA_VERSION`.
+
+Then, you need to download an additional copy of your *current* version of
+Bugzilla from the git repository, and place it in a separate directory
+alongside your existing Bugzilla installation (which we will assume is in a
+directory called :file:`bugzilla`).
+
+To do this, you will need a copy of the :command:`git` program. All Linux
+distributions have it; search your package manager for "git". On Windows or
+Mac OS X, you can
 `download the official build <http://www.git-scm.com/downloads>`_.
 
 Once git is installed, run these commands to pull a copy of Bugzilla:
@@ -24,6 +31,9 @@ Replace $VERSION with the three-digit version number of your current Bugzilla,
 e.g. "4.2.2". (If the the final digit would have been a 0, omit it - so use
 "4.4" for the first release in the 4.4 series.)
 
+You will get a message about a 'detached HEAD'. Don't worry; your head is
+still firmly attached to your shoulders.
+
 Save Any Local Customizations
 =============================
 
@@ -33,8 +43,9 @@ Go into your original Bugzilla directory and run this command:
 
 If you have made customizations to your Bugzilla, and you made them by
 changing the Bugzilla code itself (rather than using the Extension system),
-then :file:`patch.diff` will have non-zero size. You will want to keep a copy
-of those changes by keeping a copy of this file. If the file has zero size,
+then :file:`patch.diff` will have significant content. You will want to keep a copy
+of those changes by keeping a copy of this file and any files referenced in it
+by "Only in" lines. If the file has zero size or only insignificant content,
 you haven't made any local customizations of this sort.
 
 Shut Down Bugzilla
diff --git a/docs/en/rst/installing/migrating-from-a-tarball.rst b/docs/en/rst/installing/migrating-from-a-tarball.rst
new file mode 100644 (file)
index 0000000..852cb8d
--- /dev/null
@@ -0,0 +1,15 @@
+.. _migrating-from-a-tarball:
+
+Migrating from a Tarball
+########################
+
+.. |diffcommand|   replace:: :command:`diff -ru -x data -x lib -x docs -x .git -x CVS -x .cvsignore -x .bzr -x .bzrignore -x .bzrrev ../bugzilla-new . > ../patch.diff`
+
+.. |extstatusinfo| replace:: Copy across any subdirectories which do not exist
+                             in your new install.
+
+The procedure to migrate to Git is as follows. The idea is to switch without
+changing the version of Bugzilla you are using, to minimise the risk of
+conflict or problems. Any upgrade can then happen as a separate step. 
+
+.. include:: migrating-from-2.inc.rst
diff --git a/docs/en/rst/installing/multiple-bugzillas.rst b/docs/en/rst/installing/multiple-bugzillas.rst
new file mode 100644 (file)
index 0000000..1e2d795
--- /dev/null
@@ -0,0 +1,41 @@
+.. _multiple-bz-dbs:
+
+One Installation, Multiple Instances
+####################################
+
+This is a somewhat specialist feature; if you don't know whether you need it,
+you don't. It is useful to admins who want to run many separate instances of
+Bugzilla from a single installed codebase.
+
+This is possible by using the ``PROJECT`` environment variable. When accessed,
+Bugzilla checks for the existence of this variable, and if present, uses
+its value to check for an alternative configuration file named
+:file:`localconfig.<PROJECT>` in the same location as
+the default one (:file:`localconfig`). It also checks for
+customized templates in a directory named
+:file:`<PROJECT>` in the same location as the
+default one (:file:`template/<langcode>`). By default
+this is :file:`template/en/default` so ``PROJECT``'s templates
+would be located at :file:`template/en/PROJECT`.
+
+To set up an alternate installation, just export ``PROJECT=foo`` before
+running :command:`checksetup.pl` for the first time. It will
+result in a file called :file:`localconfig.foo` instead of
+:file:`localconfig`. Edit this file as described above, with
+reference to a new database, and re-run :command:`checksetup.pl`
+to populate it. That's all.
+
+Now you have to configure the web server to pass this environment
+variable when accessed via an alternate URL, such as virtual host for
+instance. The following is an example of how you could do it in Apache,
+other Webservers may differ.
+
+.. code-block:: apache
+
+    <VirtualHost 12.34.56.78:80>
+        ServerName bugzilla.example.com
+        SetEnv PROJECT foo
+    </VirtualHost>
+
+Don't forget to also export this variable before accessing Bugzilla
+by other means, such as repeating tasks like those above.
index 4cf744cf8f47719ed37073597de33f32cc10a162..f79918d2ac40eeae64a23af226f26a49ce2d8ced 100644 (file)
@@ -131,47 +131,3 @@ Download and install Graphviz from
 the complete path to :file:`dot.exe` in the :param:`webdotbase` parameter,
 using forward slashes as path separators. E.g.
 :paramval:`C:/Program Files/ATT/Graphviz/bin/dot.exe`.
-
-.. _multiple-bz-dbs:
-
-Running Multiple Bugzillas from a Single Code Installation
-==========================================================
-
-.. todo:: This doesn't really live here. Where does it live?
-
-This is a somewhat specialist feature; if you don't know whether you need it,
-you don't. It is useful to admins who want to run many separate instances of
-Bugzilla from a single codebase.
-
-This is possible by using the ``PROJECT`` environment variable. When accessed,
-Bugzilla checks for the existence of this variable, and if present, uses
-its value to check for an alternative configuration file named
-:file:`localconfig.<PROJECT>` in the same location as
-the default one (:file:`localconfig`). It also checks for
-customized templates in a directory named
-:file:`<PROJECT>` in the same location as the
-default one (:file:`template/<langcode>`). By default
-this is :file:`template/en/default` so ``PROJECT``'s templates
-would be located at :file:`template/en/PROJECT`.
-
-To set up an alternate installation, just export ``PROJECT=foo`` before
-running :command:`checksetup.pl` for the first time. It will
-result in a file called :file:`localconfig.foo` instead of
-:file:`localconfig`. Edit this file as described above, with
-reference to a new database, and re-run :command:`checksetup.pl`
-to populate it. That's all.
-
-Now you have to configure the web server to pass this environment
-variable when accessed via an alternate URL, such as virtual host for
-instance. The following is an example of how you could do it in Apache,
-other Webservers may differ.
-
-.. code-block:: apache
-
-    <VirtualHost 12.34.56.78:80>
-        ServerName bugzilla.example.com
-        SetEnv PROJECT foo
-    </VirtualHost>
-
-Don't forget to also export this variable before accessing Bugzilla
-by other means, such as repeating tasks like those above.
index 5ef758f3065707923a303d23b0405b7018a739c5..220421bcef7e36db554b21b76e2574bb698a1148 100644 (file)
@@ -1,11 +1,11 @@
 .. _quick-start:
 
-Quick Start (Ubuntu 14.04 LTS)
-##############################
+Quick Start (Ubuntu Linux 14.04)
+################################
 
 This quick start guide makes installing Bugzilla as simple as possible for
 those who are able to choose their environment. It creates a system using
-Ubuntu 14.04 LTS, Apache and MySQL, and installs Bugzilla as the default
+Ubuntu Linux 14.04 LTS, Apache and MySQL, and installs Bugzilla as the default
 home page. It requires a little familiarity with Linux and the command line.
 
 Obtain Your Hardware
@@ -166,7 +166,8 @@ Test Server
 
 :command:`./testserver.pl http://localhost/`
 
-All the tests should pass.
+All the tests should pass. You will get warnings about deprecation from
+the ``Chart::Base`` Perl module; just ignore those.
 
 .. todo:: Chart::Base gives confusing deprecation warnings :-|
           https://rt.cpan.org/Public/Bug/Display.html?id=79658 , unfixed for
similarity index 78%
rename from docs/en/rst/upgrading/overview.rst
rename to docs/en/rst/installing/upgrading.rst
index c23cd071037aebfd411dfed3d1c7832f084f9f88..f43897fb309c89ec5d656fb3427699eeff65fffb 100644 (file)
@@ -1,7 +1,7 @@
-.. _upgrading-overview:
+.. _upgrading:
 
-Overview
-########
+Upgrading
+#########
 
 You can upgrade Bugzilla from any version to any later version in one go -
 there is no need to pass through intermediate versions unless you are changing
@@ -50,3 +50,21 @@ a tarball. See :ref:`upgrading-with-a-tarball`.
 
 Whichever path you use, you may need help with
 :ref:`upgrading-customizations`.
+
+.. toctree::
+   :maxdepth: 1
+
+   upgrading-with-git
+   migrating-from-bzr
+   migrating-from-cvs
+   migrating-from-a-tarball
+   upgrading-with-a-tarball
+   upgrading-customizations
+
+Bugzilla can automatically notify administrators when new releases are
+available if the :param:`upgrade_notification` parameter is set.
+Administrators will see these notifications when they access the Bugzilla home
+page. Bugzilla will check once per day for new releases. If you are behind a
+proxy, you may have to set the :param:`proxy_url` parameter accordingly. If
+the proxy requires authentication, use the
+:paramval:`http://user:pass@proxy_url/` syntax.
index 49c2a9ea604428de2970eeb1c7af5aacb89d65d8..30c0b25a2d6b07a3c4041c9f3cfc6f7f220cdeac 100644 (file)
@@ -4,13 +4,9 @@ Windows
 #######
 
 Making Bugzilla work on Windows is more difficult than making it work on Unix,
-fewer Bugzilla developers use it and so it's less well supported. However, if
-you are still determined to do it, here's how.
-
-.. note:: ``mod_perl`` doesn't work very well on Windows, so you probably
-   don't want to use Windows for a large site.
-
-.. todo:: Is this still true?
+fewer Bugzilla developers use it and so it's less well supported. We would
+particularly recommend against doing it for a large site. However, if
+you are still determined to go ahead, here's how.
 
 .. windows-install-perl:
 
similarity index 91%
rename from docs/en/rst/customizing/writing-extensions.rst
rename to docs/en/rst/integrating/extensions.rst
index 6dddcc73788c5c47febac8b2c496a9c15c186c12..2097909fc326e8643872a2e2d95b8cf163e6d23a 100644 (file)
@@ -1,11 +1,19 @@
-.. _writing-extensions:
+.. _extensions:
 
-Writing Extensions
-##################
+Extensions
+##########
 
-See the `Bugzilla Extension
+One of the best ways to customize Bugzilla is by using a Bugzilla
+Extension. Extensions can modify both the code and UI of Bugzilla in a way
+that can be distributed to other Bugzilla users and ported forward to future
+versions of Bugzilla with minimal effort. We maintain a
+`list of available extensions <https://wiki.mozilla.org/Bugzilla:Addons>`_
+written by other people on our wiki. You would need to
+make sure that the extension in question works with your version of Bugzilla.
+
+Or, you can write your own extension. See the `Bugzilla Extension
 documentation <../html/api/Bugzilla/Extension.html>`_ for the core
-documentation on how to write an Extension. It would make sense to read
+documentation on how to do that. It would make sense to read
 the section on :ref:`templates`. There is also a sample extension in
 :file:`$BUGZILLA_HOME/extensions/Example/` which gives examples of how to
 use all the code hooks.
index ad1f412c9ee3f029a8389b1158bafd930239a5a7..816ffe8e54eb6a695db4ad9a2027e007968ba1d6 100644 (file)
@@ -1,12 +1,22 @@
+.. highlight:: perl
+
 .. _integrating:
 
-=========================
-Integrating with Bugzilla
-=========================
+===================================
+Integration and Customization Guide
+===================================
+
+You may find that Bugzilla already does what you want it to do, you just
+need to configure it correctly. Read the :ref:`administering` sections
+carefully to see if that's the case for you. If not, then this chapter
+explains how to use the available mechanisms for integration and customization.
 
 .. toctree::
    :maxdepth: 2
 
+   faq
+   languages
+   skins
+   templates
+   extensions
    apis
-   tips
-   
similarity index 99%
rename from docs/en/rst/customizing/templates.rst
rename to docs/en/rst/integrating/templates.rst
index d06f6a9a68ccb0290e16ea4c1f4c47c92d8adc12..f30b4a8482d91c41adb05c45a6b6d0b6a92b26e9 100644 (file)
@@ -5,7 +5,7 @@ Templates
 
 Bugzilla uses a system of templates to define its user interface. The standard
 templates can be modified, replaced or overridden. You can also use template
-hooks in an :ref:`extension <writing-extensions>` to add or modify the
+hooks in an :ref:`extension <extensions>` to add or modify the
 behaviour of templates using a stable interface.
 
 .. _template-directory:
diff --git a/docs/en/rst/integrating/tips.rst b/docs/en/rst/integrating/tips.rst
deleted file mode 100644 (file)
index 4c0961a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-.. _tips:
-
-Integration Tips
-################
-
-.. todo:: Do we have any of these?
diff --git a/docs/en/rst/maintaining/index.rst b/docs/en/rst/maintaining/index.rst
deleted file mode 100644 (file)
index e92c8c5..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-.. _maintaining:
-
-====================
-Maintaining Bugzilla
-====================
-
-.. toctree::
-   :maxdepth: 2
-
-   upgrades
-   backups
-   sanity-check
-   merging-accounts
diff --git a/docs/en/rst/maintaining/upgrades.rst b/docs/en/rst/maintaining/upgrades.rst
deleted file mode 100644 (file)
index 99af808..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-.. _upgrades:
-
-Upgrades
-########
-
-For details on how to upgrade Bugzilla, see the :ref:`upgrading` chapter.
-
-Bugzilla can automatically notify administrators when new releases are
-available if the :param:`upgrade_notification` parameter is set.
-Administrators will see these notifications when they access the Bugzilla home
-page. Bugzilla will check once per day for new releases. If you are behind a
-proxy, you may have to set the :param:`proxy_url` parameter accordingly. If
-the proxy requires authentication, use the
-:paramval:`http://user:pass@proxy_url/` syntax.
diff --git a/docs/en/rst/upgrading/index.rst b/docs/en/rst/upgrading/index.rst
deleted file mode 100644 (file)
index 138c1d2..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-.. _upgrading:
-
-==================
-Upgrading Bugzilla
-==================
-
-.. toctree::
-   :maxdepth: 2
-
-   overview
-   upgrading-with-git
-   migrating-from-bzr
-   migrating-from-cvs
-   migrating-from-a-tarball
-   upgrading-with-a-tarball
-   upgrading-customizations
diff --git a/docs/en/rst/upgrading/migrating-from-1.inc.rst b/docs/en/rst/upgrading/migrating-from-1.inc.rst
deleted file mode 100644 (file)
index 481d1b2..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-.. This file is included in multiple places, so can't have labels as they
-   appear as duplicates.
-   
-The procedure to migrate to Git is as follows. The idea is to switch version
-control systems without changing the version of Bugzilla you are using,
-to minimise the risk of conflict or problems. Any major upgrade can then
-happen as a separate step. 
-
-Update Bugzilla To The Latest Point Release
-===========================================
-
-It is recommended that you switch to Git while using the latest
-point release for your version, so if you aren't running that, you may
-want to do a minor upgrade first.
-
-.. todo:: Is this actually necessary? It adds several extra steps. What are we
-          trying to avoid here? If we do have to do it, can we avoid them
-          having to work out the latest point release manually? And do the
-          bzr and CVS update commands take the full version number including
-          the third digit, or do they just take major and minor? We need to
-          make sure all commands operate on the same version number style,
-          and that it's clearly explained.
-
-First, you need to find what version of Bugzilla you are using. It should be
-in the top right corner of the front page but, if not, open the file
-:file:`Bugzilla/Constants.pm` in your Bugzilla directory and search for
-:code:`BUGZILLA_VERSION`.
-
-Then, you need to find out what the latest point release for that major
-version of Bugzilla is. The
-`Bugzilla download page <http://www.bugzilla.org/download/>`_
-should tell you that for supported versions. For versions out of support, here
-is a list of the final point releases:
-
-* 3.6.13
-* 3.4.14
-* 3.2.10
-* 3.0.11
-* 2.22.7
-* 2.20.7
-* 2.18.6
-* 2.16.11
-* 2.14.5
-
-If you are not currently running the latest point release, you should use the
-following update command:
-
-|updatecommand|
-
-Where you replace $VERSION by the version number of the latest point release.
-Then run checksetup to upgrade your database:
-
-:command:`./checksetup.pl`
-
-You should then test your Bugzilla carefully, or just use it for a day or two,
-to make sure it's all still working fine.
diff --git a/docs/en/rst/upgrading/migrating-from-a-tarball.rst b/docs/en/rst/upgrading/migrating-from-a-tarball.rst
deleted file mode 100644 (file)
index 9d07574..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-.. _migrating-from-a-tarball:
-
-Migrating from a Tarball
-########################
-
-.. todo:: Need to check the diff command in the tarball case using a real
-          tarball and git checkout
-
-.. |diffcommand|   replace:: :command:`diff -ru -x data -x .git ../bugzilla-new . > patch.diff`
-.. |extstatusinfo| replace:: Copy across any subdirectories which do not exist
-                             in your new install.
-
-The procedure to migrate to Git is as follows. The idea is to switch without
-changing the version of Bugzilla you are using, to minimise the risk of
-conflict or problems. Any major upgrade can then happen as a separate step. 
-
-Find Your Current Bugzilla Version
-==================================
-
-First, you need to find what version of Bugzilla you are using. It should be
-in the top right corner of the front page but, if not, open the file
-:file:`Bugzilla/Constants.pm` in your Bugzilla directory and search for
-:code:`BUGZILLA_VERSION`.
-
-.. include:: migrating-from-2.inc.rst
index 9acbd460bd7b196235221675c49b504167cf4c9f..414e30cbae2522127f10ee2acde460456ab26e2a 100644 (file)
@@ -35,6 +35,7 @@ alias.
 
 .. todo:: Need to incorporate the full reference, and link it properly from
           the GUI. https://bugzilla.mozilla.org/page.cgi?id=quicksearch.html
+          Turn this item into a bug after checkin.
 
 Simple Search
 =============
@@ -101,7 +102,8 @@ Multiple Charts
 ---------------
 
 .. todo:: This needs rewriting for the new UI.
-
+          Turn this item into a bug after checkin.
+          
 The terms within a single row of a boolean chart are all
 constraints on a single piece of data. If you are looking for
 a bug that has two different people cc'd on it, then you need
@@ -247,7 +249,8 @@ Adding and Removing Tags on Bugs
 ================================
 
 .. todo:: Looks like you can no longer do this from search results; is that right?
-
+          Turn this item into a bug after checkin.
+          
 You can add and remove tags from individual bugs, which let you find and
 manage bugs more easily. Tags are per-user and so are only visible and editable
 by the user who created them. You can then run queries using tags as a criteria,
index a8777558ddf08919f67d92a187714c531e62cf84..f336b3729ff31bbdd492335ca51575374d09e889 100644 (file)
@@ -1,8 +1,8 @@
 .. _using:
 
-==============
-Using Bugzilla
-==============
+==========
+User Guide
+==========
 
 .. toctree::
    :maxdepth: 2
index ef7ce6d4a947910eadd3c1e9a92f739b3759955e..a481492759daf280151cc6bc12eb04fe65a375a1 100644 (file)
@@ -83,7 +83,8 @@ next to the Markdown checkbox for new comments.
           Bugzilla because the docs aren't always on a Bugzilla (e.g.
           when they are on ReadTheDocs). Best solution is to port the
           Markdown guide to ReST.
-
+          Turn this item into a bug after checkin.
+          
 To use the Markdown feature, make sure that :guilabel:`Enable Markdown
 support for comments` is set to :guilabel:`on`
 in your :ref:`user-preferences` and that you also check the :guilabel:`Use