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

The first installment of Gerv's spanking of the Bugzilla Guide. This is a work-in-progress.

parent 2e7e04b3
...@@ -1373,12 +1373,14 @@ Group3, since he isn't in Group4. ...@@ -1373,12 +1373,14 @@ Group3, since he isn't in Group4.
make certain files world readable and/or writable. <emphasis>THIS IS make certain files world readable and/or writable. <emphasis>THIS IS
INSECURE!</emphasis>. This means that anyone who can get access to INSECURE!</emphasis>. This means that anyone who can get access to
your system can do whatever they want to your Bugzilla installation. your system can do whatever they want to your Bugzilla installation.
</para>
<note> <note>
<para>
This also means that if your webserver runs all cgi scripts as the 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 same user/group, anyone on the system who can run cgi scripts will
be able to take control of your Bugzilla installation. be able to take control of your Bugzilla installation.
</note>
</para> </para>
</note>
<para> <para>
On Apache, you can use .htaccess files to protect access 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/ and shadow/ directories. 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.
......
<!-- <!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>
...@@ -6,141 +7,93 @@ ...@@ -6,141 +7,93 @@
<primary>conventions</primary> <primary>conventions</primary>
</indexterm> </indexterm>
<para>This document uses the following conventions:</para> <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>Warning</entry> <entry>Warnings</entry>
<entry><caution>
<entry>
<caution>
<para>Don't run with scissors!</para> <para>Don't run with scissors!</para>
</caution> </caution></entry>
</entry>
</row> </row>
<row> <row>
<entry>Hint</entry> <entry>Hint</entry>
<entry><tip>
<entry> <para>Warm jar lids under the hot tap to loosen them.</para>
<tip> </tip></entry>
<para>Would you like a breath mint?</para>
</tip>
</entry>
</row> </row>
<row> <row>
<entry>Note</entry> <entry>Notes</entry>
<entry><note>
<entry>
<note>
<para>Dear John...</para> <para>Dear John...</para>
</note> </note></entry>
</entry>
</row> </row>
<row> <row>
<entry>Information requiring special attention</entry> <entry>Information requiring special attention</entry>
<entry><warning>
<entry>
<warning>
<para>Read this or the cat gets it.</para> <para>Read this or the cat gets it.</para>
</warning> </warning></entry>
</entry>
</row> </row>
<row> <row>
<entry>File or directory name</entry> <entry>File Names</entry>
<entry><filename>file.extension</filename></entry>
<entry>
<filename>filename</filename>
</entry>
</row> </row>
<row> <row>
<entry>Command to be typed</entry> <entry>Directory Names</entry>
<entry><filename class="directory">directory</filename></entry>
<entry>
<command>command</command>
</entry>
</row> </row>
<row> <row>
<entry>Application name</entry> <entry>Commands to be typed</entry>
<entry><command>command</command></entry>
<entry>
<application>application</application>
</entry>
</row> </row>
<row> <row>
<entry> <entry>Applications Names</entry>
Normal user's prompt under bash shell</entry> <entry><application>application</application></entry>
</row>
<row>
<entry><foreignphrase>Prompt</foreignphrase> of users command under bash shell</entry>
<entry>bash$</entry> <entry>bash$</entry>
</row> </row>
<row> <row>
<entry> <entry><foreignphrase>Prompt</foreignphrase> of root users command under bash shell</entry>
Root user's prompt under bash shell</entry>
<entry>bash#</entry> <entry>bash#</entry>
</row> </row>
<row> <row>
<entry> <entry><foreignphrase>Prompt</foreignphrase> of user command under tcsh shell</entry>
Normal user's prompt 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>Term found in the glossary</entry> <entry>Emphasized word</entry>
<entry><emphasis>word</emphasis></entry>
<entry>
<glossterm linkend="gloss-bugzilla">Bugzilla</glossterm>
</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>
<para>
This documentation is maintained in DocBook 4.1.2 XML format.
Changes are best submitted as plain text or XML diffs, attached
to a bug filed in the &bzg-bugs; component.
</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:
mode: sgml mode: sgml
...@@ -156,9 +109,8 @@ sgml-local-ecat-files:nil ...@@ -156,9 +109,8 @@ sgml-local-ecat-files:nil
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-namecase-general:t sgml-namecase-general:t
sgml-omittag:t sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.xml" "book" "chapter") sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag:t 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: Using Bugzilla
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
-->
<chapter id="using"> <chapter id="using">
<title>Using Bugzilla</title> <title>Using Bugzilla</title>
<epigraph>
<para>
What, Why, How, &amp; Where?
</para>
</epigraph>
<section id="using-intro"> <section id="whatis">
<title>Introduction</title> <title>What is Bugzilla?</title>
<para>This section contains information for end-users of Bugzilla. <para>
There is a Bugzilla test installation, called Bugzilla is one example of a class of programs called "Defect
<ulink url="http://landfill.bugzilla.org/bugzilla-tip/">Landfill</ulink>, Tracking Systems", or, more commonly, "Bug-Tracking Systems". Defect
which you are welcome to play with (if it's up.) Tracking Systems allow individual or groups of developers to keep
However, it does not necessarily track of outstanding bugs in their product effectively. Bugzilla was
have all Bugzilla features enabled, and runs an up-to-the-minute version, originally written by Terry Weissman in a programming language called
so some things may not quite work as this document describes.</para> "TCL", to replace a crappy bug-tracking database used internally by
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>
Bugzilla has matured immensely, and now boasts many advanced features. These include:
<itemizedlist>
<listitem><para>Powerful searching</para></listitem>
<listitem><para>User-configurable email notifications of bug changes</para></listitem>
<listitem><para>Full change history</para></listitem>
<listitem><para>Inter-bug dependency tracking and graphing</para></listitem>
<listitem><para>Excellent attachment management</para></listitem>
<listitem><para>Integrated, product-based, granular security schema</para></listitem>
<listitem><para>Fully security-audited, and runs under Perl's taint mode</para></listitem>
<listitem><para>A robust, stable RDBMS back-end</para></listitem>
<listitem><para>Web, XML, email and console interfaces</para></listitem>
<listitem><para>Completely customisable and/or localisable web user interface</para></listitem>
<listitem><para>Extensive configurability</para></listitem>
<listitem><para>Smooth upgrade pathway between versions</para></listitem>
</itemizedlist>
</para>
</section> </section>
<section id="myaccount"> <section id="why">
<title>Create a Bugzilla Account</title> <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>If you want to use Bugzilla, first you need to create an account. <para>
Consult with the administrator responsible for your installation of This section contains information for end-users of Bugzilla.
Bugzilla for the URL you should use to access it. If you're If you are administering a Bugzilla installation, please consult the
test-driving Bugzilla, use this URL: Installing and Administering Bugzilla portions of this Guide.
<ulink url="http://landfill.bugzilla.org/bugzilla-tip/"/>. </para>
<para>
There is a Bugzilla test installation, called
<ulink url="http://landfill.tequilarista.org/">
Landfill</ulink>, which you are welcome to play with.
However, it does not necessarily have all Bugzilla features
enabled, and often runs cutting-edge versions of Bugzilla for
testing, so some things may work slightly differently than
mentioned here.
</para> </para>
<section id="myaccount">
<title>Create a Bugzilla Account</title>
<para>
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 Bugzilla,
use this URL: <ulink
url="http://landfill.tequilarista.org/bugzilla-tip/"> http://landfill.tequilarista.org/bugzilla-tip/</ulink>
</para>
<orderedlist> <orderedlist>
<listitem> <listitem>
<para>Click the <para>
<quote>Open a new Bugzilla account</quote> Click the <quote>Open a new Bugzilla account</quote> link, enter your
email address and, optionally, your name in the spaces provided,
link, enter your email address and, optionally, your name in the then click <quote>Create Account</quote>.
spaces provided, then click </para>
<quote>Create Account</quote>
.</para>
</listitem> </listitem>
<listitem> <listitem>
<para>Within moments, you should receive an email to the address <para>
you provided, which contains your login name (generally the Within moments, you should receive an email to the address
same as the email address), and a password. you provided above, which contains your login name
This password is randomly generated, but can be (generally the same as the email address), and a password
changed to something more memorable.</para> 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>Click the <para>
<quote>Log In</quote> Click the <quote>Log In</quote> link in the yellow area at
link in the footer at the bottom of the page in your browser, the bottom of the page in your browser, enter your
enter your email address and password into the spaces provided, and email address and password into the spaces provided, and click
click
<quote>Login</quote>. <quote>Login</quote>.
</para> </para>
</listitem> </listitem>
</orderedlist> </orderedlist>
<para>
<para>You are now logged in. Bugzilla uses cookies to remember you are You are now logged in. Bugzilla uses cookies for authentication, so
logged in so, unless you have cookies disabled or your IP address changes, (unless your IP address changes) you should not have to log in again.
you should not have to log in again.</para> </para>
</section> </section>
<section id="bug_page"> <section id="bug_page">
<title>Anatomy of a Bug</title> <title>Anatomy of a Bug</title>
<para>
<para>The core of Bugzilla is the screen which displays a particular The core of Bugzilla is the screen which displays a particular bug.
bug. It's a good place to explain some Bugzilla concepts. It's a good place to explain some Bugzilla concepts.
<ulink <ulink url="http://landfill.tequilarista.org/bugzilla-tip/show_bug.cgi?id=1">Bug 1 on Landfill</ulink> is a good example. Note that the names of most fields
url="http://landfill.bugzilla.org/bugzilla-tip/show_bug.cgi?id=1"> are hyperlinks; clicking them will take you to context-sensitive
Bug 1 on Landfill</ulink> help on that particular field.
</para>
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> <orderedlist>
<listitem> <listitem>
<para> <para>
<emphasis>Product and Component</emphasis>: <emphasis>Product and Component</emphasis>:
Bugs are divided up by Product and Component, with a Product Bugs are divided up by Product and Component, with a Product having one
having one or more Components in it. For example, or more Components in it. For example, bugzilla.mozilla.org's
bugzilla.mozilla.org's "Bugzilla" Product is composed of several "Bugzilla" Product is composed of several Components:
Components:
<simplelist> <simplelist>
<member> <member><emphasis>Administration</emphasis>,
<emphasis>Administration:</emphasis> Administration of a bugzilla installation, including
Administration of a Bugzilla installation.</member> <filename>editcomponents.cgi</filename>,
<filename>editgroups.cgi</filename>,
<member> <filename>editkeywords.cgi</filename>,
<emphasis>Bugzilla-General:</emphasis> <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 Anything that doesn't fit in the other components, or spans
multiple components.</member> multiple components.
</member>
<member> <member><emphasis>Creating/Changing Bugs</emphasis>,
<emphasis>Creating/Changing Bugs:</emphasis> Creating, changing, and viewing bugs.
Creating, changing, and viewing bugs.</member> <filename>enter_bug.cgi</filename>,
<filename>post_bug.cgi</filename>,
<member> <filename>show_bug.cgi</filename> and
<emphasis>Documentation:</emphasis> <filename>process_bug.cgi</filename>.
The Bugzilla documentation, including The Bugzilla Guide.</member> </member>
<member><emphasis>Documentation</emphasis>,
<member> The bugzilla documentation, including anything in the
<emphasis>Email:</emphasis> <filename>docs/</filename> directory and The Bugzilla Guide
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> </member>
<emphasis>User Accounts:</emphasis> <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. Anything about managing a user account from the user's perspective.
Saved queries, creating accounts, changing passwords, logging in, <filename>userprefs.cgi</filename>, saved queries, creating accounts,
etc.</member> changing passwords, logging in, etc.
</member>
<member> <member><emphasis>User Interface</emphasis>,
<emphasis>User Interface:</emphasis>
General issues having to do with the user interface cosmetics (not General issues having to do with the user interface cosmetics (not
functionality) including cosmetic issues, HTML templates, functionality) including cosmetic issues, HTML templates, etc.
etc.</member> </member>
</simplelist> </simplelist>
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>Status and Resolution:</emphasis> <emphasis>Status and Resolution</emphasis>:
A bug passes through several Statuses in its lifetime, and ends up in the
These define exactly what state the bug is in - from not even RESOLVED status, with one of a set of Resolutions (e.g. FIXED, INVALID.)
being confirmed as a bug, through to being fixed and the fix The different possible
confirmed by Quality Assurance. The different possible values for values for Status and Resolution on your installation will be documented
Status and Resolution on your installation should be documented in the in the context-sensitive help for those items.
context-sensitive help for those items.</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>Assigned To:</emphasis> <emphasis>Assigned To</emphasis>:
The person responsible for fixing the bug.</para> The person responsible for fixing the bug.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>*URL:</emphasis> <emphasis>URL</emphasis>:
A URL associated with the bug, if any.</para> A URL associated with the bug, if any.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>Summary:</emphasis> <emphasis>Summary</emphasis>:
A one-sentence summary of the problem.</para> A one-sentence summary of the problem.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>*Status Whiteboard:</emphasis> <emphasis>Status Whiteboard</emphasis>: (a.k.a. Whiteboard) A
(a.k.a. Whiteboard) A free-form text area for adding short notes free-form text area for adding short notes and tags to a bug.
and tags to a bug.</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>*Keywords:</emphasis> <emphasis>Keywords</emphasis>:
The administrator can define keywords which you can use to tag and The administrator can define keywords which you can use to tag and
categorise bugs - e.g. The Mozilla Project has keywords like crash categorise bugs - e.g. The Mozilla Project has keywords like crash
and regression.</para> and regression.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>Platform and OS:</emphasis> <emphasis>Platform and OS</emphasis>:
These indicate the computing environment where the bug was These indicate the computing environment where the bug was found.
found.</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>Version:</emphasis> <emphasis>Version</emphasis>:
The "Version" field is usually used for versions of a product which The "Version" field is usually used for versions of a product which have
have been released, and is set to indicate which versions of a been released, and is set to indicate which versions of a Component
Component have the particular problem the bug report is have the particular problem the bug report is about.
about.</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>Priority:</emphasis> <emphasis>Priority</emphasis>:
The bug assignee uses this field to prioritise his or her bugs. The bug assignee uses this field to prioritise his or her bugs. It's
It's a good idea not to change this on other people's bugs.</para> a good idea not to change this on other people's bugs.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>Severity:</emphasis> <emphasis>Severity</emphasis>:
This indicates how severe the problem is - from blocker This indicates how severe the problem is - from blocker ("application
("application unusable") to trivial ("minor cosmetic issue"). You unusable") to trivial ("minor cosmetic issue"). You can also use this
can also use this field to indicate whether a bug is an enhancement field to indicate whether a bug is an enhancement request.
request.</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>*Target:</emphasis> <emphasis>Target</emphasis>:
(a.k.a. Target Milestone) A future version by which the bug is to (a.k.a. Target Milestone) A future version by which the bug is to be
be fixed. e.g. The Bugzilla Project's milestones for future fixed. e.g. The Bugzilla Project's milestones for future
Bugzilla versions are 2.18, 2.20, 3.0, etc. Milestones are not Bugzilla versions are 2.18, 2.20, 3.0, etc. Milestones are
restricted to numbers, thought - you can use any text strings, such not restricted to numbers, thought - you can use any text strings,
as dates.</para> such as dates.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>Reporter:</emphasis> <emphasis>Reporter</emphasis>:
The person who filed the bug.</para> The person who filed the bug.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>CC list:</emphasis> <emphasis>CC list</emphasis>:
A list of people who get mail when the bug changes.</para> A list of people who get mail when the bug changes.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>Attachments:</emphasis> <emphasis>Attachments</emphasis>:
You can attach files (e.g. testcases or patches) to bugs. If there You can attach files (e.g. testcases or patches) to bugs. If there are
are any attachments, they are listed in this section.</para> any attachments, they are listed in this section.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>*Dependencies:</emphasis> <emphasis>Dependencies</emphasis>:
If this bug cannot be fixed unless other bugs are fixed (depends If this bug cannot be fixed unless other bugs are fixed (depends on), or
on), or this bug stops other bugs being fixed (blocks), their this bug stops other bugs being fixed (blocks), their numbers are
numbers are recorded here.</para> recorded here.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>*Votes:</emphasis> <emphasis>Votes</emphasis>:
Whether this bug has any votes.</para> Whether this bug has any votes.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<emphasis>Additional Comments:</emphasis> <emphasis>Additional Comments</emphasis>:
You can add your two cents to the bug discussion here, if you have You can add your two cents to the bug discussion here, if you have
something worthwhile to say.</para> something worthwhile to say.
</para>
</listitem> </listitem>
</orderedlist> </orderedlist>
</section> </section>
<section id="query"> <section id="query">
<title>Searching for Bugs</title> <title>Searching for Bugs</title>
<para>
The Bugzilla Search page is is the interface where you can
find any bug report, comment, or patch currently in the
Bugzilla system. You can play with it here:
<ulink url="http://landfill.tequilarista.org/bugzilla-tip/query.cgi">
landfill.tequilarista.org/bugzilla-tip/query.cgi</ulink>.
</para>
<para>The Bugzilla Search page is is the interface where you can find <para>
any bug report, comment, or patch currently in the Bugzilla system. You The Search page has controls for selecting different possible values
can play with it here: for all of the fields in a bug, as described above. Once you've defined
<ulink url="http://landfill.bugzilla.org/bugzilla-tip/query.cgi"/>.</para> 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>The Search page has controls for selecting different possible </para>
values for all of the fields in a bug, as described above. For some
fields, multiple values can be selected. In those cases, Bugzilla
returns bugs where the content of the field matches any one of the selected
values. If none is selected, then the field can take any value.</para>
<para>Once you've run a search, you can save it as a Saved Search, which <para>
appears in the page footer.</para> Highly advanced querying is done using Boolean Charts, which have their
own <ulink url="http://landfill.tequilarista.org/bugzilla-tip/booleanchart.html">context-sensitive help</ulink>.
</para>
<para>Highly advanced querying is done using Boolean Charts. See the
Boolean Charts help link on the Search page for more information.</para>
</section> </section>
<section id="list"> <section id="list">
<title>Bug Lists</title> <title>Bug Lists</title>
<para>
<para>If you run a search, a list of matching bugs will be returned. 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>
<para>
<para>The format of the list is configurable. For example, it can be The format of the list is configurable. For example, it can be
sorted by clicking the column headings. Other useful features can be sorted by clicking the column headings. Other useful features
accessed using the links at the bottom of the list: can be accessed using the links at the bottom of the list:
<simplelist> <simplelist>
<member> <member><emphasis>Long Format</emphasis>: this gives you a large page
<emphasis>Long Format:</emphasis> with a non-editable summary of the fields of each bug.</member>
<member><emphasis>Change Columns</emphasis>: change the bug
this gives you a large page with a non-editable summary of the fields attributes which appear in the list.</member>
of each bug.</member> <member><emphasis>Change several bugs at once</emphasis>: If
your account is sufficiently empowered, you can make the same
<member>
<emphasis>CSV:</emphasis>
get the buglist as comma-separated values, for import into e.g.
a spreadsheet.</member>
<member>
<emphasis>Change Columns:</emphasis>
change the bug attributes which appear in the list.</member>
<member>
<emphasis>Change several bugs at once:</emphasis>
If your account is sufficiently empowered, you can make the same
change to all the bugs in the list - for example, changing their change to all the bugs in the list - for example, changing their
owner.</member> owner.</member>
<member><emphasis>Send mail to bug owners</emphasis>: Sends mail
<member> to the owners of all bugs on the list.</member>
<emphasis>Send mail to bug owners:</emphasis> <member><emphasis>Edit this query</emphasis>: If you didn't
get exactly the results you were looking for, you can
Sends mail to the owners of all bugs on the list.</member> return to the Query page through this link and make small
revisions to the query you just made so you get more
<member> accurate results.</member>
<emphasis>Edit Search:</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>
<member>
<emphasis>Remember Search As:</emphasis>
You can give a search a name and remember it; a link will appear
in your page footer giving you quick access to run it again later.
</member>
</simplelist> </simplelist>
</para> </para>
</section> </section>
<section id="bugreports"> <section id="bugreports">
<title>Filing Bugs</title> <title>Filing Bugs</title>
<epigraph>
<para>And all this time, I thought we were taking bugs <emphasis>out</emphasis>...</para>
</epigraph>
<para>Years of bug writing experience has been distilled for your <para>
reading pleasure into the Years of bug writing experience has been distilled for your reading
<ulink pleasure into the <ulink url="http://landfill.tequilarista.org/bugzilla-tip/bugwritinghelp.html">
url="http://landfill.bugzilla.org/bugzilla-tip/bugwritinghelp.html">
Bug Writing Guidelines</ulink>. Bug Writing Guidelines</ulink>.
While some of the advice is Mozilla-specific, the basic principles of 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.
reporting Reproducible, Specific bugs, isolating the Product you are </para>
using, the Version of the Product, the Component which failed, the <para>
Hardware Platform, and Operating System you were using at the time of The procedure for filing a test bug is as follows:
the failure go a long way toward ensuring accurate, responsible fixes </para>
for the bug that bit you.</para>
<para>The procedure for filing a test bug is as follows:</para>
<orderedlist> <orderedlist>
<listitem> <listitem>
<para>Go to <para>
<ulink url="http://landfill.bugzilla.org/bugzilla-tip/"> Go to <ulink
Landfill</ulink> url="http://landfill.tequilarista.org/bugzilla-tip/">Landfill</ulink>
in your browser and click in your browser and click
<ulink <ulink
url="http://landfill.bugzilla.org/bugzilla-tip/enter_bug.cgi"> url="http://landfill.tequilarista.org/bugzilla-tip/enter_bug.cgi"> Enter a new bug report</ulink>.
Enter a new bug report</ulink>.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para>Select a product - any one will do.</para> <para>
Select a product - any one will do.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para>Fill in the fields. Bugzilla should have made reasonable <para>
guesses, based upon your browser, for the "Platform" and "OS" Fill in the fields.
drop-down boxes. If they are wrong, change them.</para> Bugzilla should have made reasonable guesses, based upon
your browser, for the "Platform" and "OS" drop-down
boxes. If they are wrong, change them.
</para>
</listitem> </listitem>
<listitem> <listitem>
<para>Select "Commit" and send in your bug report.</para> <para>
Select "Commit" and send in your bug report.
</para>
</listitem> </listitem>
</orderedlist> </orderedlist>
</section>
<para>Try to make sure that everything said in the summary is also </section>
said in the first comment. Summaries are often updated and this will
ensure your original information is easily accessible.
</para>
<section id="init4me">
<title>Where can I find my user preferences?</title>
<epigraph>
<para> <para>
You do not need to put "any" or similar strings in the URL field. Indiana, it feels like we walking on fortune cookies!
If there is no specific URL associated with the bug, leave this
field blank.
</para> </para>
<para>
<para>If you feel a bug you filed was incorrectly marked as a These ain't fortune cookies, kid...
DUPLICATE of another, please question it in your bug, not
the bug it was duped to. Feel free to CC the person who duped it
if they are not already CCed.
</para> </para>
</epigraph>
</section> <para>
Customized User Preferences offer tremendous versatility to your
<section id="patchviewer"> individual Bugzilla experience. Let's plunge into what you can
<title>Patch Viewer</title> do! The first step is to click the "Edit prefs" link at the
footer of each page once you have logged in to <ulink
<para>Viewing and reviewing patches in Bugzilla is often difficult due to url="http://landfill.tequilarista.org/bugzilla-tip/query.cgi?GoAheadAndLogIn=1"> Landfill</ulink>.
lack of context, improper format and the inherent readability issues that
raw patches present. Patch Viewer is an enhancement to Bugzilla designed
to fix that by offering increased context, linking to sections, and
integrating with Bonsai, LXR and CVS.</para>
<para>Patch viewer allows you to:</para>
<simplelist>
<member>View patches in color, with side-by-side view rather than trying
to interpret the contents of the patch.</member>
<member>See the difference between two patches.</member>
<member>Get more context in a patch.</member>
<member>Collapse and expand sections of a patch for easy
reading.</member>
<member>Link to a particular section of a patch for discussion or
review</member>
<member>Go to Bonsai or LXR to see more context, blame, and
cross-references for the part of the patch you are looking at</member>
<member>Create a rawtext unified format diff out of any patch, no
matter what format it came from</member>
</simplelist>
<section id="patchviewer_view">
<title>Viewing Patches in Patch Viewer</title>
<para>The main way to view a patch in patch viewer is to click on the
"Diff" link next to a patch in the Attachments list on a bug. You may
also do this within the edit window by clicking the "View Attachment As
Diff" button in the Edit Attachment screen.</para>
</section>
<section id="patchviewer_diff">
<title>Seeing the Difference Between Two Patches</title>
<para>To see the difference between two patches, you must first view the
newer patch in Patch Viewer. Then select the older patch from the
dropdown at the top of the page ("Differences between [dropdown] and
this patch") and click the "Diff" button. This will show you what
is new or changed in the newer patch.</para>
</section>
<section id="patchviewer_context">
<title>Getting More Context in a Patch</title>
<para>To get more context in a patch, you put a number in the textbox at
the top of Patch Viewer ("Patch / File / [textbox]") and hit enter.
This will give you that many lines of context before and after each
change. Alternatively, you can click on the "File" link there and it
will show each change in the full context of the file. This feature only
works against files that were diffed using "cvs diff".</para>
</section>
<section id="patchviewer_collapse">
<title>Collapsing and Expanding Sections of a Patch</title>
<para>To view only a certain set of files in a patch (for example, if a
patch is absolutely huge and you want to only review part of it at a
time), you can click the "(+)" and "(-)" links next to each file (to
expand it or collapse it). If you want to collapse all files or expand
all files, you can click the "Collapse All" and "Expand All" links at the
top of the page.</para>
</section>
<section id="patchviewer_link">
<title>Linking to a Section of a Patch</title>
<para>To link to a section of a patch (for example, if you want to be
able to give someone a URL to show them which part you are talking
about) you simply click the "Link Here" link on the section header. The
resulting URL can be copied and used in discussion. (Copy Link
Location in Mozilla works as well.)</para>
</section>
<section id="patchviewer_bonsai_lxr">
<title>Going to Bonsai and LXR</title>
<para>To go to Bonsai to get blame for the lines you are interested in,
you can click the "Lines XX-YY" link on the section header you are
interested in. This works even if the patch is against an old
version of the file, since Bonsai stores all versions of the file.</para>
<para>To go to LXR, you click on the filename on the file header
(unfortunately, since LXR only does the most recent version, line
numbers are likely to rot).</para>
</section>
<section id="patchviewer_unified_diff">
<title>Creating a Unified Diff</title>
<para>If the patch is not in a format that you like, you can turn it
into a unified diff format by clicking the "Raw Unified" link at the top
of the page.</para>
</section>
</section>
<section id="hintsandtips">
<title>Hints and Tips</title>
<para>This section distills some Bugzilla tips and best practices
that have been developed.</para>
<section>
<title>Autolinkification</title>
<para>Bugzilla comments are plain text - so typing &lt;U&gt; will
produce less-than, U, greater-than rather than underlined text.
However, Bugzilla will automatically make hyperlinks out of certain
sorts of text in comments. For example, the text
"http://www.bugzilla.org" will be turned into a link:
<ulink url="http://www.bugzilla.org"/>.
Other strings which get linkified in the obvious manner are:
<simplelist>
<member>bug 12345</member>
<member>comment 7</member>
<member>bug 23456, comment 53</member>
<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>
<section id="accountsettings" xreflabel="Account Settings">
<para>A corollary here is that if you type a bug number in a comment, <title>Account Settings</title>
you should put the word "bug" before it, so it gets autolinkified <para>
for the convenience of others. On this page, you can change your basic Account Settings,
including your password and full name. For security reasons,
in order to change anything on this page you must type your
<emphasis>current</emphasis> password into the <quote>Old
Password</quote> field. If you wish to change your
password, type the new password you want into the <quote>New
Password</quote> field and again into the <quote>Re-enter
new password</quote> field to ensure you typed your new
password correctly. Select the <quote>Submit</quote> button
and you are done.
</para> </para>
</section> </section>
<section id="emailsettings" >
<section id="quicksearch"> <title>Email Settings</title>
<title>Quicksearch</title> <section id="notification" xreflabel="">
<title>Email Notification</title>
<para>Quicksearch is a single-text-box query tool which uses <para>
metacharacters to indicate what is to be searched. For example, typing Here you can reduce or increase the amount of email sent you
"<filename>foo|bar</filename>" from Bugzilla. Although this is referred to as
into Quicksearch would search for "foo" or "bar" in the <quote>Advanced Email Filtering Options</quote>, they are,
summary and status whiteboard of a bug; adding in fact, the standard email filter set. All of them are
"<filename>:BazProduct</filename>" would self-explanatory, but you can use the filters in interesting
search only in that product. ways. For instance, some people (notably Quality Assurance
personnel) often only care to receive updates regarding a
bug when the bug changes state, so they can track bugs on
their flow charts and know when it is time to pull the bug
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> </para>
<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>
<section id="newemailtech">
<section id="commenting"> <title>New Email Technology</title>
<title>Comments</title> <note>
<para>
<para>If you are changing the fields on a bug, only comment if This option may not be available in all Bugzilla
either you have something pertinent to say, or Bugzilla requires it. installations, depending upon the preferences of the
Otherwise, you may spam people unnecessarily with bug mail. systems administrator responsible for the setup of your
To take an example: a user can set up their account to filter out messages Bugzilla. However, if you really want this functionality,
where someone just adds themselves to the CC field of a bug ask her to "enable newemailtech in Params" and "make it
(which happens a lot.) If you come along, add yourself to the CC field, the default for all new users", referring her to the
and add a comment saying "Adding self to CC", then that person Administration section of this Guide.
gets a pointless piece of mail they would otherwise have avoided.
</para> </para>
</note>
<para> <para>
Don't use sigs in comments. Signing your name ("Bill") is acceptable, Disregard the warnings about "experimental and bleeding
if you do it out of habit, but full mail/news-style edge"; the code to handle email in a cleaner manner than
four line ASCII art creations are not. that historically used for Bugzilla is quite robust and
well-tested now.
</para> </para>
</section>
<section id="attachments">
<title>Attachments</title>
<para> <para>
Use attachments, rather than comments, for large chunks of ASCII data, I recommend you enable the option, "Click here to sign up
such as trace, debugging output files, or log files. That way, it doesn't (and risk any bugs)". Your email-box will thank you for it.
bloat the bug for everyone who wants to read it, and cause people to The fundamental shift in "newemailtech" is away from
receive fat, useless mails. standard UNIX "diff" output, which is quite ugly, to a
prettier, better laid-out email.
</para> </para>
</section>
<para>Trim screenshots. There's no need to show the whole screen if <section id="watchsettings">
you are pointing out a single-pixel problem. <title>"Watching" Users</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 watchers in Params".
</para> </para>
</note>
<para>Don't attach simple test cases (e.g. one HTML file, one <para>
CSS file and an image) as a ZIP file. Instead, upload them in By entering user email names into the "Users to watch" text
reverse order and edit the referring file so that they point to the entry box, delineated by commas, you can watch bugs of other
attached files. This way, the test case works immediately users. This powerful functionality enables seamless
out of the bug. 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> </para>
</section> </section>
</section> </section>
<section id="footersettings">
<section id="userpreferences"> <title>Page Footer</title>
<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 three tabs:</para>
<section id="accountsettings" xreflabel="Account Settings">
<title>Account Settings</title>
<para>On this tab, you can change your basic account information,
including your password, email address and real name. For security
reasons, in order to change anything on this page you must type your
<emphasis>current</emphasis>
password into the
<quote>Password</quote>
field at the top of the page.
If you attempt to change your email address, a confirmation
email is sent to both the old and new addresses, with a link to use to
confirm the change. This helps to prevent account hijacking.</para>
</section>
<section id="emailsettings">
<title>Email Settings</title>
<para>On this tab you can reduce or increase the amount of email sent
you from Bugzilla, opting in our out depending on your relationship to
the bug and the change that was made to it.
</para>
<para>
You can also do further filtering on the client side by
using the X-Bugzilla-Reason mail header which Bugzilla
adds to all bugmail. This tells you what relationship you have to the
bug in question,
and can be any of Owner, Reporter, QAcontact, CClist, Voter and
WatchingComponent.</para>
<para>By entering user email names, delineated by commas, into the
"Users to watch" text entry box you can receive a copy of all the
bugmail of other users (security settings permitting.) This powerful
functionality enables seamless transitions as developers change
projects or users go on holiday.</para>
<note> <note>
<para>The ability to watch other users may not be available in all <para>
Bugzilla installations. If you can't see it, ask your By default, this page is quite barren. However, go explore
administrator.</para> the Query Page some more; you will find that you can store
numerous queries on the server, so if you regularly run a
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> </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>
<para>This is a purely informative page which outlines your current This is a purely informative page which outlines your current
permissions on this installation of Bugzilla - what product groups you permissions on this installation of Bugzilla. If you have
are in, and whether you can edit bugs or perform various administration permissions to grant certain permissions to other users, the
functions.</para> "other users" link appears on this page as well as the footer.
</section> For more information regarding user administration, please
consult the Administration section of this Guide.
</para>
</section> </section>
<section id="reporting">
<title>Reports</title>
<para><emphasis>To be written</emphasis></para>
</section> </section>
<section id="usingbz-conc">
<title>Using Bugzilla-Conclusion</title>
<para>
Thank you for reading through this portion of the Bugzilla
Guide. I anticipate it may not yet meet the needs of all
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>
</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
...@@ -670,9 +703,8 @@ sgml-local-ecat-files:nil ...@@ -670,9 +703,8 @@ sgml-local-ecat-files:nil
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-namecase-general:t sgml-namecase-general:t
sgml-omittag:t sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.xml" "book" "chapter") sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag:t 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