Commit e303177c authored by gerv%gerv.net's avatar gerv%gerv.net

Merging new docs from 2.16 branch.

parent 9284fe0a
...@@ -16,17 +16,17 @@ ...@@ -16,17 +16,17 @@
<!ENTITY database SYSTEM "database.sgml"> <!ENTITY database SYSTEM "database.sgml">
<!ENTITY patches SYSTEM "patches.sgml"> <!ENTITY patches SYSTEM "patches.sgml">
<!ENTITY variants SYSTEM "variants.sgml"> <!ENTITY variants SYSTEM "variants.sgml">
<!ENTITY requiredsoftware SYSTEM "requiredsoftware.sgml"> <!ENTITY introduction SYSTEM "introduction.sgml">
<!ENTITY revhistory SYSTEM "revhistory.sgml"> <!ENTITY revhistory SYSTEM "revhistory.sgml">
<!ENTITY bz "http://www.mozilla.org/projects/bugzilla"> <!ENTITY bz "http://www.bugzilla.org/">
<!ENTITY bz-ver "2.14"> <!ENTITY bz-ver "2.16">
<!ENTITY bz-cvs-ver "2.15"> <!ENTITY bz-cvs-ver "2.17">
<!ENTITY bzg-date "August 10, 2001"> <!ENTITY bzg-date "April 2nd, 2002">
<!ENTITY bzg-ver "2.14"> <!ENTITY bzg-ver "2.16">
<!ENTITY bzg-cvs-ver "2.15.0"> <!ENTITY bzg-cvs-ver "2.17.0">
<!ENTITY bzg-auth "Matthew P. Barnson"> <!ENTITY bzg-auth "The Bugzilla Team">
<!ENTITY bzg-auth-email "<email>barnboy@trilobyte.net</email>"> <!ENTITY bzg-bugs "<ulink url='http://bugzilla.mozilla.org/enter_bug.cgi?product=Bugzilla&amp;component=Documentation'>Bugzilla</ulink>">
<!ENTITY mysql "http://www.mysql.com/"> <!ENTITY mysql "http://www.mysql.com/">
<!ENTITY perl-ver "5.6.1"> <!ENTITY perl-ver "5.6.1">
...@@ -59,112 +59,37 @@ try to avoid clutter and feel free to waste space in the code to make it more re ...@@ -59,112 +59,37 @@ try to avoid clutter and feel free to waste space in the code to make it more re
<bookinfo> <bookinfo>
<title>The Bugzilla Guide</title> <title>The Bugzilla Guide</title>
<pubdate>2001-04-25</pubdate>
<revhistory>
<revision>
<revnumber>v2.11</revnumber>
<date>20 December 2000</date>
<authorinitials>MPB</authorinitials>
<revremark>
Converted the README, FAQ, and DATABASE information into
SGML docbook format.
</revremark>
</revision>
<revision>
<revnumber>2.11.1</revnumber>
<date>06 March 2001</date>
<authorinitials>MPB</authorinitials>
<revremark>
Took way too long to revise this for 2.12 release. Updated
FAQ to use qandaset tags instead of literallayout, cleaned
up administration section, added User Guide section,
miscellaneous FAQ updates and third-party integration
information. From this point on all new tags are lowercase
in preparation for the 2.13 release of the Guide in XML
format instead of SGML.
</revremark>
</revision>
<revision>
<revnumber>2.12.0</revnumber>
<date>24 April 2001</date>
<authorinitials>MPB</authorinitials>
<revremark>
Things fixed this release: Elaborated on queryhelp
interface, added FAQ regarding moving bugs from one keyword
to another, clarified possible problems with the Landfill
tutorial, fixed a boatload of typos and unclear sentence
structures. Incorporated the README into the UNIX
installation section, and changed the README to indicate the
deprecated status. Things I know need work: Used
"simplelist" a lot, where I should have used "procedure" to
tag things. Need to lowercase all tags to be XML compliant.
</revremark>
</revision>
<revision>
<revnumber>2.14.0</revnumber>
<date>07 August 2001</date>
<authorinitials>MPB</authorinitials>
<revremark>
Attempted to integrate relevant portions of the UNIX and
Windows installation instructions, moved some data from FAQ
to Install, removed references to README from text, added
Mac OS X install instructions, fixed a bunch
of tpyos (Mark Harig), linked text that referenced other
parts of the Guide, and nuked the old MySQL permissions
section.
</revremark>
</revision>
</revhistory>
<authorgroup> <authorgroup>
<author> <author>
<firstname>Matthew</firstname> <firstname>Matthew</firstname>
<othername>P.</othername> <othername>P.</othername>
<surname>Barnson</surname> <surname>Barnson</surname>
<affiliation>
<address><email>barnboy@trilobyte.net</email></address>
</affiliation>
</author> </author>
<author>
<collab> <firstname>The</firstname>
<collabname>Zach Lipton</collabname> <othername>Bugzilla</othername>
<affiliation> <surname>Team</surname>
<address><email>zach AT zachlipton DOT com</email></address> </author>
</affiliation>
</collab>
</authorgroup> </authorgroup>
<abstract> <abstract>
<para> <para>
This is the documentation for Bugzilla, the Mozilla This is the documentation for Bugzilla, the mozilla.org
bug-tracking system. bug-tracking system.
</para> Bugzilla is an enterprise-class piece of software
<para> that powers issue-tracking for hundreds of
Bugzilla is an enterprise-class set of software utilities
that, when used together, power issue-tracking for hundreds of
organizations around the world, tracking millions of bugs. organizations around the world, tracking millions of bugs.
While it is easy to use and quite flexible, it is
difficult for a novice to install and maintain. Although we
have provided step-by-step directions, Bugzilla is not always
easy to get working. Please be sure the person responsible
for installing and maintaining this software is a qualified
professional for the operating system upon which you install
Bugzilla.
</para> </para>
<para> <para>
THIS DOCUMENTATION IS MAINTAINED IN DOCBOOK 4.1.2 XML FORMAT. This documentation is maintained in DocBook 4.1.2 XML format.
IF YOU WISH TO MAKE CORRECTIONS, PLEASE MAKE THEM IN PLAIN Changes are best submitted as plain text or SGML diffs, attached
TEXT OR SGML DIFFS AGAINST THE SOURCE. I CANNOT ACCEPT to a bug filed in
ADDITIONS TO THE GUIDE WRITTEN IN HTML! <ulink url="http://bugzilla.mozilla.org/enter_bug.cgi?product=Bugzilla&amp;component=Documentation">mozilla.org's Bugzilla</ulink>.
</para> </para>
</abstract> </abstract>
<keywordset> <keywordset>
<keyword>Bugzilla</keyword> <keyword>Bugzilla</keyword>
<keyword>Guide</keyword> <keyword>Guide</keyword>
...@@ -181,6 +106,9 @@ try to avoid clutter and feel free to waste space in the code to make it more re ...@@ -181,6 +106,9 @@ try to avoid clutter and feel free to waste space in the code to make it more re
<!-- About This Guide --> <!-- About This Guide -->
&about; &about;
<!-- Introduction -->
&introduction;
<!-- Using Bugzilla --> <!-- Using Bugzilla -->
&using; &using;
...@@ -190,29 +118,17 @@ try to avoid clutter and feel free to waste space in the code to make it more re ...@@ -190,29 +118,17 @@ try to avoid clutter and feel free to waste space in the code to make it more re
<!-- Administering Bugzilla --> <!-- Administering Bugzilla -->
&administration; &administration;
<!-- Integrating Bugzilla with Third-Party Tools -->
&integration;
<!-- The Future of Bugzilla -->
&future;
<!-- Major Bugzilla Variants -->
&variants;
<!-- Appendix: The Frequently Asked Questions --> <!-- Appendix: The Frequently Asked Questions -->
&faq; &faq;
<!-- Appendix: Required Bugzilla Software Links -->
&requiredsoftware;
<!-- Appendix: The Database Schema --> <!-- Appendix: The Database Schema -->
&database; &database;
<!-- Appendix: Custom Patches --> <!-- Appendix: Custom Patches -->
&patches; &patches;
<!-- Appendix: The GNU Free Documentation License --> <!-- Appendix: Major Bugzilla Variants -->
&gfdl; &variants;
<!-- Glossary --> <!-- Glossary -->
&glossary; &glossary;
......
...@@ -4,67 +4,17 @@ ...@@ -4,67 +4,17 @@
<chapter id="about"> <chapter id="about">
<title>About This Guide</title> <title>About This Guide</title>
<section id="aboutthisguide">
<title>Purpose and Scope of this Guide</title>
<para>
This document was started on September 17, 2000 by Matthew P.
Barnson after a great deal of procrastination updating the
Bugzilla FAQ, which I left untouched for nearly half a year.
After numerous complete rewrites and reformatting, it is the
document you see today.
</para>
<para>
Bugzilla is simply the best piece of bug-tracking software the
world has ever seen. This document is intended to be the
comprehensive guide to the installation, administration,
maintenance, and use of the Bugzilla bug-tracking system.
</para>
<para>
This release of the Bugzilla Guide is the
<emphasis>&bzg-ver;</emphasis> release. It is so named that it
may match the current version of Bugzilla. The numbering
tradition stems from that used for many free software projects,
in which <emphasis>even-numbered</emphasis> point releases (1.2,
1.14, etc.) are considered "stable releases", intended for
public consumption; on the other hand,
<emphasis>odd-numbered</emphasis> point releases (1.3, 2.09,
etc.) are considered unstable <emphasis>development</emphasis>
releases intended for advanced users, systems administrators,
developers, and those who enjoy a lot of pain.
</para>
<para>
Newer revisions of the Bugzilla Guide follow the numbering
conventions of the main-tree Bugzilla releases, available at
<ulink url="&bz;">&bz;</ulink>. Intermediate releases will have
a minor revision number following a period. The current version
of Bugzilla, as of this writing (&bzg-date;) is &bz-ver;; if
something were seriously wrong with that edition of the Guide,
subsequent releases would receive an additional dotted-decimal
digit to indicate the update (&bzg-ver;.1, &bzg-ver;.2, etc.).
Got it? Good.
</para>
<para>
I wrote this in response to the enormous demand for decent
Bugzilla documentation. I have incorporated instructions from
the Bugzilla README, Frequently Asked Questions, Database Schema
Document, and various mailing lists to create it. Chances are,
there are glaring errors in this documentation; please contact
&bzg-auth-email; to correct them.
</para>
</section>
<section id="copyright"> <section id="copyright">
<title>Copyright Information</title> <title>Copyright Information</title>
<blockquote> <blockquote>
<attribution>Copyright (c) 2000-2001 &bzg-auth;</attribution> <attribution>Copyright (c) 2000-2002 Matthew P. Barnson and &bzg-auth;</attribution>
<para> <para>
Permission is granted to copy, distribute and/or modify this Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation document under the terms of the GNU Free Documentation
License, Version 1.1 or any later version published by the License, Version 1.1 or any later version published by the
Free Software Foundation; with no Invariant Sections, no Free Software Foundation; with no Invariant Sections, no
Front-Cover Texts, and with no Back-Cover Texts. A copy of Front-Cover Texts, and with no Back-Cover Texts. A copy of
the license is included in the section entitled "GNU Free the license is included below.
Documentation LIcense".
</para> </para>
</blockquote> </blockquote>
<para> <para>
...@@ -72,6 +22,11 @@ ...@@ -72,6 +22,11 @@
copyright, or publishing this document in non-electronic form, copyright, or publishing this document in non-electronic form,
please contact &bzg-auth;. please contact &bzg-auth;.
</para> </para>
<!-- The GNU Free Documentation License -->
&gfdl;
</section> </section>
<section id="disclaimer"> <section id="disclaimer">
...@@ -79,11 +34,10 @@ ...@@ -79,11 +34,10 @@
<para> <para>
No liability for the contents of this document can be accepted. No liability for the contents of this document can be accepted.
Use the concepts, examples, and other content at your own risk. Use the concepts, examples, and other content at your own risk.
As this is a new edition of this document, there may be errors This document may contain errors
and inaccuracies that may damage your system. Use of this and inaccuracies that may damage your system, cause your partner
document may cause your girlfriend to leave you, your cats to to leave you, your boss to fire you, your cats to
pee on your furniture and clothing, your computer to cease pee on your furniture and clothing, and global thermonuclear
functioning, your boss to fire you, and global thermonuclear
war. Proceed with caution. war. Proceed with caution.
</para> </para>
<para> <para>
...@@ -94,7 +48,7 @@ ...@@ -94,7 +48,7 @@
</para> </para>
<para> <para>
Naming of particular products or brands should not be seen as Naming of particular products or brands should not be seen as
endorsements, with the exception of the term "GNU/Linux". I endorsements, with the exception of the term "GNU/Linux". We
wholeheartedly endorse the use of GNU/Linux in every situation wholeheartedly endorse the use of GNU/Linux in every situation
where it is appropriate. It is an extremely versatile, stable, where it is appropriate. It is an extremely versatile, stable,
and robust operating system that offers an ideal operating and robust operating system that offers an ideal operating
...@@ -103,8 +57,7 @@ ...@@ -103,8 +57,7 @@
<para> <para>
You are strongly recommended to make a backup of your system You are strongly recommended to make a backup of your system
before installing Bugzilla and at regular intervals thereafter. before installing Bugzilla and at regular intervals thereafter.
Heaven knows it's saved my bacon time after time; if you If you implement any suggestion in this Guide, implement this one!
implement any suggestion in this Guide, implement this one!
</para> </para>
<para> <para>
Although the Bugzilla development team has taken great care to Although the Bugzilla development team has taken great care to
...@@ -116,7 +69,7 @@ ...@@ -116,7 +69,7 @@
team members, Netscape Communications, America Online Inc., and team members, Netscape Communications, America Online Inc., and
any affiliated developers or sponsors assume no liability for any affiliated developers or sponsors assume no liability for
your use of this product. You have the source code to this your use of this product. You have the source code to this
product, and are responsible for auditing it yourself to insure product, and are responsible for auditing it yourself to ensure
your security needs are met. your security needs are met.
</para> </para>
</section> </section>
...@@ -126,7 +79,8 @@ ...@@ -126,7 +79,8 @@
<section id="newversions"> <section id="newversions">
<title>New Versions</title> <title>New Versions</title>
<para> <para>
This is the &bzg-ver; version of The Bugzilla Guide. If you are This is the &bzg-ver; version of The Bugzilla Guide. It is so named
to match the current version of Bugzilla. If you are
reading this from any source other than those below, please reading this from any source other than those below, please
check one of these mirrors to make sure you are reading an check one of these mirrors to make sure you are reading an
up-to-date version of the Guide. up-to-date version of the Guide.
...@@ -138,12 +92,7 @@ ...@@ -138,12 +92,7 @@
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
<ulink url="http://www.trilobyte.net/barnsons/">TriloBYTE</ulink> <ulink url="http://www.bugzilla.org/">bugzilla.org</ulink>
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.mozilla.org/projects/bugzilla/">Mozilla.org</ulink>
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
...@@ -155,9 +104,16 @@ ...@@ -155,9 +104,16 @@
</itemizedlist> </itemizedlist>
</para> </para>
<para> <para>
The latest version of this document can be checked out via CVS. The latest version of this document can always be checked out via CVS.
Please follow the instructions available at <ulink Please follow the instructions available at
url="http://www.mozilla.org/cvs.html">the Mozilla CVS page</ulink>, and check out the mozilla/webtools/bugzilla/docs/ branch. <ulink url="http://www.mozilla.org/cvs.html">the Mozilla CVS page</ulink>,
and check out the <filename>mozilla/webtools/bugzilla/docs/</filename>
subtree.
</para>
<para>
The Bugzilla Guide is currently only available in English.
If you would like to volunteer to translate it, please contact
<ulink url="mailto:justdave@syndicomm.com">Dave Miller</ulink>.
</para> </para>
</section> </section>
...@@ -165,23 +121,28 @@ ...@@ -165,23 +121,28 @@
<title>Credits</title> <title>Credits</title>
<para> <para>
The people listed below have made enormous contributions to the The people listed below have made enormous contributions to the
creation of this Guide, through their dedicated hacking efforts, creation of this Guide, through their writing, dedicated hacking efforts,
numerous e-mail and IRC support sessions, and overall excellent numerous e-mail and IRC support sessions, and overall excellent
contribution to the Bugzilla community: contribution to the Bugzilla community:
</para> </para>
<para> <para>
<ulink url="mailto://mbarnson@sisna.com">Matthew P. Barnson</ulink>
for the Herculaean task of pulling together the Bugzilla Guide and
shepherding it to 2.14.
</para>
<para>
<ulink url="mailto://terry@mozilla.org">Terry Weissman</ulink> <ulink url="mailto://terry@mozilla.org">Terry Weissman</ulink>
for initially writing Bugzilla and creating the for initially writing Bugzilla and creating the
README upon which the UNIX installation documentation is largely based. README upon which the UNIX installation documentation is largely based.
</para> </para>
<para> <para>
<ulink url="mailto://tara@tequilarista.org">Tara <ulink url="mailto://tara@tequilarista.org">Tara Hernandez</ulink>
Hernandez</ulink> for keeping Bugzilla development going for keeping Bugzilla development going
strong after Terry left Mozilla.org strong after Terry left mozilla.org
</para> </para>
<para> <para>
<ulink url="mailto://dkl@redhat.com">Dave Lawrence</ulink> for <ulink url="mailto://dkl@redhat.com">Dave Lawrence</ulink>
providing insight into the key differences between Red Hat's for providing insight into the key differences between Red Hat's
customized Bugzilla, and being largely responsible for the "Red customized Bugzilla, and being largely responsible for the "Red
Hat Bugzilla" appendix Hat Bugzilla" appendix
</para> </para>
...@@ -191,42 +152,16 @@ ...@@ -191,42 +152,16 @@
questions and arguments on irc.mozilla.org in #mozwebtools questions and arguments on irc.mozilla.org in #mozwebtools
</para> </para>
<para> <para>
Last but not least, all the members of the <ulink Last but not least, all the members of the
url="news://news.mozilla.org/netscape/public/mozilla/webtools"> netscape.public.mozilla.webtools</ulink> newsgroup. Without your discussions, insight, suggestions, and patches, this could never have happened. <ulink url="news://news.mozilla.org/netscape/public/mozilla/webtools"> netscape.public.mozilla.webtools</ulink> newsgroup. Without your discussions, insight, suggestions, and patches, this could never have happened.
</para> </para>
</section>
<section id="contributors">
<title>Contributors</title>
<para> <para>
Thanks go to these people for significant contributions to this Thanks also go to the following people for significant contributions
documentation (in no particular order): to this documentation (in no particular order):
</para> </para>
<para> <para>
Andrew Pearson, Spencer Smith, Eric Hanson, Kevin Brannen, Ron Zach Liption, Andrew Pearson, Spencer Smith, Eric Hanson, Kevin Brannen,
Teitelbaum, Jacob Steenhagen, Joe Robins Ron Teitelbaum, Jacob Steenhagen, Joe Robins, Gervase Markham.
</para>
</section>
<section id="feedback">
<title>Feedback</title>
<para>
I welcome feedback on this document. Without your submissions
and input, this Guide cannot continue to exist. Please mail
additions, comments, criticisms, etc. to
<email>barnboy@trilobyte.net</email>. Please send flames to
<email>devnull@localhost</email>
</para>
</section>
<section id="translations">
<title>Translations</title>
<para>
The Bugzilla Guide needs translators! Please volunteer your
translation into the language of your choice. If you will
translate this Guide, please notify the members of the
mozilla-webtools mailing list at
<email>mozilla-webtools@mozilla.org</email>, and arrange with
Matt Barnson to check it into CVS.
</para> </para>
</section> </section>
......
<!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> --> <!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> -->
<chapter id="administration"> <chapter id="administration">
<title>Administering Bugzilla</title> <title>Administering Bugzilla</title>
<subtitle>
Or, I just got this cool thing installed. Now what the heck do I
do with it?
</subtitle>
<para> <section id="parameters">
So you followed <quote><xref linkend="installation" /></quote> to the <title>Bugzilla Configuration</title>
letter, and logged into Bugzilla for the very first time with your
super-duper god account. You sit, contentedly staring at the <para>Bugzilla is configured by changing various parameters, accessed
Bugzilla Query Screen, the worst of the whole mad business of from the "Edit parameters" link in the page footer. Here are
installing this terrific program behind you. It seems, though, you some of the key parameters on that page. You should run down this
have nothing yet to query! Your first act of business should be to list and set them appropriately after installing Bugzilla.</para>
setup the operating parameters for Bugzilla so you can get busy
getting data into your bug tracker.
</para>
<section id="postinstall-check">
<title>Post-Installation Checklist</title>
<para>
After installation, follow the checklist below to help ensure
that you have a successful installation. If you do not see a
recommended setting for a parameter, consider leaving it at the
default while you perform your initial tests on your Bugzilla
setup.
</para>
<indexterm> <indexterm>
<primary>checklist</primary> <primary>checklist</primary>
</indexterm> </indexterm>
<procedure> <procedure>
<step> <step>
<para> <para>
Bring up <filename>editparams.cgi</filename> in your web <command>maintainer</command>:
browser. This should be available as the <quote>edit The maintainer parameter is the email address of the person
parameters</quote> link from any Bugzilla screen once you responsible for maintaining this
have logged in. Bugzilla installation. The address need not be that of a valid Bugzilla
</para> account.</para>
</step> </step>
<step> <step>
<para>The <quote>maintainer</quote> is the email address of
the person responsible for maintaining this Bugzilla
installation. The maintainer need not be a valid Bugzilla
user. Error pages, error emails, and administrative mail
will be sent with the maintainer as the return email
address.</para>
<para> <para>
Set <quote>maintainer</quote> to <emphasis>your</emphasis> email address. <command>urlbase</command>:
This allows Bugzilla's error messages to display your email This parameter defines the fully qualified domain name and web
address and allow people to contact you for help. server path to your Bugzilla installation.</para>
</para>
<para>For example, if your Bugzilla query page is
<filename>http://www.foo.com/bugzilla/query.cgi</filename>,
set your <quote>urlbase</quote>
to <filename>http://www.foo.com/bugzilla/</filename>.</para>
</step> </step>
<step> <step>
<para>The <quote>urlbase</quote> parameter defines the fully
qualified domain name and web server path to your Bugzilla
installation.</para>
<para> <para>
For example, if your bugzilla query page is <command>usebuggroups</command>:
http://www.foo.com/bugzilla/query.cgi, set your This dictates whether or not to implement group-based security for
<quote>urlbase</quote> is http://www.foo.com/bugzilla/. Bugzilla. If set, Bugzilla bugs can have an associated 'group',
</para> defining which users are allowed to see and edit the
</step>
<step>
<para><quote>usebuggroups</quote> dictates whether or not to
implement group-based security for Bugzilla. If set,
Bugzilla bugs can have an associated groupmask defining
which groups of users are allowed to see and edit the
bug.</para> bug.</para>
<para>
Set "usebuggroups" to "on" <emphasis>only</emphasis> if you <para>Set "usebuggroups" to "on"
may wish to restrict access to products. I suggest leaving <emphasis>only</emphasis>
this parameter <emphasis>off</emphasis> while initially if you may wish to restrict access to particular bugs to certain
testing your Bugzilla. groups of users. I suggest leaving
</para> this parameter <emphasis>off</emphasis>
while initially testing your Bugzilla.</para>
</step> </step>
<step> <step>
<para> <para>
<quote>usebuggroupsentry</quote>, when set to <command>usebuggroupsentry</command>:
<quote>on</quote>, requires that all bugs have an associated Bugzilla Products can have a group associated with them, so that
groupmask when submitted. This parameter is made for those certain users can only see bugs in certain products. When this parameter
installations where product isolation is a necessity. is set to <quote>on</quote>, this places all newly-created bugs in the
</para> group for their product immediately.</para>
<para>
Set "usebuggroupsentry" to "on" if you absolutely need to
restrict access to bugs from the moment they are submitted
through resolution. Once again, if you are simply testing
your installation, I suggest against turning this parameter
on; the strict security checking may stop you from being
able to modify your new entries.
</para>
</step> </step>
<step> <step>
<para> <para>
<command>shadowdb</command>:
You run into an interesting problem when Bugzilla reaches a You run into an interesting problem when Bugzilla reaches a
high level of continuous activity. MySQL supports only high level of continuous activity. MySQL supports only table-level
table-level write locking. What this means is that if write locking. What this means is that if someone needs to make a
someone needs to make a change to a bug, they will lock the change to a bug, they will lock the entire table until the operation
entire table until the operation is complete. Locking for is complete. Locking for write also blocks reads until the write is
write also blocks reads until the write is complete. The complete. The
<quote>shadowdb</quote> parameter was designed to get around <quote>shadowdb</quote>
this limitation. While only a single user is allowed to parameter was designed to get around this limitation. While only a
write to a table at a time, reads can continue unimpeded on single user is allowed to write to a table at a time, reads can
a read-only shadow copy of the database. Although your continue unimpeded on a read-only shadow copy of the database.
database size will double, a shadow database can cause an Although your database size will double, a shadow database can cause
enormous performance improvement when implemented on an enormous performance improvement when implemented on extremely
extremely high-traffic Bugzilla databases. high-traffic Bugzilla databases.</para>
</para>
<para> <para>
Set "shadowdb" to "bug_shadowdb" if you will be running a As a guide, mozilla.org began needing
*very* large installation of Bugzilla. The shadow database <quote>shadowdb</quote>
enables many simultaneous users to read and write to the when they reached around 40,000 Bugzilla users with several hundred
database without interfering with one another. Bugzilla bug changes and comments per day.</para>
<para>The value of the parameter defines the name of the
shadow bug database.
Set "shadowdb" to e.g. "bug_shadowdb" if you will be running a
*very* large installation of Bugzilla.
<note> <note>
<para> <para>Enabling "shadowdb" can adversely affect the stability of
Enabling "shadowdb" can adversely affect the stability your installation of Bugzilla. You should regularly check that your
of your installation of Bugzilla. You should regularly database is in sync. It is often advisable to force a shadow
check that your database is in sync. It is often database sync nightly via
advisable to force a shadow database sync nightly via
<quote>cron</quote>. <quote>cron</quote>.
</para> </para>
</note> Once again, in testing you should avoid this option </note>
-- use it if or when you <emphasis>need</emphasis> to use
it, and have repeatedly run into the problem it was designed
to solve -- very long wait times while attempting to commit
a change to the database. Mozilla.org began needing
<quote>shadowdb</quote> when they reached around 40,000
Bugzilla users with several hundred Bugzilla bug changes and
comments per day.
</para> </para>
<para>If you use the "shadowdb" option, it is only natural that you
should turn the "queryagainstshadowdb" option on as well. Otherwise
you are replicating data into a shadow database for no reason!</para>
</step>
<step>
<para> <para>
If you use the "shadowdb" option, it is only natural that <command>shutdownhtml</command>:
you should turn the "queryagainstshadowdb" option "On" as
well. Otherwise you are replicating data into a shadow If you need to shut down Bugzilla to perform administration, enter
database for no reason! some descriptive HTML here and anyone who tries to use Bugzilla will
receive a page to that effect. Obviously, editparams.cgi will
still be accessible so you can remove the HTML and re-enable Bugzilla.
:-)
</para> </para>
</step> </step>
<step> <step>
<para><quote>headerhtml</quote>, <quote>footerhtml</quote>,
<quote>errorhtml</quote>, <quote>bannerhtml</quote>, and
<quote>blurbhtml</quote> are all templates which control
display of headers, footers, errors, banners, and additional
data. We could go into some detail regarding the usage of
these, but it is really best just to monkey around with them
a bit to see what they do. I strongly recommend you copy
your <filename>data/params</filename> file somewhere safe
before playing with these values, though. If they are
changed dramatically, it may make it impossible for you to
display Bugzilla pages to fix the problem until you have
restored your <filename>data/params</filename> file.</para>
<para> <para>
If you have custom logos or HTML you must put in place to <command>passwordmail</command>:
fit within your site design guidelines, place the code in
the "headerhtml", "footerhtml", "errorhtml", "bannerhtml", Every time a user creates an account, the text of
or "blurbhtml" text boxes. this parameter (with substitutions) is sent to the new user along with
<note> their password message.</para>
<para>
The "headerhtml" text box is the HTML printed out <para>Add any text you wish to the "passwordmail" parameter box. For
<emphasis>before</emphasis> any other code on the page, instance, many people choose to use this box to give a quick training
except the CONTENT-TYPE header sent by the Bugzilla blurb about how to use Bugzilla at your site.</para>
engine. If you have a special banner, put the code for
it in "bannerhtml". You may want to leave these settings
at the defaults initially.
</para>
</note>
</para>
</step> </step>
<step> <step>
<para><quote>passwordmail</quote> is rather simple. Every
time a user creates an account, the text of this parameter
is read as the text to send to the new user along with their
password message.</para>
<para> <para>
Add any text you wish to the "passwordmail" parameter box. <command>useqacontact</command>:
For instance, many people choose to use this box to give a
quick training blurb about how to use Bugzilla at your site. This allows you to define an email address for each component, in
</para> addition
to that of the default owner, who will be sent carbon copies of
incoming bugs.</para>
</step> </step>
<step> <step>
<para><quote>useqacontact</quote> allows you to define an
email address for each component, in addition to that of the
default owner, who will be sent carbon copies of incoming
bugs. The critical difference between a QA Contact and an
Owner is that the QA Contact follows the component. If you
reassign a bug from component A to component B, the QA
Contact for that bug will change with the reassignment,
regardless of owner.</para>
<para><quote>usestatuswhiteboard</quote> defines whether you
wish to have a free-form, overwritable field associated with
each bug. The advantage of the Status Whiteboard is that it
can be deleted or modified with ease, and provides an
easily-searchable field for indexing some bugs that have
some trait in common. Many people will put <quote>help
wanted</quote>, <quote>stalled</quote>, or <quote>waiting
on reply from somebody</quote> messages into the Status
Whiteboard field so those who peruse the bugs are aware of
their status even more than that which can be indicated by
the Resolution fields.</para>
<para> <para>
Do you want to use the QA Contact ("useqacontact") and <command>usestatuswhiteboard</command>:
status whiteboard ("usestatuswhiteboard") fields? These This defines whether you wish to have a free-form, overwritable field
fields are useful because they allow for more flexibility, associated with each bug. The advantage of the Status Whiteboard is
particularly when you have an existing Quality Assurance that it can be deleted or modified with ease, and provides an
and/or Release Engineering team, but they may not be needed easily-searchable field for indexing some bugs that have some trait
for many smaller installations. in common.
</para> </para>
</step> </step>
<step> <step>
<para> <para>
Set "whinedays" to the amount of days you want to let bugs <command>whinedays</command>:
go in the "New" or "Reopened" state before notifying people Set this to the number of days you want to let bugs go
they have untouched new bugs. If you do not plan to use in the NEW or REOPENED state before notifying people they have
this feature, simply do not set up the whining cron job untouched new bugs. If you do not plan to use this feature, simply do
described in the installation instructions, or set this not set up the whining cron job described in the installation
value to "0" (never whine). instructions, or set this value to "0" (never whine).</para>
</para>
</step> </step>
<step> <step>
<para><quote>commenton</quote> fields allow you to dictate
what changes can pass without comment, and which must have a
comment from the person who changed them. Often,
administrators will allow users to add themselves to the CC
list, accept bugs, or change the Status Whiteboard without
adding a comment as to their reasons for the change, yet
require that most other changes come with an
explanation.</para>
<para> <para>
Set the "commenton" options according to your site policy. <command>commenton*</command>:
It is a wise idea to require comments when users resolve, All these
reassign, or reopen bugs at the very least. fields allow you to dictate what changes can pass without comment,
and which must have a comment from the person who changed them.
Often, administrators will allow users to add themselves to the CC
list, accept bugs, or change the Status Whiteboard without adding a
comment as to their reasons for the change, yet require that most
other changes come with an explanation.</para>
<para>Set the "commenton" options according to your site policy. It
is a wise idea to require comments when users resolve, reassign, or
reopen bugs at the very least.
<note> <note>
<para> <para>It is generally far better to require a developer comment
It is generally far better to require a developer when resolving bugs than not. Few things are more annoying to bug
comment when resolving bugs than not. Few things are database users than having a developer mark a bug "fixed" without
more annoying to bug database users than having a any comment as to what the fix was (or even that it was truly
developer mark a bug "fixed" without any comment as to fixed!)</para>
what the fix was (or even that it was truly fixed!)
</para>
</note> </note>
</para> </para>
</step> </step>
<step> <step>
<para>The <quote>supportwatchers</quote> option can be an
exceptionally powerful tool in the hands of a power Bugzilla
user. By enabling this option, you allow users to receive
email updates whenever other users receive email updates.
This is, of course, subject to the groupset restrictions on
the bug; if the <quote>watcher</quote> would not normally be
allowed to view a bug, the watcher cannot get around the
system by setting herself up to watch the bugs of someone
with bugs outside her priveleges. She would still only
receive email updates for those bugs she could normally
view.</para>
<para>For Bugzilla sites which require strong inter-Product
security to prevent snooping, watchers are not a good
idea.</para>
<para> <para>
However, for most sites you should set <command>supportwatchers</command>:
<quote>supportwatchers</quote> to "On". This feature is
helpful for team leads to monitor progress in their Turning on this option allows users to ask to receive copies of
respective areas, and can offer many other benefits, such as all a particular other user's bug email. This is, of
allowing a developer to pick up a former engineer's bugs course, subject to the groupset restrictions on the bug; if the
without requiring her to change all the information in the <quote>watcher</quote>
bug. would not normally be allowed to view a bug, the watcher cannot get
</para> around the system by setting herself up to watch the bugs of someone
with bugs outside her privileges. They would still only receive email
updates for those bugs she could normally view.</para>
</step> </step>
</procedure> </procedure>
</section> </section>
<section id="useradmin"> <section id="useradmin">
<title>User Administration</title> <title>User Administration</title>
<para>
User administration is one of the easiest parts of Bugzilla.
Keeping it from getting out of hand, however, can become a
challenge.
</para>
<section id="defaultuser"> <section id="defaultuser">
<title>Creating the Default User</title> <title>Creating the Default User</title>
<para> <para>When you first run checksetup.pl after installing Bugzilla, it
When you first run checksetup.pl after installing Bugzilla, it will prompt you for the administrative username (email address) and
will prompt you for the administrative username (email password for this "super user". If for some reason you delete
address) and password for this "super user". If for some the "super user" account, re-running checksetup.pl will again prompt
reason you were to delete the "super user" account, re-running you for this username and password.</para>
checksetup.pl will again prompt you for this username and
password.
</para>
<tip> <tip>
<para> <para>If you wish to add more administrative users, you must use the
If you wish to add more administrative users, you must use the MySQL interface. Run "mysql" from the command line, and use these
MySQL interface. Run "mysql" from the command line, and use commands:
these commands ("mysql>" denotes the mysql prompt, not <simplelist>
something you should type in): <member>
<command><prompt>mysql></prompt> use bugs;</command> <prompt>mysql&gt;</prompt>
<command><prompt>mysql></prompt> update profiles set <command>use bugs;</command>
groupset=0x7ffffffffffffff where login_name = "(user's </member>
login name)"; </command>
<member>
<prompt>mysql&gt;</prompt>
<command>
update profiles set groupset=0x7ffffffffffffff where login_name =
"(user's login name)";
</command>
</member>
</simplelist>
</para> </para>
<para>Yes, that is <emphasis>fourteen</emphasis>
<quote>f</quote>'s. A whole lot of f-ing going on if you <para>Yes, that is
want to create a new administator.</para> <emphasis>fourteen</emphasis>
<quote>f</quote>
's. A whole lot of f-ing going on if you want to create a new
administator.</para>
</tip> </tip>
</section> </section>
<section id="manageusers"> <section id="manageusers">
<title>Managing Other Users</title> <title>Managing Other Users</title>
<section id="login">
<title>Logging In</title>
<orderedlist>
<listitem>
<para>
Open the index.html page for your Bugzilla installation
in your browser window.
</para>
</listitem>
<listitem>
<para>
Click the "Query Existing Bug Reports" link.
</para>
</listitem>
<listitem>
<para>
Click the "Log In" link at the foot of the page.
</para>
</listitem>
<listitem>
<para>
Type your email address, and the password which was
emailed to you when you created your Bugzilla account,
into the spaces provided.
</para>
</listitem>
</orderedlist>
<para>Congratulations, you are logged in!</para>
</section>
<section id="createnewusers"> <section id="createnewusers">
<title>Creating new users</title> <title>Creating new users</title>
<para>
Your users can create their own user accounts by clicking <para>Your users can create their own user accounts by clicking the
the "New Account" link at the bottom of each page. However, "New Account" link at the bottom of each page (assuming they
should you desire to create user accounts ahead of time, aren't logged in as someone else already.) However, should you
here is how you do it. desire to create user accounts ahead of time, here is how you do
</para> it.</para>
<orderedlist> <orderedlist>
<listitem> <listitem>
<para> <para>After logging in, click the "Users" link at the footer of
After logging in, click the "Users" link at the footer the query page, and then click "Add a new user".</para>
of the query page.
</para>
</listitem>
<listitem>
<para>
To see a specific user, type a portion of their login
name in the box provided and click "submit". To see all
users, simply click the "submit" button. You must click
"submit" here to be able to add a new user.
</para>
<tip>
<para>
More functionality is available via the list on the
right-hand side of the text entry box. You can match
what you type as a case-insensitive substring (the
default) of all users on your system, a case-sensitive
regular expression (please see the <command>man
regexp</command> manual page for details on regular
expression syntax), or a <emphasis>reverse</emphasis>
regular expression match, where every user name which
does NOT match the regular expression is selected.
</para>
</tip>
</listitem>
<listitem>
<para>
Click the "Add New User" link at the bottom of the user
list
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>Fill out the form presented. This page is self-explanatory.
Fill out the form presented. This page is When done, click "Submit".</para>
self-explanatory. When done, click "submit".
</para>
<note> <note>
<para> <para>Adding a user this way will
Adding a user this way will <emphasis>not</emphasis> <emphasis>not</emphasis>
send an email informing them of their username and
password. While useful for creating dummy accounts send an email informing them of their username and password.
(watchers which shuttle mail to another system, for While useful for creating dummy accounts (watchers which
instance, or email addresses which are a mailing shuttle mail to another system, for instance, or email
list), in general it is preferable to log out and use addresses which are a mailing list), in general it is
the <quote>New Account</quote> button to create users, preferable to log out and use the
as it will pre-populate all the required fields and <quote>New Account</quote>
also notify the user of her account name and
password. button to create users, as it will pre-populate all the
</para> required fields and also notify the user of her account name
and password.</para>
</note> </note>
</listitem> </listitem>
</orderedlist> </orderedlist>
</section> </section>
<section id="disableusers">
<title>Disabling Users</title>
<para>
I bet you noticed that big "Disabled Text" entry box
available from the "Add New User" screen, when you edit an
account? By entering any text in this box and selecting
"submit", you have prevented the user from using Bugzilla
via the web interface. Your explanation, written in this
text box, will be presented to the user the next time she
attempts to use the system.
<warning>
<para>
Don't disable your own administrative account, or you
will hate life!
</para>
<para>At this time, <quote>Disabled Text</quote> does not
prevent a user from using the email interface. If you
have the email interface enabled, they can still
continue to submit bugs and comments that way. We need
a patch to fix this.</para>
</warning>
</para>
</section>
<section id="modifyusers"> <section id="modifyusers">
<title>Modifying Users</title> <title>Modifying Users</title>
<para>
Here I will attempt to describe the function of each option <para>To see a specific user, search for their login name
on the Edit User screen. in the box provided on the "Edit Users" page. To see all users,
leave the box blank.</para>
<para>You can search in different ways the listbox to the right
of the text entry box. You can match by
case-insensitive substring (the default),
regular expression, or a
<emphasis>reverse</emphasis>
regular expression match, which finds every user name which does NOT
match the regular expression. (Please see
the <command>man regexp</command>
manual page for details on regular expression syntax.)
</para> </para>
<para>Once you have found your user, you can change the following
fields:</para>
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
<emphasis>Login Name</emphasis>: This is generally the <emphasis>Login Name</emphasis>:
user's email address. However, if you have edited your This is generally the user's full email address. However, if you
system parameters, this may just be the user's login have are using the emailsuffix Param, this may just be the user's
name or some other identifier. login name. Note that users can now change their login names
<tip> themselves (to any valid email address.)
<para>
For compatability reasons, you should probably stick
with email addresses as user login names. It will
make your life easier.
</para>
</tip>
</para>
</listitem>
<listitem>
<para>
<emphasis>Real Name</emphasis>: Duh!
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>Password</emphasis>: You can change the user <emphasis>Real Name</emphasis>: The user's real name. Note that
password here. It is normal to only see asterisks. Bugzilla does not require this to create an account.</para>
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>Email Notification</emphasis>: You may choose <emphasis>Password</emphasis>:
from one of three options: You can change the user's password here. Users can automatically
<orderedlist> request a new password, so you shouldn't need to do this often.
<listitem> If you want to disable an account, see Disable Text below.
<para>
All qualifying bugs except those which I change:
The user will be notified of any change to any bug
for which she is the reporter, assignee, QA
Contact, CC recipient, or "watcher".
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Only those bugs which I am listed on the CC line: <emphasis>Disable Text</emphasis>:
The user will not be notified of changes to bugs If you type anything in this box, including just a space, the
where she is the assignee, reporter, or QA user is prevented from logging in, or making any changes to
Contact, but will receive them if she is on the CC bugs via the web interface.
list. The HTML you type in this box is presented to the user when
they attempt to perform these actions, and should explain
why the account was disabled.
<warning>
<para>Don't disable the administrator account!</para>
</warning>
<note> <note>
<para> <para>The user can still submit bugs via
She will still receive whining cron emails if the e-mail gateway, if you set it up, even if the disabled text
you set up the "whinemail" feature. field is filled in. The e-mail gateway should
</para> <emphasis>not</emphasis>
be enabled for secure installations of Bugzilla.</para>
</note> </note>
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>All Qualifying Bugs</emphasis>: This <emphasis>&lt;groupname&gt;</emphasis>:
user is a glutton for punishment. If her name is If you have created some groups, e.g. "securitysensitive", then
in the reporter, QA Contact, CC, assignee, or is a checkboxes will appear here to allow you to add users to, or
"watcher", she will get email updates regarding remove them from, these groups.
the bug.
</para> </para>
</listitem> </listitem>
</orderedlist>
</para> <listitem>
<para>
<emphasis>Disable Text</emphasis>: If you type anything
in this box, including just a space, the user account is
disabled from making any changes to bugs via the web
interface, and what you type in this box is presented as
the reason.
<warning>
<para>Don't disable the administrator account!</para>
</warning>
<note>
<para> <para>
As of this writing, the user can still submit bugs <emphasis>canconfirm</emphasis>:
via the e-mail gateway, if you set it up, despite This field is only used if you have enabled the "unconfirmed"
the disabled text field. The e-mail gateway should status. If you enable this for a user,
<emphasis>not</emphasis> be enabled for secure that user can then move bugs from "Unconfirmed" to a "Confirmed"
installations of Bugzilla. status (e.g.: "New" status).</para>
</para>
</note>
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>CanConfirm</emphasis>: This field is only used <emphasis>creategroups</emphasis>:
if you have enabled "unconfirmed" status in your This option will allow a user to create and destroy groups in
parameters screen. If you enable this for a user, that Bugzilla.</para>
user can then move bugs from "Unconfirmed" to
"Confirmed" status (e.g.: "New" status). Be judicious
about allowing users to turn this bit on for other
users.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>Creategroups</emphasis>: This option will <emphasis>editbugs</emphasis>:
allow a user to create and destroy groups in Bugzilla. Unless a user has this bit set, they can only edit those bugs
Unless you are using the Bugzilla GroupSentry security for which they are the assignee or the reporter. Even if this
option "usebuggroupsentry" in your parameters, this option is unchecked, users can still add comments to bugs.
setting has no effect.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>Editbugs</emphasis>: Unless a user has this <emphasis>editcomponents</emphasis>:
bit set, they can only edit those bugs for which they This flag allows a user to create new products and components,
are the assignee or the reporter. as well as modify and destroy those that have no bugs associated
<note> with them. If a product or component has bugs associated with it,
<para> those bugs must be moved to a different product or component
Leaving this option unchecked does not prevent users before Bugzilla will allow them to be destroyed.
from adding comments to a bug! They simply cannot
change a bug priority, severity, etc. unless they
are the assignee or reporter.
</para>
</note>
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>Editcomponents</emphasis>: This flag allows a <emphasis>editkeywords</emphasis>:
user to create new products and components, as well as If you use Bugzilla's keyword functionality, enabling this
modify and destroy those that have no bugs associated feature allows a user to create and destroy keywords. As always,
with them. If a product or component has bugs the keywords for existing bugs containing the keyword the user
associated with it, those bugs must be moved to a wishes to destroy must be changed before Bugzilla will allow it
different product or component before Bugzilla will to die.</para>
allow them to be destroyed. The name of a product or
component can be changed without affecting the
associated bugs, but it tends to annoy the hell out of
your users when these change a lot.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>Editkeywords</emphasis>: If you use Bugzilla's <emphasis>editusers</emphasis>:
keyword functionality, enabling this feature allows a This flag allows a user to do what you're doing right now: edit
user can create and destroy keywords. As always, the other users. This will allow those with the right to do so to
keywords for existing bugs containing the keyword the remove administrator privileges from other users or grant them to
user wishes to destroy must be changed before Bugzilla themselves. Enable with care.</para>
will allow it to die. You must be very careful about
creating too many new keywords if you run a very large
Bugzilla installation; keywords are global variables
across products, and you can often run into a phenomenon
called "keyword bloat". This confuses users, and then
the feature goes unused.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>Editusers</emphasis>: This flag allows a user <emphasis>tweakparams</emphasis>:
do what you're doing right now: edit other users. This This flag allows a user to change Bugzilla's Params
will allow those with the right to do so to remove (using <filename>editparams.cgi</filename>.)</para>
administrator priveleges from other users or grant them
to themselves. Enable with care.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>PRODUCT</emphasis>: PRODUCT bugs access. This <emphasis>&lt;productname&gt;</emphasis>:
allows an administrator, with product-level granularity, This allows an administrator to specify the products in which
to specify in which products a user can edit bugs. The a user can see bugs. The user must still have the
user must still have the "editbugs" privelege to edit "editbugs" privilege to edit bugs in these products.</para>
bugs in this area; this simply restricts them from even
seeing bugs outside these boundaries if the
administrator has enabled the group sentry parameter
"usebuggroupsentry". Unless you are using bug groups,
this option has no effect.
</para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
</section> </section>
...@@ -610,169 +438,94 @@ ...@@ -610,169 +438,94 @@
</section> </section>
<section id="programadmin"> <section id="programadmin">
<title>Product, Component, Milestone, and Version <title>Product, Component, Milestone, and Version Administration</title>
Administration</title>
<epigraph>
<para>
Dear Lord, we have to get our users to do WHAT?
</para>
</epigraph>
<section id="products"> <section id="products">
<title>Products</title> <title>Products</title>
<subtitle>Formerly, and in some spots still, called
"Programs"</subtitle>
<para>
<glossterm linkend="gloss-product" baseform="product">Products</glossterm> are
the broadest category in Bugzilla, and you should have the
least of these. If your company makes computer games, you
should have one product per game, and possibly a few special
products (website, meetings...)
</para>
<para> <para>
A Product (formerly called "Program", and still referred to <glossterm linkend="gloss-product" baseform="product">
that way in some portions of the source code) controls some Products</glossterm>
very important functions. The number of "votes" available for
users to vote for the most important bugs is set per-product, are the broadest category in Bugzilla, and tend to represent real-world
as is the number of votes required to move a bug automatically shipping products. E.g. if your company makes computer games,
from the UNCONFIRMED status to the NEW status. One can close you should have one product per game, perhaps a "Common" product for
a Product for further bug entry and define various Versions units of technology used in multiple games, and maybe a few special
available from the Edit product screen. products (Website, Administration...)</para>
</para>
<para>Many of Bugzilla's settings are configurable on a per-product
basis. The number of "votes" available to users is set per-product,
as is the number of votes
required to move a bug automatically from the UNCONFIRMED status to the
NEW status.</para>
<para>To create a new product:</para> <para>To create a new product:</para>
<orderedlist> <orderedlist>
<listitem> <listitem>
<para> <para>Select "products" from the footer</para>
Select "components" from the yellow footer
</para>
<tip>
<para>
It may seem counterintuitive to click "components" when
you want to edit the properties associated with
Products. This is one of a long list of things we want
in Bugzilla 3.0...
</para>
</tip>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>Select the "Add" link in the bottom right</para>
Select the "Add" link to the right of "Add a new product".
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>Enter the name of the product and a description. The
Enter the name of the product and a description. The Description field may contain HTML.</para>
Description field is free-form.
</para>
</listitem> </listitem>
</orderedlist> </orderedlist>
<tip>
<para> <para>Don't worry about the "Closed for bug entry", "Maximum Votes
Don't worry about the "Closed for bug entry", "Maximum Votes per person", "Maximum votes a person can put on a single bug",
per person", "Maximum votes a person can put on a single "Number of votes a bug in this Product needs to automatically get out
bug", "Number of votes a bug in this Product needs to of the UNCOMFIRMED state", and "Version" options yet. We'll cover
automatically get out of the UNCOMFIRMED state", and those in a few moments.
"Version" options yet. We'll cover those in a few moments.
</para> </para>
</tip>
</section> </section>
<section id="components"> <section id="components">
<title>Components</title> <title>Components</title>
<para>
Components are subsections of a Product.
<example> <para>Components are subsections of a Product. E.g. the computer game
<title>Creating some Components</title> you are designing may have a "UI"
<informalexample> component, an "API" component, a "Sound System" component, and a
<para> "Plugins" component, each overseen by a different programmer. It
The computer game you are designing may have a "UI" often makes sense to divide Components in Bugzilla according to the
component, an "API" component, a "Sound System" natural divisions of responsibility within your Product or
component, and a "Plugins" component, each overseen by company.</para>
a different programmer. It often makes sense to divide
Components in Bugzilla according to the natural
divisions of responsibility within your Product or
company.
</para>
</informalexample>
</example> Each component has a owner and (if you turned it on
in the parameters), a QA Contact. The owner should be the
primary person who fixes bugs in that component. The QA
Contact should be the person who will ensure these bugs are
completely fixed. The Owner, QA Contact, and Reporter will get
email when new bugs are created in this Component and when
these bugs change. Default Owner and Default QA Contact fields
only dictate the <emphasis>default assignments</emphasis>; the
Owner and QA Contact fields in a bug are otherwise unrelated
to the Component.
</para>
<para> <para>
To create a new Component: Each component has a owner and (if you turned it on in the parameters),
</para> a QA Contact. The owner should be the primary person who fixes bugs in
<orderedlist> that component. The QA Contact should be the person who will ensure
<listitem> these bugs are completely fixed. The Owner, QA Contact, and Reporter
<para> will get email when new bugs are created in this Component and when
Select the "Edit components" link from the "Edit product" these bugs change. Default Owner and Default QA Contact fields only
page dictate the
</para> <emphasis>default assignments</emphasis>;
</listitem> these can be changed on bug submission, or at any later point in
<listitem> a bug's life.</para>
<para>
Select the "Add" link to the right of the "Add a new <para>To create a new Component:</para>
component" text on the "Select Component" page.
</para>
</listitem>
<listitem>
<para>
Fill out the "Component" field, a short "Description", and
the "Initial Owner". The Component and Description fields
are free-form; the "Initial Owner" field must be that of a
user ID already existing in the database. If the initial
owner does not exist, Bugzilla will refuse to create the
component.
<tip>
<para>
Is your "Default Owner" a user who is not yet in the
database? No problem.
<orderedlist> <orderedlist>
<listitem> <listitem>
<para> <para>Select the "Edit components" link from the "Edit product"
Select the "Log out" link on the footer of the page</para>
page.
</para>
</listitem>
<listitem>
<para>
Select the "New Account" link on the footer of
the "Relogin" page
</para>
</listitem>
<listitem>
<para>
Type in the email address of the default owner
you want to create in the "E-mail address"
field, and her full name in the "Real name"
field, then select the "Submit Query" button.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>Select the "Add" link in the bottom right.</para>
Now select "Log in" again, type in your login
information, and you can modify the product to
use the Default Owner information you require.
</para>
</listitem>
</orderedlist>
</para>
</tip>
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>Fill out the "Component" field, a short "Description",
Either Edit more components or return to the Bugzilla the "Initial Owner" and "Initial QA Contact" (if enabled.)
Query Page. To return to the Product you were editing, you The Component and Description fields may contain HTML;
must select the Components link as before. the "Initial Owner" field must be a login name
already existing in the database.
</para> </para>
</listitem> </listitem>
</orderedlist> </orderedlist>
...@@ -780,662 +533,688 @@ ...@@ -780,662 +533,688 @@
<section id="versions"> <section id="versions">
<title>Versions</title> <title>Versions</title>
<para>
Versions are the revisions of the product, such as "Flinders
3.1", "Flinders 95", and "Flinders 2000". Using Versions
helps you isolate code changes and are an aid in reporting.
<example> <para>Versions are the revisions of the product, such as "Flinders
<title>Common Use of Versions</title> 3.1", "Flinders 95", and "Flinders 2000". Version is not a multi-select
<informalexample> field; the usual practice is to select the most recent version with
<para> the bug.
A user reports a bug against Version "Beta 2.0" of your
product. The current Version of your software is
"Release Candidate 1", and no longer has the bug. This
will help you triage and classify bugs according to
their relevance. It is also possible people may report
bugs against bleeding-edge beta versions that are not
evident in older versions of the software. This can
help isolate code changes that caused the bug
</para>
</informalexample>
</example>
<example>
<title>A Different Use of Versions</title>
<informalexample>
<para>
This field has been used to good effect by an online
service provider in a slightly different way. They had
three versions of the product: "Production", "QA", and
"Dev". Although it may be the same product, a bug in
the development environment is not normally as critical
as a Production bug, nor does it need to be reported
publicly. When used in conjunction with Target
Milestones, one can easily specify the environment where
a bug can be reproduced, and the Milestone by which it
will be fixed.
</para>
</informalexample>
</example>
</para>
<para>
To create and edit Versions:
</para> </para>
<para>To create and edit Versions:</para>
<orderedlist> <orderedlist>
<listitem> <listitem>
<para> <para>From the "Edit product" screen, select "Edit Versions"</para>
From the "Edit product" screen, select "Edit Versions"
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>You will notice that the product already has the default
You will notice that the product already has the default version "undefined". Click the "Add" link in the bottom right.</para>
version "undefined". If your product doesn't use version
numbers, you may want to leave this as it is or edit it so
that it is "---". You can then go back to the edit
versions page and add new versions to your product.
</para>
<para>
Otherwise, click the "Add" button to the right of the "Add
a new version" text.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>Enter the name of the Version. This field takes text only.
Enter the name of the Version. This can be free-form Then click the "Add" button.</para>
characters up to the limit of the text box. Then select
the "Add" button.
</para>
</listitem>
<listitem>
<para>
At this point you can select "Edit" to edit more Versions,
or return to the "Query" page, from which you can navigate
back to the product through the "components" link at the
foot of the Query page.
</para>
</listitem> </listitem>
</orderedlist> </orderedlist>
</section> </section>
<section id="milestones"> <section id="milestones">
<title>Milestones</title> <title>Milestones</title>
<para>
Milestones are "targets" that you plan to get a bug fixed by. <para>Milestones are "targets" that you plan to get a bug fixed by. For
For example, you have a bug that you plan to fix for your 3.0 example, you have a bug that you plan to fix for your 3.0 release, it
release, it would be assigned the milestone of 3.0. Or, you would be assigned the milestone of 3.0.</para>
have a bug that you plan to fix for 2.8, this would have a
milestone of 2.8.
</para>
<note> <note>
<para> <para>Milestone options will only appear for a Product if you turned
Milestone options will only appear for a Product if you on the "usetargetmilestone" Param in the "Edit Parameters" screen.
turned the "usetargetmilestone" field in the "Edit
Parameters" screen "On".
</para> </para>
</note> </note>
<para>
To create new Milestones, set Default Milestones, and set <para>To create new Milestones, set Default Milestones, and set
Milestone URL: Milestone URL:</para>
</para>
<orderedlist> <orderedlist>
<listitem> <listitem>
<para> <para>Select "Edit milestones" from the "Edit product" page.</para>
Select "edit milestones"
</para>
</listitem>
<listitem>
<para>
Select "Add" to the right of the "Add a new milestone"
text
</para>
</listitem>
<listitem>
<para>
Enter the name of the Milestone in the "Milestone" field.
You can optionally set the "Sortkey", which is a positive
or negative number (-255 to 255) that defines where in the
list this particular milestone appears. Select "Add".
</para>
<example>
<title>Using SortKey with Target Milestone</title>
<informalexample>
<para>
Let's say you create a target milestone called
"Release 1.0", with Sortkey set to "0". Later, you
realize that you will have a public beta, called
"Beta1". You can create a Milestone called "Beta1",
with a Sortkey of "-1" in order to ensure people will
see the Target Milestone of "Beta1" earlier on the
list than "Release 1.0"
</para>
</informalexample>
</example>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>Select "Add" in the bottom right corner.
If you want to add more milestones, select the "Edit" text</para>
link. If you don't, well shoot, you have to go back to the
"query" page and select "components" again, and make your
way back to the Product you were editing.
<note>
<para>
This is another in the list of unusual user interface
decisions that we'd like to get cleaned up. Shouldn't
there be a link to the effect of "edit the Product I
was editing when I ended up here"? In any case,
clicking "components" in the footer takes you back to
the "Select product" screen, from which you can begin
editing your product again.
</para>
</note>
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>Enter the name of the Milestone in the "Milestone" field. You
From the Edit product screen again (once you've made your can optionally set the "sortkey", which is a positive or negative
way back), enter the URL for a description of what your number (-255 to 255) that defines where in the list this particular
milestones are for this product in the "Milestone URL" milestone appears. This is because milestones often do not
field. It should be of the format occur in alphanumeric order For example, "Future" might be
"http://www.foo.com/bugzilla/product_milestones.html" after "Release 1.2". Select "Add".</para>
</para>
<para>
Some common uses of this field include product
descriptions, product roadmaps, and of course a simple
description of the meaning of each milestone.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>From the Edit product screen, you can enter the URL of a
If you're using Target Milestones, the "Default Milestone" page which gives information about your milestones and what
field must have some kind of entry. If you really don't they mean. </para>
care if people set coherent Target Milestones, simply
leave this at the default, "---". However, controlling <tip>
and regularly updating the Default Milestone field is a <para>If you want your milestone document to be restricted so
powerful tool when reporting the status of projects. that it can only be viewed by people in a particular Bugzilla
</para> group, the best way is to attach the document to a bug in that
<para>Select the "Update" button when you are done.</para> group, and make the URL the URL of that attachment.</para>
</tip>
</listitem> </listitem>
</orderedlist> </orderedlist>
</section> </section>
</section>
<section id="voting"> <section id="voting">
<title>Voting</title> <title>Voting</title>
<para>
The concept of "voting" is a poorly understood, yet powerful <para>Voting allows users to be given a pot of votes which they can allocate
feature for the management of open-source projects. Each user to bugs, to indicate that they'd like them fixed.
is assigned so many Votes per product, which they can freely This allows developers to gauge
reassign (or assign multiple votes to a single bug). This user need for a particular enhancement or bugfix. By allowing bugs with
allows developers to gauge user need for a particular a certain number of votes to automatically move from "UNCONFIRMED" to
enhancement or bugfix. By allowing bugs with a certain number "NEW", users of the bug system can help high-priority bugs garner
of votes to automatically move from "UNCONFIRMED" to "NEW", attention so they don't sit for a long time awaiting triage.</para>
users of the bug system can help high-priority bugs garner
attention so they don't sit for a long time awaiting triage.
</para>
<para>
The daunting challenge of Votes is deciding where you draw the
line for a "vocal majority". If you only have a user base of
100 users, setting a low threshold for bugs to move from
UNCONFIRMED to NEW makes sense. As the Bugzilla user base
expands, however, these thresholds must be re-evaluated. You
should gauge whether this feature is worth the time and close
monitoring involved, and perhaps forego implementation until
you have a critical mass of users who demand it.
</para>
<para>To modify Voting settings:</para> <para>To modify Voting settings:</para>
<orderedlist> <orderedlist>
<listitem> <listitem>
<para> <para>Navigate to the "Edit product" screen for the Product you
Navigate to the "Edit product" screen for the Product you wish to modify</para>
wish to modify
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para><emphasis>Maximum Votes per person</emphasis>:
Set "Maximum Votes per person" to your calculated value. Setting this field to "0" disables voting.</para>
Setting this field to "0" disables voting.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para><emphasis>Maximum Votes a person can put on a single
Set "Maximum Votes a person can put on a single bug" to bug"</emphasis>:
your calculated value. It should probably be some number It should probably be some number lower than the
lower than the "Maximum votes per person". Setting this "Maximum votes per person". Don't set this field to "0" if
field to "0" disables voting, but leaves the voting "Maximum votes per person" is non-zero; that doesn't make
options open to the user. This is confusing. any sense.</para>
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para><emphasis>Number of votes a bug in this product needs to
Set "Number of votes a bug in this product needs to automatically get out of the UNCONFIRMED state</emphasis>:
automatically get out of the UNCONFIRMED state" to your Setting this field to "0" disables the automatic move of
calculated number. Setting this field to "0" disables bugs from UNCONFIRMED to NEW.
the automatic move of bugs from UNCONFIRMED to NEW. Some
people advocate leaving this at "0", but of what use are
Votes if your Bugzilla user base is unable to affect which
bugs appear on Development radar?
<tip>
<para>
You should probably set this number to higher than a
small coalition of Bugzilla users can influence it.
Most sites use this as a "referendum" mechanism -- if
users are able to vote a bug out of UNCONFIRMED, it is
a <emphasis>really</emphasis> bad bug!
</para>
</tip>
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>Once you have adjusted the values to your preference, click
Once you have adjusted the values to your preference, "Update".</para>
select the "Update" button.
</para>
</listitem> </listitem>
</orderedlist> </orderedlist>
</section> </section>
<section id="groups"> <section id="groups">
<title>Groups and Group Security</title> <title>Groups and Group Security</title>
<para>
Groups can be very useful in bugzilla, because they allow <para>Groups allow the administrator
users to isolate bugs or products that should only be seen by to isolate bugs or products that should only be seen by certain people.
certain people. Groups can also be a complicated minefield of There are two types of group - Generic Groups, and Product-Based Groups.
interdependencies and weirdness if mismanaged.
<example>
<title>When to Use Group Security</title>
<informalexample>
<para>
Many Bugzilla sites isolate "Security-related" bugs from
all other bugs. This way, they can have a fix ready
before the security vulnerability is announced to the
world. You can create a "Security" product which, by
default, has no members, and only add members to the
group (in their individual User page, as described under
User Administration) who should have priveleged access
to "Security" bugs. Alternately, you may create a Group
independently of any Product, and change the Group mask
on individual bugs to restrict access to members only of
certain Groups.
</para>
</informalexample>
</example> Groups only work if you enable the "usebuggroups"
paramater. In addition, if the "usebuggroupsentry" parameter
is "On", one can restrict access to products by groups, so
that only members of a product group are able to view bugs
within that product. Group security in Bugzilla can be divided
into two categories: Generic and Product-Based.
</para>
<note>
<para>
Groups in Bugzilla are a complicated beast that evolved out
of very simple user permission bitmasks, apparently itself
derived from common concepts in UNIX access controls. A
"bitmask" is a fixed-length number whose value can describe
one, and only one, set of states. For instance, UNIX file
permissions are assigned bitmask values: "execute" has a
value of 1, "write" has a value of 2, and "read" has a
value of 4. Add them together, and a file can be read,
written to, and executed if it has a bitmask of "7". (This
is a simplified example -- anybody who knows UNIX security
knows there is much more to it than this. Please bear with
me for the purpose of this note.) The only way a bitmask
scheme can work is by doubling the bit count for each value.
Thus if UNIX wanted to offer another file permission, the
next would have to be a value of 8, then the next 16, the
next 32, etc.
</para> </para>
<para> <para>
Similarly, Bugzilla offers a bitmask to define group Product-Based Groups are matched with products, and allow you to restrict
permissions, with an internal limit of 64. Several are access to bugs on a per-product basis. They are enabled using the
already occupied by built-in permissions. The way around usebuggroups Param. Turning on the usebuggroupsentry
this limitation is to avoid assigning groups to products if Param will mean bugs automatically get added to their product group when
you have many products, avoid bloating of group lists, and filed.
religiously prune irrelevant groups. In reality, most
installations of Bugzilla support far fewer than 64 groups,
so this limitation has not hit for most sites, but it is on
the table to be revised for Bugzilla 3.0 because it
interferes with the security schemes of some administrators.
</para> </para>
</note>
<para> <para>
To enable Generic Group Security ("usebuggroups"): Generic Groups have no special relationship to products;
you create them, and put bugs in them
as required. One example of the use of Generic Groups
is Mozilla's "Security" group,
into which security-sensitive bugs are placed until fixed. Only the
Mozilla Security Team are members of this group.
</para> </para>
<para>To create Generic Groups:</para>
<orderedlist> <orderedlist>
<listitem> <listitem>
<para>Select the "groups"
link in the footer.</para>
</listitem>
<listitem>
<para>Take a moment to understand the instructions on the "Edit
Groups" screen, then select the "Add Group" link.</para>
</listitem>
<listitem>
<para>Fill out the "New Name", "New Description", and
"New User RegExp" fields. "New User RegExp" allows you to automatically
place all users who fulfill the Regular Expression into the new group.
When you have finished, click "Add".</para>
</listitem>
</orderedlist>
<para>To use Product-Based Groups:</para>
<orderedlist>
<listitem>
<para>Turn on "usebuggroups" and "usebuggroupsentry" in the "Edit
Parameters" screen.</para>
<warning>
<para>XXX is this still true?
"usebuggroupsentry" has the capacity to prevent the
administrative user from directly altering bugs because of
conflicting group permissions. If you plan on using
"usebuggroupsentry", you should plan on restricting
administrative account usage to administrative duties only. In
other words, manage bugs with an unpriveleged user account, and
manage users, groups, Products, etc. with the administrative
account.</para>
</warning>
</listitem>
<listitem>
<para>In future, when you create a Product, a matching group will be
automatically created. If you need to add a Product Group to
a Product which was created before you turned on usebuggroups,
then simply create a new group, as outlined above, with the
same name as the Product.</para>
</listitem>
</orderedlist>
<warning>
<para>Bugzilla currently has a limit of 64 groups per installation. If
you have more than about 50 products, you should consider
running multiple Bugzillas. Ask in the newsgroup for other
suggestions for working around this restriction.</para>
</warning>
<para> <para>
Turn "On" "usebuggroups" in the "Edit Parameters" screen. Note that group permissions are such that you need to be a member
of <emphasis>all</emphasis> the groups a bug is in, for whatever
reason, to see that bug.
</para>
</section>
<section id="security">
<title>Bugzilla Security</title>
<warning>
<para>Poorly-configured MySQL and Bugzilla installations have
given attackers full access to systems in the past. Please take these
guidelines seriously, even for Bugzilla machines hidden away behind
your firewall. 80% of all computer trespassers are insiders, not
anonymous crackers.</para>
</warning>
<note>
<para>These instructions must, of necessity, be somewhat vague since
Bugzilla runs on so many different platforms. If you have refinements
of these directions for specific platforms, please submit them to
<ulink url="mailto://mozilla-webtools@mozilla.org">
mozilla-webtools@mozilla.org</ulink>
</para> </para>
</note>
<para>To secure your installation:
<orderedlist>
<listitem>
<para>Ensure you are running at least MysQL version 3.22.32 or newer.
Earlier versions had notable security holes and (from a security
point of view) poor default configuration choices.</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
You will generally have no groups set up. Select the <emphasis>There is no substitute for understanding the tools on your
"groups" link in the footer. system!</emphasis>
</para>
Read
<ulink url="http://www.mysql.com/doc/P/r/Privilege_system.html">
The MySQL Privilege System</ulink>
until you can recite it from memory!</para>
</listitem> </listitem>
<listitem> <listitem>
<para>Lock down /etc/inetd.conf. Heck, disable inet entirely on this
box. It should only listen to port 25 for Sendmail and port 80 for
Apache.</para>
</listitem>
<listitem>
<para>Do not run Apache as
<quote>nobody</quote>
. This will require very lax permissions in your Bugzilla
directories. Run it, instead, as a user with a name, set via your
httpd.conf file.
<note>
<para> <para>
Take a moment to understand the instructions on the "Edit <quote>nobody</quote>
Groups" screen. Once you feel confident you understand
what is expected of you, select the "Add Group" link. is a real user on UNIX systems. Having a process run as user id
<quote>nobody</quote>
is absolutely no protection against system crackers versus using
any other user account. As a general security measure, I recommend
you create unique user ID's for each daemon running on your system
and, if possible, use "chroot" to jail that process away from the
rest of your system.</para>
</note>
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>Ensure you have adequate access controls for the
Fill out the "New Name" (remember, no spaces!), "New $BUGZILLA_HOME/data/ directory, as well as the
Description", and "New User RegExp" fields. "New User $BUGZILLA_HOME/localconfig file.
RegExp" allows you to automatically place all users who The localconfig file stores your "bugs" database account password.
fulfill the Regular Expression into the new group. In addition, some
files under $BUGZILLA_HOME/data/ store sensitive information.
<example>
<title>Creating a New Group</title>
<informalexample>
<para>
I created a group called DefaultGroup with a
description of <quote>This is simply a group to play
with</quote>, and a New User RegExp of <quote>.*@mydomain.tld</quote>.
This new group automatically includes all Bugzilla
users with "@mydomain.tld" at the end of their user id.
When I finished, my new group was assigned bit #128.
</para> </para>
</informalexample>
</example> When you have finished, select the Add <para>Bugzilla provides default .htaccess files to protect the most
button. common Apache installations. However, you should verify these are
adequate according to the site-wide security policy of your web
server, and ensure that the .htaccess files are allowed to
"override" default permissions set in your Apache configuration
files. Covering Apache security is beyond the scope of this Guide;
please consult the Apache documentation for details.</para>
<para>If you are using a web server that does not support the
.htaccess control method,
<emphasis>you are at risk!</emphasis>
After installing, check to see if you can view the file
"localconfig" in your web browser (e.g.:
<ulink url="http://bugzilla.mozilla.org/localconfig">
http://bugzilla.mozilla.org/localconfig</ulink>
). If you can read the contents of this file, your web server has
not secured your bugzilla directory properly and you must fix this
problem before deploying Bugzilla. If, however, it gives you a
"Forbidden" error, then it probably respects the .htaccess
conventions and you are good to go.</para>
<para>When you run checksetup.pl, the script will attempt to modify
various permissions on files which Bugzilla uses. If you do not have
a webservergroup set in the localconfig file, then Bugzilla will have
to make certain files world readable and/or writable.
<emphasis>THIS IS INSECURE!</emphasis>
. This means that anyone who can get access to your system can do
whatever they want to your Bugzilla installation.</para>
<note>
<para>This also means that if your webserver runs all cgi scripts
as the same user/group, anyone on the system who can run cgi
scripts will be able to take control of your Bugzilla
installation.</para>
</note>
<para>On Apache, you can use .htaccess files to protect access to
these directories, as outlined in
<ulink url="http://bugzilla.mozilla.org/show_bug.cgi?id=57161">Bug
57161</ulink>
for the localconfig file, and
<ulink url="http://bugzilla.mozilla.org/show_bug.cgi?id=65572">Bug
65572</ulink>
for adequate protection in your data/ directory.</para>
<para>Note the instructions which follow are Apache-specific. If you
use IIS, Netscape, or other non-Apache web servers, please consult
your system documentation for how to secure these files from being
transmitted to curious users.</para>
<para>Place the following text into a file named ".htaccess",
readable by your web server, in your $BUGZILLA_HOME/data directory.
<literallayout>&lt;Files comments&gt; allow from all &lt;/Files&gt;
deny from all</literallayout>
</para>
<para>Place the following text into a file named ".htaccess",
readable by your web server, in your $BUGZILLA_HOME/ directory.
<literallayout>&lt;Files localconfig&gt; deny from all &lt;/Files&gt;
allow from all</literallayout>
</para> </para>
</listitem> </listitem>
</orderedlist> </orderedlist>
</para>
</section>
<section id="cust-templates">
<title>Template Customisation</title>
<para> <para>
To enable Product-Based Group Security (usebuggroupsentry): One of the large changes for 2.16 was the templatisation of the
entire user-facing UI, using the
<ulink url="http://www.template-toolkit.org">Template Toolkit</ulink>.
Administrators can now configure the look and feel of Bugzilla without
having to edit Perl files or face the nightmare of massive merge
conflicts when they upgrade to a newer version in the future.
</para> </para>
<warning>
<para> <para>
Don't forget that you only have 64 groups masks available, Templatisation also makes localised versions of Bugzilla possible,
total, for your installation of Bugzilla! If you plan on for the first time. In the future, a Bugzilla installation may
having more than 50 products in your individual Bugzilla have templates installed for multiple localisations, and select
installation, and require group security for your products, which ones to use based on the user's browser language setting.
you should consider either running multiple Bugzillas or
using Generic Group Security instead of Product-Based
("usebuggroupsentry") Group Security.
</para> </para>
</warning>
<orderedlist> <section>
<listitem> <title>What to Edit</title>
<para> <para>
Turn "On" "usebuggroups" and "usebuggroupsentry" in the There are two different ways of editing of Bugzilla's templates,
"Edit Parameters" screen. and which you use depends mainly on how you upgrade Bugzilla. The
template directory structure is that there's a top level directory,
<filename>template</filename>, which contains a directory for
each installed localisation. The default English templates are
therefore in <filename>en</filename>. Underneath that, there
is the <filename>default</filename> directory and optionally the
<filename>custom</filename> directory. The <filename>default</filename>
directory contains all the templates shipped with Bugzilla, whereas
the <filename>custom</filename> directory does not exist at first and
must be created if you want to use it.
</para> </para>
<warning>
<para> <para>
"usebuggroupsentry" has the capacity to prevent the The first method of making customisations is to directly edit the
administrative user from directly altering bugs because templates in <filename>template/en/default</filename>. This is
of conflicting group permissions. If you plan on using probably the best method for small changes if you are going to use
"usebuggroupsentry", you should plan on restricting the CVS method of upgrading, because if you then execute a
administrative account usage to administrative duties <command>cvs update</command>, any template fixes will get
only. In other words, manage bugs with an unpriveleged automagically merged into your modified versions.
user account, and manage users, groups, Products, etc.
with the administrative account.
</para> </para>
</warning>
</listitem>
<listitem>
<para> <para>
You will generally have no Groups set up, unless you If you use this method, your installation will break if CVS conflicts
enabled "usebuggroupsentry" prior to creating any occur.
Products. To create "Generic Group Security" groups,
follow the instructions given above. To create
Product-Based Group security, simply follow the
instructions for creating a new Product. If you need to
add users to these new groups as you create them, you will
find the option to add them to the group available under
the "Edit User" screens.
</para> </para>
</listitem>
</orderedlist>
<para> <para>
You may find this example illustrative for how bug groups work. The other method is to copy the templates into a mirrored directory
<example> structure under <filename>template/en/custom</filename>. The templates
<title>Bugzilla Groups</title> in this directory automatically override those in default.
<literallayout> This is the technique you
Bugzilla Groups example need to use if you use the overwriting method of upgrade, because
----------------------- otherwise your changes will be lost. This method is also better if
you are using the CVS method of upgrading and are going to make major
For this example, let us suppose we have four groups, call them changes, because it is guaranteed that the contents of this directory
Group1, Group2, Group3, and Group4. will not be touched during an upgrade, and you can then decide whether
to continue using your own templates, or make the effort to merge your
We have 5 users, User1, User2, User3, User4, User5. changes into the new versions by hand.
We have 8 bugs, Bug1, ..., Bug8.
Group membership is defined by this chart:
(X denotes that user is in that group.)
(I apologize for the nasty formatting of this table. Try viewing
it in a text-based browser or something for now. -MPB)
G G G G
r r r r
o o o o
u u u u
p p p p
1 2 3 4
+-+-+-+-+
User1|X| | | |
+-+-+-+-+
User2| |X| | |
+-+-+-+-+
User3|X| |X| |
+-+-+-+-+
User4|X|X|X| |
+-+-+-+-+
User5| | | | |
+-+-+-+-+
Bug restrictions are defined by this chart:
(X denotes that bug is restricted to that group.)
G G G G
r r r r
o o o o
u u u u
p p p p
1 2 3 4
+-+-+-+-+
Bug1| | | | |
+-+-+-+-+
Bug2| |X| | |
+-+-+-+-+
Bug3| | |X| |
+-+-+-+-+
Bug4| | | |X|
+-+-+-+-+
Bug5|X|X| | |
+-+-+-+-+
Bug6|X| |X| |
+-+-+-+-+
Bug7|X|X|X| |
+-+-+-+-+
Bug8|X|X|X|X|
+-+-+-+-+
Who can see each bug?
Bug1 has no group restrictions. Therefore, Bug1 can be seen by any
user, whatever their group membership. This is going to be the only
bug that User5 can see, because User5 isn't in any groups.
Bug2 can be seen by anyone in Group2, that is User2 and User4.
Bug3 can be seen by anyone in Group3, that is User3 and User4.
Bug4 can be seen by anyone in Group4. Nobody is in Group4, so none of
these users can see Bug4.
Bug5 can be seen by anyone who is in _both_ Group1 and Group2. This
is only User4. User1 cannot see it because he is not in Group2, and
User2 cannot see it because she is not in Group1.
Bug6 can be seen by anyone who is in both Group1 and Group3. This
would include User3 and User4. Similar to Bug5, User1 cannot see Bug6
because he is not in Group3.
Bug7 can be seen by anyone who is in Group1, Group2, and Group3. This
is only User4. All of the others are missing at least one of those
group priveleges, and thus cannot see the bug.
Bug8 can be seen by anyone who is in Group1, Group2, Group3, and
Group4. There is nobody in all four of these groups, so nobody can
see Bug8. It doesn't matter that User4 is in Group1, Group2, and
Group3, since he isn't in Group4.
</literallayout>
</example>
</para> </para>
</section>
</section>
<section id="security">
<title>Bugzilla Security</title>
<epigraph>
<para> <para>
Putting your money in a wall safe is better protection than If you use this method, your installation may break if incompatible
depending on the fact that no one knows that you hide your changes are made to the template interface. If such changes are made
money in a mayonnaise jar in your fridge. they will be documented in the release notes, provided you are using a
stable release of Bugzilla. If you use using unstable code, you will
need to deal with this one yourself, although if possible the changes
will be mentioned before they occur in the deprecations section of the
previous stable release's release notes.
</para> </para>
</epigraph>
<note> <note>
<para> <para>
Poorly-configured MySQL, Bugzilla, and FTP installations have Don't directly edit the compiled templates in
given attackers full access to systems in the past. Please <filename class="directory">data/template/*</filename> - your
take these guidelines seriously, even for Bugzilla machines changes will be lost when Template Toolkit recompiles them.
hidden away behind your firewall. 80% of all computer
trespassers are insiders, not anonymous crackers.
</para> </para>
</note> </note>
</section>
<section>
<title>How To Edit Templates</title>
<para>
The syntax of the Template Toolkit language is beyond the scope of
this guide. It's reasonably easy to pick up by looking at the current
templates; or, you can read the manual, available on the
<ulink url="http://www.template-toolkit.org">Template Toolkit home
page</ulink>. However, you should particularly remember (for security
reasons) to always HTML filter things which come from the database or
user input, to prevent cross-site scripting attacks.
</para>
<para> <para>
Secure your installation. However, one thing you should take particular care about is the need
to properly HTML filter data that has been passed into the template.
This means that if the data can possibly contain special HTML characters
such as &lt;, and the data was not intended to be HTML, they need to be
converted to entity form, ie &amp;lt;. You use the 'html' filter in the
Template Toolkit to do this. If you fail to do this, you may open up
your installation to cross-site scripting attacks.
</para>
<para>
Also note that Bugzilla adds a few filters of its own, that are not
in standard Template Toolkit. In particular, the 'url_quote' filter
can convert characters that are illegal or have special meaning in URLs,
such as &amp;, to the encoded form, ie %26. This actually encodes most
characters (but not the common ones such as letters and numbers and so
on), including the HTML-special characters, so there's never a need to
HTML filter afterwards.
</para>
<para>
Editing templates is a good way of doing a "poor man's custom fields".
For example, if you don't use the Status Whiteboard, but want to have
a free-form text entry box for "Build Identifier", then you can just
edit the templates to change the field labels. It's still be called
status_whiteboard internally, but your users don't need to know that.
</para>
<note> <note>
<para> <para>
These instructions must, of necessity, be somewhat vague If you are making template changes that you intend on submitting back
since Bugzilla runs on so many different platforms. If you for inclusion in standard Bugzilla, you should read the relevant
have refinements of these directions for specific platforms, sections of the
please submit them to <ulink url="mailto://mozilla-webtools@mozilla.org">mozilla-webtools@mozilla.org</ulink> <ulink url="http://www.bugzilla.org/developerguide.html">Developers'
Guide</ulink>.
</para> </para>
</note> </note>
<orderedlist> </section>
<listitem>
<section>
<title>Template Formats</title>
<para> <para>
Ensure you are running at least MysQL version 3.22.32 or Some CGIs have the ability to use more than one template. For
newer. Earlier versions had notable security holes and example, buglist.cgi can output bug lists as RDF or two
poorly secured default configuration choices. different forms of HTML (complex and simple). (Try this out
by appending <filename>&amp;format=simple</filename> to a buglist.cgi
URL on your Bugzilla installation.) This
mechanism, called template 'formats', is extensible.
</para> </para>
</listitem>
<listitem>
<para><emphasis>There is no substitute for understanding the
tools on your system!</emphasis> Read <ulink url="http://www.mysql.com/documentation/mysql/bychapter/manual_Privilege_system.html"> The MySQL Privilege System</ulink> until you can recite it from memory!</para>
<para> <para>
At the very least, ensure you password the "mysql -u root" To see if a CGI supports multiple output formats, grep the
account and the "bugs" account, establish grant table CGI for "ValidateOutputFormat". If it's not present, adding
rights (consult the Keystone guide in Appendix C: The multiple format support isn't too hard - see how it's done in
Bugzilla Database for some easy-to-use details) that do other CGIs.
not allow CREATE, DROP, RELOAD, SHUTDOWN, and PROCESS for
user "bugs". I wrote up the Keystone advice back when I
knew far less about security than I do now : )
</para> </para>
</listitem>
<listitem>
<para> <para>
Lock down /etc/inetd.conf. Heck, disable inet entirely on To make a new format template for a CGI which supports this,
this box. It should only listen to port 25 for Sendmail open a current template for
and port 80 for Apache. that CGI and take note of the INTERFACE comment (if present.) This
comment defines what variables are passed into this template. If
there isn't one, I'm afraid you'll have to read the template and
the code to find out what information you get.
</para> </para>
</listitem>
<listitem>
<para> <para>
Do not run Apache as <quote>nobody</quote>. This will Write your template in whatever markup or text style is appropriate.
require very lax permissions in your Bugzilla directories. </para>
Run it, instead, as a user with a name, set via your
httpd.conf file.
<note>
<para> <para>
<quote>nobody</quote> is a real user on UNIX systems. You now need to decide what content type you want your template
Having a process run as user id <quote>nobody</quote> served as. Open up the <filename>localconfig</filename> file and find the
is absolutely no protection against system crackers <filename>$contenttypes</filename>
versus using any other user account. As a general variable. If your content type is not there, add it. Remember
security measure, I recommend you create unique user the three- or four-letter tag assigned to you content type.
ID's for each daemon running on your system and, if This tag will be part of the template filename.
possible, use "chroot" to jail that process away from
the rest of your system.
</para> </para>
</note>
<para>
Save the template as <filename>&lt;stubname&gt;-&lt;formatname&gt;.&lt;contenttypetag&gt;.tmpl</filename>.
Try out the template by calling the CGI as
<filename>&lt;cginame&gt;.cgi?format=&lt;formatname&gt;</filename> .
</para> </para>
</listitem> </section>
<listitem>
<section>
<title>Particular Templates</title>
<para> <para>
Ensure you have adequate access controls for the There are a few templates you may be particularly interested in
$BUGZILLA_HOME/data/ and $BUGZILLA_HOME/shadow/ customising for your installation.
directories, as well as the $BUGZILLA_HOME/localconfig and
$BUGZILLA_HOME/globals.pl files. The localconfig file
stores your "bugs" user password, which would be terrible
to have in the hands of a criminal, while the "globals.pl"
stores some default information regarding your
installation which could aid a system cracker. In
addition, some files under $BUGZILLA_HOME/data/ store
sensitive information, and $BUGZILLA_HOME/shadow/ stores
bug information for faster retrieval. If you fail to
secure these directories and this file, you will expose
bug information to those who may not be allowed to see it.
</para> </para>
<note>
<para> <para>
Bugzilla provides default .htaccess files to protect the <command>index.html.tmpl</command>:
most common Apache installations. However, you should This is the Bugzilla front page.
verify these are adequate according to the site-wide
security policy of your web server, and ensure that the
.htaccess files are allowed to "override" default
permissions set in your Apache configuration files.
Covering Apache security is beyond the scope of this
Guide; please consult the Apache documentation for
details.
</para> </para>
<para> <para>
If you are using a web server that does not support the <command>global/header.html.tmpl</command>:
.htaccess control method, <emphasis>you are at This defines the header that goes on all Bugzilla pages.
risk!</emphasis> After installing, check to see if The header includes the banner, which is what appears to users
you can view the file "localconfig" in your web browser and is probably what you want to edit instead. However the
(e.g.: <ulink url="http://bugzilla.mozilla.org/localconfig"> http://bugzilla.mozilla.org/localconfig</ulink>). If you can read the contents of this file, your web server has not secured your bugzilla directory properly and you must fix this problem before deploying Bugzilla. If, however, it gives you a "Forbidden" error, then it probably respects the .htaccess conventions and you are good to go. header also includes the HTML HEAD section, so you could for
example add a stylesheet or META tag by editing the header.
</para> </para>
</note>
<para> <para>
On Apache, you can use .htaccess files to protect access <command>global/banner.html.tmpl</command>:
to these directories, as outlined in <ulink url="http://bugzilla.mozilla.org/show_bug.cgi?id=57161">Bug 57161</ulink> for the localconfig file, and <ulink url="http://bugzilla.mozilla.org/show_bug.cgi?id=65572"> Bug 65572</ulink> for adequate protection in your data/ and shadow/ directories. This contains the "banner", the part of the header that appears
at the top of all Bugzilla pages. The default banner is reasonably
barren, so you'll probably want to customise this to give your
installation a distinctive look and feel. It is recommended you
preserve the Bugzilla version number in some form so the version
you are running can be determined, and users know what docs to read.
</para> </para>
<para> <para>
Note the instructions which follow are Apache-specific. <command>global/footer.html.tmpl</command>:
If you use IIS, Netscape, or other non-Apache web servers, This defines the footer that goes on all Bugzilla pages. Editing
please consult your system documentation for how to secure this is another way to quickly get a distinctive look and feel for
these files from being transmitted to curious users. your Bugzilla installation.
</para> </para>
<para> <para>
Place the following text into a file named ".htaccess", <command>bug/create/user-message.html.tmpl</command>:
readable by your web server, in your $BUGZILLA_HOME/data This is a message that appears near the top of the bug reporting page.
directory. <literallayout> &lt;Files comments&gt; allow By modifying this, you can tell your users how they should report
from all &lt;/Files&gt; deny from all </literallayout> bugs.
</para> </para>
<para> <para>
Place the following text into a file named ".htaccess", <command>bug/create/create.html.tmpl</command> and
readable by your web server, in your $BUGZILLA_HOME/ <command>bug/create/comment.txt.tmpl</command>:
directory. <literallayout> &lt;Files localconfig&gt; deny You may wish to get bug submitters to give certain bits of structured
from all &lt;/Files&gt; allow from all </literallayout> information, each in a separate input widget, for which there is not a
field in the database. The bug entry system has been designed in an
extensible fashion to enable you to define arbitrary fields and widgets,
and have their values appear formatted in the initial
Description, rather than in database fields. An example of this
is the mozilla.org
<ulink url="http://bugzilla.mozilla.org/enter_bug.cgi?format=guided">guided
bug submission form</ulink>.
</para> </para>
<para> <para>
Place the following text into a file named ".htaccess", To make this work, create a custom template for
readable by your web server, in your $BUGZILLA_HOME/shadow <filename>enter_bug.cgi</filename> (the default template, on which you
directory. <literallayout> deny from all </literallayout> could base it, is <filename>create.html.tmpl</filename>),
and either call it <filename>create.html.tmpl</filename> or use a format and
call it <filename>create-&lt;formatname&gt;.html.tmpl</filename>.
Put it in the <filename class="directory">custom/bug/create</filename>
directory. In it, add widgets for each piece of information you'd like
collected - such as a build number, or set of steps to reproduce.
</para> </para>
</listitem>
</orderedlist> <para>
Then, create a template like
<filename>custom/bug/create/comment.txt.tmpl</filename>, also named
after your format if you are using one, which
references the form fields you have created. When a bug report is
submitted, the initial comment attached to the bug report will be
formatted according to the layout of this template.
</para> </para>
<para>
For example, if your enter_bug template had a field
<programlisting>&lt;input type="text" name="buildid" size="30"&gt;</programlisting>
and then your comment.txt.tmpl had
<programlisting>BuildID: [% form.buildid %]</programlisting>
then
<programlisting>BuildID: 20020303</programlisting>
would appear in the initial checkin comment.
</para>
</section>
</section>
<section id="upgrading">
<title>Upgrading to New Releases</title>
<para>A plain Bugzilla is fairly easy to upgrade from one version to a
newer one. Always read the release notes to see if there are any issues
that you might need to take note of. It is recommended that you take a
backup of your database and your entire Bugzilla installation before attempting an
upgrade. You can upgrade a 'clean' installation by untarring a new
tarball over the old installation. If you are upgrading from 2.12 or
later, and have cvs installed, you can type <filename>cvs -z3 update</filename>,
and resolve conflicts if there are any.
</para>
<para>However, things get a bit more complicated if you've made
changes to Bugzilla's code. In this case, you may have to re-make or
reapply those changes. One good method is to take a diff of your customised
version against the original, so you can survey all that you've changed.
Hopefully, templatisation will reduce the need for
this in the future.</para>
<para>From version 2.8 onwards, Bugzilla databases can be automatically
carried forward during an upgrade. However, because the developers of
Bugzilla are constantly adding new
tables, columns and fields, you'll probably get SQL errors if you just
update the code and attempt to use Bugzilla. Always run the
<filename>checksetup.pl</filename>
script whenever you upgrade your installation.</para>
<para>If you are running Bugzilla version 2.8 or lower, and wish to
upgrade to the latest version, please consult the file,
"UPGRADING-pre-2.8" in the Bugzilla root directory after untarring the
archive.</para>
</section> </section>
<!-- Integrating Bugzilla with Third-Party Tools -->
&integration;
</chapter> </chapter>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
...@@ -1456,3 +1235,4 @@ sgml-shorttag:t ...@@ -1456,3 +1235,4 @@ sgml-shorttag:t
sgml-tag-region-if-active:t sgml-tag-region-if-active:t
End: End:
--> -->
<!-- <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> --> <!-- <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> -->
<section id="conventions"> <section id="conventions">
<title>Document Conventions</title> <title>Document Conventions</title>
...@@ -7,93 +6,148 @@ ...@@ -7,93 +6,148 @@
<primary>conventions</primary> <primary>conventions</primary>
</indexterm> </indexterm>
<para> <para>This document uses the following conventions:</para>
This document uses the following conventions
</para>
<informaltable frame="none"> <informaltable frame="none">
<tgroup cols="2"> <tgroup cols="2">
<thead> <thead>
<row> <row>
<entry>Descriptions</entry> <entry>Descriptions</entry>
<entry>Appearance</entry> <entry>Appearance</entry>
</row> </row>
</thead> </thead>
<tbody> <tbody>
<row> <row>
<entry>Warnings</entry> <entry>Warnings</entry>
<entry><caution>
<para>Warnings.</para> <entry>
</caution></entry> <caution>
<para>Don't run with scissors!</para>
</caution>
</entry>
</row> </row>
<row> <row>
<entry>Hint</entry> <entry>Hint</entry>
<entry><tip>
<para>Hint.</para> <entry>
</tip></entry> <tip>
<para>Would you like a breath mint?</para>
</tip>
</entry>
</row> </row>
<row> <row>
<entry>Notes</entry> <entry>Notes</entry>
<entry><note>
<para>Note.</para> <entry>
</note></entry> <note>
<para>Dear John...</para>
</note>
</entry>
</row> </row>
<row> <row>
<entry>Information requiring special attention</entry> <entry>Information requiring special attention</entry>
<entry><warning>
<para>Warning.</para> <entry>
</warning></entry> <warning>
<para>Read this or the cat gets it.</para>
</warning>
</entry>
</row> </row>
<row> <row>
<entry>File Names</entry> <entry>File Names</entry>
<entry><filename>file.extension</filename></entry>
<entry>
<filename>filename</filename>
</entry>
</row> </row>
<row> <row>
<entry>Directory Names</entry> <entry>Directory Names</entry>
<entry><filename class="directory">directory</filename></entry>
<entry>
<filename class="directory">directory</filename>
</entry>
</row> </row>
<row> <row>
<entry>Commands to be typed</entry> <entry>Commands to be typed</entry>
<entry><command>command</command></entry>
<entry>
<command>command</command>
</entry>
</row> </row>
<row> <row>
<entry>Applications Names</entry> <entry>Applications Names</entry>
<entry><application>application</application></entry>
<entry>
<application>application</application>
</entry>
</row> </row>
<row> <row>
<entry><foreignphrase>Prompt</foreignphrase> of users command under bash shell</entry> <entry>
<foreignphrase>Prompt</foreignphrase>
of users command under bash shell</entry>
<entry>bash$</entry> <entry>bash$</entry>
</row> </row>
<row> <row>
<entry><foreignphrase>Prompt</foreignphrase> of root users command under bash shell</entry> <entry>
<foreignphrase>Prompt</foreignphrase>
of root users command under bash shell</entry>
<entry>bash#</entry> <entry>bash#</entry>
</row> </row>
<row> <row>
<entry><foreignphrase>Prompt</foreignphrase> of user command under tcsh shell</entry> <entry>
<foreignphrase>Prompt</foreignphrase>
of user command under tcsh shell</entry>
<entry>tcsh$</entry> <entry>tcsh$</entry>
</row> </row>
<row> <row>
<entry>Environment Variables</entry> <entry>Environment Variables</entry>
<entry><envar>VARIABLE</envar></entry>
<entry>
<envar>VARIABLE</envar>
</entry>
</row> </row>
<row> <row>
<entry>Emphasized word</entry> <entry>Emphasized word</entry>
<entry><emphasis>word</emphasis></entry>
<entry>
<emphasis>word</emphasis>
</entry>
</row> </row>
<row> <row>
<entry>Code Example</entry> <entry>Code Example</entry>
<entry><programlisting><sgmltag class="starttag">para</sgmltag>Beginning and end of paragraph<sgmltag class="endtag">para</sgmltag></programlisting></entry>
<entry>
<programlisting><sgmltag class="starttag">para</sgmltag>
Beginning and end of paragraph
<sgmltag class="endtag">para</sgmltag></programlisting>
</entry>
</row> </row>
</tbody> </tbody>
</tgroup> </tgroup>
</informaltable> </informaltable>
</section> </section>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
...@@ -114,3 +168,4 @@ sgml-shorttag:t ...@@ -114,3 +168,4 @@ sgml-shorttag:t
sgml-tag-region-if-active:t sgml-tag-region-if-active:t
End: End:
--> -->
<!-- <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> --> <!-- <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> -->
<section id="gfdl">
<title>GNU Free Documentation License</title>
<appendix id="gfdl">
<title>GNU Free Documentation License</title>
<!-- - GNU Project - Free Software Foundation (FSF) --> <!-- - GNU Project - Free Software Foundation (FSF) -->
<!-- LINK REV="made" HREF="mailto:webmasters@gnu.org" --> <!-- LINK REV="made" HREF="mailto:webmasters@gnu.org" -->
<!-- section>
<!-- sect1>
<title>GNU Free Documentation License</title --> <title>GNU Free Documentation License</title -->
<para>Version 1.1, March 2000</para> <para>Version 1.1, March 2000</para>
<blockquote> <blockquote>
<para>Copyright (C) 2000 Free Software Foundation, Inc. <para>Copyright (C) 2000 Free Software Foundation, Inc. 59 Temple Place,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and
Everyone is permitted to copy and distribute verbatim copies distribute verbatim copies of this license document, but changing it is
of this license document, but changing it is not allowed.</para> not allowed.</para>
</blockquote> </blockquote>
<sect1 label="0" id="gfdl-0"> <section label="0" id="gfdl-0">
<title>PREAMBLE</title> <title>PREAMBLE</title>
<para>The purpose of this License is to make a manual, textbook, <para>The purpose of this License is to make a manual, textbook, or other
or other written document "free" in the sense of freedom: to written document "free" in the sense of freedom: to assure everyone the
assure everyone the effective freedom to copy and redistribute it, effective freedom to copy and redistribute it, with or without modifying
with or without modifying it, either commercially or it, either commercially or noncommercially. Secondarily, this License
noncommercially. Secondarily, this License preserves for the preserves for the author and publisher a way to get credit for their
author and publisher a way to get credit for their work, while not work, while not being considered responsible for modifications made by
being considered responsible for modifications made by
others.</para> others.</para>
<para>This License is a kind of "copyleft", which means that <para>This License is a kind of "copyleft", which means that derivative
derivative works of the document must themselves be free in the works of the document must themselves be free in the same sense. It
same sense. It complements the GNU General Public License, which complements the GNU General Public License, which is a copyleft license
is a copyleft license designed for free software.</para> designed for free software.</para>
<para>We have designed this License in order to use it for manuals <para>We have designed this License in order to use it for manuals for
for free software, because free software needs free documentation: free software, because free software needs free documentation: a free
a free program should come with manuals providing the same program should come with manuals providing the same freedoms that the
freedoms that the software does. But this License is not limited software does. But this License is not limited to software manuals; it
to software manuals; it can be used for any textual work, can be used for any textual work, regardless of subject matter or whether
regardless of subject matter or whether it is published as a it is published as a printed book. We recommend this License principally
printed book. We recommend this License principally for works for works whose purpose is instruction or reference.</para>
whose purpose is instruction or reference.</para> </section>
</sect1>
<section label="1" id="gfdl-1">
<sect1 label="1" id="gfdl-1">
<title>APPLICABILITY AND DEFINITIONS</title> <title>APPLICABILITY AND DEFINITIONS</title>
<para>This License applies to any manual or other work that <para>This License applies to any manual or other work that contains a
contains a notice placed by the copyright holder saying it can be notice placed by the copyright holder saying it can be distributed under
distributed under the terms of this License. The "Document", the terms of this License. The "Document", below, refers to any such
below, refers to any such manual or work. Any member of the manual or work. Any member of the public is a licensee, and is addressed
public is a licensee, and is addressed as "you".</para> as "you".</para>
<para>A "Modified Version" of the Document means any work <para>A "Modified Version" of the Document means any work containing the
containing the Document or a portion of it, either copied Document or a portion of it, either copied verbatim, or with
verbatim, or with modifications and/or translated into another modifications and/or translated into another language.</para>
language.</para>
<para>A "Secondary Section" is a named appendix or a front-matter section
<para>A "Secondary Section" is a named appendix or a front-matter of the Document that deals exclusively with the relationship of the
section of the Document that deals exclusively with the publishers or authors of the Document to the Document's overall subject
relationship of the publishers or authors of the Document to the (or to related matters) and contains nothing that could fall directly
Document's overall subject (or to related matters) and contains within that overall subject. (For example, if the Document is in part a
nothing that could fall directly within that overall subject. textbook of mathematics, a Secondary Section may not explain any
(For example, if the Document is in part a textbook of mathematics.) The relationship could be a matter of historical connection
mathematics, a Secondary Section may not explain any mathematics.) with the subject or with related matters, or of legal, commercial,
The relationship could be a matter of historical connection with philosophical, ethical or political position regarding them.</para>
the subject or with related matters, or of legal, commercial,
philosophical, ethical or political position regarding <para>The "Invariant Sections" are certain Secondary Sections whose
them.</para> titles are designated, as being those of Invariant Sections, in the
notice that says that the Document is released under this License.</para>
<para>The "Invariant Sections" are certain Secondary Sections
whose titles are designated, as being those of Invariant Sections, <para>The "Cover Texts" are certain short passages of text that are
in the notice that says that the Document is released under this listed, as Front-Cover Texts or Back-Cover Texts, in the notice that says
License.</para> that the Document is released under this License.</para>
<para>The "Cover Texts" are certain short passages of text that <para>A "Transparent" copy of the Document means a machine-readable copy,
are listed, as Front-Cover Texts or Back-Cover Texts, in the represented in a format whose specification is available to the general
notice that says that the Document is released under this public, whose contents can be viewed and edited directly and
License.</para> straightforwardly with generic text editors or (for images composed of
pixels) generic paint programs or (for drawings) some widely available
<para>A "Transparent" copy of the Document means a drawing editor, and that is suitable for input to text formatters or for
machine-readable copy, represented in a format whose specification automatic translation to a variety of formats suitable for input to text
is available to the general public, whose contents can be viewed formatters. A copy made in an otherwise Transparent file format whose
and edited directly and straightforwardly with generic text markup has been designed to thwart or discourage subsequent modification
editors or (for images composed of pixels) generic paint programs by readers is not Transparent. A copy that is not "Transparent" is called
or (for drawings) some widely available drawing editor, and that "Opaque".</para>
is suitable for input to text formatters or for automatic
translation to a variety of formats suitable for input to text <para>Examples of suitable formats for Transparent copies include plain
formatters. A copy made in an otherwise Transparent file format ASCII without markup, Texinfo input format, LaTeX input format, SGML or
whose markup has been designed to thwart or discourage subsequent XML using a publicly available DTD, and standard-conforming simple HTML
modification by readers is not Transparent. A copy that is not designed for human modification. Opaque formats include PostScript, PDF,
"Transparent" is called "Opaque".</para> proprietary formats that can be read and edited only by proprietary word
processors, SGML or XML for which the DTD and/or processing tools are not
<para>Examples of suitable formats for Transparent copies include generally available, and the machine-generated HTML produced by some word
plain ASCII without markup, Texinfo input format, LaTeX input
format, SGML or XML using a publicly available DTD, and
standard-conforming simple HTML designed for human modification.
Opaque formats include PostScript, PDF, proprietary formats that
can be read and edited only by proprietary word processors, SGML
or XML for which the DTD and/or processing tools are not generally
available, and the machine-generated HTML produced by some word
processors for output purposes only.</para> processors for output purposes only.</para>
<para>The "Title Page" means, for a printed book, the title page <para>The "Title Page" means, for a printed book, the title page itself,
itself, plus such following pages as are needed to hold, legibly, plus such following pages as are needed to hold, legibly, the material
the material this License requires to appear in the title page. this License requires to appear in the title page. For works in formats
For works in formats which do not have any title page as such, which do not have any title page as such, "Title Page" means the text
"Title Page" means the text near the most prominent appearance of near the most prominent appearance of the work's title, preceding the
the work's title, preceding the beginning of the body of the beginning of the body of the text.</para>
text.</para> </section>
</sect1>
<sect1 label="2" id="gfdl-2"> <section label="2" id="gfdl-2">
<title>VERBATIM COPYING</title> <title>VERBATIM COPYING</title>
<para>You may copy and distribute the Document in any medium, <para>You may copy and distribute the Document in any medium, either
either commercially or noncommercially, provided that this commercially or noncommercially, provided that this License, the
License, the copyright notices, and the license notice saying this copyright notices, and the license notice saying this License applies to
License applies to the Document are reproduced in all copies, and the Document are reproduced in all copies, and that you add no other
that you add no other conditions whatsoever to those of this conditions whatsoever to those of this License. You may not use technical
License. You may not use technical measures to obstruct or measures to obstruct or control the reading or further copying of the
control the reading or further copying of the copies you make or copies you make or distribute. However, you may accept compensation in
distribute. However, you may accept compensation in exchange for exchange for copies. If you distribute a large enough number of copies
copies. If you distribute a large enough number of copies you you must also follow the conditions in section 3.</para>
must also follow the conditions in section 3.</para>
<para>You may also lend copies, under the same conditions stated above,
<para>You may also lend copies, under the same conditions stated and you may publicly display copies.</para>
above, and you may publicly display copies.</para> </section>
</sect1>
<section label="3" id="gfdl-3">
<sect1 label="3" id="gfdl-3">
<title>COPYING IN QUANTITY</title> <title>COPYING IN QUANTITY</title>
<para>If you publish printed copies of the Document numbering more <para>If you publish printed copies of the Document numbering more than
than 100, and the Document's license notice requires Cover Texts, 100, and the Document's license notice requires Cover Texts, you must
you must enclose the copies in covers that carry, clearly and enclose the copies in covers that carry, clearly and legibly, all these
legibly, all these Cover Texts: Front-Cover Texts on the front Cover Texts: Front-Cover Texts on the front cover, and Back-Cover Texts
cover, and Back-Cover Texts on the back cover. Both covers must on the back cover. Both covers must also clearly and legibly identify you
also clearly and legibly identify you as the publisher of these as the publisher of these copies. The front cover must present the full
copies. The front cover must present the full title with all title with all words of the title equally prominent and visible. You may
words of the title equally prominent and visible. You may add add other material on the covers in addition. Copying with changes
other material on the covers in addition. Copying with changes limited to the covers, as long as they preserve the title of the Document
limited to the covers, as long as they preserve the title of the and satisfy these conditions, can be treated as verbatim copying in other
Document and satisfy these conditions, can be treated as verbatim respects.</para>
copying in other respects.</para>
<para>If the required texts for either cover are too voluminous to fit
<para>If the required texts for either cover are too voluminous to legibly, you should put the first ones listed (as many as fit reasonably)
fit legibly, you should put the first ones listed (as many as fit on the actual cover, and continue the rest onto adjacent pages.</para>
reasonably) on the actual cover, and continue the rest onto
adjacent pages.</para>
<para>If you publish or distribute Opaque copies of the Document <para>If you publish or distribute Opaque copies of the Document
numbering more than 100, you must either include a numbering more than 100, you must either include a machine-readable
machine-readable Transparent copy along with each Opaque copy, or Transparent copy along with each Opaque copy, or state in or with each
state in or with each Opaque copy a publicly-accessible Opaque copy a publicly-accessible computer-network location containing a
computer-network location containing a complete Transparent copy complete Transparent copy of the Document, free of added material, which
of the Document, free of added material, which the general the general network-using public has access to download anonymously at no
network-using public has access to download anonymously at no charge using public-standard network protocols. If you use the latter
charge using public-standard network protocols. If you use the option, you must take reasonably prudent steps, when you begin
latter option, you must take reasonably prudent steps, when you distribution of Opaque copies in quantity, to ensure that this
begin distribution of Opaque copies in quantity, to ensure that Transparent copy will remain thus accessible at the stated location until
this Transparent copy will remain thus accessible at the stated at least one year after the last time you distribute an Opaque copy
location until at least one year after the last time you (directly or through your agents or retailers) of that edition to the
distribute an Opaque copy (directly or through your agents or public.</para>
retailers) of that edition to the public.</para>
<para>It is requested, but not required, that you contact the authors of
<para>It is requested, but not required, that you contact the the Document well before redistributing any large number of copies, to
authors of the Document well before redistributing any large give them a chance to provide you with an updated version of the
number of copies, to give them a chance to provide you with an Document.</para>
updated version of the Document.</para> </section>
</sect1>
<section label="4" id="gfdl-4">
<sect1 label="4" id="gfdl-4">
<title>MODIFICATIONS</title> <title>MODIFICATIONS</title>
<para>You may copy and distribute a Modified Version of the <para>You may copy and distribute a Modified Version of the Document
Document under the conditions of sections 2 and 3 above, provided under the conditions of sections 2 and 3 above, provided that you release
that you release the Modified Version under precisely this the Modified Version under precisely this License, with the Modified
License, with the Modified Version filling the role of the Version filling the role of the Document, thus licensing distribution and
Document, thus licensing distribution and modification of the modification of the Modified Version to whoever possesses a copy of it.
Modified Version to whoever possesses a copy of it. In addition, In addition, you must do these things in the Modified Version:</para>
you must do these things in the Modified Version:</para>
<orderedlist numeration="upperalpha"> <orderedlist numeration="upperalpha">
<listitem><para>Use in the Title Page <listitem>
(and on the covers, if any) a title distinct from that of the <para>Use in the Title Page (and on the covers, if any) a title
Document, and from those of previous versions (which should, if distinct from that of the Document, and from those of previous
there were any, be listed in the History section of the versions (which should, if there were any, be listed in the History
Document). You may use the same title as a previous version if section of the Document). You may use the same title as a previous
the original publisher of that version gives permission.</para> version if the original publisher of that version gives
permission.</para>
</listitem> </listitem>
<listitem><para>List on the Title Page, <listitem>
as authors, one or more persons or entities responsible for <para>List on the Title Page, as authors, one or more persons or
authorship of the modifications in the Modified Version, entities responsible for authorship of the modifications in the
together with at least five of the principal authors of the Modified Version, together with at least five of the principal
Document (all of its principal authors, if it has less than authors of the Document (all of its principal authors, if it has less
five).</para> than five).</para>
</listitem> </listitem>
<listitem><para>State on the Title page <listitem>
the name of the publisher of the Modified Version, as the <para>State on the Title page the name of the publisher of the
publisher.</para> Modified Version, as the publisher.</para>
</listitem> </listitem>
<listitem><para>Preserve all the <listitem>
copyright notices of the Document.</para> <para>Preserve all the copyright notices of the Document.</para>
</listitem> </listitem>
<listitem><para>Add an appropriate <listitem>
copyright notice for your modifications adjacent to the other <para>Add an appropriate copyright notice for your modifications
copyright notices.</para> adjacent to the other copyright notices.</para>
</listitem> </listitem>
<listitem><para>Include, immediately <listitem>
after the copyright notices, a license notice giving the public <para>Include, immediately after the copyright notices, a license
permission to use the Modified Version under the terms of this notice giving the public permission to use the Modified Version under
License, in the form shown in the Addendum below.</para> the terms of this License, in the form shown in the Addendum
below.</para>
</listitem> </listitem>
<listitem><para>Preserve in that license <listitem>
notice the full lists of Invariant Sections and required Cover <para>Preserve in that license notice the full lists of Invariant
Texts given in the Document's license notice.</para> Sections and required Cover Texts given in the Document's license
notice.</para>
</listitem> </listitem>
<listitem><para>Include an unaltered <listitem>
copy of this License.</para> <para>Include an unaltered copy of this License.</para>
</listitem> </listitem>
<listitem><para>Preserve the section <listitem>
entitled "History", and its title, and add to it an item stating <para>Preserve the section entitled "History", and its title, and add
at least the title, year, new authors, and publisher of the to it an item stating at least the title, year, new authors, and
Modified Version as given on the Title Page. If there is no publisher of the Modified Version as given on the Title Page. If
section entitled "History" in the Document, create one stating there is no section entitled "History" in the Document, create one
the title, year, authors, and publisher of the Document as given stating the title, year, authors, and publisher of the Document as
on its Title Page, then add an item describing the Modified given on its Title Page, then add an item describing the Modified
Version as stated in the previous sentence.</para> Version as stated in the previous sentence.</para>
</listitem> </listitem>
<listitem><para>Preserve the network <listitem>
location, if any, given in the Document for public access to a <para>Preserve the network location, if any, given in the Document
Transparent copy of the Document, and likewise the network for public access to a Transparent copy of the Document, and likewise
locations given in the Document for previous versions it was the network locations given in the Document for previous versions it
based on. These may be placed in the "History" section. You was based on. These may be placed in the "History" section. You may
may omit a network location for a work that was published at omit a network location for a work that was published at least four
least four years before the Document itself, or if the original years before the Document itself, or if the original publisher of the
publisher of the version it refers to gives permission.</para> version it refers to gives permission.</para>
</listitem> </listitem>
<listitem><para>In any section entitled <listitem>
"Acknowledgements" or "Dedications", preserve the section's <para>In any section entitled "Acknowledgements" or "Dedications",
title, and preserve in the section all the substance and tone of preserve the section's title, and preserve in the section all the
each of the contributor acknowledgements and/or dedications substance and tone of each of the contributor acknowledgements and/or
given therein.</para> dedications given therein.</para>
</listitem> </listitem>
<listitem><para>Preserve all the <listitem>
Invariant Sections of the Document, unaltered in their text and <para>Preserve all the Invariant Sections of the Document, unaltered
in their titles. Section numbers or the equivalent are not in their text and in their titles. Section numbers or the equivalent
considered part of the section titles.</para> are not considered part of the section titles.</para>
</listitem> </listitem>
<listitem><para>Delete any section <listitem>
entitled "Endorsements". Such a section may not be included in <para>Delete any section entitled "Endorsements". Such a section may
the Modified Version.</para> not be included in the Modified Version.</para>
</listitem> </listitem>
<listitem><para>Do not retitle any <listitem>
existing section as "Endorsements" or to conflict in title with <para>Do not retitle any existing section as "Endorsements" or to
any Invariant Section.</para> conflict in title with any Invariant Section.</para>
</listitem> </listitem>
</orderedlist> </orderedlist>
<para>If the Modified Version includes new front-matter sections <para>If the Modified Version includes new front-matter sections or
or appendices that qualify as Secondary Sections and contain no appendices that qualify as Secondary Sections and contain no material
material copied from the Document, you may at your option copied from the Document, you may at your option designate some or all of
designate some or all of these sections as invariant. To do this, these sections as invariant. To do this, add their titles to the list of
add their titles to the list of Invariant Sections in the Modified Invariant Sections in the Modified Version's license notice. These titles
Version's license notice. These titles must be distinct from any must be distinct from any other section titles.</para>
other section titles.</para>
<para>You may add a section entitled "Endorsements", provided it contains
<para>You may add a section entitled "Endorsements", provided it nothing but endorsements of your Modified Version by various parties--for
contains nothing but endorsements of your Modified Version by example, statements of peer review or that the text has been approved by
various parties--for example, statements of peer review or that an organization as the authoritative definition of a standard.</para>
the text has been approved by an organization as the authoritative
definition of a standard.</para> <para>You may add a passage of up to five words as a Front-Cover Text,
and a passage of up to 25 words as a Back-Cover Text, to the end of the
<para>You may add a passage of up to five words as a Front-Cover list of Cover Texts in the Modified Version. Only one passage of
Text, and a passage of up to 25 words as a Back-Cover Text, to the Front-Cover Text and one of Back-Cover Text may be added by (or through
end of the list of Cover Texts in the Modified Version. Only one arrangements made by) any one entity. If the Document already includes a
passage of Front-Cover Text and one of Back-Cover Text may be cover text for the same cover, previously added by you or by arrangement
added by (or through arrangements made by) any one entity. If the made by the same entity you are acting on behalf of, you may not add
Document already includes a cover text for the same cover, another; but you may replace the old one, on explicit permission from the
previously added by you or by arrangement made by the same entity previous publisher that added the old one.</para>
you are acting on behalf of, you may not add another; but you may
replace the old one, on explicit permission from the previous <para>The author(s) and publisher(s) of the Document do not by this
publisher that added the old one.</para> License give permission to use their names for publicity for or to assert
or imply endorsement of any Modified Version.</para>
<para>The author(s) and publisher(s) of the Document do not by </section>
this License give permission to use their names for publicity for
or to assert or imply endorsement of any Modified Version.</para> <section label="5" id="gfdl-5">
</sect1>
<sect1 label="5" id="gfdl-5">
<title>COMBINING DOCUMENTS</title> <title>COMBINING DOCUMENTS</title>
<para>You may combine the Document with other documents released <para>You may combine the Document with other documents released under
under this License, under the terms defined in section 4 above for this License, under the terms defined in section 4 above for modified
modified versions, provided that you include in the combination versions, provided that you include in the combination all of the
all of the Invariant Sections of all of the original documents, Invariant Sections of all of the original documents, unmodified, and list
unmodified, and list them all as Invariant Sections of your them all as Invariant Sections of your combined work in its license
combined work in its license notice.</para> notice.</para>
<para>The combined work need only contain one copy of this <para>The combined work need only contain one copy of this License, and
License, and multiple identical Invariant Sections may be replaced multiple identical Invariant Sections may be replaced with a single copy.
with a single copy. If there are multiple Invariant Sections with If there are multiple Invariant Sections with the same name but different
the same name but different contents, make the title of each such contents, make the title of each such section unique by adding at the end
section unique by adding at the end of it, in parentheses, the of it, in parentheses, the name of the original author or publisher of
name of the original author or publisher of that section if known, that section if known, or else a unique number. Make the same adjustment
or else a unique number. Make the same adjustment to the section to the section titles in the list of Invariant Sections in the license
titles in the list of Invariant Sections in the license notice of notice of the combined work.</para>
the combined work.</para>
<para>In the combination, you must combine any sections entitled <para>In the combination, you must combine any sections entitled
"History" in the various original documents, forming one section "History" in the various original documents, forming one section entitled
entitled "History"; likewise combine any sections entitled "History"; likewise combine any sections entitled "Acknowledgements", and
"Acknowledgements", and any sections entitled "Dedications". You any sections entitled "Dedications". You must delete all sections
must delete all sections entitled "Endorsements."</para> entitled "Endorsements."</para>
</sect1> </section>
<sect1 label="6" id="gfdl-6"> <section label="6" id="gfdl-6">
<title>COLLECTIONS OF DOCUMENTS</title> <title>COLLECTIONS OF DOCUMENTS</title>
<para>You may make a collection consisting of the Document and <para>You may make a collection consisting of the Document and other
other documents released under this License, and replace the documents released under this License, and replace the individual copies
individual copies of this License in the various documents with a of this License in the various documents with a single copy that is
single copy that is included in the collection, provided that you included in the collection, provided that you follow the rules of this
follow the rules of this License for verbatim copying of each of License for verbatim copying of each of the documents in all other
the documents in all other respects.</para> respects.</para>
<para>You may extract a single document from such a collection, <para>You may extract a single document from such a collection, and
and distribute it individually under this License, provided you distribute it individually under this License, provided you insert a copy
insert a copy of this License into the extracted document, and of this License into the extracted document, and follow this License in
follow this License in all other respects regarding verbatim all other respects regarding verbatim copying of that document.</para>
copying of that document.</para> </section>
</sect1>
<section label="7" id="gfdl-7">
<sect1 label="7" id="gfdl-7">
<title>AGGREGATION WITH INDEPENDENT WORKS</title> <title>AGGREGATION WITH INDEPENDENT WORKS</title>
<para>A compilation of the Document or its derivatives with other <para>A compilation of the Document or its derivatives with other
separate and independent documents or works, in or on a volume of separate and independent documents or works, in or on a volume of a
a storage or distribution medium, does not as a whole count as a storage or distribution medium, does not as a whole count as a Modified
Modified Version of the Document, provided no compilation Version of the Document, provided no compilation copyright is claimed for
copyright is claimed for the compilation. Such a compilation is the compilation. Such a compilation is called an "aggregate", and this
called an "aggregate", and this License does not apply to the License does not apply to the other self-contained works thus compiled
other self-contained works thus compiled with the Document, on with the Document, on account of their being thus compiled, if they are
account of their being thus compiled, if they are not themselves not themselves derivative works of the Document.</para>
derivative works of the Document.</para>
<para>If the Cover Text requirement of section 3 is applicable to these
<para>If the Cover Text requirement of section 3 is applicable to copies of the Document, then if the Document is less than one quarter of
these copies of the Document, then if the Document is less than the entire aggregate, the Document's Cover Texts may be placed on covers
one quarter of the entire aggregate, the Document's Cover Texts that surround only the Document within the aggregate. Otherwise they must
may be placed on covers that surround only the Document within the appear on covers around the whole aggregate.</para>
aggregate. Otherwise they must appear on covers around the whole </section>
aggregate.</para>
</sect1> <section label="8" id="gfdl-8">
<sect1 label="8" id="gfdl-8">
<title>TRANSLATION</title> <title>TRANSLATION</title>
<para>Translation is considered a kind of modification, so you may <para>Translation is considered a kind of modification, so you may
distribute translations of the Document under the terms of section distribute translations of the Document under the terms of section 4.
4. Replacing Invariant Sections with translations requires Replacing Invariant Sections with translations requires special
special permission from their copyright holders, but you may permission from their copyright holders, but you may include translations
include translations of some or all Invariant Sections in addition of some or all Invariant Sections in addition to the original versions of
to the original versions of these Invariant Sections. You may these Invariant Sections. You may include a translation of this License
include a translation of this License provided that you also provided that you also include the original English version of this
include the original English version of this License. In case of License. In case of a disagreement between the translation and the
a disagreement between the translation and the original English original English version of this License, the original English version
version of this License, the original English version will will prevail.</para>
prevail.</para> </section>
</sect1>
<section label="9" id="gfdl-9">
<sect1 label="9" id="gfdl-9">
<title>TERMINATION</title> <title>TERMINATION</title>
<para>You may not copy, modify, sublicense, or distribute the <para>You may not copy, modify, sublicense, or distribute the Document
Document except as expressly provided for under this License. Any except as expressly provided for under this License. Any other attempt to
other attempt to copy, modify, sublicense or distribute the copy, modify, sublicense or distribute the Document is void, and will
Document is void, and will automatically terminate your rights automatically terminate your rights under this License. However, parties
under this License. However, parties who have received copies, or who have received copies, or rights, from you under this License will not
rights, from you under this License will not have their licenses have their licenses terminated so long as such parties remain in full
terminated so long as such parties remain in full
compliance.</para> compliance.</para>
</sect1> </section>
<sect1 label="10" id="gfdl-10"> <section label="10" id="gfdl-10">
<title>FUTURE REVISIONS OF THIS LICENSE</title> <title>FUTURE REVISIONS OF THIS LICENSE</title>
<para>The Free Software Foundation may publish new, revised <para>The Free Software Foundation may publish new, revised versions of
versions of the GNU Free Documentation License from time to time. the GNU Free Documentation License from time to time. Such new versions
Such new versions will be similar in spirit to the present will be similar in spirit to the present version, but may differ in
version, but may differ in detail to address new problems or detail to address new problems or concerns. See
concerns. See <ulink <ulink url="http://www.gnu.org/copyleft/">
url="http://www.gnu.org/copyleft/">http://www.gnu.org/copyleft/</ulink>.</para> http://www.gnu.org/copyleft/</ulink>
<para>Each version of the License is given a distinguishing .</para>
version number. If the Document specifies that a particular
numbered version of this License "or any later version" applies to <para>Each version of the License is given a distinguishing version
it, you have the option of following the terms and conditions number. If the Document specifies that a particular numbered version of
either of that specified version or of any later version that has this License "or any later version" applies to it, you have the option of
been published (not as a draft) by the Free Software Foundation. following the terms and conditions either of that specified version or of
If the Document does not specify a version number of this License, any later version that has been published (not as a draft) by the Free
you may choose any version ever published (not as a draft) by the Software Foundation. If the Document does not specify a version number of
Free Software Foundation.</para> this License, you may choose any version ever published (not as a draft)
</sect1> by the Free Software Foundation.</para>
</section>
<sect1 label="" id="gfdl-howto">
<section label="" id="gfdl-howto">
<title>How to use this License for your documents</title> <title>How to use this License for your documents</title>
<para>To use this License in a document you have written, include <para>To use this License in a document you have written, include a copy
a copy of the License in the document and put the following of the License in the document and put the following copyright and
copyright and license notices just after the title page:</para> license notices just after the title page:</para>
<blockquote><para>
Copyright (c) YEAR YOUR NAME.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1
or any later version published by the Free Software Foundation;
with the Invariant Sections being LIST THEIR TITLES, with the
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
A copy of the license is included in the section entitled "GNU
Free Documentation License".
</para></blockquote>
<para>If you have no Invariant Sections, write "with no Invariant <blockquote>
Sections" instead of saying which ones are invariant. If you have <para>Copyright (c) YEAR YOUR NAME. Permission is granted to copy,
no Front-Cover Texts, write "no Front-Cover Texts" instead of distribute and/or modify this document under the terms of the GNU Free
"Front-Cover Texts being LIST"; likewise for Back-Cover Documentation License, Version 1.1 or any later version published by
Texts.</para> the Free Software Foundation; with the Invariant Sections being LIST
THEIR TITLES, with the Front-Cover Texts being LIST, and with the
<para>If your document contains nontrivial examples of program Back-Cover Texts being LIST. A copy of the license is included in the
code, we recommend releasing these examples in parallel under your section entitled "GNU Free Documentation License".</para>
choice of free software license, such as the GNU General Public </blockquote>
License, to permit their use in free software.</para>
</sect1>
</appendix> <para>If you have no Invariant Sections, write "with no Invariant
Sections" instead of saying which ones are invariant. If you have no
Front-Cover Texts, write "no Front-Cover Texts" instead of "Front-Cover
Texts being LIST"; likewise for Back-Cover Texts.</para>
<para>If your document contains nontrivial examples of program code, we
recommend releasing these examples in parallel under your choice of free
software license, such as the GNU General Public License, to permit their
use in free software.</para>
</section>
</section>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
...@@ -472,3 +445,4 @@ sgml-shorttag:t ...@@ -472,3 +445,4 @@ sgml-shorttag:t
sgml-tag-region-if-active:t sgml-tag-region-if-active:t
End: End:
--> -->
<!-- <!DOCTYPE glossary PUBLIC "-//OASIS//DTD DocBook V4.1//EN" > --> <!-- <!DOCTYPE glossary PUBLIC "-//OASIS//DTD DocBook V4.1//EN" > -->
<glossary id="glossary">
<glossary id="glossary">
<glossdiv> <glossdiv>
<title>0-9, high ascii</title> <title>0-9, high ascii</title>
<glossentry> <glossentry>
<glossterm>.htaccess</glossterm> <glossterm>.htaccess</glossterm>
<glossdef> <glossdef>
<para> <para>Apache web server, and other NCSA-compliant web servers,
Apache web server, and other NCSA-compliant web servers, observe the convention of using files in directories called
observe the convention of using files in directories <filename>.htaccess</filename>
called <filename>.htaccess</filename> files. These
restrict parameters of the web server. In Bugzilla, they to restrict access to certain files. In Bugzilla, they are used
are used to restrict access to certain files which would to keep secret files which would otherwise
otherwise compromise your installation. For instance, the compromise your installation - e.g. the
<filename>localconfig</filename> file contains the <filename>localconfig</filename>
password to your database. If this information were file contains the password to your database.
generally available, and remote access to your database curious.</para>
turned on, you risk corruption of your database by
computer criminals or the curious.
</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
<glossdiv id="gloss-a"> <glossdiv id="gloss-a">
<title>A</title> <title>A</title>
<glossentry> <glossentry>
<glossterm>Apache</glossterm> <glossterm>Apache</glossterm>
<glossdef> <glossdef>
<para>In this context, Apache is the web server most <para>In this context, Apache is the web server most commonly used
commonly used for serving up for serving up
<glossterm>Bugzilla</glossterm> pages. Contrary to <glossterm>Bugzilla</glossterm>
popular belief, the apache web server has nothing to do
with the ancient and noble Native American tribe, but pages. Contrary to popular belief, the apache web server has nothing
instead derived its name from the fact that it was to do with the ancient and noble Native American tribe, but instead
<quote>a patchy</quote> version of the original derived its name from the fact that it was
<acronym>NCSA</acronym> world-wide-web server.</para> <quote>a patchy</quote>
version of the original
<acronym>NCSA</acronym>
world-wide-web server.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
<glossdiv id="gloss-b"> <glossdiv id="gloss-b">
<title>B</title> <title>B</title>
<glossentry> <glossentry>
<glossterm>Bug</glossterm> <glossterm>Bug</glossterm>
<glossdef> <glossdef>
<para> <para>A
A <quote>Bug</quote> in Bugzilla refers to an issue <quote>bug</quote>
entered into the database which has an associated number,
assignments, comments, etc. Some also refer to a in Bugzilla refers to an issue entered into the database which has an
<quote>tickets</quote> or <quote>issues</quote>; in the associated number, assignments, comments, etc. Some also refer to a
context of Bugzilla, they are synonymous. <quote>tickets</quote>
</para> or
<quote>issues</quote>;
in the context of Bugzilla, they are synonymous.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
<glossentry> <glossentry>
<glossterm>Bug Number</glossterm> <glossterm>Bug Number</glossterm>
<glossdef>
<para>
Each Bugzilla Bug is assigned a number that uniquely
identifies that Bug. The Bug associated with a Bug Number
can be pulled up via a query, or easily from the very
front page by typing the number in the "Find" box.
</para>
</glossdef>
</glossentry>
<glossentry>
<glossterm>Bug Life Cycle</glossterm>
<glossdef> <glossdef>
<para>A Bug has stages through which it must pass before <para>Each Bugzilla bug is assigned a number that uniquely identifies
becoming a <quote>closed bug</quote>, including that bug. The bug associated with a bug number can be pulled up via a
acceptance, resolution, and verification. The <quote>Bug query, or easily from the very front page by typing the number in the
Life Cycle</quote> is moderately flexible according to "Find" box.</para>
the needs of the organization using it, though.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
<glossentry> <glossentry>
<glossterm>Bugzilla</glossterm> <glossterm>Bugzilla</glossterm>
<glossdef> <glossdef>
<para> <para>Bugzilla is the world-leading free software bug tracking system.
Bugzilla is the industry-standard bug tracking system. It
is quite popular among Open Source enthusiasts.
</para> </para>
</glossdef> </glossdef>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
<glossdiv id="gloss-c"> <glossdiv id="gloss-c">
<title></title> <title>
</title>
<glossentry id="gloss-component"> <glossentry id="gloss-component">
<glossterm>Component</glossterm> <glossterm>Component</glossterm>
<glossdef> <glossdef>
<para> <para>A Component is a subsection of a Product. It should be a narrow
A Component is a subsection of a Product. It should be a category, tailored to your organization. All Products must contain at
narrow category, tailored to your organization. All least one Component (and, as a matter of fact, creating a Product
Products must contain at least one Component (and, as a with no Components will create an error in Bugzilla).</para>
matter of fact, creating a Product with no Components will
create an error in Bugzilla).
</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
<glossentry id="gloss-cpan"> <glossentry id="gloss-cpan">
<glossterm><acronym>CPAN</acronym></glossterm> <glossterm>
<acronym>CPAN</acronym>
</glossterm>
<glossdef> <glossdef>
<para><acronym>CPAN</acronym> stands for the <para>
<quote>Comprehensive Perl Archive Network</quote>. CPAN <acronym>CPAN</acronym>
maintains a large number of extremely useful
<glossterm>Perl</glossterm> modules. By themselves, Perl stands for the
modules generally do nothing, but when used as part of a <quote>Comprehensive Perl Archive Network</quote>.
larger program, they provide much-needed algorithms and CPAN maintains a large number of extremely useful
functionality.</para> <glossterm>Perl</glossterm>
modules - encapsulated chunks of code for performing a
particular task.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
<glossdiv id="gloss-d"> <glossdiv id="gloss-d">
<title>D</title> <title>D</title>
<glossentry> <glossentry>
<glossterm>daemon</glossterm> <glossterm>daemon</glossterm>
<glossdef> <glossdef>
<para>A daemon is a computer program which runs in the <para>A daemon is a computer program which runs in the background. In
background. In general, most daemons are started at boot general, most daemons are started at boot time via System V init
time via System V init scripts, or through RC scripts on scripts, or through RC scripts on BSD-based systems.
BSD-based systems. <glossterm>mysqld</glossterm>, the <glossterm>mysqld</glossterm>,
MySQL server, and <glossterm>apache</glossterm>, a web the MySQL server, and
server, are generally run as daemons.</para> <glossterm>apache</glossterm>,
a web server, are generally run as daemons.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
<glossdiv id="gloss-g"> <glossdiv id="gloss-g">
<title></title> <title>
</title>
<glossentry> <glossentry>
<glossterm>Groups</glossterm> <glossterm>Groups</glossterm>
<glossdef>
<para>The word <quote>Groups</quote> has a very special
meaning to Bugzilla. Bugzilla's main security mechanism
comes by lumping users into groups, and assigning those
groups certain privileges to
<glossterm>Products</glossterm> and
<glossterm>Components</glossterm> in the
<glossterm>Bugzilla</glossterm> database.</para>
</glossdef>
</glossentry>
</glossdiv>
<glossdiv id="gloss-i">
<title>I</title>
<glossentry id="gloss-infiniteloop">
<glossterm>Infinite Loop</glossterm>
<glossdef> <glossdef>
<para>A loop of information that never ends; see recursion.</para> <para>The word
<quote>Groups</quote>
has a very special meaning to Bugzilla. Bugzilla's main security
mechanism comes by placing users in groups, and assigning those
groups certain privileges to view bugs in particular
<glossterm>Products</glossterm>
in the
<glossterm>Bugzilla</glossterm>
database.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
<glossdiv id="gloss-m"> <glossdiv id="gloss-m">
<title>M</title> <title>M</title>
<glossentry> <glossentry>
<glossterm>mysqld</glossterm> <glossterm>mysqld</glossterm>
<glossdef> <glossdef>
<para>mysqld is the name of the <para>mysqld is the name of the
<glossterm>daemon</glossterm> for the MySQL database. In <glossterm>daemon</glossterm>
general, it is invoked automatically through the use of
the System V init scripts on GNU/Linux and AT&amp;T System for the MySQL database. In general, it is invoked automatically
V-based systems, such as Solaris and HP/UX, or through the through the use of the System V init scripts on GNU/Linux and
RC scripts on BSD-based systems.</para> AT&amp;T System V-based systems, such as Solaris and HP/UX, or
through the RC scripts on BSD-based systems.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
<glossdiv id="gloss-p"> <glossdiv id="gloss-p">
<title>P</title> <title>P</title>
<glossentry> <glossentry>
<glossterm id="gloss-product">Product</glossterm> <glossterm id="gloss-product">Product</glossterm>
<glossdef> <glossdef>
<para>A Product is a broad category of types of bugs. In <para>A Product is a broad category of types of bugs, normally
general, there are several Components to a Product. A representing a single piece of software or entity. In general,
Product also defines a default Group (used for Bug there are several Components to a Product. A Product may define a
Security) for all bugs entered into components beneath group (used for security) for all bugs entered into
it.</para> its Components.</para>
<example>
<title>A Sample Product</title>
<para>A company sells a software product called
<quote>X</quote>. They also maintain some older
software called <quote>Y</quote>, and have a secret
project <quote>Z</quote>. An effective use of Products
might be to create Products <quote>X</quote>,
<quote>Y</quote>, <quote>Z</quote>, each with Components
of User Interface, Database, and Business Logic. They
might also change group permissions so that only those
people who are members of Group <quote>Z</quote> can see
components and bugs under Product
<quote>Z</quote>.</para>
</example>
</glossdef> </glossdef>
</glossentry> </glossentry>
<glossentry> <glossentry>
<glossterm>Perl</glossterm> <glossterm>Perl</glossterm>
<glossdef> <glossdef>
<para>First written by Larry Wall, Perl is a remarkable <para>First written by Larry Wall, Perl is a remarkable program
program language. It has the benefits of the flexibility language. It has the benefits of the flexibility of an interpreted
of an interpreted scripting language (such as shell scripting language (such as shell script), combined with the speed
script), combined with the speed and power of a compiled and power of a compiled language, such as C.
language, such as C. <glossterm>Bugzilla</glossterm> is <glossterm>Bugzilla</glossterm>
maintained in Perl.</para>
is maintained in Perl.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
<glossdiv id="gloss-q"> <glossdiv id="gloss-q">
<title>Q</title> <title>Q</title>
<glossentry> <glossentry>
<glossterm>QA</glossterm> <glossterm>QA</glossterm>
<glossdef> <glossdef>
<para><quote>QA</quote>, <quote>Q/A</quote>, and <para>
<quote>Q.A.</quote> are short for <quote>Quality <quote>QA</quote>,
Assurance</quote>. In most large software development <quote>Q/A</quote>, and
organizations, there is a team devoted to ensuring the <quote>Q.A.</quote>
product meets minimum standards before shipping. This are short for
team will also generally want to track the progress of <quote>Quality Assurance</quote>.
In most large software development organizations, there is a team
devoted to ensuring the product meets minimum standards before
shipping. This team will also generally want to track the progress of
bugs over their life cycle, thus the need for the bugs over their life cycle, thus the need for the
<quote>QA Contact</quote> field in a Bug.</para> <quote>QA Contact</quote>
</glossdef>
</glossentry>
</glossdiv>
<glossdiv id="gloss-r"> field in a bug.</para>
<title>R</title>
<glossentry id="gloss-recursion" xreflabel="Recursion">
<glossterm>Recursion</glossterm>
<glossdef>
<para>The property of a function looking back at itself for
something. <quote>GNU</quote>, for instance, stands for
<quote>GNU's Not UNIX</quote>, thus recursing upon itself
for definition. For further clarity, see Infinite
Loop.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
<glossdiv id="gloss-s"> <glossdiv id="gloss-s">
<title>S</title> <title>S</title>
<glossentry> <glossentry>
<glossterm><acronym>SGML</acronym></glossterm> <glossterm>
<acronym>SGML</acronym>
</glossterm>
<glossdef> <glossdef>
<para><acronym>SGML</acronym> stands for <quote>Standard <para>
Generalized Markup Language</quote>. Created in the <acronym>SGML</acronym>
1980's to provide an extensible means to maintain
stands for
<quote>Standard Generalized Markup Language</quote>.
Created in the 1980's to provide an extensible means to maintain
documentation based upon content instead of presentation, documentation based upon content instead of presentation,
<acronym>SGML</acronym> has withstood the test of time as <acronym>SGML</acronym>
a robust, powerful language.
<glossterm><acronym>XML</acronym></glossterm> is the has withstood the test of time as a robust, powerful language.
<quote>baby brother</quote> of SGML; any valid <glossterm>
<acronym>XML</acronym> document it, by definition, a valid <acronym>XML</acronym>
<acronym>SGML</acronym> document. The document you are </glossterm>
reading is written and maintained in
<acronym>SGML</acronym>, and is also valid is the
<acronym>XML</acronym> if you modify the Document Type <quote>baby brother</quote>
Definition.</para>
of SGML; any valid
<acronym>XML</acronym>
document it, by definition, a valid
<acronym>SGML</acronym>
document. The document you are reading is written and maintained in
<acronym>SGML</acronym>,
and is also valid
<acronym>XML</acronym>
if you modify the Document Type Definition.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
<glossdiv id="gloss-t"> <glossdiv id="gloss-t">
<title>T</title> <title>T</title>
<glossentry id="gloss-target-milestone" xreflabel="Target Milestone"> <glossentry id="gloss-target-milestone" xreflabel="Target Milestone">
<glossterm>Target Milestone</glossterm> <glossterm>Target Milestone</glossterm>
<glossdef> <glossdef>
<para> <para>Target Milestones are Product goals. They are configurable on a
Target Milestones are Product goals. They are per-Product basis. Most software development houses have a concept of
configurable on a per-Product basis. Most software
development houses have a concept of <quote>milestones</quote>
<quote>milestones</quote> where the people funding a
project expect certain functionality on certain dates. where the people funding a project expect certain functionality on
Bugzilla facilitates meeting these milestones by giving certain dates. Bugzilla facilitates meeting these milestones by
you the ability to declare by which milestone a bug will be giving you the ability to declare by which milestone a bug will be
fixed, or an enhancement will be implemented. fixed, or an enhancement will be implemented.</para>
</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
<glossdiv id="gloss-z"> <glossdiv id="gloss-z">
<title>Z</title> <title>Z</title>
<glossentry id="zarro-boogs-found" xreflabel="Zarro Boogs Found"> <glossentry id="zarro-boogs-found" xreflabel="Zarro Boogs Found">
<glossterm>Zarro Boogs Found</glossterm> <glossterm>Zarro Boogs Found</glossterm>
<glossdef> <glossdef>
<para>This is the cryptic response sent by Bugzilla when a <para>This is the cryptic response sent by Bugzilla when a query
query returned no results. It is just a goofy way of returned no results. It is just a goofy way of saying "Zero Bugs
saying "Zero Bugs Found".</para> Found".</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
</glossary>
</glossary>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
...@@ -319,3 +328,4 @@ sgml-shorttag:t ...@@ -319,3 +328,4 @@ sgml-shorttag:t
sgml-tag-region-if-active:t sgml-tag-region-if-active:t
End: End:
--> -->
This source diff could not be displayed because it is too large. You can view the blob instead.
<!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.1//EN" > --> <!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.1//EN" > -->
<!-- Keep these tools listings in alphabetical order please. -MPB --> <!-- Keep these tools listings in alphabetical order please. -MPB -->
<section id="integration">
<chapter id="integration">
<title>Integrating Bugzilla with Third-Party Tools</title> <title>Integrating Bugzilla with Third-Party Tools</title>
<section id="bonsai" xreflabel="Bonsai, the Mozilla automated CVS management system"> <section id="bonsai"
xreflabel="Bonsai, the Mozilla automated CVS management system">
<title>Bonsai</title> <title>Bonsai</title>
<para>Bonsai is a web-based tool for managing <xref
linkend="cvs" /> <para>Bonsai is a web-based tool for managing
. Using Bonsai, administrators can control open/closed status <xref linkend="cvs" />
of trees, query a fast relational database back-end for change,
branch, and comment information, and view changes made since the . Using Bonsai, administrators can control open/closed status of trees,
last time the tree was closed. These kinds of changes cause the query a fast relational database back-end for change, branch, and comment
engineer responsible to be <quote>on the hook</quote> (include information, and view changes made since the last time the tree was
cool URL link here for Hook policies at mozilla.org). Bonsai closed. Bonsai
also includes gateways to <xref also integrates with
linkend="tinderbox" /> and Bugzilla </para> <xref linkend="tinderbox" />.
</para>
</section> </section>
<section id="cvs" xreflabel="CVS, the Concurrent Versioning System"> <section id="cvs" xreflabel="CVS, the Concurrent Versioning System">
<title>CVS</title> <title>CVS</title>
<para>CVS integration is best accomplished, at this point, using
the Bugzilla Email Gateway. There have been some files <para>CVS integration is best accomplished, at this point, using the
submitted to allow greater CVS integration, but we need to make Bugzilla Email Gateway.</para>
certain that Bugzilla is not tied into one particular software
management package.</para> <para>Follow the instructions in this Guide for enabling Bugzilla e-mail
<para> integration. Ensure that your check-in script sends an email to your
Follow the instructions in the FAQ for enabling Bugzilla e-mail Bugzilla e-mail gateway with the subject of
integration. Ensure that your check-in script sends an email to <quote>[Bug XXXX]</quote>,
your Bugzilla e-mail gateway with the subject of <quote>[Bug and you can have CVS check-in comments append to your Bugzilla bug. If
XXXX]</quote>, and you can have CVS check-in comments append you have your check-in script include an @resolution field, you can even
to your Bugzilla bug. If you have your check-in script include change the Bugzilla bug state.</para>
an @resolution field, you can even change the Bugzilla bug
state. <para>There is also a CVSZilla project, based upon somewhat dated
</para> Bugzilla code, to integrate CVS and Bugzilla through CVS' ability to
<para>
There is also a project, based upon somewhat dated Bugzilla
code, to integrate CVS and Bugzilla through CVS' ability to
email. Check it out at: email. Check it out at:
<ulink url="http://homepages.kcbbs.gen.nz/~tonyg/"> <ulink url="http://homepages.kcbbs.gen.nz/~tonyg/">
http://homepages.kcbbs.gen.nz/~tonyg/</ulink>, under the http://homepages.kcbbs.gen.nz/~tonyg/</ulink>.
<quote>cvszilla</quote> link.
</para> </para>
</section> </section>
<section id="scm" xreflabel="Perforce SCM (Fast Software Configuration Management System, a powerful commercial alternative to CVS"> <section id="scm"
xreflabel="Perforce SCM (Fast Software Configuration Management System, a powerful commercial alternative to CVS">
<title>Perforce SCM</title> <title>Perforce SCM</title>
<para>
You can find the project page for Bugzilla and Teamtrack
Perforce integration (p4dti) at: <ulink
url="http://www.ravenbrook.com/project/p4dti/"> http://www.ravenbrook.com/project/p4dti</ulink> . <quote>p4dti</quote> is now an officially supported product from Perforce, and you can find the "Perforce Public Depot" p4dti page at <ulink url="http://public.perforce.com/public/perforce/p4dti/index.html"> http://public.perforce.com/public/perforce/p4dti/index.html</ulink>.
</para>
<para>
Integration of Perforce with Bugzilla, once patches are applied,
is seamless. Perforce replication information will appear below
the comments of each bug. Be certain you have a matching set of
patches for the Bugzilla version you are installing. p4dti is
designed to support multiple defect trackers, and maintains its
own documentation for it. Please consult the pages linked above
for further information.
</para>
</section>
<section id="tinderbox" xreflabel="Tinderbox, the Mozilla automated build management system"> <para>You can find the project page for Bugzilla and Teamtrack Perforce
<title>Tinderbox/Tinderbox2</title> integration (p4dti) at:
<para>We need Tinderbox integration information.</para> <ulink url="http://www.ravenbrook.com/project/p4dti/">
</section> http://www.ravenbrook.com/project/p4dti</ulink>
</chapter> .
<quote>p4dti</quote>
is now an officially supported product from Perforce, and you can find
the "Perforce Public Depot" p4dti page at
<ulink url="http://public.perforce.com/public/perforce/p4dti/index.html">
http://public.perforce.com/public/perforce/p4dti/index.html</ulink>
.</para>
<para>Integration of Perforce with Bugzilla, once patches are applied, is
seamless. Perforce replication information will appear below the comments
of each bug. Be certain you have a matching set of patches for the
Bugzilla version you are installing. p4dti is designed to support
multiple defect trackers, and maintains its own documentation for it.
Please consult the pages linked above for further information.</para>
</section>
<section id="tinderbox"
xreflabel="Tinderbox, the Mozilla automated build management system">
<title>Tinderbox/Tinderbox2</title>
<para>We need Tinderbox integration information.</para>
</section>
</section>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
...@@ -93,3 +97,4 @@ sgml-shorttag:t ...@@ -93,3 +97,4 @@ sgml-shorttag:t
sgml-tag-region-if-active:t sgml-tag-region-if-active:t
End: End:
--> -->
<!-- <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> --> <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<appendix id="patches" xreflabel="Useful Patches and Utilities for Bugzilla"> <appendix id="patches" xreflabel="Useful Patches and Utilities for Bugzilla">
<title>Useful Patches and Utilities for Bugzilla</title> <title>Useful Patches and Utilities for Bugzilla</title>
<para>Are you looking for a way to put your Bugzilla into overdrive? Catch some of the niftiest tricks here in this section.</para> <para>Are you looking for a way to put your Bugzilla into overdrive? Catch
some of the niftiest tricks here in this section.</para>
<section id="rewrite" xreflabel="Apache mod_rewrite magic"> <section id="rewrite" xreflabel="Apache mod_rewrite magic">
<title>Apache <filename>mod_rewrite</filename> magic</title> <title>Apache
<para>Apache's <filename>mod_rewrite</filename> module lets you do some truly amazing things with URL rewriting. Here are a couple of examples of what you can do.</para> <filename>mod_rewrite</filename>
magic</title>
<para>Apache's
<filename>mod_rewrite</filename>
module lets you do some truly amazing things with URL rewriting. Here are
a couple of examples of what you can do.</para>
<orderedlist> <orderedlist>
<listitem> <listitem>
<para> <para>Make it so if someone types
Make it so if someone types <computeroutput>http://www.foo.com/12345</computeroutput>
<computeroutput>http://www.foo.com/12345</computeroutput>,
Bugzilla spits back , Bugzilla spits back http://www.foo.com/show_bug.cgi?id=12345. Try
http://www.foo.com/show_bug.cgi?id=12345. Try setting up setting up your VirtualHost section for Bugzilla with a rule like
your VirtualHost section for Bugzilla with a rule like
this:</para> this:</para>
<programlisting>
<![CDATA[ <programlisting><![CDATA[
<VirtualHost 12.34.56.78> <VirtualHost 12.34.56.78>
RewriteEngine On RewriteEngine On
RewriteRule ^/([0-9]+)$ http://foo.bar.com/show_bug.cgi?id=$1 [L,R] RewriteRule ^/([0-9]+)$ http://foo.bar.com/show_bug.cgi?id=$1 [L,R]
</VirtualHost> </VirtualHost>
]]> ]]></programlisting>
</programlisting>
</listitem> </listitem>
<listitem> <listitem>
<para>There are many, many more things you can do with <para>There are many, many more things you can do with mod_rewrite.
mod_rewrite. As time goes on, I will include many more in Please refer to the mod_rewrite documentation at
the Guide. For now, though, please refer to the mod_rewrite <ulink url="http://www.apache.org">http://www.apache.org</ulink>.
documentation at <ulink </para>
url="http://www.apache.org">http://www.apache.org</ulink></para>
</listitem> </listitem>
</orderedlist> </orderedlist>
</section> </section>
<section id="setperl" xreflabel="The setperl.csh Utility">
<title>The setperl.csh Utility</title>
<para> You can use the "setperl.csh" utility to quickly and
easily change the path to perl on all your Bugzilla files. This
is a C-shell script; if you do not have "csh" or "tcsh" in the
search path on your system, it will not work!
</para>
<procedure>
<step>
<para>
Download the "setperl.csh" utility to your Bugzilla
directory and make it executable.
</para>
<substeps>
<step>
<para>
<computeroutput>
<prompt>bash#</prompt>
<command>cd /your/path/to/bugzilla</command>
</computeroutput>
</para>
</step>
<step>
<para>
<computeroutput> <prompt>bash#</prompt> <command>wget -O
setperl.csh
'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=10795'</command> </computeroutput>
</para>
</step>
<step>
<para>
<computeroutput> <prompt>bash#</prompt> <command>chmod
u+x setperl.csh</command> </computeroutput>
</para>
</step>
</substeps>
</step>
<step>
<para>
Prepare (and fix) Bugzilla file permissions.
</para>
<substeps>
<step>
<para>
<computeroutput>
<prompt>bash#</prompt>
<command>chmod u+w *</command>
</computeroutput>
</para>
</step>
<step>
<para>
<computeroutput> <prompt>bash#</prompt> <command>chmod
u+x duplicates.cgi</command> </computeroutput>
</para>
</step>
<step>
<para>
<computeroutput>
<prompt>bash#</prompt>
<command>chmod a-x bug_status.html</command>
</computeroutput>
</para>
</step>
</substeps>
</step>
<step>
<para>
Run the script:
</para>
<para>
<computeroutput> <prompt>bash#</prompt>
<command>./setperl.csh /your/path/to/perl</command>
</computeroutput>
<example>
<title>Using Setperl to set your perl path</title>
<para>
<computeroutput> <prompt>bash#</prompt>
<command>./setperl.csh /usr/bin/perl</command>
</computeroutput>
</para>
</example>
</para>
</step>
</procedure>
</section>
<section id="cmdline"> <section id="cmdline">
<title>Command-line Bugzilla Queries</title> <title>Command-line Bugzilla Queries</title>
<para>
Users can query Bugzilla from the command line using this suite
of utilities.
</para>
<para>
The query.conf file contains the mapping from options to field
names and comparison types. Quoted option names are "grepped"
for, so it should be easy to edit this file. Comments (#) have
no effect; you must make sure these lines do not contain any
quoted "option"
</para>
<para>
buglist is a shell script which submits a Bugzilla query and
writes the resulting HTML page to stdout. It supports both
short options, (such as "-Afoo" or "-Rbar") and long options
(such as "--assignedto=foo" or "--reporter=bar"). If the first
character of an option is not "-", it is treated as if it were
prefixed with "--default=".
</para>
<para>
The columlist is taken from the COLUMNLIST environment variable.
This is equivalent to the "Change Columns" option when you list
bugs in buglist.cgi. If you have already used Bugzilla, use
<command>grep COLUMLIST ~/.netscape/cookies</command> to see
your current COLUMNLIST setting.
</para>
<para>
bugs is a simple shell script which calls buglist and extracts
the bug numbers from the output. Adding the prefix
"http://bugzilla.mozilla.org/buglist.cgi?bug_id=" turns the bug
list into a working link if any bugs are found. Counting bugs is
easy. Pipe the results through <command>sed -e 's/,/ /g' | wc |
awk '{printf $2 "\n"}'</command>
</para>
<para>
Akkana says she has good results piping buglist output through
<command>w3m -T text/html -dump</command>
</para>
<procedure>
<step>
<para>
Download three files:
</para>
<substeps>
<step>
<para>
<computeroutput> <prompt>bash$</prompt> <command>wget -O
query.conf
'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=26157'</command> </computeroutput>
</para>
</step>
<step>
<para>
<computeroutput> <prompt>bash$</prompt> <command>wget -O
buglist
'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=26944'</command> </computeroutput>
</para>
</step>
<step>
<para>
<computeroutput> <prompt>bash#</prompt> <command>wget -O
bugs
'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=26215'</command> </computeroutput>
</para>
</step>
</substeps>
</step>
<step>
<para>
Make your utilities executable:
<computeroutput>
<prompt>bash$</prompt>
<command>chmod u+x buglist bugs</command>
</computeroutput>
</para>
</step>
</procedure>
</section>
<section id="quicksearch">
<title>The Quicksearch Utility</title>
<para>
Quicksearch is a new, experimental feature of the 2.12 release.
It consist of two Javascript files, "quicksearch.js" and
"localconfig.js", and two documentation files,
"quicksearch.html" and "quicksearchhack.html"
</para>
<para>
The index.html page has been updated to include the QuickSearch
text box.
</para>
<para>
To take full advantage of the query power, the Bugzilla
maintainer must edit "localconfig.js" according to the value
sets used in the local installation.
</para>
<para>
Currently, keywords must be hard-coded in localconfig.js. If
they are not, keywords are not automatically recognized. This
means, if localconfig.js is left unconfigured, that searching
for a bug with the "foo" keyword will only find bugs with "foo"
in the summary, status whiteboard, product or component name,
but not those with the keyword "foo".
</para>
<para>
Workarounds for Bugzilla users:
<simplelist>
<member>search for '!foo' (this will find only bugs with the
keyword "foo"</member>
<member>search 'foo,!foo' (equivalent to 'foo OR
keyword:foo')</member>
</simplelist>
</para>
<para>
When this tool is ported from client-side JavaScript to
server-side Perl, the requirement for hard-coding keywords can
be fixed. <ulink
url="http://bugzilla.mozilla.org/show_bug.cgi?id=70907">This bug</ulink> has details.
</para>
</section>
<section id="bzhacking"> <para>There are a suite of Unix utilities for querying Bugzilla from the
<title>Hacking Bugzilla</title> command line. They live in the
<para> <filename class="directory">contrib/cmdline</filename>
What follows are some general guidelines for changing Bugzilla, and adhering to good coding practice while doing so. We've had some checkins in the past which ruined Bugzilla installations because of disregard for these conventions. Sorry for the lack of formatting; I got this info into the Guide on the day of 2.14 release and haven't formatted it yet. directory. However, they
have not yet been updated to work with 2.16 (post-templatisation.).
There are three files - <filename>query.conf</filename>,
<filename>buglist</filename> and <filename>bugs</filename>.</para>
<para><filename>query.conf</filename>
contains the mapping from options to field
names and comparison types. Quoted option names are "grepped" for, so it
should be easy to edit this file. Comments (#) have no effect; you must
make sure these lines do not contain any quoted "option".</para>
<para><filename>buglist</filename>
is a shell script which submits a Bugzilla query and writes
the resulting HTML page to stdout. It supports both short options, (such
as "-Afoo" or "-Rbar") and long options (such as "--assignedto=foo" or
"--reporter=bar"). If the first character of an option is not "-", it is
treated as if it were prefixed with "--default=".</para>
<para>The column list is taken from the COLUMNLIST environment variable.
This is equivalent to the "Change Columns" option when you list bugs in
buglist.cgi. If you have already used Bugzilla, grep for COLUMNLIST
in your cookies file to see your current COLUMNLIST setting.</para>
<para><filename>bugs</filename> is a simple shell script which calls
<filename>buglist</filename> and extracts the
bug numbers from the output. Adding the prefix
"http://bugzilla.mozilla.org/buglist.cgi?bug_id=" turns the bug list into
a working link if any bugs are found. Counting bugs is easy. Pipe the
results through
<command>sed -e 's/,/ /g' | wc | awk '{printf $2 "\n"}'</command>
</para>
<para>Akkana Peck says she has good results piping
<filename>buglist</filename> output through
<command>w3m -T text/html -dump</command>
</para> </para>
<literallayout>
The following is a guide for reviewers when checking code into Bugzilla's
CVS repostory at mozilla.org. If you wish to submit patches to Bugzilla,
you should follow the rules and style conventions below. Any code that
does not adhere to these basic rules will not be added to Bugzilla's
codebase.
1. Usage of variables in Regular Expressions
It is very important that you don't use a variable in a regular
expression unless that variable is supposed to contain an expression.
This especially applies when using grep. You should use:
grep ($_ eq $value, @array);
- NOT -
grep (/$value/, @array);
If you need to use a non-expression variable inside of an expression, be
sure to quote it properly (using \Q..\E).
Coding Style for Bugzilla
-------------------------
While it's true that not all of the code currently in Bugzilla adheres to
this styleguide, it is something that is being worked toward. Therefore,
we ask that all new code (submitted patches and new files) follow this guide
as closely as possible (if you're only changing 1 or 2 lines, you don't have
to reformat the entire file :).
1. Whitespace
Bugzilla's prefered indentation is 4 spaces (no tabs, please).
2. Curly braces.
The opening brace of a block should be on the same line as the statement
that is causing the block and the closing brace should be at the same
indentation level as that statement, for example:
if ($var) {
print "The variable is true";
} else {
print "Try again";
}
- NOT -
if ($var)
{
print "The variable is true";
}
else
{
print "Try again";
}
3. File Names
File names for bugzilla code and support documention should be legal across
multiple platforms. \ / : * ? " < > and | are all illegal characters for
filenames on various platforms. Also, file names should not have spaces in
them as they can cause confusion in CVS and other mozilla.org utilities.
4. Variable Names
If a variable is scoped globally ($::variable) its name should be descriptive
of what it contains. Local variables can be named a bit looser, provided the
context makes their content obvious. For example, $ret could be used as a
staging variable for a routine's return value as the line |return $ret;| will
make it blatently obvious what the variable holds and most likely be shown
on the same screen as |my $ret = "";|.
5. Cross Database Compatability
Bugzilla was originally written to work with MySQL and therefore took advantage
of some of its features that aren't contained in other RDBMS software. These
should be avoided in all new code. Examples of these features are enums and
encrypt().
6. Cross Platform Compatability
While Bugzilla was written to be used on Unix based systems (and Unix/Linux is
still the only officially supported platform) there are many who desire/need to
run Bugzilla on Microsoft Windows boxes. Whenever possible, we should strive
not to make the lives of these people any more complicated and avoid doing things
that break Bugzilla's ability to run on multiple operating systems.
</literallayout>
</section> </section>
</appendix> </appendix>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
...@@ -368,3 +110,4 @@ sgml-shorttag:t ...@@ -368,3 +110,4 @@ sgml-shorttag:t
sgml-tag-region-if-active:t sgml-tag-region-if-active:t
End: End:
--> -->
<!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> --> <!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> -->
<!-- TOC <chapter id="using">
Chapter: Using Bugzilla <title>Using Bugzilla</title>
Create an account
Logging in
Setting up preferences
Account Settings
Email Settings
Page Footer
Permissions
Life cycle of a bug
Creating a bug
Checking for duplicates
Overview of all bug fields
Setting bug permissions
The Query Interface
Standard Queries
Email Queries
Boolean Queries
Regexp Queries
The Query Results
Changing Columns
Changing sorting order
Mass changes
Miscellaneous usage hints
--> <section id="how">
<title>How do I use Bugzilla?</title>
<chapter id="using"> <para>This section contains information for end-users of Bugzilla.
<title>Using Bugzilla</title> There is a Bugzilla test installation, called
<epigraph> <ulink url="http://landfill.bugzilla.org/">Landfill</ulink>,
<para> which you are welcome to play with (if it's up.)
What, Why, How, &amp; Where? However, it does not necessarily
</para> have all Bugzilla features enabled, and often runs cutting-edge versions
</epigraph> of Bugzilla for testing, so some things may work slightly differently
than mentioned here.</para>
<section id="whatis"> <section id="myaccount">
<title>What is Bugzilla?</title> <title>Create a Bugzilla Account</title>
<para>
Bugzilla is one example of a class of programs called "Defect <para>If you want to use Bugzilla, first you need to create an account.
Tracking Systems", or, more commonly, "Bug-Tracking Systems". Defect Consult with the administrator responsible for your installation of
Tracking Systems allow individual or groups of developers to keep Bugzilla for the URL you should use to access it. If you're
track of outstanding bugs in their product effectively. Bugzilla was test-driving Bugzilla, use this URL:
originally written by Terry Weissman in a programming language called <ulink url="http://landfill.bugzilla.org/bugzilla-tip/">
"TCL", to replace a crappy bug-tracking database used internally for http://landfill.bugzilla.org/bugzilla-tip/</ulink>
Netscape Communications. Terry later ported Bugzilla to Perl from
TCL, and in Perl it remains to this day. Most commercial
defect-tracking software vendors at the time charged enormous
licensing fees, and Bugzilla quickly became a favorite of the
open-source crowd (with its genesis in the open-source browser
project, Mozilla). It is now the de-facto standard defect-tracking
system against which all others are measured.
</para> </para>
<para>
Bugzilla has matured immensely, and now boasts many advanced features. These include: <orderedlist>
<itemizedlist>
<listitem> <listitem>
<para> <para>Click the
integrated, product-based granular security schema <quote>Open a new Bugzilla account</quote>
</para>
link, enter your email address and, optionally, your name in the
spaces provided, then click
<quote>Create Account</quote>
.</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>Within moments, you should receive an email to the address
inter-bug dependencies and dependency graphing you provided above, which contains your login name (generally the
</para> same as the email address), and a password you can use to access
your account. This password is randomly generated, and can be
changed to something more memorable.</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>Click the
advanced reporting capabilities <quote>Log In</quote>
link in the yellow area at the bottom of the page in your browser,
enter your email address and password into the spaces provided, and
click
<quote>Login</quote>.
</para> </para>
</listitem> </listitem>
</orderedlist>
<para>You are now logged in. Bugzilla uses cookies for authentication
so, unless your IP address changes, you should not have to log in
again.</para>
</section>
<section id="bug_page">
<title>Anatomy of a Bug</title>
<para>The core of Bugzilla is the screen which displays a particular
bug. It's a good place to explain some Bugzilla concepts.
<ulink
url="http://landfill.bugzilla.org/bugzilla-tip/show_bug.cgi?id=1">
Bug 1 on Landfill</ulink>
is a good example. Note that the labels for most fields are hyperlinks;
clicking them will take you to context-sensitive help on that
particular field. Fields marked * may not be present on every
installation of Bugzilla.</para>
<orderedlist>
<listitem> <listitem>
<para> <para>
a robust, stable RDBMS back-end <emphasis>Product and Component</emphasis>:
Bugs are divided up by Product and Component, with a Product
having one or more Components in it. For example,
bugzilla.mozilla.org's "Bugzilla" Product is composed of several
Components:
<simplelist>
<member>
<emphasis>Administration:</emphasis>
Administration of a Bugzilla installation.</member>
<member>
<emphasis>Bugzilla-General:</emphasis>
Anything that doesn't fit in the other components, or spans
multiple components.</member>
<member>
<emphasis>Creating/Changing Bugs:</emphasis>
Creating, changing, and viewing bugs.</member>
<member>
<emphasis>Documentation:</emphasis>
The Bugzilla documentation, including The Bugzilla Guide.</member>
<member>
<emphasis>Email:</emphasis>
Anything to do with email sent by Bugzilla.</member>
<member>
<emphasis>Installation:</emphasis>
The installation process of Bugzilla.</member>
<member>
<emphasis>Query/Buglist:</emphasis>
Anything to do with searching for bugs and viewing the
buglists.</member>
<member>
<emphasis>Reporting/Charting:</emphasis>
Getting reports from Bugzilla.</member>
<member>
<emphasis>User Accounts:</emphasis>
Anything about managing a user account from the user's perspective.
Saved queries, creating accounts, changing passwords, logging in,
etc.</member>
<member>
<emphasis>User Interface:</emphasis>
General issues having to do with the user interface cosmetics (not
functionality) including cosmetic issues, HTML templates,
etc.</member>
</simplelist>
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
extensive configurability <emphasis>Status and Resolution:</emphasis>
</para>
These define exactly what state the bug is in - from not even
being confirmed as a bug, through to being fixed and the fix
confirmed by Quality Assurance. The different possible values for
Status and Resolution on your installation should be documented in the
context-sensitive help for those items.</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
a very well-understood and well-thought-out natural bug resolution protocol <emphasis>Assigned To:</emphasis>
</para> The person responsible for fixing the bug.</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
email, XML, console, and HTTP APIs <emphasis>*URL:</emphasis>
</para> A URL associated with the bug, if any.</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
available integration with automated software <emphasis>Summary:</emphasis>
configuration management systems, including Perforce and A one-sentence summary of the problem.</para>
CVS (through the Bugzilla email interface and
checkin/checkout scripts)
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
too many more features to list <emphasis>*Status Whiteboard:</emphasis>
</para> (a.k.a. Whiteboard) A free-form text area for adding short notes
and tags to a bug.</para>
</listitem> </listitem>
</itemizedlist>
</para>
<para>
Despite its current robustness and popularity, Bugzilla faces
some near-term challenges, such as reliance on a single
database, a lack of abstraction of the user interface and
program logic, verbose email bug notifications, a powerful but
daunting query interface, little reporting configurability,
problems with extremely large queries, some unsupportable bug
resolution options, little internationalization (although non-US
character sets are accepted for comments), and dependence on
some nonstandard libraries.
</para>
<para>
Some recent headway has been made on the query front, however.
If you are using the latest version of Bugzilla, you should see
a <quote>simple search</quote> form on the default front page of
your Bugzilla install. Type in two or three search terms and
you should pull up some relevant information. This is also
available as "queryhelp.cgi".
</para>
<para>
Despite these small problems, Bugzilla is very hard to beat. It
is under <emphasis>very</emphasis> active development to address
the current issues, and continually gains new features.
</para>
</section>
<section id="why"> <listitem>
<title>Why Should We Use Bugzilla?</title>
<epigraph>
<para>
No, Who's on first...
</para>
</epigraph>
<para>
For many years, defect-tracking software has remained
principally the domain of large software development houses.
Even then, most shops never bothered with bug-tracking software,
and instead simply relied on shared lists and email to monitor
the status of defects. This procedure is error-prone and tends
to cause those bugs judged least significant by developers to be
dropped or ignored.
</para>
<para>
These days, many companies are finding that integrated
defect-tracking systems reduce downtime, increase productivity,
and raise customer satisfaction with their systems. Along with
full disclosure, an open bug-tracker allows manufacturers to
keep in touch with their clients and resellers, to communicate
about problems effectively throughout the data management chain.
Many corporations have also discovered that defect-tracking
helps reduce costs by providing IT support accountability,
telephone support knowledge bases, and a common, well-understood
system for accounting for unusual system or software issues.
</para>
<para>
But why should <emphasis>you</emphasis> use Bugzilla?
</para>
<para>
Bugzilla is very adaptable to various situations. Known uses
currently include IT support queues, Systems Administration
deployment management, chip design and development problem
tracking (both pre-and-post fabrication), and software and
hardware bug tracking for luminaries such as Redhat, Loki
software, Linux-Mandrake, and VA Systems. Combined with systems
such as CVS, Bonsai, or Perforce SCM, Bugzilla provides a
powerful, easy-to-use solution to configuration management and
replication problems
</para>
<para>
Bugzilla can dramatically increase the productivity and
accountability of individual employees by providing a documented
workflow and positive feedback for good performance. How many
times do you wake up in the morning, remembering that you were
supposed to do <emphasis>something</emphasis> today, but you
just can't quite remember? Put it in Bugzilla, and you have a
record of it from which you can extrapolate milestones, predict
product versions for integration, and by using Bugzilla's e-mail
integration features be able to follow the discussion trail that
led to critical decisions.
</para>
<para>
Ultimately, Bugzilla puts the power in your hands to improve
your value to your employer or business while providing a usable
framework for your natural attention to detail and knowledge
store to flourish.
</para>
</section>
<section id="how">
<title>How do I use Bugzilla?</title>
<epigraph>
<para>
Hey! I'm Woody! Howdy, Howdy, Howdy!
</para>
</epigraph>
<para>
Bugzilla is a large, complex system. Describing how to use it
requires some time. If you are only interested in installing or
administering a Bugzilla installation, please consult the
Installing and Administering Bugzilla portions of this Guide.
This section is principally aimed towards developing end-user
mastery of Bugzilla, so you may fully enjoy the benefits
afforded by using this reliable open-source bug-tracking
software.
</para>
<para>
Throughout this portion of the Guide, we will refer to user
account options available at the Bugzilla test installation,
<ulink url="http://landfill.tequilarista.org/">
landfill.tequilarista.org</ulink>.
<note>
<para> <para>
Some people have run into difficulties completing this <emphasis>*Keywords:</emphasis>
tutorial. If you run into problems, please check the The administrator can define keywords which you can use to tag and
updated online documentation available at <ulink categorise bugs - e.g. The Mozilla Project has keywords like crash
url="http://www.trilobyte.net/barnsons/">http://www.trilobyte.net/barnsons</ulink>. If you're still stumped, please subscribe to the newsgroup and provide details of exactly what's stumping you! If enough people complain, I'll have to fix it in the next version of this Guide. You can subscribe to the newsgroup at <ulink url="news://news.mozilla.org/netscape.public.mozilla.webtools"> news://news.mozilla.org/netscape.public.mozilla.webtools</ulink> and regression.</para>
</para> </listitem>
</note> Although Landfill serves as a great introduction to
Bugzilla, it does not offer all the options you would have as a
user on your own installation of Bugzilla, nor can it do more
than serve as a general introduction to Bugzilla. Additionally,
Landfill often runs cutting-edge versions of Bugzilla for
testing, so some things may work slightly differently than
mentioned here.
</para>
<section id="myaccount">
<title>Create a Bugzilla Account</title>
<para>
First things first! If you want to use Bugzilla, first you
need to create an account. Consult with the administrator
responsible for your installation of Bugzilla for the URL you
should use to access it. If you're test-driving the end-user
Bugzilla experience, use this URL: <ulink
url="http://landfill.tequilarista.org/bugzilla-tip/"> http://landfill.tequilarista.org/bugzilla-tip/</ulink>
</para>
<orderedlist>
<listitem> <listitem>
<para> <para>
Click the "Open a new Bugzilla account" link. <emphasis>Platform and OS:</emphasis>
</para> These indicate the computing environment where the bug was
found.</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Enter your "E-mail address" and "Real Name" (or whatever <emphasis>Version:</emphasis>
name you want to call yourself) in the spaces provided, The "Version" field is usually used for versions of a product which
then select the "Create Account" button. have been released, and is set to indicate which versions of a
</para> Component have the particular problem the bug report is
about.</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Within moments, you should receive an email to the address <emphasis>Priority:</emphasis>
you provided above, which contains your login name The bug assignee uses this field to prioritise his or her bugs.
(generally the same as the email address), and a password It's a good idea not to change this on other people's bugs.</para>
you can use to access your account. This password is
randomly generated, and should be changed at your nearest
opportunity (we'll go into how to do it later).
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Click the <quote>Log In</quote> link in the yellow area at <emphasis>Severity:</emphasis>
the bottom of the page in your browser, then enter your This indicates how severe the problem is - from blocker
<quote>E-mail address</quote> and <quote>Password</quote> ("application unusable") to trivial ("minor cosmetic issue"). You
you just received into the spaces provided, and select can also use this field to indicate whether a bug is an enhancement
<quote>Login</quote>. request.</para>
<note>
<para>
If you ever forget your password, you can come back to
this page, enter your <quote>E-mail address</quote>,
then select the <quote>E-mail me a password</quote>
button to have your password mailed to you again so
that you can login.
</para>
</note>
<caution>
<para>
Many modern browsers include an
<quote>Auto-Complete</quote> or <quote>Form
Fill</quote> feature to remember the user names and
passwords you type in at many sites. Unfortunately,
sometimes they attempt to guess what you will put in
as your password, and guess wrong. If you notice a
text box is already filled out, please overwrite the
contents of the text box so you can be sure to input
the correct information.
</para>
</caution>
</para>
</listitem> </listitem>
</orderedlist>
<para>
Congratulations! If you followed these directions, you now
are the proud owner of a user account on
landfill.tequilarista.org (Landfill) or your local Bugzilla
install. You should now see in your browser a page called the
<quote>Bugzilla Query Page</quote>. It may look daunting, but with this
Guide to walk you through it, you will master it in no time.
</para>
</section>
<section id="query">
<title>The Bugzilla Query Page</title>
<para>
The Bugzilla Query Page is the heart and soul of the Bugzilla
user experience. It is the master interface where you can
find any bug report, comment, or patch currently in the
Bugzilla system. We'll go into how to create your own bug
report later on.
</para>
<para>
There are efforts underway to simplify query usage. If you
have a local installation of Bugzilla 2.12 or higher, you
should have <filename>quicksearch.html</filename> available to
use and simplify your searches. There is also a helper for
the query interface, called
<filename>queryhelp.cgi</filename>. Landfill tends to run the
latest code, so these two utilities should be available there
for your perusal.
</para>
<para>
At this point, please visit the main Bugzilla site,
<ulink url="http://bugzilla.mozilla.org/query.cgi">
bugzilla.mozilla.org</ulink>, to see a more fleshed-out query page.
</para>
<para>
The first thing you need to notice about the Bugzilla Query
Page is that nearly every box you see on your screen has a
hyperlink nearby, explaining what it is or what it does. Near
the upper-left-hand corner of your browser window you should
see the word <quote>Status</quote> underlined. Select it.
</para>
<para>
Notice the page that popped up? Every underlined word you see
on your screen is a hyperlink that will take you to
context-sensitive help. Click around for a while, and learn
what everything here does. To return to the query interface
after pulling up a help page, use the <quote>Back</quote>
button in your browser.
</para>
<para>
I'm sure that after checking out the online help, you are now
an expert on the Bugzilla Query Page. If, however, you feel
you haven't mastered it yet, let me walk you through making a
few successful queries to find out what there are in the
Bugzilla bug-tracking system itself.
</para>
<orderedlist>
<listitem> <listitem>
<para> <para>
Ensure you are back on the <quote>Bugzilla Query <emphasis>*Target:</emphasis>
Page</quote>. Do nothing in the boxes marked "Status", (a.k.a. Target Milestone) A future version by which the bug is to
"Resolution", "Platform", "OpSys", "Priority", or be fixed. e.g. The Bugzilla Project's milestones for future
"Severity". The default query for "Status" is to find all Bugzilla versions are 2.18, 2.20, 3.0, etc. Milestones are not
bugs that are NEW, ASSIGNED, or REOPENED, which is what we restricted to numbers, thought - you can use any text strings, such
want. If you don't select anything in the other 5 as dates.</para>
scrollboxes there, then you are saying that "any of these
are OK"; we're not locking ourselves into only finding
bugs on the "DEC" Platform, or "Windows 95" OpSys
(Operating System). You're smart, I think you have it
figured out.
</para>
<para>
Basically, selecting <emphasis>anything</emphasis> on the
query page narrows your search down. Leaving stuff
unselected, or text boxes unfilled, broadens your search.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
You see the box immediately below the top six boxes that <emphasis>Reporter:</emphasis>
contains an "Email" text box, with the words "matching The person who filed the bug.</para>
as", a drop-down selection box, then some checkboxes with
"Assigned To" checked by default? This allows you to
filter your search down based upon email address. Let's
put my email address in there, and see what happens.
</para>
<para>
Type "barnboy@trilobyte.net" in the top Email text box.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Let's narrow the search some more. Scroll down until you <emphasis>CC list:</emphasis>
find the box with the word "Program" over the top of it. A list of people who get mail when the bug changes.</para>
This is where we can narrow our search down to only
specific products (software programs or product lines) in
our Bugzilla database. Please notice the box is a
<emphasis>scrollbox</emphasis>. Using the down arrow on
the scrollbox, scroll down until you can see an entry
called "Bugzilla". Select this entry.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Did you notice that some of the boxes to the right changed <emphasis>Attachments:</emphasis>
when you selected "Bugzilla"? Every Program (or Product) You can attach files (e.g. testcases or patches) to bugs. If there
has different Versions, Components, and Target Milestones are any attachments, they are listed in this section.</para>
associated with it. A "Version" is the number of a
software program.
<example>
<title>Some Famous Software Versions</title>
<informalexample>
<para>
Do you remember the hype in 1995 when Microsoft
Windows 95(r) was released? It may have been several
years ago, but Microsoft(tm) spent over $300 Million
advertising this new Version of their software.
Three years later, they released Microsoft Windows
98(r), another new version, to great fanfare, and
then in 2000 quietly released Microsoft Windows
ME(Millenium Edition)(r).
</para>
<para>
Software "Versions" help a manufacturer
differentiate their current product from their
previous products. Most do not identify their
products by the year they were released. Instead,
the "original" version of their software will often
be numbered "1.0", with small bug-fix releases on
subsequent tenths of a digit. In most cases, it's
not a decimal number; for instance, often 1.9 is an
<emphasis>older</emphasis> version of the software
than 1.11, but is a <emphasis>newer</emphasis>
version than 1.1.1.
</para>
<para>
In general, a "Version" in Bugzilla should refer to
<emphasis>released</emphasis> products, not products
that have not yet been released to the public.
Forthcoming products are what the Target Milestone
field is for.
</para>
</informalexample>
</example>
</para>
<para>
A "Component" is a piece of a Product.
It may be a standalone program, or some other logical
division of a Product or Program.
Normally, a Component has a single Owner, who is responsible
for overseeing efforts to improve that Component.
<example>
<title>Mozilla's Bugzilla Components</title>
<informalexample>
<para>
Mozilla's "Bugzilla" Product is composed of several pieces (Components):
<simplelist>
<member><emphasis>Administration</emphasis>,
Administration of a bugzilla installation, including
<filename>editcomponents.cgi</filename>,
<filename>editgroups.cgi</filename>,
<filename>editkeywords.cgi</filename>,
<filename>editparams.cgi</filename>,
<filename>editproducts.cgi</filename>,
<filename>editusers.cgi</filename>,
<filename>editversions.cgi,</filename> and
<filename>sanitycheck.cgi</filename>.
</member>
<member><emphasis>Bugzilla-General</emphasis>,
Anything that doesn't fit in the other components, or spans
multiple components.
</member>
<member><emphasis>Creating/Changing Bugs</emphasis>,
Creating, changing, and viewing bugs.
<filename>enter_bug.cgi</filename>,
<filename>post_bug.cgi</filename>,
<filename>show_bug.cgi</filename> and
<filename>process_bug.cgi</filename>.
</member>
<member><emphasis>Documentation</emphasis>,
The bugzilla documentation, including anything in the
<filename>docs/</filename> directory and The Bugzilla Guide
(This document :)
</member>
<member><emphasis>Email</emphasis>,
Anything to do with email sent by Bugzilla.
<filename>processmail</filename>
</member>
<member><emphasis>Installation</emphasis>,
The installation process of Bugzilla. This includes
<filename>checksetup.pl</filename> and whatever else it evolves into.
</member>
<member><emphasis>Query/Buglist</emphasis>,
Anything to do with searching for bugs and viewing the buglists.
<filename>query.cgi</filename> and
<filename>buglist.cgi</filename>
</member>
<member><emphasis>Reporting/Charting</emphasis>,
Getting reports from Bugzilla.
<filename>reports.cgi</filename> and
<filename>duplicates.cgi</filename>
</member>
<member><emphasis>User Accounts</emphasis>,
Anything about managing a user account from the user's perspective.
<filename>userprefs.cgi</filename>, saved queries, creating accounts,
changing passwords, logging in, etc.
</member>
<member><emphasis>User Interface</emphasis>,
General issues having to do with the user interface cosmetics (not
functionality) including cosmetic issues, HTML templates, etc.
</member>
</simplelist>
</para>
</informalexample>
</example>
</para>
<para>
A "Milestone", or "Target Milestone" is a often a planned
future "Version" of a product. In many cases, though,
Milestones simply represent significant dates for a
developer. Having certain features in your Product is
frequently tied to revenue (money) the developer will
receive if the features work by the time she reaches the
Target Milestone. Target Milestones are a great tool to
organize your time. If someone will pay you $100,000 for
incorporating certain features by a certain date, those
features by that Milestone date become a very high
priority. Milestones tend to be highly malleable
creatures, though, that appear to be in reach but are out
of reach by the time the important day arrives.
</para>
<para>
The Bugzilla Project has set up Milestones for future
Bugzilla versions 2.14, 2.16, 2.18, 3.0, etc. However, a
Target Milestone can just as easily be a specific date,
code name, or weird alphanumeric combination, like "M19".
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
OK, now let's select the "Bugzilla" component from its scrollbox. <emphasis>*Dependencies:</emphasis>
</para> If this bug cannot be fixed unless other bugs are fixed (depends
on), or this bug stops other bugs being fixed (blocks), their
numbers are recorded here.</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Skip down the page a bit -- do you see the "submit query" button? <emphasis>*Votes:</emphasis>
Select it, and let's run Whether this bug has any votes.</para>
this query!
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Congratulations! You've completed your first Query, and <emphasis>Additional Comments:</emphasis>
have before you the Bug List of the author of this Guide, You can add your two cents to the bug discussion here, if you have
Matthew P. Barnson (barnboy@trilobyte.net). If I'm doing something worthwhile to say.</para>
well, you'll have a cryptic "Zarro Boogs Found" message on
your screen. It is just a happy hacker's way of saying
"Zero Bugs Found". However, I am fairly certain I will
always have some bugs assigned to me that aren't done yet,
so you won't often see that message!
</para>
</listitem> </listitem>
</orderedlist> </orderedlist>
<para> </section>
I encourage you to click the bug numbers in the left-hand
column and examine my bugs. Also notice that if you click the <section id="query">
underlined links near the top of this page, they do not take <title>Searching for Bugs</title>
you to context-sensitive help here, but instead sort the
columns of bugs on the screen! When you need to sort your bugs <para>The Bugzilla Search page is is the interface where you can find
by priority, severity, or the people they are assigned to, any bug report, comment, or patch currently in the Bugzilla system. You
this is a tremendous timesaver. can play with it here:
</para> <ulink url="http://landfill.bugzilla.org/bugzilla-tip/query.cgi">
<para> landfill.bugzilla.org/bugzilla-tip/query.cgi</ulink>
A couple more interesting things about the Bug List page:
.</para>
<para>The Search page has controls for selecting different possible
values for all of the fields in a bug, as described above. Once you've
defined a search, you can either run it, or save it as a Remembered
Query, which can optionally appear in the footer of your pages.</para>
<para>Highly advanced querying is done using Boolean Charts, which have
their own
<ulink
url="http://landfill.bugzilla.org/bugzilla-tip/booleanchart.html">
context-sensitive help</ulink>
.</para>
</section>
<section id="list">
<title>Bug Lists</title>
<para>If you run a search, a list of matching bugs will be returned.
The default search is to return all open bugs on the system - don't try
running this search on a Bugzilla installation with a lot of
bugs!</para>
<para>The format of the list is configurable. For example, it can be
sorted by clicking the column headings. Other useful features can be
accessed using the links at the bottom of the list:
<simplelist> <simplelist>
<member><emphasis>Change Columns</emphasis>: by selecting <member>
this link, you can show all kinds of information in the <emphasis>Long Format:</emphasis>
Bug List</member>
<member><emphasis>Change several bugs at once</emphasis>: If this gives you a large page with a non-editable summary of the fields
you have sufficient rights to change all the bugs shown in of each bug.</member>
the Bug List, you can mass-modify them. This is a big
time-saver.</member> <member>
<member><emphasis>Send mail to bug owners</emphasis>: If you <emphasis>Change Columns:</emphasis>
have many related bugs, you can request an update from
every person who owns the bugs in the Bug List asking them change the bug attributes which appear in the list.</member>
the status.</member>
<member><emphasis>Edit this query</emphasis>: If you didn't <member>
get exactly the results you were looking for, you can <emphasis>Change several bugs at once:</emphasis>
return to the Query page through this link and make small
revisions to the query you just made so you get more If your account is sufficiently empowered, you can make the same
accurate results.</member> change to all the bugs in the list - for example, changing their
owner.</member>
<member>
<emphasis>Send mail to bug owners:</emphasis>
Sends mail to the owners of all bugs on the list.</member>
<member>
<emphasis>Edit this query:</emphasis>
If you didn't get exactly the results you were looking for, you can
return to the Query page through this link and make small revisions
to the query you just made so you get more accurate results.</member>
</simplelist> </simplelist>
</para> </para>
<note>
<para>
There are many more options to the Bugzilla Query Page and
the Bug List than I have shown you. But this should be
enough for you to learn to get around. I encourage you to
check out the <ulink
url="http://www.mozilla.org/bugs/">Bugzilla Home Page</ulink> to learn about the Anatomy and Life Cycle of a Bug before continuing.
</para>
</note>
</section> </section>
<section id="bugreports"> <section id="bugreports">
<title>Creating and Managing Bug Reports</title> <title>Filing Bugs</title>
<epigraph>
<para>And all this time, I thought we were taking bugs <emphasis>out</emphasis>...</para> <para>Years of bug writing experience has been distilled for your
</epigraph> reading pleasure into the
<ulink
url="http://landfill.bugzilla.org/bugzilla-tip/bugwritinghelp.html">
Bug Writing Guidelines</ulink>.
While some of the advice is Mozilla-specific, the basic principles of
reporting Reproducible, Specific bugs, isolating the Product you are
using, the Version of the Product, the Component which failed, the
Hardware Platform, and Operating System you were using at the time of
the failure go a long way toward ensuring accurate, responsible fixes
for the bug that bit you.</para>
<para>The procedure for filing a test bug is as follows:</para>
<section id="bug-writing">
<title>Writing a Great Bug Report</title>
<para>
Before we plunge into writing your first bug report, I
encourage you to read some bug-writing guidelines. If you
are reading this document as part of a Bugzilla CVS checkout
or un-tarred Bugzilla distribution, you should be able to
read them by clicking <ulink
url="../../bugwritinghelp.html">here</ulink>. If you are reading this online, check out the Mozilla.org bug-writing guidelines at <ulink url="http://www.mozilla.org/quality/bug-writing-guidelines.html">http://www.mozilla.org/quality/bug-writing-guidelines.html</ulink>. While some of the advice is Mozilla-specific, the basic principles of reporting Reproducible, Specific bugs, isolating the Product you are using, the Version of the Product, the Component which failed, the Hardware Platform, and Operating System you were using at the time of the failure go a long way toward ensuring accurate, responsible fixes for the bug that bit you.
</para>
<para>
While you are at it, why not learn how to find previously
reported bugs? Mozilla.org has published a great tutorial
on finding duplicate bugs, available at <ulink
url="http://www.mozilla.org/quality/help/beginning-duplicate-finding.html"> http://www.mozilla.org/quality/help/beginning-duplicate-finding.html</ulink>.
</para>
<para>
I realize this was a lot to read. However, understanding
the mentality of writing great bug reports will help us on
the next part!
</para>
<orderedlist> <orderedlist>
<listitem> <listitem>
<para> <para>Go to
Go back to <ulink <ulink url="http://landfill.bugzilla.org/bugzilla-tip/">
url="http://landfill.tequilarista.org/bugzilla-tip/"> http://landfill.tequilarista.org/bugzilla-tip/</ulink> in your browser. Landfill</ulink>
</para> in your browser and click
</listitem> <ulink
<listitem> url="http://landfill.bugzilla.org/bugzilla-tip/enter_bug.cgi">
<para> Enter a new bug report</ulink>.
Select the <ulink
url="http://landfill.tequilarista.org/bugzilla-tip/enter_bug.cgi"> Enter a new bug report</ulink> link.
</para>
</listitem>
<listitem>
<para>
Select a product.
</para>
</listitem>
<listitem>
<para>
Now you should be at the "Enter Bug" form. The
"reporter" should have been automatically filled out for
you (or else Bugzilla prompted you to Log In again --
you did keep the email with your username and password,
didn't you?).
</para>
</listitem>
<listitem>
<para>
Select a Component in the scrollbox.
</para>
</listitem>
<listitem>
<para>
Bugzilla should have made reasonable guesses, based upon
your browser, for the "Platform" and "OS" drop-down
boxes. If those are wrong, change them -- if you're on
an SGI box running IRIX, we want to know!
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>Select a product - any one will do.</para>
Fill in the "Assigned To" box with the email address you
provided earlier. This way you don't end up sending
copies of your bug to lots of other people, since it's
just a test bug.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>Fill in the fields. Bugzilla should have made reasonable
Leave the "CC" text box blank. Fill in the "URL" box guesses, based upon your browser, for the "Platform" and "OS"
with "http://www.mozilla.org". drop-down boxes. If they are wrong, change them.</para>
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>Select "Commit" and send in your bug report.</para>
Enter "The Bugzilla Guide" in the Summary text box, and
place any comments you have on this tutorial, or the
Guide in general, into the Description box.
</para>
</listitem> </listitem>
</orderedlist> </orderedlist>
<para> </section>
Voila! Select "Commit" and send in your bug report! Next
we'll look at resolving bugs.
</para>
</section> </section>
<section id="bug-manage"> <section id="hintsandtips">
<title>Managing your Bug Reports</title> <title>Hints and Tips</title>
<para>
OK, you should have a link to the bug you just created near <para>This section distills some Bugzilla tips and best practices
the top of your page. It should say "Bug XXXX posted", with that have been developed.</para>
a link to the right saying "Back to BUG# XXXX". Select this
link. <section>
</para> <title>Autolinkification</title>
<orderedlist> <para>Bugzilla comments are plain text - so posting HTML will result
<listitem> in literal HTML tags rather than being interpreted by a browser.
<para> However, Bugzilla will automatically make hyperlinks out of certain
Scroll down a bit on the subsequent page, until you see sorts of text in comments. For example, the text
the "Resolve bug, changing resolution to (dropdown box). http://www.bugzilla.org will be turned into
Normally, you would "Accept bug (change status to <ulink url="http://www.bugzilla.org">http://www.bugzilla.org</ulink>.
ASSIGNED)", fix it, and then resolve. But in this case, Other strings which get linkified in the obvious manner are:
we're going to short-circuit the process because this <simplelist>
wasn't a real bug. Change the dropdown next to "Resolve <member>bug 12345</member>
Bug" to "INVALID", make sure the radio button is marked <member>bug 23456, comment 53</member>
next to "Resolve Bug", then click "Commit". <member>attachment 4321</member>
<member>mailto:george@example.com</member>
<member>george@example.com</member>
<member>ftp://ftp.mozilla.org</member>
<member>Most other sorts of URL</member>
</simplelist>
</para> </para>
</listitem>
<listitem> <para>A corollary here is that if you type a bug number in a comment,
<para> you should put the word "bug" before it, so it gets autolinkified
Hey! It said it couldn't take the change in a big red for the convenience of others.
box! That's right, you must specify a Comment in order
to make this change. Select the "Back" button in your
browser, add a Comment, then try Resolving the bug with
INVALID status again. This time it should work.
</para> </para>
</listitem> </section>
</orderedlist>
<para> <section id="quicksearch">
You have now learned the basics of Bugzilla navigation, <title>Quicksearch</title>
entering a bug, and bug maintenance. I encourage you to
explore these features, and see what you can do with them! <para>Quicksearch is a single-text-box query tool which uses
We'll spend no more time on individual Bugs or Queries from metacharacters to indicate what is to be searched. For example, typing
this point on, so you are on your own there. "<filename>foo|bar</filename>"
into Quicksearch would search for "foo" or "bar" in the
summary and status whiteboard of a bug; adding
"<filename>:BazProduct</filename>" would
search only in that product.
</para> </para>
<para>
But I'll give a few last hints! <para>You'll find the Quicksearch box on Bugzilla's
front page, along with a
<ulink url="../../quicksearch.html">Help</ulink>
link which details how to use it.</para>
</section>
<section id="commenting">
<title>Comments</title>
<para>If you are changing the fields on a bug, only comment if
either you have something pertinent to say, or Bugzilla requires it.
Otherwise, you may spam people unnecessarily with bug mail.
To take an example: a user can set up their account to filter out messages
where someone just adds themselves to the CC field of a bug
(which happens a lot.) If you come along, add yourself to the CC field,
and add a comment saying "Adding self to CC", then that person
gets a pointless piece of mail they would otherwise have avoided.
</para> </para>
<para> <para>
There is a <ulink Don't use sigs in comments. Signing your name ("Bill") is acceptable,
url="http://bugzilla.mozilla.org/help.html">CLUE</ulink> on the Query page that will teach you more how to use the form. particularly if you do it out of habit, but full mail/news-style
four line ASCII art creations are not.
</para> </para>
</section>
<section id="attachments">
<title>Attachments</title>
<para> <para>
If you click the hyperlink on the <ulink Use attachments, rather than comments, for large chunks of ASCII data,
url="http://bugzilla.mozilla.org/describecomponents.cgi">Component</ulink> box of the Query page, you will be presented a form that will describe what all the components are. such as trace, debugging output files, or log files. That way, it doesn't
bloat the bug for everyone who wants to read it, and cause people to
receive fat, useless mails.
</para> </para>
<para>
Possibly the most powerful feature of the Query page is the <para>Trim screenshots. There's no need to show the whole screen if
<ulink you are pointing out a single-pixel problem.
url="http://bugzilla.mozilla.org/booleanchart.html">Boolean Chart</ulink> section. It's a bit confusing to use the first time, but can provide unparalleled flexibility in your queries, allowing you to build extremely powerful requests.
</para> </para>
<para>
Finally, you can build some nifty <ulink <para>Don't attach simple test cases (e.g. one HTML file, one
url="http://bugzilla.mozilla.org/reports.cgi">Reports</ulink> using the "Bug Reports" link near the bottom of the query page, and also available via the "Reports" link at the footer of each page. CSS file and an image) as a ZIP file. Instead, upload them in
reverse order and edit the referring file so that they point to the
attached files. This way, the test case works immediately
out of the bug.
</para> </para>
</section> </section>
</section>
</section> <section>
<title>Filing Bugs</title>
<section id="init4me"> <para>Try to make sure that everything said in the summary is also
<title>Where can I find my user preferences?</title> said in the first comment. Summaries are often updated and this will
<epigraph> ensure your original information is easily accessible.
<para>
Indiana, it feels like we walking on fortune cookies!
</para> </para>
<para> <para>
These ain't fortune cookies, kid... You do not need to put "any" or similar strings in the URL field.
If there is no specific URL associated with the bug, leave this
field blank.
</para> </para>
</epigraph>
<para> <para>If you feel a bug you filed was incorrectly marked as a
Customized User Preferences offer tremendous versatility to your DUPLICATE of another, please question it in your bug, not
individual Bugzilla experience. Let's plunge into what you can the bug it was duped to. Feel free to CC the person who duped it
do! The first step is to click the "Edit prefs" link at the if they are not already CCed.
footer of each page once you have logged in to <ulink
url="http://landfill.tequilarista.org/bugzilla-tip/query.cgi?GoAheadAndLogIn=1"> Landfill</ulink>.
</para> </para>
</section>
</section>
<section id="userpreferences">
<title>User Preferences</title>
<para>Once you have logged in, you can customise various aspects of
Bugzilla via the "Edit prefs" link in the page footer.
The preferences are split into four tabs:</para>
<section id="accountsettings" xreflabel="Account Settings"> <section id="accountsettings" xreflabel="Account Settings">
<title>Account Settings</title> <title>Account Settings</title>
<para>
On this page, you can change your basic Account Settings, <para>On this tab, you can change your basic account information,
including your password and full name. For security reasons, including your password, email address and real name. For security
in order to change anything on this page you must type your reasons, in order to change anything on this page you must type your
<emphasis>current</emphasis> password into the <quote>Old <emphasis>current</emphasis>
Password</quote> field. If you wish to change your password into the
password, type the new password you want into the <quote>New <quote>Password</quote>
Password</quote> field and again into the <quote>Re-enter field at the top of the page.
new password</quote> field to ensure you typed your new If you attempt to change your email address, a confirmation
password correctly. Select the <quote>Submit</quote> button email is sent to both the old and new addresses, with a link to use to
and you are done. confirm the change. This helps to prevent account hijacking.</para>
</para>
</section> </section>
<section id="emailsettings" >
<section id="emailsettings">
<title>Email Settings</title> <title>Email Settings</title>
<section id="notification" xreflabel="">
<title>Email Notification</title> <para>On this tab you can reduce or increase the amount of email sent
<para> you from Bugzilla, opting in our out depending on your relationship to
Here you can reduce or increase the amount of email sent you the bug and the change that was made to it. (Note that you can also do
from Bugzilla. Although this is referred to as client-side filtering using the X-Bugzilla-Reason header which Bugzilla
<quote>Advanced Email Filtering Options</quote>, they are, adds to all bugmail.)</para>
in fact, the standard email filter set. All of them are
self-explanatory, but you can use the filters in interesting <para>By entering user email names, delineated by commas, into the
ways. For instance, some people (notably Quality Assurance "Users to watch" text entry box you can receive a copy of all the
personnel) often only care to receive updates regarding a bugmail of other users (security settings permitting.) This powerful
bug when the bug changes state, so they can track bugs on functionality enables seamless transitions as developers change
their flow charts and know when it is time to pull the bug projects or users go on holiday.</para>
onto a quality assurance platform for inspection. Other
people set up email gateways to
<xref linkend="bonsai" /> or <xref linkend="tinderbox" />, and
restrict which types of Bugzilla information are fed to
these systems..
</para>
</section>
<section id="newemailtech">
<title>New Email Technology</title>
<note>
<para>
This option may not be available in all Bugzilla
installations, depending upon the preferences of the
systems administrator responsible for the setup of your
Bugzilla. However, if you really want this functionality,
ask her to "enable newemailtech in Params" and "make it
the default for all new users", referring her to the
Administration section of this Guide.
</para>
</note>
<para>
Disregard the warnings about "experimental and bleeding
edge"; the code to handle email in a cleaner manner than
that historically used for Bugzilla is quite robust and
well-tested now.
</para>
<para>
I recommend you enable the option, "Click here to sign up
(and risk any bugs)". Your email-box will thank you for it.
The fundamental shift in "newemailtech" is away from
standard UNIX "diff" output, which is quite ugly, to a
prettier, better laid-out email.
</para>
</section>
<section id="watchsettings">
<title>"Watching" Users</title>
<note> <note>
<para> <para>The ability to watch other users may not be available in all
This option may not be available in all Bugzilla Bugzilla installations. If you can't see it, ask your
installations, depending upon the preferences of the administrator.</para>
systems administrator responsible for the setup of your
Bugzilla. However, if you really want this functionality,
ask her to "enable watchers in Params".
</para>
</note> </note>
<para>
By entering user email names into the "Users to watch" text
entry box, delineated by commas, you can watch bugs of other
users. This powerful functionality enables seamless
transitions as developers change projects, managers wish to
get in touch with the issues faced by their direct reports,
or users go on vacation. If any of these three situations
apply to you, you will undoubtedly find this feature quite
convenient.
</para>
</section>
</section> </section>
<section id="footersettings"> <section id="footersettings">
<title>Page Footer</title> <title>Page Footer</title>
<note>
<para> <para>On the Search page, you can store queries in Bugzilla, so if you
By default, this page is quite barren. However, go explore regularly run a particular query it is just a drop-down menu away.
the Query Page some more; you will find that you can store Once you have a stored query, you can come
numerous queries on the server, so if you regularly run a here to request that it also be displayed in your page footer.</para>
particular query it is just a drop-down menu away. On this
page of Preferences, if you have many stored queries you can
elect to have them always one-click away!
</para>
</note>
<para>
If you have many stored queries on the server, here you will
find individual drop-downs for each stored query. Each
drop-down gives you the option of that query appearing on the
footer of every page in Bugzilla! This gives you powerful
one-click access to any complex searches you may set up, and
is an excellent way to impress your boss...
</para>
<tip>
<para>By default, the "My Bugs" link appears at the bottom of
each page. However, this query gives you both the bugs you
have reported, as well as those you are assigned. One of
the most common uses for this page is to remove the "My
Bugs" link, replacing it with two other queries, commonly
called "My Bug Reports" and "My Bugs" (but only referencing
bugs assigned to you). This allows you to distinguish those
bugs you have reported from those you are assigned. I
commonly set up complex Boolean queries in the Query page
and link them to my footer in this page. When they are
significantly complex, a one-click reference can save hours
of work.</para>
</tip>
</section> </section>
<section id="permissionsettings"> <section id="permissionsettings">
<title>Permissions</title> <title>Permissions</title>
<para>
This is a purely informative page which outlines your current
permissions on this installation of Bugzilla. If you have
permissions to grant certain permissions to other users, the
"other users" link appears on this page as well as the footer.
For more information regarding user administration, please
consult the Administration section of this Guide.
</para>
</section>
</section>
<section id="usingbz-conc"> <para>This is a purely informative page which outlines your current
<title>Using Bugzilla-Conclusion</title> permissions on this installation of Bugzilla - what product groups you
<para> are in, and whether you can edit bugs or perform various administration
Thank you for reading through this portion of the Bugzilla functions.</para>
Guide. I anticipate it may not yet meet the needs of all </section>
readers. If you have additional comments or corrections to
make, please submit your contributions to the <ulink
url="mailto://mozilla-webtools@mozilla.org">mozilla-webtools</ulink> mailing list/newsgroup. The mailing list is mirrored to the netscape.public.mozilla.webtools newsgroup, and the newsgroup is mirrored to mozilla-webtools@mozilla.org
</para>
</section> </section>
</chapter> </chapter>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
...@@ -948,3 +577,4 @@ sgml-shorttag:t ...@@ -948,3 +577,4 @@ sgml-shorttag:t
sgml-tag-region-if-active:t sgml-tag-region-if-active:t
End: End:
--> -->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment