Commit d819eae3 authored by barnboy%trilobyte.net's avatar barnboy%trilobyte.net

Checkin for 2.14 release. Still some problems; this cannot yet

be used for 2.14 documentation due to inconsistencies.
parent 83103061
<!DOCTYPE BOOK PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!-- Include macros --> <!-- Include macros -->
<!ENTITY about SYSTEM "about.sgml"> <!ENTITY about SYSTEM "about.sgml">
...@@ -17,82 +17,72 @@ ...@@ -17,82 +17,72 @@
<!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 requiredsoftware SYSTEM "requiredsoftware.sgml">
<!ENTITY revhistory SYSTEM "revhistory.sgml">
<!ENTITY bz "http://www.mozilla.org/projects/bugzilla">
<!ENTITY bz-ver "2.14">
<!ENTITY bz-cvs-ver "2.15">
<!ENTITY bzg-date "August 10, 2001">
<!ENTITY bzg-ver "2.14.0">
<!ENTITY bzg-cvs-ver "2.15.0">
<!ENTITY bzg-auth "Matthew P. Barnson">
<!ENTITY bzg-auth-email "<email>barnboy@NOSPAM.trilobyte.net</email>">
<!ENTITY mysql "http://www.mysql.com/">
<!ENTITY perl-ver "5.6.1">
]> ]>
<!-- Coding standards for this document
1. Preface new or modified sections with a comment stating who
modified it and when; please also use the "authorinitials" tag.
2. There is no "two".
3. Other than the GFDL, please use the "section" tag instead of "sect1", "sect2", etc.
4. Use Entities to include files for new chapters in Bugzilla-Guide.sgml.
5. Ensure all documents compile cleanly to HTML after modification.
The errors "DTD Declaration not allowed here" and "DTDDECL catalog types not supported"
are normal errors to be expected when compiling the whole guide.
6. Try to index important terms wherever possible.
7. Follow coding standards at http://www.linuxdoc.org.
8. All tags should be lowercase (needsfix)
9. Code being submitted for review should use the <!-- Coding standards for this document
"review" tag. Documentation on this is available at
http://www.linuxdoc.org/LDP/LDP-Author-Guide/tools-hints.html
under section 4.9.4, "Making notes on the text while it's being written".
10. Please use sensible spacing. The comments at the very end of each Guide * Other than the GFDL, please use the "section" tag instead of "sect1", "sect2", etc.
file define reasonable defaults for PSGML mode in EMACS. * Use Entities to include files for new chapters in Bugzilla-Guide.sgml.
Double-indent tags, use double spacing whenever possible, * Try to use Entities for frequently-used passages of text as well.
try to avoid clutter and feel free to waste space in the code to make it more readable. * Ensure all documents compile cleanly to HTML after modification.
The warning, "DTDDECL catalog types not supported" is normal.
* Try to index important terms wherever possible.
* Use "glossterm" whenever you introduce a new term.
* Follow coding standards at http://www.linuxdoc.org, and
check out the KDE guidelines (they are nice, too)
http://i18n.kde.org/doc/markup.html
* All tags should be lowercase (needsfix)
* Please use sensible spacing. The comments at the very end of each
file define reasonable defaults for PSGML mode in EMACS.
Double-indent tags, use double spacing whenever possible, and
try to avoid clutter and feel free to waste space in the code to make it more readable.
--> -->
<BOOK ID="index"> <book id="index">
<!-- Header --> <!-- Header -->
<BOOKINFO> <bookinfo>
<TITLE>The Bugzilla Guide</TITLE> <title>The Bugzilla Guide</title>
<PUBDATE>2001-04-25</PUBDATE> <pubdate>2001-04-25</pubdate>
<AUTHOR> <revhistory>
<FIRSTNAME>Matthew</FIRSTNAME> <revision>
<OTHERNAME>P.</OTHERNAME> <revnumber>v2.11</revnumber>
<SURNAME>Barnson</SURNAME> <date>20 December 2000</date>
<affiliation> <authorinitials>MPB</authorinitials>
<address><email>barnboy@trilobyte.net</email></address> <revremark>
</affiliation> Converted the README, FAQ, and DATABASE information into
</AUTHOR> SGML docbook format.
</revremark>
<ABSTRACT> </revision>
<PARA>This is the documentation for Bugzilla, the Mozilla bug-tracking system.</PARA>
</ABSTRACT>
<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> <revision>
<revnumber>2.11.1</revnumber> <revnumber>2.11.1</revnumber>
<date>06 March 2001</date> <date>06 March 2001</date>
<authorinitials>MPB</authorinitials> <authorinitials>MPB</authorinitials>
<revremark> <revremark>
Took way too long to revise this for 2.12 release. Took way too long to revise this for 2.12 release. Updated
Updated FAQ to use qandaset tags instead of literallayout, FAQ to use qandaset tags instead of literallayout, cleaned
cleaned up administration section, added User Guide section, up administration section, added User Guide section,
miscellaneous FAQ updates and third-party integration information. miscellaneous FAQ updates and third-party integration
From this point on all new tags are lowercase in preparation for the information. From this point on all new tags are lowercase
2.13 release of the Guide in XML format instead of SGML. in preparation for the 2.13 release of the Guide in XML
format instead of SGML.
</revremark> </revremark>
</revision> </revision>
...@@ -101,15 +91,82 @@ http://www.linuxdoc.org/LDP/LDP-Author-Guide/tools-hints.html ...@@ -101,15 +91,82 @@ http://www.linuxdoc.org/LDP/LDP-Author-Guide/tools-hints.html
<date>24 April 2001</date> <date>24 April 2001</date>
<authorinitials>MPB</authorinitials> <authorinitials>MPB</authorinitials>
<revremark> <revremark>
Things fixed this release: Elaborated on queryhelp interface, added FAQ regarding Things fixed this release: Elaborated on queryhelp
moving bugs from one keyword to another, clarified possible problems with the Landfill interface, added FAQ regarding moving bugs from one keyword
tutorial, fixed a boatload of typos and unclear sentence structures. Incorporated the to another, clarified possible problems with the Landfill
README into the UNIX installation section, and changed the README to indicate the deprecated tutorial, fixed a boatload of typos and unclear sentence
status. Things I know need work: Used "simplelist" a lot, where I should have used structures. Incorporated the README into the UNIX
"procedure" to tag things. Need to lowercase all tags to be XML compliant. 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> </revremark>
</revision> </revision>
</REVHISTORY> </revhistory>
<authorgroup>
<author>
<firstname>Matthew</firstname>
<othername>P.</othername>
<surname>Barnson</surname>
<affiliation>
<address><email>barnboy@NOSPAM.trilobyte.net</email></address>
</affiliation>
</author>
<collab>
<collabname>Zach Lipton</collabname>
<affiliation>
<address><email>zach@NOSPAM.zachlipton.com</email></address>
</affiliation>
</collab>
<editor>
<firstname>I.</firstname>
<surname>Freely</surname>
<othername>P.</othername>
<affiliation>
<address><email>ipfreely@freely.eye-p.net</email></address>
</affiliation>
</editor>
</authorgroup>
<abstract>
<para>
This is the documentation for Bugzilla, the Mozilla
bug-tracking system.
</para>
<para>
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.
While it is easy to use and quite flexible, it is very
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 on operating system upon which you install
Bugzilla.
</para>
</abstract>
<KEYWORDSET> <KEYWORDSET>
<KEYWORD>Bugzilla</KEYWORD> <KEYWORD>Bugzilla</KEYWORD>
...@@ -127,15 +184,15 @@ http://www.linuxdoc.org/LDP/LDP-Author-Guide/tools-hints.html ...@@ -127,15 +184,15 @@ http://www.linuxdoc.org/LDP/LDP-Author-Guide/tools-hints.html
<!-- About This Guide --> <!-- About This Guide -->
&about; &about;
<!-- Using Bugzilla -->
&using;
<!-- Installing Bugzilla --> <!-- Installing Bugzilla -->
&installation; &installation;
<!-- Administering Bugzilla --> <!-- Administering Bugzilla -->
&administration; &administration;
<!-- Using Bugzilla -->
&using;
<!-- Integrating Bugzilla with Third-Party Tools --> <!-- Integrating Bugzilla with Third-Party Tools -->
&integration; &integration;
...@@ -166,31 +223,26 @@ http://www.linuxdoc.org/LDP/LDP-Author-Guide/tools-hints.html ...@@ -166,31 +223,26 @@ http://www.linuxdoc.org/LDP/LDP-Author-Guide/tools-hints.html
<!-- Index --> <!-- Index -->
&index; &index;
</BOOK>
</book>
<!-- 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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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" [
<!ENTITY conventions SYSTEM "conventions.sgml"> ] > <!ENTITY conventions SYSTEM "conventions.sgml"> ] > -->
<CHAPTER ID="about"> <chapter id="about">
<TITLE>About This Guide</TITLE> <title>About This Guide</title>
<SECTION ID="aboutthisguide"> <section id="aboutthisguide">
<TITLE>Purpose and Scope of this Guide</TITLE> <title>Purpose and Scope of this Guide</title>
<PARA> <para>
This document was started on September 17, 2000 This document was started on September 17, 2000 by Matthew P.
by Matthew P. Barnson after a great deal of procrastination updating the Bugzilla FAQ, Barnson after a great deal of procrastination updating the
which I left untouched for nearly half a year. Bugzilla FAQ, which I left untouched for nearly half a year.
After numerous complete rewrites and reformatting, it is the document you see today. After numerous complete rewrites and reformatting, it is the
</PARA> document you see today.
<PARA> </para>
Despite the lack of updates, Bugzilla is simply the best piece of bug-tracking software <para>
the world has ever seen. This document is intended to be the comprehensive guide to Despite the lack of updates, Bugzilla is simply the best piece
the installation, administration, maintenance, and use of the Bugzilla bug-tracking system. of bug-tracking software the world has ever seen. This document
</PARA> is intended to be the comprehensive guide to the installation,
<PARA> administration, maintenance, and use of the Bugzilla
This release of the Bugzilla Guide is the <EMPHASIS>2.11</EMPHASIS> release. bug-tracking system.
It is so named that it may match the current version of Bugzilla. </para>
The numbering tradition stems from that used for many free software projects, <para>
in which <EMPHASIS>even-numbered</EMPHASIS> point releases (1.2, 1.14, etc.) This release of the Bugzilla Guide is the
are considered "stable releases", intended for public consumption; on the other <emphasis>&bzg-ver;</emphasis> release. It is so named that it
hand, <EMPHASIS>odd-numbered</EMPHASIS> point releases (1.3, 2.09, etc.) may match the current version of Bugzilla. The numbering
are considered unstable <EMPHASIS>development</EMPHASIS> releases intended tradition stems from that used for many free software projects,
for advanced users, systems administrators, developers, and those who enjoy in which <emphasis>even-numbered</emphasis> point releases (1.2,
a lot of pain. 1.14, etc.) are considered "stable releases", intended for
</PARA> public consumption; on the other hand,
<PARA> <emphasis>odd-numbered</emphasis> point releases (1.3, 2.09,
Newer revisions of the Bugzilla Guide will follow the numbering conventions of etc.) are considered unstable <emphasis>development</emphasis>
the main-tree Bugzilla releases, available at releases intended for advanced users, systems administrators,
<ULINK URL="http://www.mozilla.org/bugs/source.html">Mozilla.org</ULINK>, with developers, and those who enjoy a lot of pain.
the exception that intermediate releases will have a minor revision number </para>
following a period. For instance, if the current version of Bugzilla is 4.2, <para>
the current "stable" version of the Bugzilla guide, in, say, it's fifth revision, Newer revisions of the Bugzilla Guide follow the numbering
would be numbered "4.2.5". Got it? Good. conventions of the main-tree Bugzilla releases, available at
</PARA> <ulink url="&bz;">&bz;</ulink>. Intermediate releases will have
<PARA> a minor revision number following a period. The current version
I wrote this in response to the enormous demand for decent Bugzilla documentation. of Bugzilla, as of this writing (&bzg-date;) is &bz-ver;; if
I have incorporated instructions from the Bugzilla README, Frequently Asked Questions, something were seriously wrong with that edition of the Guide,
Database Schema Document, and various mailing lists to create it. subsequent releases would receive an additional dotted-decimal
Chances are, there are glaring errors in this documentation; please contact digit to indicate the update (&bzg-ver;.1, &bzg-ver;.2, etc.).
<EMAIL>barnboy@trilobyte.net</EMAIL> to correct them. Got it? Good.
</PARA> </para>
</SECTION> <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 Matthew P. Barnson</ATTRIBUTION> <attribution>Copyright (c) 2000-2001 &bzg-auth;</attribution>
<PARA> <para>
Permission is granted to copy, distribute and/or modify this document under thei Permission is granted to copy, distribute and/or modify this
terms of the GNU Free Documentation License, Version 1.1 or any later version published document under the terms of the GNU Free Documentation
by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and License, Version 1.1 or any later version published by the
with no Back-Cover Texts. A copy of the license is included in the section entitled Free Software Foundation; with no Invariant Sections, no
"GNU Free Documentation LIcense". Front-Cover Texts, and with no Back-Cover Texts. A copy of
</PARA> the license is included in the section entitled "GNU Free
</BLOCKQUOTE> Documentation LIcense".
<PARA> </para>
If you have any questions regarding this document, its' copyright, or publishing this </blockquote>
document in non-electronic form, please contact <EMAIL>barnboy@trilobyte.net</EMAIL> <para>
</PARA> If you have any questions regarding this document, its
</SECTION> copyright, or publishing this document in non-electronic form,
please contact &bzg-auth;. Remove "NOSPAM" from email address
to send.
</para>
</section>
<SECTION ID="disclaimer"> <section id="disclaimer">
<TITLE>Disclaimer</TITLE> <title>Disclaimer</title>
<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 As this is a new edition of this document, there may be errors
and inaccuracies that may damage your system. Use of this document and inaccuracies that may damage your system. Use of this
may cause your girlfriend to leave you, your cats to pee on your document may cause your girlfriend to leave you, your cats to
furniture and clothing, your computer to cease functioning, your pee on your furniture and clothing, your computer to cease
boss to fire you, and global thermonuclear war. Proceed with caution. functioning, your boss to fire you, and global thermonuclear
</PARA> war. Proceed with caution.
<PARA> </para>
All copyrights are held by their respective owners, unless specifically <para>
noted otherwise. Use of a term in this document should not be regarded All copyrights are held by their respective owners, unless
as affecting the validity of any trademark or service mark. specifically noted otherwise. Use of a term in this document
In particular, I like to put down Microsoft(tm). Live with it. should not be regarded as affecting the validity of any
</PARA> trademark or service mark.
<PARA> </para>
Naming of particular products or brands should not be seen as endorsements, <para>
with the exception of the term "GNU/Linux". Naming of particular products or brands should not be seen as
Use GNU/Linux. Love it. Bathe with it. It is life and happiness. endorsements, with the exception of the term "GNU/Linux". I
I endorse it wholeheartedly and encourage you to do the same. wholeheartedly endorse the use of GNU/Linux in every situation
</PARA> where it is appropriate. It is an extremely versatile, stable,
<PARA> and robust operating system that offers an ideal operating
You are strongly recommended to make a backup of your system before environment for Bugzilla.
installing Bugzilla and at regular intervals thereafter. Heaven knows </para>
it's saved my bacon time after time; if you implement any suggestion in <para>
this Guide, implement this one! You are strongly recommended to make a backup of your system
</PARA> before installing Bugzilla and at regular intervals thereafter.
<PARA> Heaven knows it's saved my bacon time after time; if you
Bugzilla has not undergone a complete security review. implement any suggestion in this Guide, implement this one!
Security holes probably exist in the code. </para>
Great care should be taken both in the installation and usage of this software. <para>
Carefully consider the implications of installing other network services with Bugzilla. Although the Bugzilla development team has taken great care to
</PARA> ensure that all easily-exploitable bugs or options are
</SECTION> documented or fixed in the code, security holes surely exist.
Great care should be taken both in the installation and usage of
this software. Carefully consider the implications of installing
other network services with Bugzilla. The Bugzilla development
team members, Netscape Communications, America Online Inc., and
any affiliated developers or sponsors assume no liability for
your use of this product. You have the source code to this
product, and are responsible for auditing it yourself to insure
your security needs are met.
</para>
</section>
<!-- Section 2: New Versions --> <!-- Section 2: New Versions -->
<SECTION ID="newversions"> <section id="newversions">
<TITLE>New Versions</TITLE> <title>New Versions</title>
<PARA> <para>
This is the initial release of the Bugzilla Guide. This is the &bzg-ver; version of The Bugzilla Guide. If you are
</PARA> reading this from any source other than those below, please
<PARA> check one of these mirrors to make sure you are reading an
up-to-date version of the Guide.
</para>
<para>
This document can be found in the following places: This document can be found in the following places:
</PARA> </para>
<PARA> <para>
<ITEMIZEDLIST> <itemizedlist>
<LISTITEM> <listitem>
<PARA> <para>
<ULINK URL="http://www.trilobyte.net/barnsons/">TriloBYTE</ULINK> <ulink url="http://www.trilobyte.net/barnsons/">TriloBYTE</ulink>
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
<ULINK URL="http://www.mozilla.org/projects/bugzilla/">Mozilla.org</ULINK> <ulink url="http://www.mozilla.org/projects/bugzilla/">Mozilla.org</ulink>
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
<ULINK URL="http://www.linuxdoc.org/">The Linux Documentation Project</ULINK> <ulink url="http://www.linuxdoc.org/">The Linux
</PARA> Documentation Project</ulink>
</LISTITEM> </para>
</ITEMIZEDLIST> </listitem>
</PARA> </itemizedlist>
<PARA> </para>
<para>
The latest version of this document can be checked out via CVS. The latest version of this document can be checked out via CVS.
Please follow the instructions available at Please follow the instructions available at <ulink
<ULINK URL="http://www.mozilla.org/cvs.html">the Mozilla CVS page</ULINK>, url="http://www.mozilla.org/cvs.html">the Mozilla CVS page</ulink>, and check out the mozilla/webtools/bugzilla/docs/ branch.
and check out the mozilla/webtools/bugzilla/docs/ branch. </para>
</PARA> </section>
</SECTION>
<SECTION ID="credits"> <section id="credits">
<TITLE>Credits</TITLE> <title>Credits</title>
<PARA> <para>
The people listed below have made enormous contributions to the creation The people listed below have made enormous contributions to the
of this Guide, through their dedicated hacking efforts, creation of this Guide, through their dedicated hacking efforts,
numerous e-mail and IRC support sessions, numerous e-mail and IRC support sessions, and overall excellent
and overall excellent contribution to the Bugzilla community: contribution to the Bugzilla community:
</PARA> </para>
<PARA> <para>
<ULINK URL="mailto://terry@mozilla.org">Terry Weissman</ULINK> <ulink url="mailto://terry@mozilla.org">Terry Weissman</ulink>
for initially converting Bugzilla from BugSplat! for initially converting Bugzilla from BugSplat! and writing the
and writing the README upon which this documentation is largely based. README upon which this documentation is largely based.
</PARA> </para>
<PARA> <para>
<ULINK URL="mailto://tara@tequilarista.org">Tara Hernandez</ULINK> <ulink url="mailto://tara@tequilarista.org">Tara
for keeping Bugzilla development going strong after Terry left Mozilla.org Hernandez</ulink> for keeping Bugzilla development going
</PARA> strong after Terry left Mozilla.org
<PARA> </para>
<ULINK URL="mailto://dkl@redhat.com">Dave Lawrence</ULINK> <para>
for providing insight into the key differences between Red Hat's <ulink url="mailto://dkl@redhat.com">Dave Lawrence</ulink> for
customized Bugzilla, and being largely responsible for the providing insight into the key differences between Red Hat's
"Red Hat Bugzilla" appendix customized Bugzilla, and being largely responsible for the "Red
</PARA> Hat Bugzilla" appendix
<PARA> </para>
<ULINK URL="mailto://endico@mozilla.org">Dawn Endico</ULINK> <para>
for being a hacker extraordinaire and putting up with my incessant <ulink url="mailto://endico@mozilla.org">Dawn Endico</ulink> for
being a hacker extraordinaire and putting up with my incessant
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 Last but not least, all the members of the <ulink
<ULINK URL="news://news.mozilla.org/netscape/public/mozilla/webtools"> 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.
netscape.public.mozilla.webtools</ULINK> newsgroup. Without your </para>
discussions, insight, suggestions, and patches, this could never have happened. </section>
</PARA>
</SECTION>
<SECTION id="contributors">
<TITLE>Contributors</TITLE>
<PARA>
Thanks go to these people for significant contributions
to this documentation (in no particular order):
</PARA>
<PARA>
Zach Lipton (significant textual contributions),
Andrew Pearson,
Spencer Smith,
Eric Hanson,
Kevin Brannen,
</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"> <section id="contributors">
<TITLE>Translations</TITLE> <title>Contributors</title>
<PARA> <para>
The Bugzilla Guide needs translators! Thanks go to these people for significant contributions to this
Please volunteer your translation into the language of your choice. documentation (in no particular order):
If you will translate this Guide, please notify the members of the mozilla-webtools mailing list at </para>
<email>mozilla-webtools@mozilla.org</email>. Since The Bugzilla Guide is also hosted on the <para>
Linux Documentation Project, you would also do well to notify Andrew Pearson, Spencer Smith, Eric Hanson, Kevin Brannen, Ron Teitelbaum
</PARA> </para>
</SECTION> </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>
</section>
<!-- conventions used here (didn't want to give it a chapter of its own) --> <!-- conventions used here (didn't want to give it a chapter of its own) -->
&conventions; &conventions;
</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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:upper
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:Bugzilla-Guide\.sgml
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-doctype:"<!DOCTYPE chapter PUBLIC \"-//OASIS//DTD DocBook V4.1//EN\">" sgml-minimize-attributes:nil
End: sgml-namecase-general:t
--> sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag:t
sgml-tag-region-if-active:t
End: -->
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> <!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> -->
<!-- TOC <chapter id="administration">
Chapter: Administration <title>Administering Bugzilla</title>
Localconfig and Checksetup.pl customizations <subtitle>
The Email Gateway Or, I just got this cool thing installed. Now what the heck do I
Editing parameters do with it?
Deciding your site policies </subtitle>
The Shadow Database
Customizing password mail & layout
The Whining Cron
Why you shouldn't allow deletion
User administration
Creating Users
Disabling Users
User Permissions
Product Administration
Creating products
Creating components
Assigning default owners and Q/A contacts to components
Product Milestones
Product Versions
Voting
-->
<CHAPTER id="administration">
<TITLE>Administering Bugzilla</TITLE>
<SUBTITLE>Or, I just got this cool thing installed. Now what the heck do I do with it?</SUBTITLE>
<PARA> <para>
So you followed the README isntructions to the letter, and So you followed the installation instructions to the letter, and
just logged into bugzilla with your super-duper god account and you are sitting at the query just logged into bugzilla with your super-duper god account and
screen. Yet, you have nothing to query. Your first act of business needs to be to setup the you are sitting at the query screen. Yet, you have nothing to
operating parameters for bugzilla.</PARA> query. Your first act of business needs to be to setup the
operating parameters for bugzilla.
</para>
<SECTION id="postinstall-check"> <section id="postinstall-check">
<TITLE>Post-Installation Checklist</TITLE> <title>Post-Installation Checklist</title>
<PARA> <para>
After installation, follow the checklist below to ensure that After installation, follow the checklist below to ensure that
you have a successful installation. you have a successful installation. If you do not see a
If you do not see a recommended setting for a parameter, recommended setting for a parameter, consider leaving it at the
consider leaving it at the default default while you perform your initial tests on your Bugzilla
while you perform your initial tests on your Bugzilla setup. setup.
</PARA> </para>
<INDEXTERM> <indexterm>
<PRIMARY>checklist</PRIMARY> <primary>checklist</primary>
</INDEXTERM> </indexterm>
<PROCEDURE> <procedure>
<STEP> <step>
<PARA> <para>
Bring up "editparams.cgi" in your web browser. For instance, to edit parameters Bring up "editparams.cgi" in your web browser. For
at mozilla.org, the URL would be <ULINK URL="http://bugzilla.mozilla.org/editparams.cgi"> instance, to edit parameters at mozilla.org, the URL would
http://bugzilla.mozilla.org/editparams.cgi</ULINK>, also available under the "edit parameters" be <ulink url="http://bugzilla.mozilla.org/editparams.cgi">
link on your query page. http://bugzilla.mozilla.org/editparams.cgi</ulink>, also
</PARA> available under the "edit parameters" link on your query
</STEP> page.
<STEP> </para>
<PARA> </step>
Set "maintainer" to <EMPHASIS>your</EMPHASIS> email address. <step>
This allows Bugzilla's error messages <para>
to display your email Set "maintainer" to <emphasis>your</emphasis> email address.
This allows Bugzilla's error messages to display your email
address and allow people to contact you for help. address and allow people to contact you for help.
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
Set "urlbase" to the URL reference for your Bugzilla installation. Set "urlbase" to the URL reference for your Bugzilla
If your bugzilla query page is at http://www.foo.com/bugzilla/query.cgi, installation. If your bugzilla query page is at
your url base is http://www.foo.com/bugzilla/ http://www.foo.com/bugzilla/query.cgi, your url base is
</PARA> http://www.foo.com/bugzilla/
</STEP> </para>
<STEP> </step>
<PARA> <step>
Set "usebuggroups" to "1" <EMPHASIS>only</EMPHASIS> <para>
if you need to restrict access to products. Set "usebuggroups" to "on" <emphasis>only</emphasis> if you
I suggest leaving this parameter <EMPHASIS>off</EMPHASIS> need to restrict access to products. I suggest leaving this
while initially testing your Bugzilla. parameter <emphasis>off</emphasis> while initially testing
</PARA> your Bugzilla.
</STEP> </para>
<STEP> </step>
<PARA> <step>
Set "usebuggroupsentry" to "1" if you want to restrict access to products. <para>
Once again, if you are simply testing your installation, I suggest against Set "usebuggroupsentry" to "on" if you want to restrict
turning this parameter on; the strict security checking may stop you from access to products. Once again, if you are simply testing
being able to modify your new entries. your installation, I suggest against turning this parameter
</PARA> on; the strict security checking may stop you from being
</STEP> able to modify your new entries.
<STEP> </para>
<PARA> </step>
Set "shadowdb" to "bug_shadowdb" if you will be <step>
running a *very* large installation of Bugzilla. <para>
The shadow database enables many simultaneous users Set "shadowdb" to "bug_shadowdb" if you will be running a
to read and write to the database *very* large installation of Bugzilla. The shadow database
without interfering with one another. enables many simultaneous users to read and write to the
<NOTE> database without interfering with one another.
<PARA> <note>
<para>
Enabling "shadowdb" can adversely affect the stability Enabling "shadowdb" can adversely affect the stability
of your installation of Bugzilla. of your installation of Bugzilla. You may frequently
You may frequently need to manually synchronize your databases, need to manually synchronize your databases, or schedule
or schedule nightly syncs nightly syncs via "cron"
via "cron" </para>
</PARA> </note> Once again, in testing you should avoid this option
</NOTE> -- use it if or when you <emphasis>need</emphasis> to use
Once again, in testing you should it, and have repeatedly run into the problem it was designed
avoid this option -- use it if or when you <EMPHASIS>need</EMPHASIS> to use it, and have to solve -- very long wait times while attempting to commit
repeatedly run into the problem it was designed to solve -- very long wait times while a change to the database.
attempting to commit a change to the database. </para>
</PARA> <para>
<PARA> If you use the "shadowdb" option, it is only natural that
If you use the "shadowdb" option, you should turn the "queryagainstshadowdb" option "On" as
it is only natural that you should turn the "queryagainstshadowdb" well. Otherwise you are replicating data into a shadow
option "On" as well. Otherwise you are replicating data into a shadow database for no reason! database for no reason!
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
If you have custom logos or HTML you must put in place to fit within your site design guidelines, If you have custom logos or HTML you must put in place to
place the code in the "headerhtml", "footerhtml", "errorhtml", fit within your site design guidelines, place the code in
"bannerhtml", or "blurbhtml" text boxes. the "headerhtml", "footerhtml", "errorhtml", "bannerhtml",
<NOTE> or "blurbhtml" text boxes.
<PARA> <note>
<para>
The "headerhtml" text box is the HTML printed out The "headerhtml" text box is the HTML printed out
<EMPHASIS>before</EMPHASIS> any other code on the page. <emphasis>before</emphasis> any other code on the page.
If you have a special banner, put the code for it in "bannerhtml". If you have a special banner, put the code for it in
You may want to leave these "bannerhtml". You may want to leave these settings at
settings at the defaults initially. the defaults initially.
</PARA> </para>
</NOTE> </note>
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
Add any text you wish to the "passwordmail" parameter box. For instance, Add any text you wish to the "passwordmail" parameter box.
many people choose to use this box to give a quick training blurb about how to For instance, many people choose to use this box to give a
use Bugzilla at your site. quick training blurb about how to use Bugzilla at your site.
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
Ensure "newemailtech" is "on". Ensure "newemailtech" is "on". Your users will thank you.
Your users will thank you. This is the default in the post-2.12 world, and is This is the default in the post-2.12 world, and is only an
only an issue if you are upgrading. issue if you are upgrading.
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
Do you want to use the qa contact ("useqacontact") Do you want to use the QA Contact ("useqacontact") and
and status whiteboard ("usestatuswhiteboard") fields? status whiteboard ("usestatuswhiteboard") fields? These
These fields are useful because they allow for more flexibility, fields are useful because they allow for more flexibility,
particularly when you have an existing particularly when you have an existing Quality Assurance
Quality Assurance and/or Release Engineering team, and/or Release Engineering team, but they may not be needed
but they may not be needed for smaller installations. for smaller installations.
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
Set "whinedays" to the amount of days you want to let bugs go Set "whinedays" to the amount of days you want to let bugs
in the "New" or "Reopened" state before go in the "New" or "Reopened" state before notifying people
notifying people they have untouched new bugs. If you do not plan to use this feature, simply do they have untouched new bugs. If you do not plan to use
not set up the whining cron job described in the README, or set this value to "0". this feature, simply do not set up the whining cron job
</PARA> described in the installation instructions, or set this
</STEP> value to "0".
<STEP> </para>
<PARA> </step>
<step>
<para>
Set the "commenton" options according to your site policy. Set the "commenton" options according to your site policy.
It is a wise idea to require comments when users It is a wise idea to require comments when users resolve,
resolve, reassign, or reopen bugs. reassign, or reopen bugs.
<NOTE> <note>
<PARA> <para>
It is generally far better to require a developer comment when resolving bugs than not. It is generally far better to require a developer
Few things are more annoying to bug database users than having a developer comment when resolving bugs than not. Few things are
mark a bug "fixed" without any comment as to what the fix was (or even that it was truly fixed!) more annoying to bug database users than having a
</PARA> developer mark a bug "fixed" without any comment as to
</NOTE> what the fix was (or even that it was truly fixed!)
</PARA> </para>
</STEP> </note>
<STEP> </para>
<PARA> </step>
Set "supportwatchers" to "On". This feature is helpful for team leads to monitor progress in their <step>
respective areas, and can offer many other benefits, such as allowing a developer to pick up a <para>
former engineer's bugs without requiring her to change all the information in the bug. Set "supportwatchers" to "On". This feature is helpful for
</PARA> team leads to monitor progress in their respective areas,
</STEP> and can offer many other benefits, such as allowing a
</PROCEDURE> developer to pick up a former engineer's bugs without
</SECTION> requiring her to change all the information in the bug.
</para>
</step>
</procedure>
</section>
<SECTION id="useradmin"> <section id="useradmin">
<TITLE>User Administration</TITLE> <title>User Administration</title>
<PARA> <para>
User administration is one of the easiest parts of Bugzilla. User administration is one of the easiest parts of Bugzilla.
Keeping it from getting out of hand, however, can become a challenge. Keeping it from getting out of hand, however, can become a
</PARA> 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 will prompt you When you first run checksetup.pl after installing Bugzilla, it
for the administrative username (email address) and password for this "super user". will prompt you for the administrative username (email
If for some reason you were to delete the "super user" account, re-running address) and password for this "super user". If for some
checksetup.pl will again prompt you for this username and password. reason you were to delete the "super user" account, re-running
</PARA> checksetup.pl will again prompt you for this username and
<TIP> password.
<PARA> </para>
If you wish to add more administrative users, you must use the MySQL interface. <tip>
Run "mysql" from the command line, and use these commands ("mysql>" denotes the <para>
mysql prompt, not something you should type in): If you wish to add more administrative users, you must use the
<COMMAND><PROMPT>mysql></PROMPT> use bugs;</COMMAND> MySQL interface. Run "mysql" from the command line, and use
<COMMAND><PROMPT>mysql></PROMPT> update profiles set groupset=0x7ffffffffffffff these commands ("mysql>" denotes the mysql prompt, not
where login_name = "(user's login name)"; </COMMAND> something you should type in):
</PARA> <command><prompt>mysql></prompt> use bugs;</command>
</TIP> <command><prompt>mysql></prompt> update profiles set
</SECTION> groupset=0x7ffffffffffffff where login_name = "(user's
login name)"; </command>
</para>
</tip>
</section>
<SECTION id="manageusers"> <section id="manageusers">
<TITLE>Managing Other Users</TITLE> <title>Managing Other Users</title>
<SECTION id="login"> <section id="login">
<TITLE>Logging In</TITLE> <title>Logging In</title>
<ORDEREDLIST> <orderedlist>
<LISTITEM> <listitem>
<PARA> <para>
Open the index.html page for your Bugzilla installation in your browser window. Open the index.html page for your Bugzilla installation
</PARA> in your browser window.
</LISTITEM> </para>
<LISTITEM> </listitem>
<PARA> <listitem>
<para>
Click the "Query Existing Bug Reports" link. Click the "Query Existing Bug Reports" link.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Click the "Log In" link at the foot of the page. Click the "Log In" link at the foot of the page.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Type your email address, and the password which was emailed to you when you Type your email address, and the password which was
created your Bugzilla account, into the spaces provided. emailed to you when you created your Bugzilla account,
</PARA> into the spaces provided.
</LISTITEM> </para>
</ORDEREDLIST> </listitem>
<PARA>Congratulations, you are logged in!</PARA> </orderedlist>
</SECTION> <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> <para>
Your users can create their own user accounts by clicking the "New Account" Your users can create their own user accounts by clicking
link at the bottom of each page. the "New Account" link at the bottom of each page. However,
However, should you desire to create user accounts ahead of time, here is how you do it. should you desire to create user accounts ahead of time,
</PARA> here is how you do it.
<ORDEREDLIST> </para>
<LISTITEM> <orderedlist>
<PARA> <listitem>
After logging in, click the "Users" link at the footer of the query page. <para>
</PARA> After logging in, click the "Users" link at the footer
</LISTITEM> of the query page.
<LISTITEM> </para>
<PARA> </listitem>
To see a specific user, type a portion of their login name <listitem>
in the box provided and click "submit". <para>
To see all users, simply click the "submit" button. To see a specific user, type a portion of their login
You must click "submit" here to be able to add a new user. name in the box provided and click "submit". To see all
</PARA> users, simply click the "submit" button. You must click
<TIP> "submit" here to be able to add a new user.
<PARA> </para>
More functionality is available via the list on the right-hand side <tip>
of the text entry box. <para>
You can match what you type as a case-insensitive substring (the default) More functionality is available via the list on the
of all users on your system, a case-sensitive regular expression right-hand side of the text entry box. You can match
(please see the "man regexp" manual page for details on regular expression syntax), what you type as a case-insensitive substring (the
or a <EMPHASIS>reverse</EMPHASIS> regular expression match, default) of all users on your system, a case-sensitive
where every user name which does NOT match the regular expression regular expression (please see the "man regexp" manual
is selected. page for details on regular expression syntax), or a
</PARA> <emphasis>reverse</emphasis> regular expression match,
</TIP> where every user name which does NOT match the regular
</LISTITEM> expression is selected.
<LISTITEM> </para>
<PARA> </tip>
Click the "Add New User" link at the bottom of the user list </listitem>
</PARA> <listitem>
</LISTITEM> <para>
<LISTITEM> Click the "Add New User" link at the bottom of the user
<PARA> list
Fill out the form presented. This page is self-explanatory. When done, click "submit". </para>
</PARA> </listitem>
<NOTE> <listitem>
<PARA> <para>
Adding a user this way will <EMPHASIS>not</EMPHASIS> send an email Fill out the form presented. This page is
informing them of their username and password. self-explanatory. When done, click "submit".
In general, it is preferable to log out and use the "New Account" </para>
button to create users, as it will pre-populate all the required fields and also notify <note>
the user of her account name and password. <para>
</PARA> Adding a user this way will <emphasis>not</emphasis>
</NOTE> send an email informing them of their username and
</LISTITEM> password. In general, it is preferable to log out and
</ORDEREDLIST> use the "New Account" button to create users, as it
</SECTION> will pre-populate all the required fields and also
notify the user of her account name and password.
</para>
</note>
</listitem>
</orderedlist>
</section>
<SECTION id="disableusers"> <section id="disableusers">
<TITLE>Disabling Users</TITLE> <title>Disabling Users</title>
<PARA> <para>
I bet you noticed that big "Disabled Text" entry box available from the "Add New User" screen, I bet you noticed that big "Disabled Text" entry box
when you edit an account? available from the "Add New User" screen, when you edit an
By entering any text in this box and selecting "submit", account? By entering any text in this box and selecting
you have prevented the user from using Bugzilla via the web interface. "submit", you have prevented the user from using Bugzilla
Your explanation, written in this text box, will be presented to the user via the web interface. Your explanation, written in this
the next time she attempts to use the system. text box, will be presented to the user the next time she
<WARNING> attempts to use the system.
<PARA> <warning>
Don't disable your own administrative account, or you will hate life! <para>
</PARA> Don't disable your own administrative account, or you
</WARNING> will hate life!
</PARA> </para>
</SECTION> </warning>
</para>
</section>
<SECTION id="modifyusers"> <section id="modifyusers">
<TITLE>Modifying Users</TITLE> <title>Modifying Users</title>
<PARA> <para>
Here I will attempt to describe the function of each option on the user edit screen. Here I will attempt to describe the function of each option
</PARA> on the Edit User screen.
<ITEMIZEDLIST> </para>
<LISTITEM> <itemizedlist>
<PARA> <listitem>
<EMPHASIS>Login Name</EMPHASIS>: This is generally the user's email address. <para>
However, if you have edited your system parameters, <emphasis>Login Name</emphasis>: This is generally the
this may just be the user's login name or some other identifier. user's email address. However, if you have edited your
<TIP> system parameters, this may just be the user's login
<PARA> name or some other identifier.
For compatability reasons, you should probably <tip>
stick with email addresses as user login names. It will make your life easier. <para>
</PARA> For compatability reasons, you should probably stick
</TIP> with email addresses as user login names. It will
</PARA> make your life easier.
</LISTITEM> </para>
<LISTITEM> </tip>
<PARA> </para>
<EMPHASIS>Real Name</EMPHASIS>: Duh! </listitem>
</PARA> <listitem>
</LISTITEM> <para>
<LISTITEM> <emphasis>Real Name</emphasis>: Duh!
<PARA> </para>
<EMPHASIS>Password</EMPHASIS>: You will only see asterisks in versions </listitem>
of Bugzilla newer than 2.10 or early 2.11. You can change the user password here. <listitem>
</PARA> <para>
</LISTITEM> <emphasis>Password</emphasis>: You will only see
<LISTITEM> asterisks in versions of Bugzilla newer than 2.10 or
<PARA> early 2.11. You can change the user password here.
<EMPHASIS>Email Notification</EMPHASIS>: You may choose from one of three options: </para>
<ORDEREDLIST> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
<emphasis>Email Notification</emphasis>: You may choose
from one of three options:
<orderedlist>
<listitem>
<para>
All qualifying bugs except those which I change: All qualifying bugs except those which I change:
The user will be notified of any change to any bug The user will be notified of any change to any bug
for which she is the reporter, assignee, Q/A contact, CC recipient, or "watcher". for which she is the reporter, assignee, QA
</PARA> Contact, CC recipient, or "watcher".
</LISTITEM> </para>
<LISTITEM> </listitem>
<PARA> <listitem>
<para>
Only those bugs which I am listed on the CC line: Only those bugs which I am listed on the CC line:
The user will not be notified of changes to bugs where she is the assignee, The user will not be notified of changes to bugs
reporter, or Q/A contact, but will receive them if she is on the CC list. where she is the assignee, reporter, or QA
<NOTE> Contact, but will receive them if she is on the CC
<PARA> list.
She will still receive whining cron emails if you set up the "whinemail" feature. <note>
</PARA> <para>
</NOTE> She will still receive whining cron emails if
</PARA> you set up the "whinemail" feature.
</LISTITEM> </para>
<LISTITEM> </note>
<PARA> </para>
<EMPHASIS>All Qualifying Bugs</EMPHASIS>: This user is a glutton for punishment. </listitem>
If her name is in the reporter, Q/A contact, CC, assignee, or is a "watcher", <listitem>
she will get email updates regarding the bug. <para>
</PARA> <emphasis>All Qualifying Bugs</emphasis>: This
</LISTITEM> user is a glutton for punishment. If her name is
</ORDEREDLIST> in the reporter, QA Contact, CC, assignee, or is a
</PARA> "watcher", she will get email updates regarding
<PARA> the bug.
<EMPHASIS>Disable Text</EMPHASIS>: If you type anything in this box, </para>
including just a space, the user account is disabled from making any changes </listitem>
to bugs via the web interface, and what you type in this box is presented as the reason. </orderedlist>
<WARNING> </para>
<PARA>Don't disable the administrator account!</PARA> <para>
</WARNING> <emphasis>Disable Text</emphasis>: If you type anything
<NOTE> in this box, including just a space, the user account is
<PARA> disabled from making any changes to bugs via the web
As of this writing, the user can still submit bugs via the e-mail gateway, interface, and what you type in this box is presented as
if you set it up, despite the disabled text field. The e-mail gateway should the reason.
<EMPHASIS>not</EMPHASIS> be enabled for secure installations of Bugzilla. <warning>
</PARA> <para>Don't disable the administrator account!</para>
</NOTE> </warning>
</PARA> <note>
</LISTITEM> <para>
<LISTITEM> As of this writing, the user can still submit bugs
<PARA> via the e-mail gateway, if you set it up, despite
<EMPHASIS>CanConfirm</EMPHASIS>: This field is only used if you have enabled the disabled text field. The e-mail gateway should
"unconfirmed" status in your parameters screen. If you enable this for a user, <emphasis>not</emphasis> be enabled for secure
that user can then move bugs from "Unconfirmed" to "Confirmed" status (ergo: "New" status). installations of Bugzilla.
Be judicious about allowing users to turn this bit on for other users. </para>
</PARA> </note>
</LISTITEM> </para>
<LISTITEM> </listitem>
<PARA> <listitem>
<EMPHASIS>Creategroups</EMPHASIS>: This option will allow a user to create and <para>
destroy groups in Bugzilla. Unless you are using the Bugzilla GroupSentry security <emphasis>CanConfirm</emphasis>: This field is only used
option "usebuggroupsentry" in your parameters, this setting has no effect. if you have enabled "unconfirmed" status in your
</PARA> parameters screen. If you enable this for a user, that
</LISTITEM> user can then move bugs from "Unconfirmed" to
<LISTITEM> "Confirmed" status (e.g.: "New" status). Be judicious
<PARA> about allowing users to turn this bit on for other
<EMPHASIS>Editbugs</EMPHASIS>: Unless a user has this bit set, they can only edit users.
those bugs for which they are the assignee or the reporter. </para>
<NOTE> </listitem>
<PARA> <listitem>
Leaving this option unchecked does not prevent users from adding <para>
comments to a bug! They simply cannot change a bug priority, severity, <emphasis>Creategroups</emphasis>: This option will
etc. unless they are the assignee or reporter. allow a user to create and destroy groups in Bugzilla.
</PARA> Unless you are using the Bugzilla GroupSentry security
</NOTE> option "usebuggroupsentry" in your parameters, this
</PARA> setting has no effect.
</LISTITEM> </para>
<LISTITEM> </listitem>
<PARA> <listitem>
<EMPHASIS>Editcomponents</EMPHASIS>: This flag allows a user to create new <para>
products and components, as well as modify and destroy those that have no bugs <emphasis>Editbugs</emphasis>: Unless a user has this
associated with them. If a product or component has bugs associated with it, bit set, they can only edit those bugs for which they
those bugs must be moved to a different product or component before Bugzilla are the assignee or the reporter.
will allow them to be destroyed. The name of a product or component can be <note>
changed without affecting the associated bugs, but it tends to annoy <para>
the hell out of your users when these change a lot. Leaving this option unchecked does not prevent users
</PARA> from adding comments to a bug! They simply cannot
</LISTITEM> change a bug priority, severity, etc. unless they
<LISTITEM> are the assignee or reporter.
<PARA> </para>
<EMPHASIS>Editkeywords</EMPHASIS>: If you use Bugzilla's keyword functionality, </note>
enabling this feature allows a user can create and destroy keywords. </para>
As always, the keywords for existing bugs containing the keyword </listitem>
the user wishes to destroy must be changed before Bugzilla will allow it to die. <listitem>
You must be very careful about creating too many new keywords <para>
if you run a very large Bugzilla installation; keywords are global variables <emphasis>Editcomponents</emphasis>: This flag allows a
across products, and you can often run into a phenomenon called "keyword bloat". user to create new products and components, as well as
This confuses users, and then the feature goes unused. modify and destroy those that have no bugs associated
</PARA> with them. If a product or component has bugs
</LISTITEM> associated with it, those bugs must be moved to a
<LISTITEM> different product or component before Bugzilla will
<PARA> allow them to be destroyed. The name of a product or
<EMPHASIS>Editusers</EMPHASIS>: This flag allows a user do what you're doing component can be changed without affecting the
right now: edit other users. associated bugs, but it tends to annoy the hell out of
This will allow those with the right to do so to remove administrator your users when these change a lot.
priveleges from other users or grant them to themselves. Enable with care. </para>
</PARA> </listitem>
</LISTITEM> <listitem>
<LISTITEM> <para>
<PARA> <emphasis>Editkeywords</emphasis>: If you use Bugzilla's
<EMPHASIS>PRODUCT</EMPHASIS>: PRODUCT bugs access. This allows an administrator, keyword functionality, enabling this feature allows a
with product-level granularity, to specify in which products a user can edit bugs. user can create and destroy keywords. As always, the
The user must still have the "editbugs" privelege to edit bugs in this area; keywords for existing bugs containing the keyword the
this simply restricts them from even seeing bugs outside these boundaries if the administrator user wishes to destroy must be changed before Bugzilla
has enabled the group sentry parameter "usebuggroupsentry". Unless you are using bug groups, 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>
<para>
<emphasis>Editusers</emphasis>: This flag allows a user
do what you're doing right now: edit other users. This
will allow those with the right to do so to remove
administrator priveleges from other users or grant them
to themselves. Enable with care.
</para>
</listitem>
<listitem>
<para>
<emphasis>PRODUCT</emphasis>: PRODUCT bugs access. This
allows an administrator, with product-level granularity,
to specify in which products a user can edit bugs. The
user must still have the "editbugs" privelege to edit
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. this option has no effect.
</PARA> </para>
</LISTITEM> </listitem>
</ITEMIZEDLIST> </itemizedlist>
</SECTION> </section>
</SECTION> </section>
</SECTION> </section>
<SECTION id="programadmin"> <section id="programadmin">
<TITLE>Product, Component, Milestone, and Version Administration</TITLE> <title>Product, Component, Milestone, and Version
<EPIGRAPH> Administration</title>
<PARA> <epigraph>
<para>
Dear Lord, we have to get our users to do WHAT? Dear Lord, we have to get our users to do WHAT?
</PARA> </para>
</EPIGRAPH> </epigraph>
<SECTION id="products"> <section id="products">
<TITLE>Products</TITLE> <title>Products</title>
<SUBTITLE>Formerly, and in some spots still, called "Programs"</SUBTITLE> <subtitle>Formerly, and in some spots still, called
<PARA> "Programs"</subtitle>
<GLOSSTERM baseform="product" linkend="gloss_product">Products</GLOSSTERM> are the <para>
broadest category in Bugzilla, and you should have the least of these. <glossterm linkend="gloss_product" baseform="product">Products</glossterm> are
If your company makes computer games, you should have one product per game, the broadest category in Bugzilla, and you should have the
and possibly a few special products least of these. If your company makes computer games, you
(website, meetings...) should have one product per game, and possibly a few special
</PARA> products (website, meetings...)
<PARA> </para>
A Product (formerly called "Program", and still referred to that way <para>
in some portions of the source code) controls some very important functions. A Product (formerly called "Program", and still referred to
The number of "votes" available for users to vote for the most important bugs that way in some portions of the source code) controls some
is set per-product, as is the number of votes required to move a bug automatically very important functions. The number of "votes" available for
from the UNCONFIRMED status to the NEW status. One can close a Product for further users to vote for the most important bugs is set per-product,
bug entry and define various Versions available from the Edit Product screen. as is the number of votes required to move a bug automatically
</PARA> from the UNCONFIRMED status to the NEW status. One can close
<PARA>To create a new product:</PARA> a Product for further bug entry and define various Versions
<ORDEREDLIST> available from the Edit product screen.
<LISTITEM> </para>
<PARA> <para>To create a new product:</para>
<orderedlist>
<listitem>
<para>
Select "components" from the yellow footer Select "components" from the yellow footer
</PARA> </para>
<TIP> <tip>
<PARA> <para>
It may seem counterintuitive to click "components" when you want It may seem counterintuitive to click "components" when
to edit the properties associated with Products. This is one of a long you want to edit the properties associated with
list of things we want in Bugzilla 3.0... Products. This is one of a long list of things we want
</PARA> in Bugzilla 3.0...
</TIP> </para>
</LISTITEM> </tip>
<LISTITEM> </listitem>
<PARA> <listitem>
<para>
Select the "Add" link to the right of "Add a new product". Select the "Add" link to the right of "Add a new product".
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Enter the name of the product and a description. Enter the name of the product and a description. The
The Description field is free-form. Description field is free-form.
</PARA> </para>
</LISTITEM> </listitem>
</ORDEREDLIST> </orderedlist>
<TIP> <tip>
<PARA> <para>
Don't worry about the "Closed for bug entry", "Maximum Votes per person", Don't worry about the "Closed for bug entry", "Maximum Votes
"Maximum votes a person can put on a single bug", "Number of votes a bug in per person", "Maximum votes a person can put on a single
this Product needs to automatically get out of the UNCOMFIRMED state", bug", "Number of votes a bug in this Product needs to
and "Version" options yet. automatically get out of the UNCOMFIRMED state", and
We'll cover those in a few moments. "Version" options yet. We'll cover those in a few moments.
</PARA> </para>
</TIP> </tip>
</SECTION> </section>
<SECTION id="components"> <section id="components">
<TITLE>Components</TITLE> <title>Components</title>
<PARA> <para>
Components are subsections of a Product. Components are subsections of a Product.
<EXAMPLE> <example>
<TITLE>Creating some Components</TITLE> <title>Creating some Components</title>
<INFORMALEXAMPLE> <informalexample>
<PARA> <para>
The computer game you are designing may a "UI" component, an "API" component, The computer game you are designing may have a "UI"
a "Sound System" component, and a "Plugins" component, each overseen by a different component, an "API" component, a "Sound System"
programmer. It often makes sense to divide Components in Bugzilla according to the component, and a "Plugins" component, each overseen by
natural divisions of responsibility within your Product or company. a different programmer. It often makes sense to divide
</PARA> Components in Bugzilla according to the natural
</INFORMALEXAMPLE> divisions of responsibility within your Product or
</EXAMPLE> company.
</para>
Each component has a owner and (if you turned it on in the parameters), a qa </informalexample>
contact. The owner should be the primary person who fixes bugs in that component. The QA </example> Each component has a owner and (if you turned it on
Contact should be the person who will ensure these bugs are completely fixed. The Owner, in the parameters), a QA Contact. The owner should be the
QA Contact, and Reporter will get email when new bugs are created in this Component and primary person who fixes bugs in that component. The QA
when these bugs change. Default Owner and Default QA Contact fields only dictate the Contact should be the person who will ensure these bugs are
<EMPHASIS>default assignments</EMPHASIS>; the Owner and Q/A Contact fields in a bug completely fixed. The Owner, QA Contact, and Reporter will get
are otherwise unrelated to the Component. email when new bugs are created in this Component and when
</PARA> 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: To create a new Component:
</PARA> </para>
<ORDEREDLIST> <orderedlist>
<LISTITEM> <listitem>
<PARA> <para>
Select the "Edit components" link from the "Edit Product" page Select the "Edit components" link from the "Edit product"
</PARA> page
</LISTITEM> </para>
<LISTITEM> </listitem>
<PARA> <listitem>
Select the "Add" link to the right of the "Add a new component" text <para>
on the "Select Component" page. Select the "Add" link to the right of the "Add a new
</PARA> component" text on the "Select Component" page.
</LISTITEM> </para>
<LISTITEM> </listitem>
<PARA> <listitem>
Fill out the "Component" field, a short "Description", and the "Initial Owner". <para>
The "Component" field should not contain a space. The "Description" field is Fill out the "Component" field, a short "Description", and
free-form. The "Initial Owner" field must be that of a valid user already the "Initial Owner". The Component and Description fields
existing in the database. If the initial owner does not exist, Bugzilla are free-form; the "Initial Owner" field must be that of a
will refuse to create the component. user ID already existing in the database. If the initial
<TIP> owner does not exist, Bugzilla will refuse to create the
<PARA> component.
Is your "Default Owner" a user who is not yet in the database? <tip>
No problem. <para>
<ORDEREDLIST> Is your "Default Owner" a user who is not yet in the
<LISTITEM> database? No problem.
<PARA> <orderedlist>
Select the "Log out" link on the footer of the page. <listitem>
</PARA> <para>
</LISTITEM> Select the "Log out" link on the footer of the
<LISTITEM> page.
<PARA> </para>
Select the "New Account" link on the footer of the "Relogin" page </listitem>
</PARA> <listitem>
</LISTITEM> <para>
<LISTITEM> Select the "New Account" link on the footer of
<PARA> the "Relogin" page
Type in the email address of the default owner you want to create </para>
in the "E-mail address" field, and her full name in the "Real name" </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. field, then select the "Submit Query" button.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Now select "Log in" again, type in your login information, and you Now select "Log in" again, type in your login
can modify the product to use the Default Owner information information, and you can modify the product to
you require. use the Default Owner information you require.
</PARA> </para>
</LISTITEM> </listitem>
</ORDEREDLIST> </orderedlist>
</PARA> </para>
</TIP> </tip>
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Either "edit" more components or return to the "query" page on the ensuing Either Edit more components or return to the Bugzilla
"Addming new component" page. To return to the Product you were editing, you Query Page. To return to the Product you were editing, you
must select the "components" link as before. must select the Components link as before.
</PARA> </para>
</LISTITEM> </listitem>
</ORDEREDLIST> </orderedlist>
</SECTION> </section>
<SECTION id="versions"> <section id="versions">
<TITLE>Versions</TITLE> <title>Versions</title>
<PARA> <para>
Versions are the revisions of the product, such as "Flinders 3.1", "Flinders 95", Versions are the revisions of the product, such as "Flinders
and "Flinders 2000". Using Versions helps you isolate code changes and are an aid 3.1", "Flinders 95", and "Flinders 2000". Using Versions
in reporting. helps you isolate code changes and are an aid in reporting.
<EXAMPLE> <example>
<TITLE>Common Use of Versions</TITLE> <title>Common Use of Versions</title>
<INFORMALEXAMPLE> <informalexample>
<PARA> <para>
A user reports a bug A user reports a bug against Version "Beta 2.0" of your
against Version "Beta 2.0" of your product. The current Version of your software product. The current Version of your software is
is "Release Candidate 1", and no longer has the bug. This will "Release Candidate 1", and no longer has the bug. This
help you triage and classify bugs according to their relevance. It is also will help you triage and classify bugs according to
possible people may report bugs against bleeding-edge beta versions that are their relevance. It is also possible people may report
not evident in older versions of the software. This can help isolate code bugs against bleeding-edge beta versions that are not
changes that caused the bug evident in older versions of the software. This can
</PARA> help isolate code changes that caused the bug
</INFORMALEXAMPLE> </para>
</EXAMPLE> </informalexample>
<EXAMPLE> </example>
<TITLE>A Different Use of Versions</TITLE> <example>
<INFORMALEXAMPLE> <title>A Different Use of Versions</title>
<PARA> <informalexample>
This field has been used to good effect by an online service provider in a slightly <para>
different way. They had three versions of the product: "Production", "QA", This field has been used to good effect by an online
and "Dev". Although it may be the same product, a bug in the development service provider in a slightly different way. They had
environment is not normally as critical as a Production bug, nor does it three versions of the product: "Production", "QA", and
need to be reported publicly. When used in conjunction with Target Milestones, "Dev". Although it may be the same product, a bug in
one can easily specify the environment where a bug can be reproduced, and the development environment is not normally as critical
the Milestone by which it will be fixed. as a Production bug, nor does it need to be reported
</PARA> publicly. When used in conjunction with Target
</INFORMALEXAMPLE> Milestones, one can easily specify the environment where
</EXAMPLE> a bug can be reproduced, and the Milestone by which it
</PARA> will be fixed.
<PARA> </para>
</informalexample>
</example>
</para>
<para>
To create and edit Versions: To create and edit Versions:
</PARA> </para>
<ORDEREDLIST> <orderedlist>
<LISTITEM> <listitem>
<PARA> <para>
From the "Edit Product" screen, select "Edit Versions" From the "Edit product" screen, select "Edit Versions"
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
You will notice that the product already has the default version "undefined". You will notice that the product already has the default
If your product doesn't use version numbers, you may want to leave this as it is version "undefined". If your product doesn't use version
or edit it so that it is "---". You can then go back to the edit versions page numbers, you may want to leave this as it is or edit it so
and add new versions to your product. that it is "---". You can then go back to the edit
</PARA> 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>
</PARA> Otherwise, click the "Add" button to the right of the "Add
</LISTITEM> a new version" text.
<LISTITEM> </para>
<PARA> </listitem>
Enter the name of the Version. This can be free-form characters up to the limit of the <listitem>
text box. Then select the "Add" button. <para>
</PARA> Enter the name of the Version. This can be free-form
</LISTITEM> characters up to the limit of the text box. Then select
<LISTITEM> the "Add" button.
<PARA> </para>
At this point you can select "Edit" to edit more Versions, or return to the "Query" </listitem>
page, from which you can navigate back to the product through the "components" link <listitem>
at the foot of the Query page. <para>
</PARA> At this point you can select "Edit" to edit more Versions,
</LISTITEM> or return to the "Query" page, from which you can navigate
</ORDEREDLIST> back to the product through the "components" link at the
</SECTION> foot of the Query page.
</para>
</listitem>
</orderedlist>
</section>
<SECTION id="milestones"> <section id="milestones">
<TITLE>Milestones</TITLE> <title>Milestones</title>
<PARA> <para>
Milestones are "targets" that you plan to get a bug fixed by. For example, you have a bug that Milestones are "targets" that you plan to get a bug fixed by.
you plan to fix for your 3.0 release, it would be assigned the milestone of 3.0. Or, you have a For example, you have a bug that you plan to fix for your 3.0
bug that you plan to fix for 2.8, this would have a milestone of 2.8. release, it would be assigned the milestone of 3.0. Or, you
</PARA> have a bug that you plan to fix for 2.8, this would have a
<NOTE> milestone of 2.8.
<PARA> </para>
Milestone options will only appear for a Product if you turned the "usetargetmilestone" field <note>
in the "Edit Parameters" screen "On". <para>
</PARA> Milestone options will only appear for a Product if you
</NOTE> turned the "usetargetmilestone" field in the "Edit
<PARA> Parameters" screen "On".
To create new Milestones, set Default Milestones, and set Milestone URL: </para>
</PARA> </note>
<ORDEREDLIST> <para>
<LISTITEM> To create new Milestones, set Default Milestones, and set
<PARA> Milestone URL:
</para>
<orderedlist>
<listitem>
<para>
Select "edit milestones" Select "edit milestones"
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Select "Add" to the right of the "Add a new milestone" text Select "Add" to the right of the "Add a new milestone"
</PARA> text
</LISTITEM> </para>
<LISTITEM> </listitem>
<PARA> <listitem>
<para>
Enter the name of the Milestone in the "Milestone" field. 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) You can optionally set the "Sortkey", which is a positive
that defines where in the list this particular milestone appears. or negative number (-255 to 255) that defines where in the
Select "Add". list this particular milestone appears. Select "Add".
</PARA> </para>
<EXAMPLE> <example>
<TITLE>Using SortKey with Target Milestone</TITLE> <title>Using SortKey with Target Milestone</title>
<INFORMALEXAMPLE> <informalexample>
<PARA> <para>
Let's say you create a target milestone called "Release 1.0", with Sortkey set to "0". Let's say you create a target milestone called
Later, you realize that you will have a public beta, called "Beta1". "Release 1.0", with Sortkey set to "0". Later, you
You can create a Milestone called "Beta1", with a Sortkey of "-1" in order to ensure realize that you will have a public beta, called
people will see the Target Milestone of "Beta1" earlier on the list than "Release 1.0" "Beta1". You can create a Milestone called "Beta1",
</PARA> with a Sortkey of "-1" in order to ensure people will
</INFORMALEXAMPLE> see the Target Milestone of "Beta1" earlier on the
</EXAMPLE> list than "Release 1.0"
</LISTITEM> </para>
<LISTITEM> </informalexample>
<PARA> </example>
If you want to add more milestones, select the "Edit" link. </listitem>
If you don't, well shoot, you have to go back to the "query" page and select "components" <listitem>
again, and make your way back to the Product you were editing. <para>
<NOTE> If you want to add more milestones, select the "Edit"
<PARA> link. If you don't, well shoot, you have to go back to the
This is another in the list of unusual user interface decisions that "query" page and select "components" again, and make your
we'd like to get cleaned up. Shouldn't there be a link to the effect of way back to the Product you were editing.
"edit the Product I was editing when I ended up here"? In any case, <note>
clicking "components" in the footer takes you back to the "Select product" <para>
screen, from which you can begin editing your product again. This is another in the list of unusual user interface
</PARA> decisions that we'd like to get cleaned up. Shouldn't
</NOTE> there be a link to the effect of "edit the Product I
</PARA> was editing when I ended up here"? In any case,
</LISTITEM> clicking "components" in the footer takes you back to
<LISTITEM> the "Select product" screen, from which you can begin
<PARA> editing your product again.
From the Edit Product screen again (once you've made your way back), enter the URL </para>
for a description of what your milestones are for this product in the "Milestone URL" field. </note>
It should be of the format "http://www.foo.com/bugzilla/product_milestones.html" </para>
</PARA> </listitem>
<PARA> <listitem>
Some common uses of this field include product descriptions, product roadmaps, <para>
and of course a simple description of the meaning of each milestone. From the Edit product screen again (once you've made your
</PARA> way back), enter the URL for a description of what your
</LISTITEM> milestones are for this product in the "Milestone URL"
<LISTITEM> field. It should be of the format
<PARA> "http://www.foo.com/bugzilla/product_milestones.html"
If you're using Target Milestones, the "Default Milestone" field must have some </para>
kind of entry. If you really don't care if people set coherent Target Milestones, <para>
simply leave this at the default, "---". However, controlling and regularly updating the Default Some common uses of this field include product
Milestone field is a powerful tool when reporting the status of projects. descriptions, product roadmaps, and of course a simple
</PARA> description of the meaning of each milestone.
<PARA>Select the "Update" button when you are done.</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
If you're using Target Milestones, the "Default Milestone"
field must have some kind of entry. If you really don't
care if people set coherent Target Milestones, simply
leave this at the default, "---". However, controlling
and regularly updating the Default Milestone field is a
powerful tool when reporting the status of projects.
</para>
<para>Select the "Update" button when you are done.</para>
</listitem>
</orderedlist>
</section>
</PARA> <section id="voting">
</LISTITEM> <title>Voting</title>
</ORDEREDLIST> <para>
</SECTION> The concept of "voting" is a poorly understood, yet powerful
feature for the management of open-source projects. Each user
<SECTION id="voting"> is assigned so many Votes per product, which they can freely
<TITLE>Voting</TITLE> reassign (or assign multiple votes to a single bug). This
<PARA> allows developers to gauge user need for a particular
The concept of "voting" is a poorly understood, yet powerful feature for the management enhancement or bugfix. By allowing bugs with a certain number
of open-source projects. Each user is assigned so many Votes per product, which they can of votes to automatically move from "UNCONFIRMED" to "NEW",
freely reassign (or assign multiple votes to a single bug). users of the bug system can help high-priority bugs garner
This allows developers to gauge user need for a particular enhancement
or bugfix. By allowing bugs with a certain number of votes to automatically move from
"UNCONFIRMED" to "NEW", users of the bug system can help high-priority bugs garner
attention so they don't sit for a long time awaiting triage. attention so they don't sit for a long time awaiting triage.
</PARA> </para>
<PARA> <para>
The daunting challenge of Votes is deciding where you draw the line for a "vocal majority". If you The daunting challenge of Votes is deciding where you draw the
only have a user base of 100 users, setting a low threshold for bugs to move from UNCONFIRMED line for a "vocal majority". If you only have a user base of
to NEW makes sense. As the Bugzilla user base expands, however, these thresholds must be 100 users, setting a low threshold for bugs to move from
re-evaluated. You should gauge whether this feature is worth the time and close monitoring involved, UNCONFIRMED to NEW makes sense. As the Bugzilla user base
and perhaps forego implementation until you have a critical mass of users who demand it. expands, however, these thresholds must be re-evaluated. You
</PARA> should gauge whether this feature is worth the time and close
<PARA>To modify Voting settings:</PARA> monitoring involved, and perhaps forego implementation until
<ORDEREDLIST> you have a critical mass of users who demand it.
<LISTITEM> </para>
<PARA> <para>To modify Voting settings:</para>
Navigate to the "Edit Product" screen for the Product you wish to modify <orderedlist>
</PARA> <listitem>
</LISTITEM> <para>
<LISTITEM> Navigate to the "Edit product" screen for the Product you
<PARA> wish to modify
Set "Maximum Votes per person" to your calculated value. Setting this field </para>
to "0" disables voting. </listitem>
</PARA> <listitem>
</LISTITEM> <para>
<LISTITEM> Set "Maximum Votes per person" to your calculated value.
<PARA> Setting this field to "0" disables voting.
Set "Maximum Votes a person can put on a single bug" to your calculated value. It </para>
should probably be some number lower than the "Maximum votes per person". </listitem>
Setting this field to "0" disables voting, but leaves the voting options open <listitem>
to the user. This is confusing. <para>
</PARA> Set "Maximum Votes a person can put on a single bug" to
</LISTITEM> your calculated value. It should probably be some number
<LISTITEM> lower than the "Maximum votes per person". Setting this
<PARA> field to "0" disables voting, but leaves the voting
Set "Number of votes a bug in this product needs to automatically get out of the options open to the user. This is confusing.
UNCONFIRMED state" to your calculated number. Setting this field to "0" </para>
disables the automatic move of bugs from UNCONFIRMED to NEW. Some people </listitem>
advocate leaving this at "0", but of what use are Votes if your Bugzilla <listitem>
user base is unable to affect which bugs appear on Development radar? <para>
<TIP> Set "Number of votes a bug in this product needs to
<PARA> automatically get out of the UNCONFIRMED state" to your
You should probably set this number to higher than a small coalition of calculated number. Setting this field to "0" disables
Bugzilla users can influence it. Most sites use this as a "referendum" the automatic move of bugs from UNCONFIRMED to NEW. Some
mechanism -- if users are able to vote a bug out of UNCONFIRMED, it people advocate leaving this at "0", but of what use are
is a <EMPHASIS>really</EMPHASIS> bad bug! Votes if your Bugzilla user base is unable to affect which
</PARA> bugs appear on Development radar?
</TIP> <tip>
</PARA> <para>
</LISTITEM> You should probably set this number to higher than a
<LISTITEM> small coalition of Bugzilla users can influence it.
<PARA> Most sites use this as a "referendum" mechanism -- if
Once you have adjusted the values to your preference, select the "Update" button. users are able to vote a bug out of UNCONFIRMED, it is
</PARA> a <emphasis>really</emphasis> bad bug!
</LISTITEM> </para>
</ORDEREDLIST> </tip>
</SECTION> </para>
</listitem>
<SECTION id="groups"> <listitem>
<TITLE>Groups and Group Security</TITLE> <para>
<PARA> Once you have adjusted the values to your preference,
Groups can be very useful in bugzilla, because they allow users to isolate select the "Update" button.
bugs or products that should only be seen by certain people. Groups can also </para>
be a complicated minefield of interdependencies and weirdness if mismanaged. </listitem>
</orderedlist>
</section>
<EXAMPLE> <section id="groups">
<TITLE>When to Use Group Security</TITLE> <title>Groups and Group Security</title>
<INFORMALEXAMPLE> <para>
<PARA> Groups can be very useful in bugzilla, because they allow
Many Bugzilla sites isolate "Security-related" bugs from all other bugs. users to isolate bugs or products that should only be seen by
This way, they can have a fix ready before the security vulnerability certain people. Groups can also be a complicated minefield of
is announced to the world. You can create a "Security" product which, by interdependencies and weirdness if mismanaged.
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. <example>
In addition, if the "usebuggroupsentry" parameter is "On", one can restrict access <title>When to Use Group Security</title>
to products by groups, so that only members of a product group are able to view <informalexample>
bugs within that product. <para>
Group security in Bugzilla can be divided into two categories: Many Bugzilla sites isolate "Security-related" bugs from
Generic and Product-Based. all other bugs. This way, they can have a fix ready
</PARA> before the security vulnerability is announced to the
<NOTE> world. You can create a "Security" product which, by
<PARA> default, has no members, and only add members to the
Groups in Bugzilla are a complicated beast that evolved out of very simple user group (in their individual User page, as described under
permission bitmasks, apparently itself derived from common concepts in UNIX access User Administration) who should have priveleged access
controls. A "bitmask" is a fixed-length number whose value can describe one, and to "Security" bugs. Alternately, you may create a Group
only one, set of states. For instance, UNIX file permissions are assigned bitmask independently of any Product, and change the Group mask
values: "execute" has a value of 1, "write" has a value of 2, on individual bugs to restrict access to members only of
and "read" has a value of 4. Add them together, certain Groups.
and a file can be read, written to, and executed if it has a bitmask of "7". (This </para>
is a simplified example -- anybody who knows UNIX security knows there is much </informalexample>
more to it than this. Please bear with me for the purpose of this note.) The only </example> Groups only work if you enable the "usebuggroups"
way a bitmask scheme can work is by doubling the bit count for each value. Thus paramater. In addition, if the "usebuggroupsentry" parameter
if UNIX wanted to offer another file permission, the next would have to be a value of is "On", one can restrict access to products by groups, so
8, then the next 16, the next 32, etc. that only members of a product group are able to view bugs
</PARA> within that product. Group security in Bugzilla can be divided
<PARA> into two categories: Generic and Product-Based.
Similarly, Bugzilla offers a bitmask to define group permissions, with an internal </para>
limit of 64. Several are already occupied <note>
by built-in permissions. The way around this limitation is <para>
to avoid assigning groups to products if you have many products, avoid bloating Groups in Bugzilla are a complicated beast that evolved out
of group lists, and religiously prune irrelevant groups. In reality, most installations of very simple user permission bitmasks, apparently itself
of Bugzilla support far fewer than 64 groups, so this limitation has not hit derived from common concepts in UNIX access controls. A
for most sites, but it is on the table to be revised for Bugzilla 3.0 "bitmask" is a fixed-length number whose value can describe
because it interferes with the security schemes of some administrators. one, and only one, set of states. For instance, UNIX file
</PARA> permissions are assigned bitmask values: "execute" has a
</NOTE> value of 1, "write" has a value of 2, and "read" has a
<PARA> 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>
Similarly, Bugzilla offers a bitmask to define group
permissions, with an internal limit of 64. Several are
already occupied by built-in permissions. The way around
this limitation is to avoid assigning groups to products if
you have many products, avoid bloating of group lists, and
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>
</note>
<para>
To enable Generic Group Security ("usebuggroups"): To enable Generic Group Security ("usebuggroups"):
</PARA> </para>
<ORDEREDLIST> <orderedlist>
<LISTITEM> <listitem>
<PARA> <para>
Turn "On" "usebuggroups" in the "Edit Parameters" screen. Turn "On" "usebuggroups" in the "Edit Parameters" screen.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
You will generally have no groups set up. Select the "groups" link You will generally have no groups set up. Select the
in the footer. "groups" link in the footer.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Take a moment to understand the instructions on the "Edit Groups" screen. Take a moment to understand the instructions on the "Edit
Once you feel confident you understand what is expected of you, select the Groups" screen. Once you feel confident you understand
"Add Group" link. what is expected of you, select the "Add Group" link.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Fill out the "New Name" (remember, no spaces!), "New Description", and "New Fill out the "New Name" (remember, no spaces!), "New
User RegExp" fields. "New User RegExp" allows you to automatically place Description", and "New User RegExp" fields. "New User
all users who fulfill the Regular Expression into the new group. RegExp" allows you to automatically place all users who
fulfill the Regular Expression into the new group.
<EXAMPLE> <example>
<TITLE>Creating a New Group</TITLE> <title>Creating a New Group</title>
<INFORMALEXAMPLE> <informalexample>
<PARA> <para>
I created a group called "DefaultGroup" with a description of "This is simply I created a group called DefaultGroup with a
a group to play with", and a "New User RegExp" of "*@velio.com". This description of <quote>This is simply a group to play
new group automatically includes all Bugzilla users with "@velio.com" at the with</quote>, and a New User RegExp of <quote>.*@mydomain.tld</quote>.
end of their user id. When I finished, my new group was assigned bit #128. This new group automatically includes all Bugzilla
</PARA> users with "@mydomain.tld" at the end of their user id.
</INFORMALEXAMPLE> When I finished, my new group was assigned bit #128.
</EXAMPLE> </para>
</informalexample>
</example> When you have finished, select the Add
button.
</para>
</listitem>
</orderedlist>
When you have finished, select the "Add" button. <para>
</PARA> To enable Product-Based Group Security (usebuggroupsentry):
</LISTITEM> </para>
</ORDEREDLIST> <warning>
<para>
Don't forget that you only have 64 groups masks available,
total, for your installation of Bugzilla! If you plan on
having more than 50 products in your individual Bugzilla
installation, and require group security for your products,
you should consider either running multiple Bugzillas or
using Generic Group Security instead of Product-Based
("usebuggroupsentry") Group Security.
</para>
</warning>
<orderedlist>
<listitem>
<para>
Turn "On" "usebuggroups" and "usebuggroupsentry" in the
"Edit Parameters" screen.
</para>
<warning>
<para>
"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>
You will generally have no Groups set up, unless you
enabled "usebuggroupsentry" prior to creating any
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>
</listitem>
</orderedlist>
</section>
</section>
<PARA> <section id="security">
To enable Product-Based Group Security ("usebuggroupsentry"): <title>Bugzilla Security</title>
</PARA> <epigraph>
<WARNING> <para>
<PARA> Putting your money in a wall safe is better protection than
Don't forget that you only have 64 groups masks available, total, for depending on the fact that no one knows that you hide your
your installation of Bugzilla! If you plan on having more than 50 money in a mayonnaise jar in your fridge.
products in your individual Bugzilla installation, and require group </para>
security for your products, you should </epigraph>
consider either running multiple Bugzillas or using Generic Group Security <note>
instead of Product-Based ("usebuggroupsentry") Group Security. <para>
</PARA> Poorly-configured MySQL, Bugzilla, and FTP installations have
</WARNING> given attackers full access to systems in the past. Please
<ORDEREDLIST> take these guidelines seriously, even for Bugzilla machines
<LISTITEM> hidden away behind your firewall. 80% of all computer
<PARA>
Turn "On" "usebuggroups" and "usebuggroupsentry" in the "Edit Parameters" screen.
</PARA>
<WARNING>
<PARA>
"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>
You will generally have no Groups set up, unless you enabled "usebuggroupsentry"
prior to creating any 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>
</LISTITEM>
</ORDEREDLIST>
</SECTION>
</SECTION>
<SECTION id="security">
<TITLE>Bugzilla Security</TITLE>
<EPIGRAPH>
<PARA>
Putting your money in a wall safe is better protection than depending on the fact that
no one knows that you hide your money in a mayonnaise jar in your fridge.
</PARA>
</EPIGRAPH>
<NOTE>
<PARA>
Poorly-configured MySQL, Bugzilla, and FTP 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. trespassers are insiders, not anonymous crackers.
</PARA> </para>
</NOTE> </note>
<PARA> <para>
First thing's first: Secure your installation. Secure your installation.
<NOTE> <note>
<PARA> <para>
These instructions must, of necessity, be somewhat vague since Bugzilla runs on so many different These instructions must, of necessity, be somewhat vague
platforms. If you have refinements of these directions for specific platforms, please since Bugzilla runs on so many different platforms. If you
submit them to <ULINK URL="mailto://mozilla-webtools@mozilla.org">mozilla-webtools@mozilla.org</ULINK> have refinements of these directions for specific platforms,
</PARA> please submit them to <ulink url="mailto://mozilla-webtools@mozilla.org">mozilla-webtools@mozilla.org</ulink>
</NOTE> </para>
<ORDEREDLIST> </note>
<LISTITEM> <orderedlist>
<PARA> <listitem>
Ensure you are running at least MysQL version 3.22.32 or newer. Earlier versions had <para>
notable security holes and poorly secured default configuration choices. Ensure you are running at least MysQL version 3.22.32 or
</PARA> newer. Earlier versions had notable security holes and
</LISTITEM> poorly secured default configuration choices.
<LISTITEM> </para>
<PARA><EMPHASIS>There is no substitute for understanding the tools on your system!</EMPHASIS> </listitem>
Read <ULINK URL="http://www.mysql.com/documentation/mysql/bychapter/manual_Privilege_system.html"> <listitem>
The MySQL Privelege System</ULINK> until you can recite it from memory!</PARA> <para><emphasis>There is no substitute for understanding the
<PARA> 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>
At the very least, ensure you password the "mysql -u root" account and the "bugs" account, establish grant <para>
table rights (consult the Keystone guide in Appendix C: The Bugzilla Database for some easy-to-use details) At the very least, ensure you password the "mysql -u root"
that do not allow CREATE, DROP, RELOAD, SHUTDOWN, and PROCESS for user "bugs". I wrote up the Keystone account and the "bugs" account, establish grant table
advice back when I knew far less about security than I do now : ) rights (consult the Keystone guide in Appendix C: The
</PARA> Bugzilla Database for some easy-to-use details) that do
</LISTITEM> not allow CREATE, DROP, RELOAD, SHUTDOWN, and PROCESS for
<LISTITEM> user "bugs". I wrote up the Keystone advice back when I
<PARA> knew far less about security than I do now : )
Lock down /etc/inetd.conf. Heck, disable inet entirely on this box. It should only listen to </para>
port 25 for Sendmail </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. and port 80 for Apache.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA>Do not run Apache as "nobody". This will require very lax permissions in your Bugzilla directories. <para>
Run it, instead, as a user with a name, set via your httpd.conf file.</PARA> Do not run Apache as <quote>nobody</quote>. This will
</LISTITEM> require very lax permissions in your Bugzilla directories.
<LISTITEM> Run it, instead, as a user with a name, set via your
<PARA> httpd.conf file.
Ensure you have adequate access controls for the $BUGZILLA_HOME/data/ and <note>
$BUGZILLA_HOME/shadow/ directories, as well as the $BUGZILLA_HOME/localconfig and <para>
$BUGZILLA_HOME/globals.pl files. <quote>nobody</quote> is a real user on UNIX systems.
The localconfig file stores your "bugs" user password, Having a process run as user id <quote>nobody</quote>
which would be terrible to have in the hands is absolutely no protection against system crackers
of a criminal, while the "globals.pl" stores some default information regarding your versus using any other user account. As a general
installation which could aid a system cracker. security measure, I recommend you create unique user
In addition, some files under $BUGZILLA_HOME/data/ store sensitive information, and ID's for each daemon running on your system and, if
$BUGZILLA_HOME/shadow/ stores bug information for faster retrieval. If you fail to secure possible, use "chroot" to jail that process away from
these directories and this file, you will expose bug information to those who may not the rest of your system.
be allowed to see it. </para>
</PARA> </note>
<NOTE> </para>
<PARA> </listitem>
Bugzilla provides default .htaccess files to protect the most common Apache <listitem>
installations. However, you should verify these are adequate according to the site-wide <para>
security policy of your web server, and ensure that the .htaccess files are Ensure you have adequate access controls for the
allowed to "override" default permissions set in your Apache configuration files. $BUGZILLA_HOME/data/ and $BUGZILLA_HOME/shadow/
Covering Apache security is beyond the scope of this Guide; please consult the Apache directories, as well as the $BUGZILLA_HOME/localconfig and
documentation for details. $BUGZILLA_HOME/globals.pl files. The localconfig file
</PARA> stores your "bugs" user password, which would be terrible
<PARA> to have in the hands of a criminal, while the "globals.pl"
If you are using a web server that does not support the .htaccess control method, stores some default information regarding your
<EMPHASIS>you are at risk!</EMPHASIS> After installing, check to see if you can installation which could aid a system cracker. In
view the file "localconfig" in your web browser (ergo: addition, some files under $BUGZILLA_HOME/data/ store
<ULINK URL="http://bugzilla.mozilla.org/localconfig"> sensitive information, and $BUGZILLA_HOME/shadow/ stores
http://bugzilla.mozilla.org/localconfig</ULINK>. If you can read the contents of this bug information for faster retrieval. If you fail to
file, your web server has not secured your bugzilla directory properly and you secure these directories and this file, you will expose
must fix this problem before deploying Bugzilla. If, however, it gives you a bug information to those who may not be allowed to see it.
"Forbidden" error, then it probably respects the .htaccess conventions and you </para>
are good to go. <note>
</PARA> <para>
</NOTE> Bugzilla provides default .htaccess files to protect the
<PARA> most common Apache installations. However, you should
On Apache, you can use .htaccess files to protect access to these directories, as outlined verify these are adequate according to the site-wide
in <ULINK URL="http://bugzilla.mozilla.org/show_bug.cgi?id=57161">Bug 57161</ULINK> for the security policy of your web server, and ensure that the
localconfig file, and <ULINK URL="http://bugzilla.mozilla.org/show_bug.cgi?id=65572"> .htaccess files are allowed to "override" default
Bug 65572</ULINK> for adequate protection in your data/ and shadow/ directories. permissions set in your Apache configuration files.
</PARA> Covering Apache security is beyond the scope of this
<PARA> Guide; please consult the Apache documentation for
Note the instructions which follow are Apache-specific. If you use IIS, Netscape, or other details.
non-Apache web servers, please consult your system documentation for how to secure these </para>
files from being transmitted to curious users. <para>
</PARA> If you are using a web server that does not support the
<PARA> .htaccess control method, <emphasis>you are at
Place the following text into a file named ".htaccess", readable by your web server, risk!</emphasis> After installing, check to see if
in your $BUGZILLA_HOME/data directory. you can view the file "localconfig" in your web browser
<LITERALLAYOUT> (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.
&lt;Files comments&gt; </para>
allow from all </note>
&lt;/Files&gt; <para>
deny from all On Apache, you can use .htaccess files to protect access
</LITERALLAYOUT> 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.
</PARA> </para>
<PARA> <para>
Place the following text into a file named ".htaccess", readable by your web server, Note the instructions which follow are Apache-specific.
in your $BUGZILLA_HOME/ directory. If you use IIS, Netscape, or other non-Apache web servers,
<LITERALLAYOUT> please consult your system documentation for how to secure
&lt;Files localconfig&gt; these files from being transmitted to curious users.
deny from all </para>
&lt;/Files&gt; <para>
allow from all Place the following text into a file named ".htaccess",
</LITERALLAYOUT> readable by your web server, in your $BUGZILLA_HOME/data
</PARA> directory. <literallayout> &lt;Files comments&gt; allow
<PARA> from all &lt;/Files&gt; deny from all </literallayout>
Place the following text into a file named ".htaccess", readable by your web server, </para>
in your $BUGZILLA_HOME/shadow directory. <para>
<LITERALLAYOUT> Place the following text into a file named ".htaccess",
deny from all readable by your web server, in your $BUGZILLA_HOME/
</LITERALLAYOUT> directory. <literallayout> &lt;Files localconfig&gt; deny
</PARA> from all &lt;/Files&gt; allow from all </literallayout>
</LISTITEM> </para>
</ORDEREDLIST> <para>
</PARA> Place the following text into a file named ".htaccess",
</SECTION> readable by your web server, in your $BUGZILLA_HOME/shadow
</CHAPTER> directory. <literallayout> deny from all </literallayout>
</para>
</listitem>
</orderedlist>
</para>
</section>
</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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:upper
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag:t
sgml-tag-region-if-active:t
End: End:
--> -->
...@@ -89,23 +89,28 @@ ...@@ -89,23 +89,28 @@
</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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:upper
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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="database"> <appendix id="database">
<TITLE>The Bugzilla Database</TITLE> <title>The Bugzilla Database</title>
<NOTE> <note>
<PARA>This document really needs to be updated with more fleshed out information about primary keys, interrelationships, and maybe some nifty tables to document dependencies. Any takers?</PARA> <para>
</NOTE> This document really needs to be updated with more fleshed out information about primary keys, interrelationships, and maybe some nifty tables to document dependencies. Any takers?
<SECTION id="dbschema"> </para>
<TITLE>Database Schema Chart</TITLE> </note>
<PARA> <section id="dbschema">
<MEDIAOBJECT> <title>Database Schema Chart</title>
<IMAGEOBJECT> <para>
<IMAGEDATA FILEREF="dbschema.jpg" FORMAT="jpg"> <mediaobject>
</IMAGEOBJECT> <imageobject>
<imagedata fileref="dbschema.jpg" format="jpg">
<TEXTOBJECT> </imageobject>
<PHRASE>Database Relationships</PHRASE>
</TEXTOBJECT> <textobject>
<phrase>Database Relationships</phrase>
<CAPTION> </textobject>
<PARA>Bugzilla database relationships chart</PARA>
</CAPTION> <caption>
</MEDIAOBJECT> <para>Bugzilla database relationships chart</para>
</PARA> </caption>
</SECTION> </mediaobject>
</para>
<SECTION id="dbdoc"> </section>
<TITLE>MySQL Bugzilla Database Introduction</TITLE>
<LITERALLAYOUT> <section id="dbdoc">
<title>MySQL Bugzilla Database Introduction</title>
Contributor(s): Matthew P. Barnson (mbarnson@excitehome.net) <para>
Last update: May 16, 2000
Changes:
Version 1.0: Initial public release (May 16, 2000)
Maintainer: Matthew P. Barnson (mbarnson@excitehome.net)
===
Table Of Contents
===
FOREWORD
INTRODUCTION
THE BASICS
THE TABLES
THE DETAILS
===
FOREWORD
===
This information comes straight from my life. I was forced to learn how This information comes straight from my life. I was forced to learn how
Bugzilla organizes database because of nitpicky requests from users for tiny Bugzilla organizes database because of nitpicky requests from users for tiny
changes in wording, rather than having people re-educate themselves or changes in wording, rather than having people re-educate themselves or
figure out how to work our procedures around the tool. It sucks, but it can figure out how to work our procedures around the tool. It sucks, but it can
and will happen to you, so learn how the schema works and deal with it when it and will happen to you, so learn how the schema works and deal with it when it
comes. comes.
</para>
I'm sorry this version is plain text. I can whip this info out a lot faster
if I'm not concerned about complex formatting. I'll get it into sgml for easy <para>
portability as time permits.
The Bugzilla Database Schema has a home! In addition to availability via CVS
and released versions 2.12 and higher of Bugzilla, you can find the latest &
greatest version of the Bugzilla Database Schema at
http://www.trilobyte.net/barnsons/. This is a living document; please be sure
you are up-to-date with the latest version before mirroring.
The Bugzilla Database Schema is designed to provide vital information
regarding the structure of the MySQL database. Where appropriate, this
document will refer to URLs rather than including documents in their entirety
to ensure completeness even should this paper become out of date.
This document is not maintained by Netscape or Netscape employees, so please
do not contact them regarding errors or omissions contained herein. Please
direct all questions, comments, updates, flames, etc. to Matthew P. Barnson
mbarnson@excitehome.net) (barnboy or barnhome on irc.mozilla.org in
#mozwebtools).
I'm sure I've made some glaring errors or omissions in this paper -- please
email me corrections or post corrections to the
netscape.public.mozilla.webtools newsgroup.
===
INTRODUCTION
===
So, here you are with your brand-new installation of Bugzilla. You've got So, here you are with your brand-new installation of Bugzilla. You've got
MySQL set up, Apache working right, Perl DBI and DBD talking to the database MySQL set up, Apache working right, Perl DBI and DBD talking to the database
flawlessly. Maybe you've even entered a few test bugs to make sure email's flawlessly. Maybe you've even entered a few test bugs to make sure email's
working; people seem to be notified of new bugs and changes, and you can working; people seem to be notified of new bugs and changes, and you can
enter and edit bugs to your heart's content. Perhaps you've gone through the enter and edit bugs to your heart's content. Perhaps you've gone through the
trouble of setting up a gateway for people to submit bugs to your database via trouble of setting up a gateway for people to submit bugs to your database via
email, have had a few people test it, and received rave reviews from your beta email, have had a few people test it, and received rave reviews from your beta
testers. testers.
</para>
<para>
What's the next thing you do? Outline a training strategy for your What's the next thing you do? Outline a training strategy for your
development team, of course, and bring them up to speed on the new tool you've development team, of course, and bring them up to speed on the new tool you've
labored over for hours. labored over for hours.
</para>
<para>
Your first training session starts off very well! You have a captive Your first training session starts off very well! You have a captive
audience which seems enraptured by the efficiency embodied in this thing called audience which seems enraptured by the efficiency embodied in this thing called
"Bugzilla". You are caught up describing the nifty features, how people can "Bugzilla". You are caught up describing the nifty features, how people can
save favorite queries in the database, set them up as headers and footers on save favorite queries in the database, set them up as headers and footers on
their pages, customize their layouts, generate reports, track status with their pages, customize their layouts, generate reports, track status with
greater efficiency than ever before, leap tall buildings with a single bound greater efficiency than ever before, leap tall buildings with a single bound
and rescue Jane from the clutches of Certain Death! and rescue Jane from the clutches of Certain Death!
</para>
<para>
But Certain Death speaks up -- a tiny voice, from the dark corners of the But Certain Death speaks up -- a tiny voice, from the dark corners of the
conference room. "I have a concern," the voice hisses from the darkness, conference room. "I have a concern," the voice hisses from the darkness,
"about the use of the word 'verified'. "about the use of the word 'verified'.
</para>
<para>
The room, previously filled with happy chatter, lapses into reverential The room, previously filled with happy chatter, lapses into reverential
silence as Certain Death (better known as the Vice President of Software silence as Certain Death (better known as the Vice President of Software
Engineering) continues. "You see, for two years we've used the word 'verified' Engineering) continues. "You see, for two years we've used the word 'verified'
to indicate that a developer or quality assurance engineer has confirmed that, to indicate that a developer or quality assurance engineer has confirmed that,
in fact, a bug is valid. I don't want to lose two years of training to a in fact, a bug is valid. I don't want to lose two years of training to a
new software product. You need to change the bug status of 'verified' to new software product. You need to change the bug status of 'verified' to
'approved' as soon as possible. To avoid confusion, of course." 'approved' as soon as possible. To avoid confusion, of course."
</para>
<para>
Oh no! Terror strikes your heart, as you find yourself mumbling "yes, yes, I Oh no! Terror strikes your heart, as you find yourself mumbling "yes, yes, I
don't think that would be a problem," You review the changes with Certain don't think that would be a problem," You review the changes with Certain
Death, and continue to jabber on, "no, it's not too big a change. I mean, we Death, and continue to jabber on, "no, it's not too big a change. I mean, we
have the source code, right? You know, 'Use the Source, Luke' and all that... have the source code, right? You know, 'Use the Source, Luke' and all that...
no problem," All the while you quiver inside like a beached jellyfish bubbling, no problem," All the while you quiver inside like a beached jellyfish bubbling,
burbling, and boiling on a hot Jamaican sand dune... burbling, and boiling on a hot Jamaican sand dune...
</para>
<para>
Thus begins your adventure into the heart of Bugzilla. You've been forced Thus begins your adventure into the heart of Bugzilla. You've been forced
to learn about non-portable enum() fields, varchar columns, and tinyint to learn about non-portable enum() fields, varchar columns, and tinyint
definitions. The Adventure Awaits You! definitions. The Adventure Awaits You!
</para>
<section>
=== <title>Bugzilla Database Basics</title>
The Basics <para>
=== If you were like me, at this point you're totally clueless
about the internals of MySQL, and if it weren't for this
If you were like me, at this point you're totally clueless about the executive order from the Vice President you couldn't care less
internals of MySQL, and if it weren't for this executive order from the Vice about the difference between a <quote>bigint</quote> and a
President you couldn't care less about the difference between a "bigint" and a <quote>tinyint</quote> entry in MySQL. I recommend you refer
"tinyint" entry in MySQL. I'd refer you first to the MySQL documentation, to the MySQL documentation, available at <ulink url="http://www.mysql.com/doc.html">MySQL.com</ulink>. Below are the basics you need to know about the Bugzilla database. Check the chart above for more details.
available at http://www.mysql.com/doc.html, but that's mostly a confusing </para>
morass of high-level database jargon. Here are the basics you need to know <para><orderedlist>
about the database to proceed: <listitem>
<para>
1. To connect to your database, type "mysql -u root" at the command prompt as To connect to your database:
any user. If this works without asking you for a password, SHAME ON YOU! You </para>
should have locked your security down like the README told you to. You can <para>
find details on locking down your database in the Bugzilla FAQ in this <prompt>bash#</prompt><command>mysql</command><parameter>-u root</parameter>
directory (under "Security"), or more robust security generalities in the </para>
MySQL searchable documentation at <para>
http://www.mysql.com/php/manual.php3?section=Privilege_system . If this works without asking you for a password,
<emphasis>shame on you</emphasis>! You should have
2. You should now be at a prompt that looks like this: locked your security down like the installation
instructions told you to. You can find details on
mysql> locking down your database in the Bugzilla FAQ in this
directory (under "Security"), or more robust security
At the prompt, if "bugs" is the name of your Bugzilla database, type: generalities in the MySQL searchable documentation at
http://www.mysql.com/php/manual.php3?section=Privilege_system .
mysql> use bugs; </para>
</listitem>
(don't forget the ";" at the end of each line, or you'll be kicking yourself
all the way through this documentation) <listitem>
Young Grasshopper, you are now ready for the unveiling of the Bugzilla <para>You should now be at a prompt that looks like
database, in the next section... this:</para>
<para><prompt>mysql></prompt></para>
<para>At the prompt, if <quote>bugs</quote> is the name
you chose in the<filename>localconfig</filename> file
=== for your Bugzilla database, type:</para>
THE TABLES <para><prompt>mysql</prompt><command>use bugs;</command></para>
=== <note>
<para>Don't forget the <quote>;</quote> at the end of
Imagine your MySQL database as a series of spreadsheets, and you won't be too each line, or you'll be kicking yourself later.</para>
far off. If you use this command: </note>
</listitem>
mysql> show tables from bugs; </orderedlist>
</para>
you'll be able to see all the "spreadsheets" (tables) in your database. Cool, <section>
huh? It's kinda' like a filesystem, only much faster and more robust. Come <title>Bugzilla Database Tables</title>
on, I'll show you more! <para> Imagine your MySQL database as a series of
spreadsheets, and you won't be too far off. If you use this
From the command issued above, you should now have some output that looks command:</para>
like this: <para><prompt>mysql></prompt><command>show tables from bugs;</command></para>
<para>you'll be able to see all the
<quote>spreadsheets</quote> (tables) in your database. It
is similar to a file system, only faster and more robust for
certain types of operations.</para>
<para>From the command issued above, ou should have some
output that looks like this:
<programlisting>
+-------------------+ +-------------------+
| Tables in bugs | | Tables in bugs |
+-------------------+ +-------------------+
...@@ -213,14 +169,13 @@ like this: ...@@ -213,14 +169,13 @@ like this:
| profiles | | profiles |
| profiles_activity | | profiles_activity |
| shadowlog | | shadowlog |
| tokens |
| versions | | versions |
| votes | | votes |
| watch | | watch |
+-------------------+ +-------------------+
</programlisting></para>
<literallayout>
If it doesn't look quite the same, that probably means it's time to
update this documentation :)
Here's an overview of what each table does. Most columns in each table have Here's an overview of what each table does. Most columns in each table have
descriptive names that make it fairly trivial to figure out their jobs. descriptive names that make it fairly trivial to figure out their jobs.
...@@ -398,23 +353,36 @@ LINKS ...@@ -398,23 +353,36 @@ LINKS
Great MySQL tutorial site: Great MySQL tutorial site:
http://www.devshed.com/Server_Side/MySQL/ http://www.devshed.com/Server_Side/MySQL/
</LITERALLAYOUT> </literallayout>
</SECTION> </section>
</section>
<SECTION id="granttables"> </section>
<TITLE>MySQL Permissions & Grant Tables</TITLE>
<section id="granttables">
<NOTE> <title>MySQL Permissions & Grant Tables</title>
<PARA>The following portion of documentation comes from my answer to an old discussion of Keystone,
a cool product that does trouble-ticket tracking for IT departments. I wrote this post to the <note>
Keystone support group regarding MySQL grant table permissions, and how to use them effectively. <para>The following portion of documentation comes from my
It is badly in need of updating, as I believe MySQL has added a field or two to the grant tables answer to an old discussion of Keystone, a cool product that
since this time, but it serves as a decent introduction and troubleshooting document for grant does trouble-ticket tracking for IT departments. I wrote this
table issues. I used Keynote to track my troubles until I discovered Bugzilla, post to the Keystone support group regarding MySQL grant
which gave me a whole new set of troubles to work on : )</PARA> table permissions, and how to use them effectively. It is
</NOTE> badly in need of updating, as I believe MySQL has added a
field or two to the grant tables since this time, but it
<LITERALLAYOUT> serves as a decent introduction and troubleshooting document
for grant table issues. I used Keynote to track my troubles
until I discovered Bugzilla, which gave me a whole new set of
troubles to work on : ) Although it is of limited use, it
still has SOME use, thus it's still included.</para>
<para>
Please note, however, that I was a relatively new user to
MySQL at the time. Some of my suggestions, particularly in
how to set up security, showed a terrible lack of
security-related database experience.
</para>
</note>
<literallayout>
From matt_barnson@singletrac.com Wed Jul 7 09:00:07 1999 From matt_barnson@singletrac.com Wed Jul 7 09:00:07 1999
Date: Mon, 1 Mar 1999 21:37:04 -0700 Date: Mon, 1 Mar 1999 21:37:04 -0700
From: Matthew Barnson matt_barnson@singletrac.com From: Matthew Barnson matt_barnson@singletrac.com
...@@ -577,59 +545,28 @@ Once again, you can't go wrong by reading section 6 of the MySQL manual. It ...@@ -577,59 +545,28 @@ Once again, you can't go wrong by reading section 6 of the MySQL manual. It
is more detailed than I! is more detailed than I!
http://www.mysql.com/Manual/manual.html. http://www.mysql.com/Manual/manual.html.
---------------------------------------------------------------------------- </literallayout>
10/12/2000 </section>
Matthew sent in some mail with updated contact information:
NEW CONTACT INFORMATION: </appendix>
------------------------
Matthew P. Barnson
Manager, Systems Administration
Excite@Home Business Applications
mbarnson@excitehome.net
(801)234-8300
</LITERALLAYOUT>
</SECTION>
<SECTION id="cleanupwork">
<TITLE>Cleaning up after mucking with Bugzilla</TITLE>
<LITERALLAYOUT>
Contributed by Eric Hanson:
There are several things, and one trick. There is a small tiny piece of
documentation I saw once that said something very important.
1) After pretty much any manual working of the Mysql db, you must
delete a file in the bugzilla directory: data/versioncache
Versioncache basically is a way to speed up bugzilla (from what I
understand). It stores a lot of commonly used information. However,
this file is refreshed every so often (I can't remember the time
interval though). So eventually all changes do propogate out, so you
may see stuff suddenly working.
2) Assuming that failed, you will also have to check something with the
checksetup.pl file. It actually is run twice. The first time it
creates the file: localconfig. You can modify localconfig, (or not if
you are doing bug_status stuff) or you should delete localconfig and
rerun your modified checksetup.pl. Since I don't actually see anything
in localconfig pertaining to bug_status, this point is mainly a FYI.
</LITERALLAYOUT>
</SECTION>
</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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:upper
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag:t
sgml-tag-region-if-active:t
End: End:
--> -->
# MySQL dump 7.1
#
# Host: localhost Database: bugs
#--------------------------------------------------------
# Server version 3.22.32
#
# Table structure for table 'attachments'
#
CREATE TABLE attachments (
attach_id mediumint(9) DEFAULT '0' NOT NULL auto_increment,
bug_id mediumint(9) DEFAULT '0' NOT NULL,
creation_ts timestamp(14),
description mediumtext NOT NULL,
mimetype mediumtext NOT NULL,
ispatch tinyint(4),
filename mediumtext NOT NULL,
thedata longblob NOT NULL,
submitter_id mediumint(9) DEFAULT '0' NOT NULL,
PRIMARY KEY (attach_id)
);
create index index_41 on attachments (bug_id);
create index index_42 on attachments (creation_ts);
#
# Table structure for table 'bugs'
#
CREATE TABLE bugs (
bug_id mediumint(9) DEFAULT '0' NOT NULL auto_increment,
groupset bigint(20) DEFAULT '0' NOT NULL,
assigned_to mediumint(9) DEFAULT '0' NOT NULL,
bug_file_loc text,
bug_severity enum DEFAULT 'blocker' NOT NULL,
bug_status enum DEFAULT 'UNCONFIRMED' NOT NULL,
creation_ts datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
delta_ts timestamp(14),
short_desc mediumtext,
op_sys enum DEFAULT 'All' NOT NULL,
priority enum DEFAULT 'P1' NOT NULL,
product varchar(64) DEFAULT '' NOT NULL,
rep_platform enum,
reporter mediumint(9) DEFAULT '0' NOT NULL,
version varchar(16) DEFAULT '' NOT NULL,
component varchar(50) DEFAULT '' NOT NULL,
resolution enum DEFAULT '' NOT NULL,
target_milestone varchar(20) DEFAULT '---' NOT NULL,
qa_contact mediumint(9) DEFAULT '0' NOT NULL,
status_whiteboard mediumtext NOT NULL,
votes mediumint(9) DEFAULT '0' NOT NULL,
keywords mediumtext NOT NULL,
lastdiffed datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
everconfirmed tinyint(4) DEFAULT '0' NOT NULL,
PRIMARY KEY (bug_id)
);
create index index_7 on bugs (assigned_to);
create index index_8 on bugs (creation_ts);
create index index_9 on bugs (delta_ts);
create index index_10 on bugs (bug_severity);
create index index_11 on bugs (bug_status);
create index index_12 on bugs (op_sys);
create index index_13 on bugs (priority);
create index index_14 on bugs (product);
create index index_15 on bugs (reporter);
create index index_16 on bugs (version);
create index index_17 on bugs (component);
create index index_18 on bugs (resolution);
create index index_19 on bugs (target_milestone);
create index index_20 on bugs (qa_contact);
create index index_21 on bugs (votes);
#
# Table structure for table 'bugs_activity'
#
CREATE TABLE bugs_activity (
bug_id mediumint(9) DEFAULT '0' NOT NULL,
who mediumint(9) DEFAULT '0' NOT NULL,
bug_when datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
fieldid mediumint(9) DEFAULT '0' NOT NULL,
oldvalue tinytext,
newvalue tinytext
);
create index index_43 on bugs_activity (bug_id);
create index index_44 on bugs_activity (bug_when);
create index index_45 on bugs_activity (fieldid);
#
# Table structure for table 'cc'
#
CREATE TABLE cc (
bug_id mediumint(9) DEFAULT '0' NOT NULL,
who mediumint(9) DEFAULT '0' NOT NULL
);
create index index_31 on cc (who);
create unique index index_32 on cc (bug_id,who);
#
# Table structure for table 'components'
#
CREATE TABLE components (
value tinytext,
program varchar(64),
initialowner tinytext NOT NULL,
initialqacontact tinytext NOT NULL,
description mediumtext NOT NULL
);
#
# Table structure for table 'dependencies'
#
CREATE TABLE dependencies (
blocked mediumint(9) DEFAULT '0' NOT NULL,
dependson mediumint(9) DEFAULT '0' NOT NULL
);
create index index_34 on dependencies (blocked);
create index index_35 on dependencies (dependson);
#
# Table structure for table 'duplicates'
#
CREATE TABLE duplicates (
dupe_of mediumint(9) DEFAULT '0' NOT NULL,
dupe mediumint(9) DEFAULT '0' NOT NULL,
PRIMARY KEY (dupe)
);
#
# Table structure for table 'fielddefs'
#
CREATE TABLE fielddefs (
fieldid mediumint(9) DEFAULT '0' NOT NULL auto_increment,
name varchar(64) DEFAULT '' NOT NULL,
description mediumtext NOT NULL,
mailhead tinyint(4) DEFAULT '0' NOT NULL,
sortkey smallint(6) DEFAULT '0' NOT NULL,
PRIMARY KEY (fieldid)
);
create unique index index_28 on fielddefs (name);
create index index_29 on fielddefs (sortkey);
#
# Table structure for table 'groups'
#
CREATE TABLE groups (
bit bigint(20) DEFAULT '0' NOT NULL,
name varchar(255) DEFAULT '' NOT NULL,
description text NOT NULL,
isbuggroup tinyint(4) DEFAULT '0' NOT NULL,
userregexp tinytext NOT NULL
);
create unique index index_3 on groups (bit);
create unique index index_4 on groups (name);
#
# Table structure for table 'keyworddefs'
#
CREATE TABLE keyworddefs (
id smallint(6) DEFAULT '0' NOT NULL,
name varchar(64) DEFAULT '' NOT NULL,
description mediumtext,
PRIMARY KEY (id)
);
create unique index index_33 on keyworddefs (name);
#
# Table structure for table 'keywords'
#
CREATE TABLE keywords (
bug_id mediumint(9) DEFAULT '0' NOT NULL,
keywordid smallint(6) DEFAULT '0' NOT NULL
);
create index index_39 on keywords (keywordid);
create unique index index_40 on keywords (bug_id, keywordid);
#
# Table structure for table 'logincookies'
#
CREATE TABLE logincookies (
cookie mediumint(9) DEFAULT '0' NOT NULL auto_increment,
userid mediumint(9) DEFAULT '0' NOT NULL,
cryptpassword varchar(64),
hostname varchar(128),
lastused timestamp(14),
PRIMARY KEY (cookie)
);
create index index_30 on logincookies (lastused);
#
# Table structure for table 'longdescs'
#
CREATE TABLE longdescs (
bug_id mediumint(9) DEFAULT '0' NOT NULL,
who mediumint(9) DEFAULT '0' NOT NULL,
bug_when datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
thetext mediumtext
);
create index index_22 on longdescs (bug_id);
create index index_23 on longdescs (bug_when);
#
# Table structure for table 'milestones'
#
CREATE TABLE milestones (
value varchar(20) DEFAULT '' NOT NULL,
product varchar(64) DEFAULT '' NOT NULL,
sortkey smallint(6) DEFAULT '0' NOT NULL,
);
create unique index index_24 on milestones (product, value);
#
# Table structure for table 'namedqueries'
#
CREATE TABLE namedqueries (
userid mediumint(9) DEFAULT '0' NOT NULL,
name varchar(64) DEFAULT '' NOT NULL,
watchfordiffs tinyint(4) DEFAULT '0' NOT NULL,
linkinfooter tinyint(4) DEFAULT '0' NOT NULL,
query mediumtext NOT NULL
);
create unique index index_25 on namedqueries (userid, name);
create index index_26 on namedqueries (watchfordiffs);
#
# Table structure for table 'products'
#
CREATE TABLE products (
product varchar(64),
description mediumtext,
milestoneurl tinytext NOT NULL,
disallownew tinyint(4) DEFAULT '0' NOT NULL,
votesperuser smallint(6) DEFAULT '0' NOT NULL,
maxvotesperbug smallint(6) DEFAULT '10000' NOT NULL,
votestoconfirm smallint(6) DEFAULT '0' NOT NULL,
defaultmilestone varchar(20) DEFAULT '---' NOT NULL
);
#
# Table structure for table 'profiles'
#
CREATE TABLE profiles (
userid mediumint(9) DEFAULT '0' NOT NULL auto_increment,
login_name varchar(255) DEFAULT '' NOT NULL,
password varchar(16),
cryptpassword varchar(64),
realname varchar(255),
groupset bigint(20) DEFAULT '0' NOT NULL,
emailnotification enum DEFAULT 'ExcludeSelfChanges' NOT NULL,
disabledtext mediumtext NOT NULL,
newemailtech tinyint(4) DEFAULT '0' NOT NULL,
mybugslink tinyint(4) DEFAULT '1' NOT NULL,
blessgroupset bigint(20) DEFAULT '0' NOT NULL,
PRIMARY KEY (userid)
);
create unique index index_27 on profiles (login_name);
#
# Table structure for table 'profiles_activity'
#
CREATE TABLE profiles_activity (
userid mediumint(9) DEFAULT '0' NOT NULL,
who mediumint(9) DEFAULT '0' NOT NULL,
profiles_when datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
fieldid mediumint(9) DEFAULT '0' NOT NULL,
oldvalue tinytext,
newvalue tinytext
);
create index index_0 on profiles_activity (userid);
create index index_1 on profiles_activity (profiles_when);
create index index_2 on profiles_activity (fieldid);
#
# Table structure for table 'shadowlog'
#
CREATE TABLE shadowlog (
id int(11) DEFAULT '0' NOT NULL auto_increment,
ts timestamp(14),
reflected tinyint(4) DEFAULT '0' NOT NULL,
command mediumtext NOT NULL,
PRIMARY KEY (id)
);
create index index_38 on shadowlog (reflected);
#
# Table structure for table 'versions'
#
CREATE TABLE versions (
value tinytext,
program varchar(64) DEFAULT '' NOT NULL
);
#
# Table structure for table 'votes'
#
CREATE TABLE votes (
who mediumint(9) DEFAULT '0' NOT NULL,
bug_id mediumint(9) DEFAULT '0' NOT NULL,
count smallint(6) DEFAULT '0' NOT NULL
);
create index index_5 on votes (who);
create index index_6 on votes (bug_id);
#
# Table structure for table 'watch'
#
CREATE TABLE watch (
watcher mediumint(9) DEFAULT '0' NOT NULL,
watched mediumint(9) DEFAULT '0' NOT NULL
);
create index index_36 on watch (watched);
create unique index index_37 on watch (watcher, watched);
%-12345X@PJL JOB
@PJL ENTER LANGUAGE = POSTSCRIPT
%!PS-Adobe-3.0
%%Title: PDM Model_7 - I:\DATA\SDESI
%%Creator: PSCRIPT.DRV Version 4.0
%%CreationDate: 12/06/00 23:59:39
%%BoundingBox: 12 13 601 779
%%Pages: (atend)
%%PageOrder: Special
%%Requirements:
%%DocumentNeededFonts: (atend)
%%DocumentSuppliedFonts: (atend)
%%DocumentData: Clean7Bit
%%LanguageLevel: 2
%%EndComments
%%BeginProlog
%%BeginProcSet: Pscript_Win_ErrorHandler 1.0 1
/currentpacking where{pop/oldpack currentpacking def/setpacking where{pop
false setpacking}if}if/$brkpage 64 dict def $brkpage begin/prnt{dup type
/stringtype ne{=string cvs}if dup length 6 mul/tx exch def/ty 10 def
currentpoint/toy exch def/tox exch def 1 setgray newpath tox toy 2 sub moveto
0 ty rlineto tx 0 rlineto 0 ty neg rlineto closepath fill tox toy moveto 0
setgray show}bind def/nl{currentpoint exch pop lmargin exch moveto 0 -10
rmoveto}def/=={/cp 0 def typeprint nl}def/typeprint{dup type exec}readonly def
/lmargin 72 def/rmargin 72 def/tprint{dup length cp add rmargin gt{nl/cp 0 def
}if dup length cp add/cp exch def prnt}readonly def/cvsprint{=string cvs
tprint( )tprint}readonly def/integertype{cvsprint}readonly def/realtype{
cvsprint}readonly def/booleantype{cvsprint}readonly def/operatortype{(--)
tprint =string cvs tprint(-- )tprint}readonly def/marktype{pop(-mark- )tprint}
readonly def/dicttype{pop(-dictionary- )tprint}readonly def/nulltype{pop
(-null- )tprint}readonly def/filetype{pop(-filestream- )tprint}readonly def
/savetype{pop(-savelevel- )tprint}readonly def/fonttype{pop(-fontid- )tprint}
readonly def/nametype{dup xcheck not{(/)tprint}if cvsprint}readonly def
/stringtype{dup rcheck{(\()tprint tprint(\))tprint}{pop(-string- )tprint}
ifelse}readonly def/arraytype{dup rcheck{dup xcheck{({)tprint{typeprint}forall
(})tprint}{([)tprint{typeprint}forall(])tprint}ifelse}{pop(-array- )tprint}
ifelse}readonly def/packedarraytype{dup rcheck{dup xcheck{({)tprint{typeprint}
forall(})tprint}{([)tprint{typeprint}forall(])tprint}ifelse}{pop
(-packedarray- )tprint}ifelse}readonly def/courier/Courier findfont 10
scalefont def end errordict/handleerror{systemdict begin $error begin $brkpage
begin newerror{/newerror false store vmstatus pop pop 0 ne{grestoreall}if
showpage initgraphics courier setfont lmargin 720 moveto(ERROR: )prnt
errorname prnt nl(OFFENDING COMMAND: )prnt/command load prnt $error/ostack
known{nl nl(STACK:)prnt nl nl $error/ostack get aload length{==}repeat}if
systemdict/showpage get exec(%%[ Error: )print errorname =print
(; OffendingCommand: )print/command load =print( ]%%)= flush}if end end end}
dup 0 systemdict put dup 4 $brkpage put bind readonly put/currentpacking where
{pop/setpacking where{pop oldpack setpacking}if}if
%%EndProcSet
userdict /Pscript_Win_Driver_Incr 200 dict dup begin put
%%BeginResource: file Pscript_FatalError 2.0 0
/FatalErrorIf{{initgraphics findfont exch scalefont setfont counttomark 3 div
cvi{moveto show}repeat showpage quit}{cleartomark}ifelse}bind def
%%EndResource
/VM? {vmstatus exch sub exch pop gt { [
(This job requires more memory than is available in this printer.) 100 500
(Try one or more of the following, and then print again:) 100 485
(In the PostScript dialog box, click Optimize For Portability.) 115 470
(In the Device Options dialog box, make sure the Available Printer Memory is accurate.) 115 455
(Reduce the number of fonts in the document.) 115 440
(Print the document in parts.) 115 425
12 /Times-Roman showpage
(%%[ PrinterError: Low Printer VM ]%%) =
true FatalErrorIf}if} bind def
30000 VM?
%%BeginResource: file Pscript_Win_Utils 2.0 0
/|/def load def/,/load load |/~/exch , |/?/ifelse , |/!/pop , |/`/begin , |/^
/index , |/@/dup , |/+/translate , |/$/roll , |/U/userdict , |/M/moveto , |/-
/rlineto , |/&/currentdict , |/:/gsave , |/;/grestore , |/F/false , |/T/true ,
|/N/newpath , |/E/end , |/Ac/arc , |/An/arcn , |/A/ashow , |/D/awidthshow , |
/C/closepath , |/V/div , |/O/eofill , |/L/fill , |/I/lineto , |/-C/rcurveto ,
|/-M/rmoveto , |/+S/scale , |/Ji/setfont , |/Lc/setlinecap , |/Lj/setlinejoin
, |/Lw/setlinewidth , |/S/show , |/LH/showpage , |/K/stroke , |/W/widthshow ,
|/R/rotate , |/b{bind |}bind |/bd{bind |}bind |/xd{~ |}bd/ld{, |}bd/lw/Lw ld
/lc/Lc ld/lj/Lj ld/sg/setgray ld/L2? F/languagelevel where{! languagelevel 2
ge{! T}if}if |/g{@ not{U/DefIf_save save put}if U/DefIf_bool 2 ^ put}b
/DefIf_El{if U/DefIf_bool get not @{U/DefIf_save get restore}if}b/e{DefIf_El !
}b/self & |/reinitialize{[/TextInit/GraphInit/UtilsInit counttomark{@ where{
self eq}{F}?{cvx exec}{!}?}repeat cleartomark}b/initialize{`{/ADO_mxRot ~ |
/TextInitialised? F | reinitialize E}{U/Pscript_Win_Data 200 dict @ ` put
/ADO_mxRot ~ |/TextInitialised? F | reinitialize}?}b/terminate{!{& self eq{
exit}{E}?}loop E}b/suspend/terminate , |/resume{` Pscript_Win_Data `}b/snap{
transform 0.25 sub round 0.25 add ~ 0.25 sub round 0.25 add ~ itransform}b
/dsnap{dtransform round ~ round ~ idtransform}b<04>cvn{}|/setjn{{statusdict
/jobname known{statusdict/jobname 3 -1 $ put}if}stopped cleartomark}b/solid{[]
0 setdash}b/setdsh{0 setdash}b/colspRefresh{}b/rp{4 2 $ M 1 ^ 0 - 0 ~ - neg 0
-}b/rr{1 ^ 0 - 0 ~ - neg 0 - C}b
%%EndResource
%%BeginResource: file Pscript_Win_Utils_L1 2.0 0
L2? not g{/rf{N rp L}b/fx{1 1 dtransform @ 0 ge{1 sub 1}{1 add -0.25}? 3 -1 $
@ 0 ge{1 sub 1}{1 add -0.25}? 3 1 $ 4 1 $ idtransform 4 -2 $ idtransform}b/BZ{
4 -2 $ snap + +S fx rf}b/rs{N rp C K}b/rc{N rp clip N}b/sg{setgray}b/sco{
setrgbcolor}b/sgco{{sg}{sco}?}b}e
%%EndResource
%%BeginResource: file Pscript_Win_Utils_L2 2.0 0
L2? g{/colspA/DeviceGray |/colspABC/DeviceRGB |/setAorABC{{colspA}{colspABC}?
setcolorspace}b/rf/rectfill , |/fx{1 1 dtransform @ 0 ge{1 sub 0.5}{1 add -0.5
}? 3 -1 $ @ 0 ge{1 sub 0.5}{1 add -0.5}? 3 1 $ 4 1 $ idtransform 4 -2 $
idtransform}b/BZ{4 -2 $ snap + +S fx rf}b/rs/rectstroke , |/rc/rectclip , |/sg
{@ @ setcolor}b/sco{setcolor}b/colspRefresh{colspABC setcolorspace}b/sgco{{sg
}{sco}?}b/UtilsInit{F setglobal}b/definecolorrendering{/ColorRendering
defineresource !}b/findcolorrendering{@/ColorRendering resourcestatus{! !
/ColorRendering findresource T}{! F}?}b/selectcolorrendering{@/ColorRendering
resourcestatus{! !/ColorRendering}{!/DefaultColorRendering/ColorRendering}?
findresource setcolorrendering}b}e
%%EndResource
end
%%EndProlog
%%BeginSetup
[ 1.000 0 0 1.000 0 0 ] false Pscript_Win_Driver_Incr dup /initialize get exec
[{0
/languagelevel where{pop languagelevel}{1}ifelse 2 ge{1 dict dup/JobTimeout 4 -1 roll put setuserparams}{statusdict/setjobtimeout get exec}ifelse
} stopped cleartomark
[{240
/languagelevel where{pop languagelevel}{1}ifelse 2 ge{1 dict dup/WaitTimeout 4 -1 roll put setuserparams}{statusdict/waittimeout 3 -1 roll put}ifelse
} stopped cleartomark
[{
%%BeginFeature: *Print as Grayscale No
<</ProcessColorModel /DeviceRGB>> setpagedevice
%%EndFeature
} stopped cleartomark
[{
} stopped cleartomark
[{
%%BeginFeature: *InputSlot AutoSelect Tray
%%EndFeature
} stopped cleartomark
[{
%%BeginFeature: *PageSize Letter
<</DeferredMediaSelection true>> setpagedevice
2 dict dup /PageSize [612 792] put dup /ImagingBBox null put setpagedevice
%%EndFeature
} stopped cleartomark
[{
%%BeginFeature: *ColorSmart Text Vivid Color
globaldict /ColorSmartColorMatching known
{ true ColorSmartColorMatching } if
globaldict /ColorSmartColorMatching known
{ Vivid ColorSmartTextAdjustment } if
%%EndFeature
} stopped cleartomark
[{
%%BeginFeature: *ColorSmart Graphics Vivid Color
globaldict /ColorSmartColorMatching known
{ Vivid ColorSmartGraphicsAdjustment } if
%%EndFeature
} stopped cleartomark
[{
%%BeginFeature: *ColorSmart Photos Match Color Across Printers
globaldict /ColorSmartColorMatching known
{ MatchScreen ColorSmartImageAdjustment } if
%%EndFeature
} stopped cleartomark
[{
%%BeginFeature: *Text Halftone Detail
globaldict /ColorSmartColorMatching known
{ Detail ColorSmartTextHalftone } if
%%EndFeature
} stopped cleartomark
[{
%%BeginFeature: *Graphics Halftone Smooth
globaldict /ColorSmartColorMatching known
{ Smooth ColorSmartGraphicsHalftone } if
%%EndFeature
} stopped cleartomark
[{
%%BeginFeature: *Image Halftone Smooth
globaldict /ColorSmartColorMatching known
{ Smooth ColorSmartImageHalftone } if
%%EndFeature
} stopped cleartomark
[{
%%BeginFeature: *ColorSmart Auto
globaldict /ColorSmartColorMatching known
{ Vivid ColorSmartTextAdjustment } if
globaldict /ColorSmartColorMatching known
{ Vivid ColorSmartGraphicsAdjustment } if
globaldict /ColorSmartColorMatching known
{ MatchScreen ColorSmartImageAdjustment } if
globaldict /ColorSmartColorMatching known
{ Detail ColorSmartTextHalftone } if
globaldict /ColorSmartColorMatching known
{ Smooth ColorSmartGraphicsHalftone } if
globaldict /ColorSmartColorMatching known
{ Smooth ColorSmartImageHalftone } if
/setscreen { pop pop pop } def
/setcolorscreen { pop pop pop pop pop pop pop pop pop pop pop pop } def
globaldict /ColorSmartColorMatching known
{true ColorSmartColorMatching } if
%%EndFeature
} stopped cleartomark
[{
%%BeginFeature: *OutputBin Upper
1 dict dup /OutputFaceUp false put setpagedevice
%%EndFeature
} stopped cleartomark
[{
%%BeginFeature: *MediaType Plain Paper
%%EndFeature
} stopped cleartomark
1 setlinecap 1 setlinejoin
/mysetup [ 0.240 0 0 -0.240 12.000 779.000 ] |
%%EndSetup
userdict begin /savelevel0 save def end
%%Page: 1 1
%%BeginPageSetup
[{
%%BeginFeature: *Rear Feed Unit Not Installed
%%EndFeature
} stopped cleartomark
[{
%%BeginFeature: *VMOption 36 - 43 MB RAM
%%EndFeature
} stopped cleartomark
[{
%%BeginFeature: *Resolution 300dpi
%%EndFeature
} stopped cleartomark
[{
%%BeginFeature: *Duplex
%%EndFeature
} stopped cleartomark
userdict begin /pagesave save def end mysetup concat colspRefresh : 1.000 1.000 1.000 sco 0 0 2550 3300 rf ;
%%EndPageSetup
: 0 0 2454 3191 rc pagesave restore
Pscript_Win_Driver_Incr begin
%%BeginResource: file Pscript_Win_Graphics 2.0 0
/SavedCTM null |/CTMsave{/SavedCTM SavedCTM currentmatrix |}b/CTMrestore{
SavedCTM setmatrix}b/mp null |/ADO_mxRot null |/GDIHMatrix null |
/GDIHPatternDict 22 dict | GDIHPatternDict `/PatternType 1 |/PaintType 2 |
/Reps L2?{1}{5}? |/XStep 8 Reps mul |/YStep XStep |/BBox[0 0 XStep YStep]|
/TilingType 1 |/PaintProc{` 1 Lw[]0 setdash PaintData , exec E}b/FGnd null |
/BGnd null |/HS_Horizontal{horiz}b/HS_Vertical{vert}b/HS_FDiagonal{fdiag}b
/HS_BDiagonal{biag}b/HS_Cross{horiz vert}b/HS_DiagCross{fdiag biag}b/MaxXYStep
XStep YStep gt{XStep}{YStep}? |/horiz{Reps{0 4 M XStep 0 - 0 8 +}repeat 0 -8
Reps mul + K}b/vert{Reps{4 0 M 0 YStep - 8 0 +}repeat 0 -8 Reps mul + K}b/biag
{Reps{0 0 M MaxXYStep @ - 0 YStep neg M MaxXYStep @ - 0 8 +}repeat 0 -8 Reps
mul + 0 YStep M 8 8 - K}b/fdiag{Reps{0 0 M MaxXYStep @ neg - 0 YStep M
MaxXYStep @ neg - 0 8 +}repeat 0 -8 Reps mul + MaxXYStep @ M 8 -8 - K}b E
/makehatch{GDIHPatternDict/PaintData 3 -1 $ put CTMsave GDIHMatrix setmatrix
GDIHPatternDict matrix mp CTMrestore ~ U ~ 2 ^ put}b/h0{/h0/HS_Horizontal
makehatch}b/h1{/h1/HS_Vertical makehatch}b/h2{/h2/HS_FDiagonal makehatch}b/h3{
/h3/HS_BDiagonal makehatch}b/h4{/h4/HS_Cross makehatch}b/h5{/h5/HS_DiagCross
makehatch}b/GDIBWPatternDict 17 dict @ `/PatternType 1 |/PaintType L2?{1}{2}?
|/RepsV L2?{1}{6}? |/RepsH L2?{1}{5}? |/BBox[0 0 RepsH 1]|/TilingType 1 |
/XStep 1 |/YStep 1 |/Height 8 RepsV mul |/Width 8 |/mx[Width 0 0 Height neg 0
Height]|/FGnd null |/BGnd null |/SetBGndFGnd L2?{{BGnd null ne{BGnd aload !
sgco BBox aload ! 2 ^ sub ~ 3 ^ sub ~ rf}if FGnd null ne{FGnd aload ! sgco}if}
}{{}}? b/PaintProc{` SetBGndFGnd RepsH{Width Height F mx PaintData imagemask
Width 0 +}repeat E}b E |/GDIBWPatternMx null |/pfprep{save 4 1 $
/PatternOfTheDay 4 1 $ GDIBWPatternDict `/PaintData ~ |/BGnd ~ |/FGnd ~ | E
CTMsave GDIBWPatternMx setmatrix GDIBWPatternDict matrix mp CTMrestore ~ !}b
/hrf null |/prf{pfprep ~ 6 1 $ 5 hrf restore}b/GraphInit{GDIHMatrix null eq{
/SavedCTM matrix | : ADO_mxRot concat 0 0 snap + : 0.48 @ GDIHPatternDict `
YStep mul ~ XStep mul ~ dsnap YStep V ~ XStep V ~ E +S/GDIHMatrix matrix
currentmatrix readonly | ; : 0.24 -0.24 +S GDIBWPatternDict ` Width Height E
dsnap +S/GDIBWPatternMx matrix currentmatrix readonly | ; ;}if}b/cirp{360 0 An
C}b/ellp{CTMsave + +S 0.5 0 M 0 0 0.5 360 0 An C CTMrestore}b/rrp{/rad ~ |/y2
~ |/x2 ~ |/y1 ~ |/x1 ~ | x2 x1 add 2 V y1 M x1 y1 x1 y2 rad arct x1 y2 x2 y2
rad arct x2 y2 x2 y1 rad arct x2 y1 x1 y1 rad arct C}b/RRp{CTMsave + +S/dyS ~
|/dxS ~ | dxS 2 V 0 M 0 0 0 dyS 0.5 arct 0 dyS dxS dyS 0.5 arct dxS dyS dxS 0
0.5 arct dxS 0 0 0 0.5 arct C CTMrestore}b
%%EndResource
%%BeginResource: file Pscript_Win_Graphics_L1 2.0 0
L2? not g{/arct{arcto ! ! ! !}b/GDIpattfill{@ ` BGnd null ne PaintType 2 eq
and{: BGnd aload ! sgco fEOFill{O}{L}? ; FGnd aload ! U/fGray 2 ^ put{2}{4}?
-1 $}if E @ patterncalc : 4 ^/PaintType get 2 eq{fGray{6 -1 $ sg}{8 -3 $ sco}?
}if fEOFill{eoclip}{clip}? N patternfill ; N}b/hrf{/fGray 1 ^ 6 eq | -4 $ N rp
C/fEOFill F | GDIpattfill}b/hfMain{/fEOFill ~ |/fGray ~ | GDIpattfill}b/hf{T
hfMain}b/hfW{F hfMain}b/hs{currentpoint strokepath M hfW}b/pfMain{/fEOFill ~ |
pfprep GDIpattfill restore N}b/pf{T pfMain}b/pfW{F pfMain}b/ps{currentpoint
strokepath M pfW}b/mpstr 1 string |/mp{~ @ length 12 add dict copy `
/PatternCTM matrix currentmatrix |/PatternMatrix ~ |/PatWidth XStep mpstr
length mul |/PatHeight YStep |/FontType 3 |/Encoding 256 array | 3 string 0 1
255{Encoding ~ @ 3 ^ cvs cvn put}for !/FontMatrix matrix |/FontBBox BBox |
/BuildChar{! @ ` XStep 0 FontBBox aload ! setcachedevice/PaintProc , E : exec
;}b & E ~ @ 3 -1 $ definefont}b/patterncalc{` : PatternCTM setmatrix
PatternMatrix concat BBox aload ! ! ! + pathbbox ; PatHeight V ceiling 4 1 $
PatWidth V ceiling 4 1 $ PatHeight V floor 4 1 $ PatWidth V floor 4 1 $ 2 ^
sub cvi abs ~ 3 ^ sub cvi abs ~ 4 2 $ PatHeight mul ~ PatWidth mul ~ E}b
/patternfill{5 -1 $ @ ` Ji PatternCTM setmatrix PatternMatrix concat 0 2 ^ 2 ^
M 0 1 mpstr length 1 sub{1 ^ mpstr 3 1 $ put}for ! 2 ^{currentpoint 5 ^{mpstr
S}repeat YStep add M}repeat ! ! ! ! E}b}e
%%EndResource
%%BeginResource: file Pscript_Win_Graphics_L2 2.0 0
L2? g{/mp/makepattern , |/hrf{6 eq setAorABC setpattern rectfill}b/hf{
setAorABC setpattern O}b/hfW{setAorABC setpattern L}b/hs{setAorABC setpattern
K}b/pf{pfprep setpattern O restore N}b/pfW{pfprep setpattern L restore N}b/ps{
pfprep setpattern K restore N}b}e
%%EndResource
end reinitialize
userdict begin /pagesave save def end mysetup concat colspRefresh
: 0 0 0 sco 1 Lc 1 Lj solid 0 0 2454 3191 rc
1989 1646 N M 0 -419 - 1 Lw solid 0 0 0 sco K ;
N 1968.500 1645.500 19.500 88.603 -1.397 An
1 Lw 1 Lc 1 Lj 0 0 0 sco K : 0 0 2454 3191 rc
1931 1666 N M 38 0 - 0 0 0 sco K ;
N 1930.500 1685.500 19.500 -88.531 175.601 An
0 0 0 sco K : 0 0 2454 3191 rc
1911 2275 N M 0 -589 - 0 0 0 sco K ; : 1818 1632 636 23 rc : 1.000 1.000 1.000 sco 1872 1632 156 23 rf ; pagesave restore
Pscript_Win_Driver_Incr begin
%%BeginResource: file Pscript_Win_Encoding 2.0 0
/bullets{{/bullet}repeat}b/ANSIEncoding[/grave/acute/circumflex/tilde/macron
/breve/dotaccent/dieresis/ring/cedilla/hungarumlaut/ogonek/caron/dotlessi 18
bullets StandardEncoding 32 95 getinterval aload ! 3 bullets/quotesinglbase
/florin/quotedblbase/ellipsis/dagger/daggerdbl/circumflex/perthousand/Scaron
/guilsinglleft/OE 4 bullets/quoteleft/quoteright/quotedblleft/quotedblright
/bullet/endash/emdash/tilde/trademark/scaron/guilsinglright/oe 2 bullets
/Ydieresis/space/exclamdown/cent/sterling/currency/yen/brokenbar/section
/dieresis/copyright/ordfeminine/guillemotleft/logicalnot/hyphen/registered
/macron/degree/plusminus/twosuperior/threesuperior/acute/mu/paragraph
/periodcentered/cedilla/onesuperior/ordmasculine/guillemotright/onequarter
/onehalf/threequarters/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis
/Aring/AE/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute
/Icircumflex/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn/germandbls
/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla/egrave/eacute
/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis/eth/ntilde/ograve
/oacute/ocircumflex/otilde/odieresis/divide/oslash/ugrave/uacute/ucircumflex
/udieresis/yacute/thorn/ydieresis]| ANSIEncoding @ 39/quotesingle put 96/grave
put/ANSIEncodingOld ANSIEncoding 256 array copy | ANSIEncodingOld @[138 153
154 169 172 174 177 178 179 181 185 188 189 190 208 215 221 222 240 247 253
254]{/bullet put @}forall 166/bar put 176/ring put
%%EndResource
%%BeginResource: file Pscript_Win_Text 2.0 0
/TextInit{TextInitialised? not{/Pscript_Windows_Font & |/TextInitialised? T |
/fM[1 0 0 -1 0 0]|/mFM matrix |/iMat[1 0 0.212557 neg 1 0 0]|}if}b/xUP null |
/yUP null |/uW null |/xSP null |/ySP null |/sW null |/copyfont{1 ^ length add
dict `{1 ^/FID ne{|}{! !}?}forall & E}b/rF{3 copyfont @ `/Encoding
ANSIEncoding &/CharStrings known{CharStrings/Eth known not{! ANSIEncodingOld}
if}if | E}b/mF{findfont ~{@/Encoding get @ StandardEncoding eq{! T}{{
ISOLatin1Encoding}stopped{! F}{eq}?{T}{@ ` T 32 1 127{Encoding 1 ^ get
StandardEncoding 3 -1 $ get eq and}for E}?}?}{F}?{rF}{3 copyfont}? `
/OrigFontType ~ |/OrigFontName ~ | & E 2 ^ ~ definefont fM 5 4 -1 $ put fM 4 0
put fM makefont Pscript_Windows_Font 3 1 $ put}b/xF{scalefont
Pscript_Windows_Font 3 1 $ put}b/xMF{mFM astore makefont Pscript_Windows_Font
3 1 $ put}b/xF2/scalefont , |/xMF2{mFM astore makefont}b/sLT{: Lw -M
currentpoint snap M 0 - 0 Lc K ;}b/sSU{N/uW ~ |/yUP ~ |/xUP ~ |}b/sU{xUP yUP
uW sLT}b/sST{N/sW ~ |/ySP ~ |/xSP ~ |}b/sT{xSP ySP sW sLT}b/sR{: + R 0 0 M}b
/sRxy{: matrix astore concat 0 0 M}b/eR/; , |
%%EndResource
end reinitialize
userdict begin /pagesave save def end mysetup concat colspRefresh
: 0 0 0 sco 1 Lw 1 Lc 1 Lj 1818 1632 636 23 rc 0 0 0 sco %%IncludeFont: Helvetica
(F0) cvn
0.950
(Helvetica) cvn /Type1
T
(Helvetica) cvn
mF
(F0_20) cvn
F0
20
xF
F0_20
Ji
1872 1632 M
-0.012 0 (product = product)A
;
1989 1304 N M 7 34 - -15 0 - 8 -34 - C : 0 0 0 sco O ; 1 Lw 1 Lc 1 Lj 0 0 0 sco K : 0 0 2454 3191 rc
2135 1050 N M -906 0 - 0 0 0 sco K ; : 1408 1060 1026 23 rc : 1.000 1.000 1.000 sco 1462 1060 164 23 rf ; 0 0 0 sco F0_20
Ji
1462 1060 M
0.002 0 (product = program)A
;
1742 1050 N M -33 7 - 0 -15 - 33 8 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
2093 1250 N M -1848 0 - 0 0 0 sco K ; : 1014 1260 1026 23 rc : 1.000 1.000 1.000 sco 1068 1260 164 23 rf ; 0 0 0 sco F0_20
Ji
1068 1260 M
0.002 0 (product = program)A
;
1742 1250 N M -33 7 - 0 -15 - 33 8 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
1798 1151 N M -946 0 - 0 0 0 sco K ; : 1204 1161 1026 23 rc : 1.000 1.000 1.000 sco 1258 1161 156 23 rf ; 0 0 0 sco F0_20
Ji
1258 1161 M
-0.012 0 (product = product)A
;
1742 1151 N M -33 7 - 0 -15 - 33 8 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
717 1719 N M 0 689 - 0 0 0 sco K ;
N 736.500 1718.500 19.500 -88.531 175.601 An
0 0 0 sco K : 0 0 2454 3191 rc
864 1699 N M -127 0 - 0 0 0 sco K ;
N 863.500 1678.500 19.500 88.603 -1.397 An
0 0 0 sco K : 0 0 2454 3191 rc
884 1464 N M 0 215 - 0 0 0 sco K ; : 681 1687 918 23 rc : 1.000 1.000 1.000 sco 735 1687 130 23 rf ; 0 0 0 sco F0_20
Ji
735 1687 M
-0.115 0 (userid = userid)A
;
717 2221 N M -8 -33 - 15 0 - -7 33 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
649 1684 N M 0 737 - 0 0 0 sco K ;
N 628.500 1683.500 19.500 1.397 -91.469 An
0 0 0 sco K : 0 0 2454 3191 rc
334 1664 N M 295 0 - 0 0 0 sco K ; : 513 1635 918 23 rc : 1.000 1.000 1.000 sco 567 1635 130 23 rf ; 0 0 0 sco F0_20
Ji
567 1635 M
-0.115 0 (userid = userid)A
;
649 2221 N M -8 -33 - 15 0 - -7 33 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
837 1882 N M 0 378 - 0 0 0 sco K ;
N 856.500 1881.500 19.500 -88.531 175.601 An
0 0 0 sco K : 0 0 2454 3191 rc
1121 1862 N M -264 0 - 0 0 0 sco K ; : 0 0 2454 3191 rc
1467 1862 N M -346 0 - 0 0 0 sco K ; : 869 1850 756 23 rc : 1.000 1.000 1.000 sco 923 1850 113 23 rf ; 0 0 0 sco F0_20
Ji
923 1850 M
-0.078 0 (userid = who)A
;
837 2221 N M -8 -33 - 15 0 - -7 33 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
962 2267 N M -94 0 - 0 0 0 sco K ;
N 961.500 2246.500 19.500 88.603 -1.397 An
0 0 0 sco K : 0 0 2454 3191 rc
982 2105 N M 0 142 - 0 0 0 sco K ;
N 1001.500 2104.500 19.500 -88.531 175.601 An
0 0 0 sco K : 0 0 2454 3191 rc
1347 2085 N M -345 0 - 0 0 0 sco K ; : 872 2164 756 23 rc : 1.000 1.000 1.000 sco 926 2164 113 23 rf ; 0 0 0 sco F0_20
Ji
926 2164 M
-0.078 0 (userid = who)A
;
872 2267 N M 33 -8 - 0 15 - -33 -7 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
978 2437 N M -158 0 - 0 0 0 sco K ;
N 977.500 2416.500 19.500 88.603 -1.397 An
0 0 0 sco K : 0 0 2454 3191 rc
998 2345 N M 0 72 - 0 0 0 sco K ;
N 1017.500 2344.500 19.500 -88.531 175.601 An
0 0 0 sco K : 0 0 2454 3191 rc
1212 2325 N M -194 0 - 0 0 0 sco K ; : 888 2369 756 23 rc : 1.000 1.000 1.000 sco 942 2369 113 23 rf ; 0 0 0 sco F0_20
Ji
942 2369 M
-0.078 0 (userid = who)A
;
872 2437 N M 33 -7 - 0 15 - -33 -8 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
829 2672 N M 0 -152 - 0 0 0 sco K ;
N 848.500 2671.500 19.500 178.531 85.815 An
0 0 0 sco K : 0 0 2454 3191 rc
1194 2692 N M -345 0 - 0 0 0 sco K ; : 700 2697 1242 23 rc : 1.000 1.000 1.000 sco 754 2697 184 23 rf ; 0 0 0 sco F0_20
Ji
754 2697 M
-0.104 0 (userid = submitter_id)A
;
829 2620 N M 8 33 - -15 0 - 7 -33 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
570 2708 N M 0 -156 - 0 0 0 sco K ;
N 589.500 2707.500 19.500 178.531 85.815 An
0 0 0 sco K : 0 0 2454 3191 rc
773 2728 N M -183 0 - 0 0 0 sco K ;
N 772.500 2747.500 19.500 1.397 -91.469 An
0 0 0 sco K : 0 0 2454 3191 rc
793 2836 N M 0 -88 - 0 0 0 sco K ; : 572 2716 756 23 rc : 1.000 1.000 1.000 sco 626 2716 113 23 rf ; 0 0 0 sco F0_20
Ji
626 2716 M
-0.078 0 (userid = who)A
;
570 2620 N M 8 33 - -15 0 - 7 -33 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
1554 2379 N M 690 0 - 0 0 0 sco K ;
N 1553.500 2358.500 19.500 178.531 85.815 An
0 0 0 sco K : 0 0 2454 3191 rc
1534 2032 N M 0 327 - 0 0 0 sco K ; : 1427 2384 918 23 rc : 1.000 1.000 1.000 sco 1481 2384 140 23 rf ; 0 0 0 sco F0_20
Ji
1481 2384 M
-0.192 0 (bug_id = bug_id)A
;
1826 2379 N M -33 8 - 0 -15 - 33 7 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
1306 2476 N M 620 0 - 0 0 0 sco K ;
N 1305.500 2455.500 19.500 178.531 85.815 An
0 0 0 sco K : 0 0 2454 3191 rc
1286 2224 N M 0 232 - 0 0 0 sco K ; : 1179 2481 918 23 rc : 1.000 1.000 1.000 sco 1233 2481 140 23 rf ; 0 0 0 sco F0_20
Ji
1233 2481 M
-0.192 0 (bug_id = bug_id)A
;
1826 2476 N M -33 8 - 0 -15 - 33 7 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
1693 2787 N M 140 0 - 0 0 0 sco K ;
N 1692.500 2766.500 19.500 178.531 85.815 An
0 0 0 sco K : 0 0 2454 3191 rc
1673 2652 N M 0 115 - 0 0 0 sco K ;
N 1652.500 2651.500 19.500 1.397 -91.469 An
0 0 0 sco K : 0 0 2454 3191 rc
1487 2632 N M 166 0 - 0 0 0 sco K ; : 1549 2697 905 23 rc : 1.000 1.000 1.000 sco 1603 2697 140 23 rf ; 0 0 0 sco F0_20
Ji
1603 2697 M
-0.192 0 (bug_id = bug_id)A
;
1826 2787 N M -33 7 - 0 -15 - 33 8 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
1953 2954 N M -880 0 - 0 0 0 sco K ; : 1321 2964 918 23 rc : 1.000 1.000 1.000 sco 1375 2964 140 23 rf ; 0 0 0 sco F0_20
Ji
1375 2964 M
-0.192 0 (bug_id = bug_id)A
;
1826 2954 N M -33 8 - 0 -15 - 33 7 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
326 2275 N M 314 0 - 0 0 0 sco K ;
N 325.500 2254.500 19.500 178.531 85.815 An
0 0 0 sco K : 0 0 2454 3191 rc
306 1933 N M 0 322 - 0 0 0 sco K ; : 204 2280 918 23 rc : 1.000 1.000 1.000 sco 258 2280 130 23 rf ; 0 0 0 sco F0_20
Ji
258 2280 M
-0.115 0 (userid = userid)A
;
426 2275 N M -33 7 - -1 -15 - 34 8 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
224 2919 N M 0 -905 - 0 0 0 sco K ; : 107 2409 1026 23 rc : 1.000 1.000 1.000 sco 161 2409 126 23 rf ; 0 0 0 sco F0_20
Ji
161 2409 M
-0.075 0 (fieldid = fieldid)A
;
224 2819 N M -7 -34 - 15 0 - -8 34 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
360 2910 N M 573 0 - 0 0 0 sco K ; : 555 2920 1026 23 rc : 1.000 1.000 1.000 sco 609 2920 126 23 rf ; 0 0 0 sco F0_20
Ji
609 2920 M
-0.075 0 (fieldid = fieldid)A
;
542 2910 N M 34 -8 - 0 16 - -34 -8 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
2070 2339 N M 0 -475 - 0 0 0 sco K ; : 1946 2044 508 23 rc : 1.000 1.000 1.000 sco 2000 2044 140 23 rf ; 0 0 0 sco F0_20
Ji
2000 2044 M
-0.192 0 (bug_id = bug_id)A
;
2070 2227 N M -7 -33 - 15 0 - -8 33 - C : 0 0 0 sco O ; 0 0 0 sco K : 0 0 2454 3191 rc
1726 2297 N M 372 0 - 0 0 0 sco K ;
N 1725.500 2276.500 19.500 178.531 85.815 An
0 0 0 sco K : 0 0 2454 3191 rc
1706 1859 N M 0 418 - 0 0 0 sco K ;
N 1685.500 1858.500 19.500 1.397 -91.469 An
0 0 0 sco K : 0 0 2454 3191 rc
1537 1839 N M 149 0 - 0 0 0 sco K ; : 1582 2056 872 23 rc : 1.000 1.000 1.000 sco 1636 2056 140 23 rf ; 0 0 0 sco F0_20
Ji
1636 2056 M
-0.192 0 (bug_id = bug_id)A
;
1826 2297 N M -33 8 - 0 -15 - 33 7 - C : 0 0 0 sco O ; 0 0 0 sco K
174 1137 N M 416 206 rr : 1.000 1.000 1.000 sco O ; 0 Lc 0 Lj 0 0 0 sco K : 235 1142 345 32 rc 0 0 0 sco (F0_27) cvn
F0
27
xF
F0_27
Ji
308 1142 M
0.093 0 (components)A
; : 0 0 2454 3191 rc
174 1177 N M 416 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 184 1180 196 32 rc 0 0 0 sco F0_27
Ji
184 1180 M
-0.106 0 (value)A
; : 400 1180 190 32 rc 0 0 0 sco F0_27
Ji
400 1180 M
0.058 0 (tinytext)A
; : 184 1213 196 32 rc 0 0 0 sco F0_27
Ji
184 1213 M
-0.074 0 (program)A
; : 400 1213 190 32 rc 0 0 0 sco F0_27
Ji
400 1213 M
-0.001 0 (VARCHAR\(64\))A
; : 184 1246 196 32 rc 0 0 0 sco F0_27
Ji
184 1246 M
-0.002 0 (initialowner)A
; : 400 1246 190 32 rc 0 0 0 sco F0_27
Ji
400 1246 M
0.058 0 (tinytext)A
; : 184 1279 196 32 rc 0 0 0 sco F0_27
Ji
184 1279 M
0.151 0 (initialqacontact)A
; : 400 1279 190 32 rc 0 0 0 sco F0_27
Ji
400 1279 M
0.058 0 (tinytext)A
; : 184 1312 196 29 rc 0 0 0 sco F0_27
Ji
184 1312 M
0.132 0 (description)A
; : 400 1312 190 29 rc 0 0 0 sco F0_27
Ji
400 1312 M
-0.154 0 (mediumtext)A
;
643 1054 N M 320 143 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 665 1059 288 32 rc 0 0 0 sco F0_27
Ji
738 1059 M
0.097 0 (milestones)A
; : 0 0 2454 3191 rc
643 1094 N M 320 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 653 1097 100 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
653 1097 M
-0.106 0 (value)A
-64 sU
; : 773 1097 190 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
773 1097 M
-0.001 0 (VARCHAR\(20\))A
-180 sU
; : 653 1130 100 32 rc 0 0 0 sco F0_27
Ji
653 1130 M
0.136 0 (product)A
; : 773 1130 190 32 rc 0 0 0 sco F0_27
Ji
773 1130 M
-0.001 0 (VARCHAR\(64\))A
; : 653 1163 100 31 rc 0 0 0 sco F0_27
Ji
653 1163 M
0.283 0 (sortkey)A
; : 773 1163 190 31 rc 0 0 0 sco F0_27
Ji
773 1163 M
0.046 0 (smallint\(6\))A
;
1742 1001 N M 432 303 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 1832 1006 332 32 rc 0 0 0 sco F0_27
Ji
1905 1006 M
0.182 0 (products)A
; : 0 0 2454 3191 rc
1742 1042 N M 432 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 1752 1044 212 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
1752 1044 M
0.136 0 (product)A
-91 sU
; : 1984 1044 190 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
1984 1044 M
-0.001 0 (VARCHAR\(64\))A
-180 sU
; : 1752 1077 212 32 rc 0 0 0 sco F0_27
Ji
1752 1077 M
0.132 0 (description)A
; : 1984 1077 190 32 rc 0 0 0 sco F0_27
Ji
1984 1077 M
-0.154 0 (mediumtext)A
; : 1752 1110 212 32 rc 0 0 0 sco F0_27
Ji
1752 1110 M
0.039 0 (milestoneurl)A
; : 1984 1110 190 32 rc 0 0 0 sco F0_27
Ji
1984 1110 M
0.058 0 (tinytext)A
; : 1752 1143 212 32 rc 0 0 0 sco F0_27
Ji
1752 1143 M
-0.048 0 (disallownew)A
; : 1984 1143 190 32 rc 0 0 0 sco F0_27
Ji
1984 1143 M
0.148 0 (tinyint\(4\))A
; : 1752 1176 212 32 rc 0 0 0 sco F0_27
Ji
1752 1176 M
0.078 0 (votesperuser)A
; : 1984 1176 190 32 rc 0 0 0 sco F0_27
Ji
1984 1176 M
0.046 0 (smallint\(6\))A
; : 1752 1209 212 32 rc 0 0 0 sco F0_27
Ji
1752 1209 M
-0.113 0 (maxvotesperbug)A
; : 1984 1209 190 32 rc 0 0 0 sco F0_27
Ji
1984 1209 M
0.046 0 (smallint\(6\))A
; : 1752 1242 212 32 rc 0 0 0 sco F0_27
Ji
1752 1242 M
0.032 0 (votestoconfirm)A
; : 1984 1242 190 32 rc 0 0 0 sco F0_27
Ji
1984 1242 M
0.046 0 (smallint\(6\))A
; : 1752 1275 212 27 rc 0 0 0 sco F0_27
Ji
1752 1275 M
0.026 0 (defaultmilestone)A
; : 1984 1275 190 27 rc 0 0 0 sco F0_27
Ji
1984 1275 M
-0.001 0 (VARCHAR\(20\))A
;
1052 964 N M 328 116 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 1092 969 278 32 rc 0 0 0 sco F0_27
Ji
1165 969 M
0.060 0 (versions)A
; : 0 0 2454 3191 rc
1052 1004 N M 328 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 1062 1007 108 32 rc 0 0 0 sco F0_27
Ji
1062 1007 M
-0.106 0 (value)A
; : 1190 1007 190 32 rc 0 0 0 sco F0_27
Ji
1190 1007 M
0.058 0 (tinytext)A
; : 1062 1040 108 32 rc 0 0 0 sco F0_27
Ji
1062 1040 M
-0.074 0 (program)A
; : 1190 1040 190 32 rc 0 0 0 sco F0_27
Ji
1190 1040 M
-0.001 0 (VARCHAR\(64\))A
;
1282 1466 N M 382 207 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 1358 1471 296 32 rc 0 0 0 sco F0_27
Ji
1431 1471 M
0.077 0 (groups)A
; : 0 0 2454 3191 rc
1282 1506 N M 382 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 1292 1509 147 32 rc 0 0 0 sco F0_27
Ji
1292 1509 M
0.163 0 (bit)A
; : 1459 1509 205 32 rc 0 0 0 sco F0_27
Ji
1459 1509 M
0.046 0 (bigint\(20\))A
; : 1292 1542 147 32 rc 0 0 0 sco F0_27
Ji
1292 1542 M
-0.132 0 (name)A
; : 1459 1542 205 32 rc 0 0 0 sco F0_27
Ji
1459 1542 M
-0.002 0 (VARCHAR\(255\))A
; : 1292 1575 147 32 rc 0 0 0 sco F0_27
Ji
1292 1575 M
0.132 0 (description)A
; : 1459 1575 205 32 rc 0 0 0 sco F0_27
Ji
1459 1575 M
-0.131 0 (text)A
; : 1292 1608 147 32 rc 0 0 0 sco F0_27
Ji
1292 1608 M
0.043 0 (isbuggroup)A
; : 1459 1608 205 32 rc 0 0 0 sco F0_27
Ji
1459 1608 M
0.148 0 (tinyint\(4\))A
; : 1292 1641 147 29 rc 0 0 0 sco F0_27
Ji
1292 1641 M
-0.105 0 (userregexp)A
; : 1459 1641 205 29 rc 0 0 0 sco F0_27
Ji
1459 1641 M
0.058 0 (tinytext)A
;
671 1361 N M 426 207 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 736 1366 351 32 rc 0 0 0 sco F0_27
Ji
809 1366 M
0.121 0 (logincookies)A
; : 0 0 2454 3191 rc
671 1401 N M 426 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 681 1404 191 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
681 1404 M
0.162 0 (cookie)A
-79 sU
; : 892 1404 205 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
892 1404 M
-0.043 0 (mediumint\(9\))A
-157 sU
; : 681 1437 191 32 rc 0 0 0 sco F0_27
Ji
681 1437 M
0.080 0 (userid)A
; : 892 1437 205 32 rc 0 0 0 sco F0_27
Ji
892 1437 M
-0.043 0 (mediumint\(9\))A
; : 681 1470 191 32 rc 0 0 0 sco F0_27
Ji
681 1470 M
0.151 0 (cryptpassword)A
; : 892 1470 205 32 rc 0 0 0 sco F0_27
Ji
892 1470 M
-0.001 0 (VARCHAR\(64\))A
; : 681 1503 191 32 rc 0 0 0 sco F0_27
Ji
681 1503 M
0.055 0 (hostname)A
; : 892 1503 205 32 rc 0 0 0 sco F0_27
Ji
892 1503 M
-0.002 0 (VARCHAR\(128\))A
; : 681 1536 191 29 rc 0 0 0 sco F0_27
Ji
681 1536 M
0.182 0 (lastused)A
; : 892 1536 205 29 rc 0 0 0 sco F0_27
Ji
892 1536 M
0.036 0 (timestamp\(14\))A
;
136 1493 N M 382 207 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 168 1498 340 32 rc 0 0 0 sco F0_27
Ji
241 1498 M
-0.006 0 (namedqueries)A
; : 0 0 2454 3191 rc
136 1533 N M 382 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 146 1536 162 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
146 1536 M
0.080 0 (userid)A
-74 sU
; : 328 1536 190 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
328 1536 M
-0.043 0 (mediumint\(9\))A
-157 sU
; : 146 1569 162 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
146 1569 M
-0.132 0 (name)A
-67 sU
; : 328 1569 190 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
328 1569 M
-0.001 0 (VARCHAR\(64\))A
-180 sU
; : 146 1602 162 32 rc 0 0 0 sco F0_27
Ji
146 1602 M
-0.042 0 (watchfordiffs)A
; : 328 1602 190 32 rc 0 0 0 sco F0_27
Ji
328 1602 M
0.148 0 (tinyint\(4\))A
; : 146 1635 162 32 rc 0 0 0 sco F0_27
Ji
146 1635 M
0.038 0 (linkinfooter)A
; : 328 1635 190 32 rc 0 0 0 sco F0_27
Ji
328 1635 M
0.148 0 (tinyint\(4\))A
; : 146 1668 162 29 rc 0 0 0 sco F0_27
Ji
146 1668 M
0.095 0 (query)A
; : 328 1668 190 29 rc 0 0 0 sco F0_27
Ji
328 1668 M
-0.154 0 (mediumtext)A
;
1165 2554 N M 378 335 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 1206 2559 327 32 rc 0 0 0 sco F0_27
Ji
1279 2559 M
0.176 0 (attachments)A
; : 0 0 2454 3191 rc
1165 2595 N M 378 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 1175 2597 165 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
1175 2597 M
0.159 0 (attach_id)A
-111 sU
; : 1360 2597 183 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
1360 2597 M
-0.043 0 (mediumint\(9\))A
-157 sU
; : 1175 2630 165 32 rc 0 0 0 sco F0_27
Ji
1175 2630 M
-0.009 0 (bug_id)A
; : 1360 2630 183 32 rc 0 0 0 sco F0_27
Ji
1360 2630 M
-0.043 0 (mediumint\(9\))A
; : 1175 2663 165 32 rc 0 0 0 sco F0_27
Ji
1175 2663 M
0.177 0 (creation_ts)A
; : 1360 2663 183 32 rc 0 0 0 sco F0_27
Ji
1360 2663 M
0.036 0 (timestamp\(14\))A
; : 1175 2696 165 32 rc 0 0 0 sco F0_27
Ji
1175 2696 M
0.132 0 (description)A
; : 1360 2696 183 32 rc 0 0 0 sco F0_27
Ji
1360 2696 M
-0.154 0 (mediumtext)A
; : 1175 2729 165 32 rc 0 0 0 sco F0_27
Ji
1175 2729 M
-0.002 0 (mimetype)A
; : 1360 2729 183 32 rc 0 0 0 sco F0_27
Ji
1360 2729 M
-0.154 0 (mediumtext)A
; : 1175 2762 165 32 rc 0 0 0 sco F0_27
Ji
1175 2762 M
0.209 0 (ispatch)A
; : 1360 2762 183 32 rc 0 0 0 sco F0_27
Ji
1360 2762 M
0.148 0 (tinyint\(4\))A
; : 1175 2795 165 32 rc 0 0 0 sco F0_27
Ji
1175 2795 M
-0.129 0 (filename)A
; : 1360 2795 183 32 rc 0 0 0 sco F0_27
Ji
1360 2795 M
-0.154 0 (mediumtext)A
; : 1175 2828 165 32 rc 0 0 0 sco F0_27
Ji
1175 2828 M
0.133 0 (thedata)A
; : 1360 2828 183 32 rc 0 0 0 sco F0_27
Ji
1360 2828 M
-0.007 0 (longblob)A
; : 1175 2861 165 26 rc 0 0 0 sco F0_27
Ji
1175 2861 M
0.080 0 (submitter_id)A
; : 1360 2861 183 26 rc 0 0 0 sco F0_27
Ji
1360 2861 M
-0.043 0 (mediumint\(9\))A
;
1826 2227 N M 456 815 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 1951 2232 321 32 rc 0 0 0 sco F0_27
Ji
2024 2232 M
0.116 0 (bugs)A
; : 0 0 2454 3191 rc
1826 2268 N M 456 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 1836 2270 236 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
1836 2270 M
-0.009 0 (bug_id)A
-81 sU
; : 2092 2270 190 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
2092 2270 M
-0.043 0 (mediumint\(9\))A
-157 sU
; : 1836 2303 236 32 rc 0 0 0 sco F0_27
Ji
1836 2303 M
0.118 0 (groupset)A
; : 2092 2303 190 32 rc 0 0 0 sco F0_27
Ji
2092 2303 M
0.046 0 (bigint\(20\))A
; : 1836 2336 236 32 rc 0 0 0 sco F0_27
Ji
1836 2336 M
0.129 0 (assigned_to)A
; : 2092 2336 190 32 rc 0 0 0 sco F0_27
Ji
2092 2336 M
-0.043 0 (mediumint\(9\))A
; : 1836 2369 236 32 rc 0 0 0 sco F0_27
Ji
1836 2369 M
-0.006 0 (bug_file_loc)A
; : 2092 2369 190 32 rc 0 0 0 sco F0_27
Ji
2092 2369 M
-0.131 0 (text)A
; : 1836 2402 236 32 rc 0 0 0 sco F0_27
Ji
1836 2402 M
0.078 0 (bug_severity)A
; : 2092 2402 190 32 rc 0 0 0 sco F0_27
Ji
2092 2402 M
-0.132 0 (enum)A
; : 1836 2435 236 32 rc 0 0 0 sco F0_27
Ji
1836 2435 M
0.192 0 (bug_status)A
; : 2092 2435 190 32 rc 0 0 0 sco F0_27
Ji
2092 2435 M
-0.132 0 (enum)A
; : 1836 2468 236 32 rc 0 0 0 sco F0_27
Ji
1836 2468 M
0.177 0 (creation_ts)A
; : 2092 2468 190 32 rc 0 0 0 sco F0_27
Ji
2092 2468 M
0.057 0 (datetime)A
; : 1836 2501 236 32 rc 0 0 0 sco F0_27
Ji
1836 2501 M
0.181 0 (delta_ts)A
; : 2092 2501 190 32 rc 0 0 0 sco F0_27
Ji
2092 2501 M
0.036 0 (timestamp\(14\))A
; : 1836 2534 236 32 rc 0 0 0 sco F0_27
Ji
1836 2534 M
0.194 0 (short_desc)A
; : 2092 2534 190 32 rc 0 0 0 sco F0_27
Ji
2092 2534 M
-0.154 0 (mediumtext)A
; : 1836 2567 236 32 rc 0 0 0 sco F0_27
Ji
1836 2567 M
0.244 0 (op_sys)A
; : 2092 2567 190 32 rc 0 0 0 sco F0_27
Ji
2092 2567 M
-0.132 0 (enum)A
; : 1836 2600 236 32 rc 0 0 0 sco F0_27
Ji
1836 2600 M
0.125 0 (priority)A
; : 2092 2600 190 32 rc 0 0 0 sco F0_27
Ji
2092 2600 M
-0.132 0 (enum)A
; : 1836 2633 236 32 rc 0 0 0 sco F0_27
Ji
1836 2633 M
0.136 0 (product)A
; : 2092 2633 190 32 rc 0 0 0 sco F0_27
Ji
2092 2633 M
-0.001 0 (VARCHAR\(64\))A
; : 1836 2666 236 32 rc 0 0 0 sco F0_27
Ji
1836 2666 M
-0.046 0 (rep_platform)A
; : 2092 2666 190 32 rc 0 0 0 sco F0_27
Ji
2092 2666 M
-0.132 0 (enum)A
; : 1836 2699 236 32 rc 0 0 0 sco F0_27
Ji
1836 2699 M
0.059 0 (reporter)A
; : 2092 2699 190 32 rc 0 0 0 sco F0_27
Ji
2092 2699 M
-0.043 0 (mediumint\(9\))A
; : 1836 2732 236 32 rc 0 0 0 sco F0_27
Ji
1836 2732 M
-0.003 0 (version)A
; : 2092 2732 190 32 rc 0 0 0 sco F0_27
Ji
2092 2732 M
-0.001 0 (VARCHAR\(16\))A
; : 1836 2765 236 32 rc 0 0 0 sco F0_27
Ji
1836 2765 M
0.048 0 (component)A
; : 2092 2765 190 32 rc 0 0 0 sco F0_27
Ji
2092 2765 M
-0.001 0 (VARCHAR\(50\))A
; : 1836 2798 236 32 rc 0 0 0 sco F0_27
Ji
1836 2798 M
0.096 0 (resolution)A
; : 2092 2798 190 32 rc 0 0 0 sco F0_27
Ji
2092 2798 M
-0.132 0 (enum)A
; : 1836 2831 236 32 rc 0 0 0 sco F0_27
Ji
1836 2831 M
0.089 0 (target_milestone)A
; : 2092 2831 190 32 rc 0 0 0 sco F0_27
Ji
2092 2831 M
-0.001 0 (VARCHAR\(20\))A
; : 1836 2864 236 32 rc 0 0 0 sco F0_27
Ji
1836 2864 M
0.192 0 (qa_contact)A
; : 2092 2864 190 32 rc 0 0 0 sco F0_27
Ji
2092 2864 M
-0.043 0 (mediumint\(9\))A
; : 1836 2897 236 32 rc 0 0 0 sco F0_27
Ji
1836 2897 M
0.111 0 (status_whiteboard)A
; : 2092 2897 190 32 rc 0 0 0 sco F0_27
Ji
2092 2897 M
-0.154 0 (mediumtext)A
; : 1836 2930 236 32 rc 0 0 0 sco F0_27
Ji
1836 2930 M
0.094 0 (votes)A
; : 2092 2930 190 32 rc 0 0 0 sco F0_27
Ji
2092 2930 M
-0.043 0 (mediumint\(9\))A
; : 1836 2963 236 32 rc 0 0 0 sco F0_27
Ji
1836 2963 M
0.122 0 (keywords)A
; : 2092 2963 190 32 rc 0 0 0 sco F0_27
Ji
2092 2963 M
-0.154 0 (mediumtext)A
; : 1836 2996 236 32 rc 0 0 0 sco F0_27
Ji
1836 2996 M
-0.005 0 (lastdiffed)A
; : 2092 2996 190 32 rc 0 0 0 sco F0_27
Ji
2092 2996 M
0.057 0 (datetime)A
; : 1836 3029 236 11 rc 0 0 0 sco F0_27
Ji
1836 3029 M
-0.080 0 (everconfirmed)A
; : 2092 3029 190 11 rc 0 0 0 sco F0_27
Ji
2092 3029 M
0.148 0 (tinyint\(4\))A
;
768 2778 N M 330 239 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 781 2783 307 32 rc 0 0 0 sco F0_27
Ji
854 2783 M
0.149 0 (bugs_activity)A
; : 0 0 2454 3191 rc
768 2819 N M 330 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 778 2821 133 32 rc 0 0 0 sco F0_27
Ji
778 2821 M
-0.009 0 (bug_id)A
; : 931 2821 167 32 rc 0 0 0 sco F0_27
Ji
931 2821 M
-0.043 0 (mediumint\(9\))A
; : 778 2854 133 32 rc 0 0 0 sco F0_27
Ji
778 2854 M
-0.173 0 (who)A
; : 931 2854 167 32 rc 0 0 0 sco F0_27
Ji
931 2854 M
-0.043 0 (mediumint\(9\))A
; : 778 2887 133 32 rc 0 0 0 sco F0_27
Ji
778 2887 M
-0.072 0 (bug_when)A
; : 931 2887 167 32 rc 0 0 0 sco F0_27
Ji
931 2887 M
0.057 0 (datetime)A
; : 778 2920 133 32 rc 0 0 0 sco F0_27
Ji
778 2920 M
-0.075 0 (fieldid)A
; : 931 2920 167 32 rc 0 0 0 sco F0_27
Ji
931 2920 M
-0.043 0 (mediumint\(9\))A
; : 778 2953 133 32 rc 0 0 0 sco F0_27
Ji
778 2953 M
-0.069 0 (oldvalue)A
; : 931 2953 167 32 rc 0 0 0 sco F0_27
Ji
931 2953 M
0.058 0 (tinytext)A
; : 778 2986 133 29 rc 0 0 0 sco F0_27
Ji
778 2986 M
-0.131 0 (newvalue)A
; : 931 2986 167 29 rc 0 0 0 sco F0_27
Ji
931 2986 M
0.058 0 (tinytext)A
;
1370 1784 N M 286 116 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 1426 1789 220 32 rc 0 0 0 sco F0_27
Ji
1499 1789 M
0.500 0 (cc)A
; : 0 0 2454 3191 rc
1370 1825 N M 286 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 1380 1827 89 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
1380 1827 M
-0.009 0 (bug_id)A
-81 sU
; : 1489 1827 167 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
1489 1827 M
-0.043 0 (mediumint\(9\))A
-157 sU
; : 1380 1860 89 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
1380 1860 M
-0.173 0 (who)A
-49 sU
; : 1489 1860 167 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
1489 1860 M
-0.043 0 (mediumint\(9\))A
-157 sU
;
178 2819 N M 364 207 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 237 2824 295 32 rc 0 0 0 sco F0_27
Ji
310 2824 M
-0.061 0 (fielddefs)A
; : 0 0 2454 3191 rc
178 2859 N M 364 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 188 2862 144 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
188 2862 M
-0.075 0 (fieldid)A
-70 sU
; : 352 2862 190 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
352 2862 M
-0.043 0 (mediumint\(9\))A
-157 sU
; : 188 2895 144 32 rc 0 0 0 sco F0_27
Ji
188 2895 M
-0.132 0 (name)A
; : 352 2895 190 32 rc 0 0 0 sco F0_27
Ji
352 2895 M
-0.001 0 (VARCHAR\(64\))A
; : 188 2928 144 32 rc 0 0 0 sco F0_27
Ji
188 2928 M
0.132 0 (description)A
; : 352 2928 190 32 rc 0 0 0 sco F0_27
Ji
352 2928 M
-0.154 0 (mediumtext)A
; : 188 2961 144 32 rc 0 0 0 sco F0_27
Ji
188 2961 M
-0.067 0 (mailhead)A
; : 352 2961 190 32 rc 0 0 0 sco F0_27
Ji
352 2961 M
0.148 0 (tinyint\(4\))A
; : 188 2994 144 29 rc 0 0 0 sco F0_27
Ji
188 2994 M
0.283 0 (sortkey)A
; : 352 2994 190 29 rc 0 0 0 sco F0_27
Ji
352 2994 M
0.046 0 (smallint\(6\))A
;
1954 1803 N M 330 116 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 1988 1808 286 32 rc 0 0 0 sco F0_27
Ji
2061 1808 M
0.122 0 (keywords)A
; : 0 0 2454 3191 rc
1954 1843 N M 330 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 1964 1846 133 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
1964 1846 M
-0.009 0 (bug_id)A
-81 sU
; : 2117 1846 167 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
2117 1846 M
-0.043 0 (mediumint\(9\))A
-157 sU
; : 1964 1879 133 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
1964 1879 M
0.053 0 (keywordid)A
-122 sU
; : 2117 1879 167 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
2117 1879 M
0.046 0 (smallint\(6\))A
-125 sU
;
1104 2179 N M 330 175 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 1134 2184 290 32 rc 0 0 0 sco F0_27
Ji
1207 2184 M
0.161 0 (longdescs)A
; : 0 0 2454 3191 rc
1104 2220 N M 330 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 1114 2222 133 32 rc 0 0 0 sco F0_27
Ji
1114 2222 M
-0.009 0 (bug_id)A
; : 1267 2222 167 32 rc 0 0 0 sco F0_27
Ji
1267 2222 M
-0.043 0 (mediumint\(9\))A
; : 1114 2255 133 32 rc 0 0 0 sco F0_27
Ji
1114 2255 M
-0.173 0 (who)A
; : 1267 2255 167 32 rc 0 0 0 sco F0_27
Ji
1267 2255 M
-0.043 0 (mediumint\(9\))A
; : 1114 2288 133 32 rc 0 0 0 sco F0_27
Ji
1114 2288 M
-0.072 0 (bug_when)A
; : 1267 2288 167 32 rc 0 0 0 sco F0_27
Ji
1267 2288 M
0.057 0 (datetime)A
; : 1114 2321 133 31 rc 0 0 0 sco F0_27
Ji
1114 2321 M
-0.008 0 (thetext)A
; : 1267 2321 167 31 rc 0 0 0 sco F0_27
Ji
1267 2321 M
-0.154 0 (mediumtext)A
;
426 2221 N M 446 399 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 532 2226 330 32 rc 0 0 0 sco F0_27
Ji
605 2226 M
-0.003 0 (profiles)A
; : 0 0 2454 3191 rc
426 2262 N M 446 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 436 2264 211 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
436 2264 M
0.080 0 (userid)A
-74 sU
; : 667 2264 205 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
667 2264 M
-0.043 0 (mediumint\(9\))A
-157 sU
; : 436 2297 211 32 rc 0 0 0 sco F0_27
Ji
436 2297 M
-0.056 0 (login_name)A
; : 667 2297 205 32 rc 0 0 0 sco F0_27
Ji
667 2297 M
-0.002 0 (VARCHAR\(255\))A
; : 436 2330 211 32 rc 0 0 0 sco F0_27
Ji
436 2330 M
0.058 0 (password)A
; : 667 2330 205 32 rc 0 0 0 sco F0_27
Ji
667 2330 M
-0.001 0 (VARCHAR\(16\))A
; : 436 2363 211 32 rc 0 0 0 sco F0_27
Ji
436 2363 M
0.151 0 (cryptpassword)A
; : 667 2363 205 32 rc 0 0 0 sco F0_27
Ji
667 2363 M
-0.001 0 (VARCHAR\(64\))A
; : 436 2396 211 32 rc 0 0 0 sco F0_27
Ji
436 2396 M
-0.067 0 (realname)A
; : 667 2396 205 32 rc 0 0 0 sco F0_27
Ji
667 2396 M
-0.002 0 (VARCHAR\(255\))A
; : 436 2429 211 32 rc 0 0 0 sco F0_27
Ji
436 2429 M
0.118 0 (groupset)A
; : 667 2429 205 32 rc 0 0 0 sco F0_27
Ji
667 2429 M
0.046 0 (bigint\(20\))A
; : 436 2462 211 32 rc 0 0 0 sco F0_27
Ji
436 2462 M
0.026 0 (emailnotification)A
; : 667 2462 205 32 rc 0 0 0 sco F0_27
Ji
667 2462 M
-0.132 0 (enum)A
; : 436 2495 211 32 rc 0 0 0 sco F0_27
Ji
436 2495 M
-0.006 0 (disabledtext)A
; : 667 2495 205 32 rc 0 0 0 sco F0_27
Ji
667 2495 M
-0.154 0 (mediumtext)A
; : 436 2528 211 32 rc 0 0 0 sco F0_27
Ji
436 2528 M
-0.004 0 (newemailtech)A
; : 667 2528 205 32 rc 0 0 0 sco F0_27
Ji
667 2528 M
0.148 0 (tinyint\(4\))A
; : 436 2561 211 32 rc 0 0 0 sco F0_27
Ji
436 2561 M
0.097 0 (mybugslink)A
; : 667 2561 205 32 rc 0 0 0 sco F0_27
Ji
667 2561 M
0.148 0 (tinyint\(4\))A
; : 436 2594 211 24 rc 0 0 0 sco F0_27
Ji
436 2594 M
0.148 0 (blessgroupset)A
; : 667 2594 205 24 rc 0 0 0 sco F0_27
Ji
667 2594 M
0.046 0 (bigint\(20\))A
;
150 1818 N M 374 239 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 171 1823 343 32 rc 0 0 0 sco F0_27
Ji
244 1823 M
0.086 0 (profiles_activity)A
; : 0 0 2454 3191 rc
150 1858 N M 374 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 160 1861 177 32 rc 0 0 0 sco F0_27
Ji
160 1861 M
0.080 0 (userid)A
; : 357 1861 167 32 rc 0 0 0 sco F0_27
Ji
357 1861 M
-0.043 0 (mediumint\(9\))A
; : 160 1894 177 32 rc 0 0 0 sco F0_27
Ji
160 1894 M
-0.173 0 (who)A
; : 357 1894 167 32 rc 0 0 0 sco F0_27
Ji
357 1894 M
-0.043 0 (mediumint\(9\))A
; : 160 1927 177 32 rc 0 0 0 sco F0_27
Ji
160 1927 M
-0.043 0 (profiles_when)A
; : 357 1927 167 32 rc 0 0 0 sco F0_27
Ji
357 1927 M
0.057 0 (datetime)A
; : 160 1960 177 32 rc 0 0 0 sco F0_27
Ji
160 1960 M
-0.075 0 (fieldid)A
; : 357 1960 167 32 rc 0 0 0 sco F0_27
Ji
357 1960 M
-0.043 0 (mediumint\(9\))A
; : 160 1993 177 32 rc 0 0 0 sco F0_27
Ji
160 1993 M
-0.069 0 (oldvalue)A
; : 357 1993 167 32 rc 0 0 0 sco F0_27
Ji
357 1993 M
0.058 0 (tinytext)A
; : 160 2026 177 28 rc 0 0 0 sco F0_27
Ji
160 2026 M
-0.131 0 (newvalue)A
; : 357 2026 167 28 rc 0 0 0 sco F0_27
Ji
357 2026 M
0.058 0 (tinytext)A
;
1289 1975 N M 286 143 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 1326 1980 239 32 rc 0 0 0 sco F0_27
Ji
1399 1980 M
0.094 0 (votes)A
; : 0 0 2454 3191 rc
1289 2016 N M 286 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 1299 2018 89 32 rc 0 0 0 sco F0_27
Ji
1299 2018 M
-0.173 0 (who)A
; : 1408 2018 167 32 rc 0 0 0 sco F0_27
Ji
1408 2018 M
-0.043 0 (mediumint\(9\))A
; : 1299 2051 89 32 rc 0 0 0 sco F0_27
Ji
1299 2051 M
-0.009 0 (bug_id)A
; : 1408 2051 167 32 rc 0 0 0 sco F0_27
Ji
1408 2051 M
-0.043 0 (mediumint\(9\))A
; : 1299 2084 89 32 rc 0 0 0 sco F0_27
Ji
1299 2084 M
0.192 0 (count)A
; : 1408 2084 167 32 rc 0 0 0 sco F0_27
Ji
1408 2084 M
0.046 0 (smallint\(6\))A
;
1914 755 N M 342 116 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 1927 760 319 32 rc 0 0 0 sco F0_27
Ji
2000 760 M
0.075 0 (dependencies)A
; : 0 0 2454 3191 rc
1914 796 N M 342 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 1924 798 145 32 rc 0 0 0 sco F0_27
Ji
1924 798 M
0.137 0 (blocked)A
; : 2089 798 167 32 rc 0 0 0 sco F0_27
Ji
2089 798 M
-0.043 0 (mediumint\(9\))A
; : 1924 831 145 32 rc 0 0 0 sco F0_27
Ji
1924 831 M
0.045 0 (dependson)A
; : 2089 831 167 32 rc 0 0 0 sco F0_27
Ji
2089 831 M
-0.043 0 (mediumint\(9\))A
;
1548 755 N M 302 116 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 1564 760 276 32 rc 0 0 0 sco F0_27
Ji
1637 760 M
0.145 0 (duplicates)A
; : 0 0 2454 3191 rc
1548 796 N M 302 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 1558 798 105 32 rc 0 0 0 sco F0_27
Ji
1558 798 M
-0.083 0 (dupe_of)A
; : 1683 798 167 32 rc 0 0 0 sco F0_27
Ji
1683 798 M
-0.043 0 (mediumint\(9\))A
; : 1558 831 105 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
1558 831 M
-0.012 0 (dupe)A
-60 sU
; : 1683 831 167 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
1683 831 M
-0.043 0 (mediumint\(9\))A
-157 sU
;
1058 728 N M 364 143 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 1091 733 321 32 rc 0 0 0 sco F0_27
Ji
1164 733 M
0.041 0 (keyworddefs)A
; : 0 0 2454 3191 rc
1058 769 N M 364 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 1068 771 144 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
1068 771 M
-0.003 0 (id)A
-21 sU
; : 1232 771 190 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
1232 771 M
0.046 0 (smallint\(6\))A
-125 sU
; : 1068 804 144 32 rc 0 0 0 sco F0_27
Ji
1068 804 M
-0.132 0 (name)A
; : 1232 804 190 32 rc 0 0 0 sco F0_27
Ji
1232 804 M
-0.001 0 (VARCHAR\(64\))A
; : 1068 837 144 32 rc 0 0 0 sco F0_27
Ji
1068 837 M
0.132 0 (description)A
; : 1232 837 190 32 rc 0 0 0 sco F0_27
Ji
1232 837 M
-0.154 0 (mediumtext)A
;
170 696 N M 346 175 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 205 701 301 32 rc 0 0 0 sco F0_27
Ji
278 701 M
-0.007 0 (shadowlog)A
; : 0 0 2454 3191 rc
170 737 N M 346 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 180 739 133 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
180 739 M
-0.003 0 (id)A
-21 sU
; : 333 739 183 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
333 739 M
0.069 0 (int\(11\))A
-77 sU
; : 180 772 133 32 rc 0 0 0 sco F0_27
Ji
180 772 M
0.497 0 (ts)A
; : 333 772 183 32 rc 0 0 0 sco F0_27
Ji
333 772 M
0.036 0 (timestamp\(14\))A
; : 180 805 133 32 rc 0 0 0 sco F0_27
Ji
180 805 M
0.051 0 (reflected)A
; : 333 805 183 32 rc 0 0 0 sco F0_27
Ji
333 805 M
0.148 0 (tinyint\(4\))A
; : 180 838 133 31 rc 0 0 0 sco F0_27
Ji
180 838 M
-0.076 0 (command)A
; : 333 838 183 31 rc 0 0 0 sco F0_27
Ji
333 838 M
-0.154 0 (mediumtext)A
;
646 755 N M 308 116 rr : 1.000 1.000 1.000 sco O ; 0 0 0 sco K : 691 760 253 32 rc 0 0 0 sco F0_27
Ji
764 760 M
0.095 0 (watch)A
; : 0 0 2454 3191 rc
646 796 N M 308 0 - 1 Lc 1 Lj 0 0 0 sco K ; : 656 798 111 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
656 798 M
0.068 0 (watcher)A
-95 sU
; : 787 798 167 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
787 798 M
-0.043 0 (mediumint\(9\))A
-157 sU
; : 656 831 111 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
656 831 M
0.065 0 (watched)A
-101 sU
; : 787 831 167 32 rc 0 0 0 sco F0_27
Ji
0 29 1 sSU
787 831 M
-0.043 0 (mediumint\(9\))A
-157 sU
; : 0 0 2454 3191 rc
780 2186 N M -3 -403 - 459 -177 - 1 Lc 1 Lj [ 37 25 ] setdsh : 1.000 1.000 1.000 sco solid K ; 0 0 0 sco K ; : 0 0 2454 3191 rc
1686 1620 N M 160 243 - 0 331 - 1 Lc 1 Lj [ 37 25 ] setdsh : 1.000 1.000 1.000 sco solid K ; 0 0 0 sco K ;
LH
pagesave restore
(%%[ Page: 1 ]%%) =
%%PageTrailer
%%Trailer
%%DocumentNeededFonts: Helvetica
%%DocumentSuppliedFonts:
Pscript_Win_Driver_Incr dup /terminate get exec
savelevel0 restore
%%Pages: 1
(%%[ LastPage ]%%) =
%%EOF
%-12345X@PJL EOJ
%-12345X
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -3,326 +3,30 @@ ...@@ -3,326 +3,30 @@
<chapter id="future"> <chapter id="future">
<title>The Future of Bugzilla</title> <title>The Future of Bugzilla</title>
<synopsis>Bugzilla's Future. Much of this is the present, now.</synopsis> <synopsis>Bugzilla's Future. Much of this is the present, now.</synopsis>
<section id="spamlite"> <para>The future of Bugzilla is Bugzilla 3.0. Unfortunately, I do
<title>Reducing Spam</title> not have more information about it right now, and most of what
<para><literallayout> went into the "future" section is now present. That stuff was
Those who use Bugzilla frequently are probably used to notification spam blue-sky a year ago; MattyT should have me a new document
- unwanted or unnecessary notifications. A number of proposals have sometime...</para>
been put forward to attempt to reduce this.
1. Reduce CC Spam
Some of you probably know me as that guy who CCs on heaps and heaps of
bugs. Just as you get a lot of CC changes from me, so do I get a lot
from others. Why should CC changes send out email notifications?
It's not necessarily the best idea to just remove the CC spam, there are
other issues too, like the difficulty of adding to large CC fields.
For these reasons and more, an RFE for a per user "BCC" facility exists
that people could use to silently and privately track bugs, in a similar
way to voting today, but applying to an unlimited number of bugs. See
"http://bugzilla.mozilla.org/show_bug.cgi?id=7345".
2. Bulk Changes
You know the drill - a large milestone change, a component movement,
whatever, and lots of notifications are generated. If there's enough
maybe you'll just go delete, delete, delete, whoops, there goes another
notification that wasn't from the bulk change you missed.
Shouldn't bulk changes send out one notification? A proposal for this
is at "http://bugzilla.mozilla.org/show_bug.cgi?id=26943".
3. Configurable Notification Criteria
It would be good if you could choose what you want to receive. There
are two parts to this.
(a) Choose a selection of bugs you're interested in. This would be
similar to CC except you let the set be computed from selection criteria
rather than limited to the bugs your name is on. There is currently a
limited version of this in the bugzilla preferences, ie "all qualifying
bugs"/"all qualifying bugs except the ones I change"/"only those bugs
which I am listed on the cc line".
(b) Choose what changes will trigger a notification for the bugs you are
watching. With this, you could choose whether you want to receive cc,
dependency and keyword changes, for example.
Both of these proposals live at
"http://bugzilla.mozilla.org/show_bug.cgi?id=14137".
Note that they also live at
"http://bugzilla.mozilla.org/show_bug.cgi?id=17464", and the change
has been checked in. This is fixed with Bugzilla 2.12 and is no longer
an issue. Woo-Hoo!
</literallayout></para>
</section>
<section id="searching">
<title>Better Searching</title>
<para><literallayout>
Current searching tools in Bugzilla include the querying mechanism,
special summary reports and dependency trees. This message is about new
facilities.
1. General Summary Reports
For some time now it has been apparent to me that the query bug list
leaves a little to be desired in its linear nature. There is a need to
have categorised subsets, and counts of each category. If you don't
believe me, how about these facilities already in place or which people
have asked for:
Most Doomed Reports - Categorised On Assignee, Shows and Counts Number
of Bugs For Each Assignee
Bug #15806 (Most Voted For Bugs) - Categorised On Product, Shows Bugs
Voters Most Want Fixed
Bug #9789 (BugAThon Tracking Page) - Categorised On Developer (Subset),
Counts Number of Bugs
Bug #9409 and #9411 - The desire to be able to report on more subsets.
Hopefully you can see the gist of what is desired here. It's a general
reporting mechanism.
This mechanism lets you choose the subset of bugs to operate on (like
query), let's you categorise them, possibly along with subcategories and
counts the number of bugs within each category. It might or might not
show the actual bugs themselves, and it might limit the number of bugs
within a category, or categories to report on.
I'm further sure that many applications of this mechanism would only be
recognised once it was implemented.
The general summary reports bug is at
"http://bugzilla.mozilla.org/show_bug.cgi?id=12282".
2. Related Bugs
It would be nice to have a field where you could enter other bugs
related to the current bug - it would be handy for navigation and
possibly even finding duplicates. See
"http://bugzilla.mozilla.org/show_bug.cgi?id=12286".
3. Column Specification Support
Currently query seems to get what columns to report on from whatever the
user last used. This doesn't work well for "prepackaged queries", where
you followed a link. You can probably add a column by specifying a sort
column, but this is difficult and suboptimal.
Furthermore, I find that when I want to add a column to a query, it's
usually a one off and I would prefer it to go away for the next query.
Hence, it would be nice to specify the columns that appear on the query
(and general summary report) pages. The default query mechanism should
be able to let you specify your default columns.
This proposal lives at
"http://bugzilla.mozilla.org/show_bug.cgi?id=12284".
</literallayout></para>
</section>
<section id="trackingbugs">
<title>Description Flags and Tracking Bugs</title>
<para><literallayout>
Since I last posted on this issue, we now have "keywords" that solve
many of the issues of description and status whiteboard keywords. We
have seen a migration towards keywords, but there is still further to
go.
Description ( + Status Whiteboard ) Keywords
--------------------------------------------
Some description keywords remain. I'd like to hear what reasons, other
than time, there are for these staying as they are. I'm suspecting many
are not really being used. Hopefully we can totally remove these
eventually.
Tracking Bugs
-------------
When I suggested keywords, I did so to get rid of tracking bugs too,
though we've had less success on that front.
There are many disadvantages to tracking bugs.
- They can pollute bugs counts, and you must make sure you exclude
them. I believe the meta keyword might be used for this purpose.
- They have an assignee but there is nothing to fix, and that person can
get whined at by Bugzilla.
- It would be better to craft your own "dependency tree" rather than
rely on a fixed hierachy in the bug system.
- In creating a nice little hierachy, many bugs duplicate information
that should be available in other ways, eg
"http://bugzilla.mozilla.org/show_bug.cgi?id=12833" which is
about beta 1 networking issues. These could fall behind the actual
data. What tracking bugs are good for, ad hoc lists, is what keywords
are better for.
- An automatically generated dependency structure between one "tracking
bug" and another would be better than a manual one, since it gives exact
rather than manually set up classifications.
Probably the only feature preventing tracking bugs being replaced is the
dependency tree. The quintessential tracking bug seems to be bug #7229
"chofmann's watch list", which probably has about a couple of hundred
bugs at various levels, which allows a nice visualisation.
Before keywords can replace tracking bugs better visualisation is going
to be required. General summary reports and dependency forests of a bug
list ("http://bugzilla.mozilla.org/show_bug.cgi?id=12992") could both
help, but neither solves the problem totally. Perhaps keywords within
keywords would help here. In any case, I'm still thinking about this
one.
Some tracking bugs could definitely be turned into keywords immediately
though, and I'll point the finger at
"http://bugzilla.mozilla.org/show_bug.cgi?id=7954" here since that's
what came to mind first.
</literallayout></para>
</section>
<section id="bugprobs">
<title>Bug Issues</title>
<para><literallayout>
1. Inline Bug Changes
Why do I see so many "moving to M5" and "reassigning to blahblah"
messages, and in other circumstances none are entered? Why aren't these
automatically generated? A comment should be only necessary when there
is something to add, and if I'm not interested in this sort of
information, I should be able to hide it.
At the moment we're in a hybrid world where we don't get everything, but
we can't get rid of the bug change "messages" either. Furthermore,
"View Bug Activity" requires me to manually cross reference events on
another page, rather than being able to visually see the chronological
order. Shouldn't I be able to see all the information on one page?
A proposal to allow bugs to be shown either way is at
"http://bugzilla.mozilla.org/show_bug.cgi?id=11368".
2. Hard Wrapping Comments
One thing that annoys me is the fact that comments are "hard wrapped" to
a certain column width. This is a mistake Internet Mail and News has
made, unlike every word processor in existence, and as a consequence,
Usenet suffers to this day from bad software. Why has Bugzilla repeated
the problem?
Hard wrapping to a certain column width is open to abuse (see old
Mozilla browsers that didn't wrap properly, resulting in many ugly bug
reports we have to read to this day), and furthermore doesn't expand to
fill greater screen sizes. I'm also under the impression the current
hard wrap uses a non-standard HTML facility. See
"http://bugzilla.mozilla.org/show_bug.cgi?id=11901".
3. REMIND and LATER Are Evil
I really hate REMIND and LATER. Not because they mean something
won't be implemented, but because they aren't the best solutions.
Why are they bad? Well, basically because they are not resolved, yet
they are marked as such. Hence queries have to be well crafted to
include them.
LATER, according to Bugzilla, means it won't be done this release.
There is a better mechanism of doing this, that is assigning to
nobody@mozilla.org and making the milestone blank. It's more likely to
appear in a casual query, and it doesn't resolve the bug.
REMIND, according to Bugzilla, means it might still be implemented this
release. Well, why not just move it to a later milestone then? You're
a lot less likely to forget it. If it's really needed, a keyword would
be better.
Some people can't use blank milestones to mean an untargetted milestone,
since they use this to assess new bugs that have no target. Hence, it
would be nice to distinguish between bugs that have not yet been
considered, and those that really are not assigned to any milestone in
the future (assumedly beyond).
All this is covered at
"http://bugzilla.mozilla.org/show_bug.cgi?id=13534".
4. Create An Enhancement Field
Currently enhancement is an option in severity. This means that
important enhancements (like for example, POP3 support) are not properly
distinguished as such, because they need a proper severity. This
dilutes the meaning of enhancement.
If enhancement was separated, we could properly see what was an
enhancement. See "http://bugzilla.mozilla.org/show_bug.cgi?id=9412". I
see keywords like [RFE] and [FEATURE] that seem to be compensating for
this problem.
</literallayout></para>
</section>
<section id="dbaseintegrity">
<title>Database Integrity</title>
<para><literallayout>
Bugzilla could be more proactive in detecting suboptimal situations and
prevent them or whine about them.
1. Bugzilla Crime #1: Marking A Bug Fixed With Unresolved Dependencies
It can't be marked fixed with unresolved dependencies. Either mark it
INVALID (tracking bugs), fix the dependencies at the same time, or
resolve the blockers.
See "http://bugzilla.mozilla.org/show_bug.cgi?id=24496".
2. Keyword Restrictions
Some keywords should only apply in certain circumstances, eg beta1 =>
Milestone <
M14, css1 => Component = Style System are possibilities. See
"http://bugzilla.mozilla.org/show_bug.cgi?id=26940".
3. Whine About Old Votes
Old votes can just sit on resolved bugs. This is problematic with
duplicates especially. Automatic transferral/removal is not
appropriate since bugs can be reopened, but a whining solution might
work. See "http://bugzilla.mozilla.org/show_bug.cgi?id=27553".
4. Whine And Warn About Milestone Mismatches
Here's a fun one. Bug X (M17) depends on Bug Y (M15). Bug Y gets moved
out to M19. The notification to the assignee of Bug X gets ignored (of
course) and Bug X is now due to be fixed before one of its blockers.
Warnings about this when it is detected as well as whining about it in
email would help bring these issues to the attention of people sooner.
Note that this would be less of a problem if we didn't have so many
tracking bugs since they aren't updated that often and often have this
problem.
See "http://bugzilla.mozilla.org/show_bug.cgi?id=16743".
</literallayout></para>
</section>
<section id="bz30">
<title>Bugzilla 3.0</title>
<para>One day, Bugzilla 3.0 will have lots of cool stuff.</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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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="gfdl"> <appendix id="gfdl">
<title>GNU Free Documentation License</title> <title>GNU Free Documentation License</title>
...@@ -450,19 +450,25 @@ of this license document, but changing it is not allowed.</para> ...@@ -450,19 +450,25 @@ of this license document, but changing it is not allowed.</para>
</sect1> </sect1>
</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
sgml-omittag:nil
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-parent-document: ("Bugzilla-Guide.sgml" "appendix") sgml-balanced-tag-edit:t
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-local-catalogs: CATALOG sgml-minimize-attributes:nil
sgml-validate-command: "nsgmls -s gfdl.sgml" sgml-namecase-general:t
ispell-skip-sgml: t sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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>
<title>0-9, high ascii</title>
<glossentry>
<glossterm>.htaccess</glossterm>
<glossdef>
<para>
Apache web server, and other NCSA-compliant web servers,
observe the convention of using files in directories
called <filename>.htaccess</filename> files. These
restrict parameters of the web server. In Bugzilla, they
are used to restrict access to certain files which would
otherwise compromise your installation. For instance, the
<filename>localconfig</filename> file contains the
password to your database. If this information were
generally available, and remote access to your database
turned on, you risk corruption of your database by
computer criminals or the curious.
</para>
</glossdef>
</glossentry>
</glossdiv>
<glossdiv id="gloss_a"> <glossdiv id="gloss_a">
<title>A</title> <title>A</title>
...@@ -17,21 +38,36 @@ ...@@ -17,21 +38,36 @@
<glossentry> <glossentry>
<glossterm>Bug</glossterm> <glossterm>Bug</glossterm>
<glossdef> <glossdef>
<para>A "Bug" in Bugzilla refers to an issue entered into the database which has an associated number, assignments, comments, etc. Many also refer to a "Ticket" or "Issue"; in this context, they are synonymous.</para> <para>
A <quote>Bug</quote> in Bugzilla refers to an issue
entered into the database which has an associated number,
assignments, comments, etc. Some also refer to a
<quote>tickets</quote> 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> <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> <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> </glossdef>
</glossentry> </glossentry>
<glossentry> <glossentry>
<glossterm>Bug Life Cycle</glossterm> <glossterm>Bug Life Cycle</glossterm>
<glossdef> <glossdef>
<para>A Bug has stages through which it must pass before becoming a "closed bug", including acceptance, resolution, and verification. The "Bug Life Cycle" is moderately flexible according to the needs of the organization using it, though.</para> <para>A Bug has stages through which it must pass before
becoming a <quote>closed bug</quote>, including
acceptance, resolution, and verification. The <quote>Bug
Life Cycle</quote> is moderately flexible according to
the needs of the organization using it, though.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
...@@ -40,19 +76,35 @@ ...@@ -40,19 +76,35 @@
<title>I</title> <title>I</title>
<glossentry id="gloss_infiniteloop"> <glossentry id="gloss_infiniteloop">
<glossterm>Infinite Loop</glossterm> <glossterm>Infinite Loop</glossterm>
<glosssee otherterm="gloss_recursion"> <glossdef>
<para>A loop of information that never ends; see recursion.</para>
</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 general, there are several Components to a Product. A Product also defines a default Group (used for Bug Security) for all bugs entered into components beneath it.</para> <para>A Product is a broad category of types of bugs. In
general, there are several Components to a Product. A
Product also defines a default Group (used for Bug
Security) for all bugs entered into components beneath
it.</para>
<example> <example>
<title>A Sample Product</title> <title>A Sample Product</title>
<para>A company sells a software product called "X". They also maintain some older software called "Y", and have a secret project "Z". An effective use of Products might be to create Products "X", "Y", and "Z", each with Components "User Interface", "Database", and "Business Logic". They might also change group permissions so that only those people who are members of Group "Z" can see components and bugs under Product "Z".</para> <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> </example>
</glossdef> </glossdef>
</glossentry> </glossentry>
...@@ -61,48 +113,65 @@ ...@@ -61,48 +113,65 @@
<glossdiv id="gloss_q"> <glossdiv id="gloss_q">
<title>Q</title> <title>Q</title>
<glossentry> <glossentry>
<glossterm>Q/A</glossterm> <glossterm>QA</glossterm>
<glossdef> <glossdef>
<para>"Q/A" is short for "Quality Assurance". 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 "Q/A Contact" field in a Bug.</para> <para><quote>QA</quote>, <quote>Q/A</quote>, and
<quote>Q.A.</quote> are short for <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
<quote>QA Contact</quote> field in a Bug.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
<glossdiv id="gloss_r"> <glossdiv id="gloss_r">
<title>R</title> <title>R</title>
<glossentry> <glossentry>
<glossterm id="gloss_recursion">Recursion</glossterm> <glossterm id="gloss_recursion">Recursion</glossterm>
<glosssee otherterm="gloss_infiniteloop"> <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>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
<glossdiv id="gloss_z"> <glossdiv id="gloss_z">
<title>Z</title> <title>Z</title>
<glossentry> <glossentry>
<glossterm>Zarro Boogs Found</glossterm> <glossterm>Zarro Boogs Found</glossterm>
<glossdef> <glossdef>
<para>This is the cryptic response sent by Bugzilla when a query returned no results. It is just a goofy way of saying "Zero Bugs Found".</para> <para>This is the cryptic response sent by Bugzilla when a
query returned no results. It is just a goofy way of
saying "Zero Bugs 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:
mode: sgml mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag:t
sgml-tag-region-if-active:t
End: End:
--> -->
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-always-quote-attributes:t
sgml-auto-insert-required-elements:t
sgml-balanced-tag-edit:t
sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag:t
sgml-tag-region-if-active:t
End:
-->
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> <!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> -->
<CHAPTER id="installation"> <chapter id="installation">
<TITLE>Installing Bugzilla</TITLE> <title>Installation</title>
<para>
<SECTION id="README.unix"> These installation instructions are presented assuming you are
<TITLE>UNIX Installation</TITLE> installing on a UNIX or completely POSIX-compliant system. If
<SECTION> you are installing on Microsoft Windows or another oddball
<TITLE>ERRATA</TITLE> operating system, please consult the appropriate sections in
<NOTE> this installation guide for notes on how to be successful.
<PARA> </para>
If you are installing Bugzilla on S.u.S.e. Linux, or some other <section id="errata">
distributions with "paranoid" security options, it is possible <title>ERRATA</title>
that the checksetup.pl script may fail with the error: <para>Here are some miscellaneous notes about possible issues you
<ERRORNAME>cannot chdir(/var/spool/mqueue): Permission denied</ERRORNAME> main run into when you begin your Bugzilla installation.
This is because your Reference platforms for Bugzilla installation are Redhat Linux
/var/spool/mqueue directory has a mode of "drwx------". Type 7.2, Linux-Mandrake 8.0, and Solaris 8.</para>
<COMMAND>chmod 755 /var/spool/mqueue</COMMAND> as root to fix this problem.
</PARA> <simplelist>
</NOTE> <member>
If you are installing Bugzilla on S.u.S.e. Linux, or some
<NOTE> other distributions with <quote>paranoid</quote> security
<PARA> options, it is possible that the checksetup.pl script may fail
Release Notes for Bugzilla 2.12 are available at docs/rel_notes.txt with the error: <errorname>cannot chdir(/var/spool/mqueue):
</PARA> Permission denied</errorname> This is because your
</NOTE> <filename>/var/spool/mqueue</filename> directory has a mode of
<quote>drwx------</quote>. Type <command>chmod 755
<NOTE> <filename>/var/spool/mqueue</filename></command> as root to
<PARA> fix this problem.
The preferred documentation for Bugzilla is available in docs/, with </member>
a variety of document types available. Please refer to these documents when
installing, configuring, and maintaining your Bugzilla installation. <member>
</PARA> Bugzilla may be installed on Macintosh OS X (10), which is a
</NOTE> unix-based (BSD) operating system. Everything required for
Bugzilla on OS X will install cleanly, but the optional GD
<WARNING> perl module which is used for bug charting requires some
<PARA> additional setup for installation. Please see the Mac OS X
installation section below for details
</member>
<member>
Release Notes for Bugzilla &bz-ver; are available at
<filename>docs/rel_notes.txt</filename> in your Bugzilla
source distribution.
</member>
<member>
The preferred documentation for Bugzilla is available in
docs/, with a variety of document types available. Please
refer to these documents when installing, configuring, and
maintaining your Bugzilla installation.
</member>
</simplelist>
<warning>
<para>
Bugzilla is not a package where you can just plop it in a directory, Bugzilla is not a package where you can just plop it in a directory,
twiddle a few things, and you're off. Installing Bugzilla assumes you twiddle a few things, and you're off. Installing Bugzilla assumes you
know your variant of UNIX or Microsoft Windows well, are familiar with the know your variant of UNIX or Microsoft Windows well, are familiar with the
...@@ -43,536 +62,572 @@ ...@@ -43,536 +62,572 @@
fair Perl proficiency, and if you use a webserver other than Apache you fair Perl proficiency, and if you use a webserver other than Apache you
should be intimately familiar with the security mechanisms and CGI should be intimately familiar with the security mechanisms and CGI
environment thereof. environment thereof.
</PARA> </para>
</WARNING> </warning>
<WARNING> <warning>
<PARA> <para>
Bugzilla has not undergone a complete security review. Security holes Bugzilla has not undergone a complete security review. Security holes
may exist in the code. Great care should be taken both in the installation may exist in the code. Great care should be taken both in the installation
and usage of this software. Carefully consider the implications of and usage of this software. Carefully consider the implications of
installing other network services with Bugzilla. installing other network services with Bugzilla.
</PARA> </para>
</WARNING> </warning>
</SECTION> </section>
<SECTION> <section id="stepbystep" xreflabel="Bugzilla Installation Step-by-step">
<TITLE>Step-by-step Install</TITLE> <title>Step-by-step Install</title>
<SECTION> <section>
<TITLE>Introduction</TITLE> <title>Introduction</title>
<PARA> <para>
Installation of bugzilla is pretty straightforward, particularly if your Installation of bugzilla is pretty straightforward, particularly if your
machine already has MySQL and the MySQL-related perl packages installed. machine already has MySQL and the MySQL-related perl packages installed.
If those aren't installed yet, then that's the first order of business. The If those aren't installed yet, then that's the first order of business. The
other necessary ingredient is a web server set up to run cgi scripts. other necessary ingredient is a web server set up to run cgi scripts.
While using Apache for your webserver is not required, it is recommended. While using Apache for your webserver is not required, it is recommended.
</PARA> </para>
<PARA> <para>
Bugzilla has been successfully installed under Solaris, Linux, and Bugzilla has been successfully installed under Solaris, Linux,
Win32. The peculiarities of installing on Win32 (Win98+/NT/2K) are not and Win32. The peculiarities of installing on Win32 (Microsoft
included in this section of the Guide; please check out the "Win32 Installation Instructions" Windows) are not included in this section of the Guide; please
for further advice on getting Bugzilla to work on Microsoft Windows. check out the <xref linkend="win32"> for further advice
</PARA> on getting Bugzilla to work on Microsoft Windows.
</para>
<PARA>
The Bugzilla Guide is contained in the "docs/" folder. It is available <para>
in plain text (docs/txt), HTML (docs/html), or SGML source (docs/sgml). The Bugzilla Guide is contained in the "docs/" folder in your
</PARA> Bugzilla distribution. It is available in plain text
</SECTION> (docs/txt), HTML (docs/html), or SGML source (docs/sgml).
<SECTION> </para>
<TITLE>Installing the Prerequisites</TITLE> </section>
<section>
<PARA> <title>Installing the Prerequisites</title>
<note>
<para>If you want to skip these manual installation steps for
the CPAN dependencies listed below, and are running the very
most recent version of Perl and MySQL (both the executables
and development libraries) on your system, check out
Bundle::Bugzilla in <xref
linkend="bundlebugzilla"></para>
</note>
<para>
The software packages necessary for the proper running of bugzilla are: The software packages necessary for the proper running of bugzilla are:
<ORDEREDLIST> <orderedlist>
<LISTITEM> <listitem>
<PARA> <para>
MySQL database server and the mysql client (3.22.5 or greater) MySQL database server and the mysql client (3.22.5 or greater)
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Perl (5.004 or greater) Perl (5.004 or greater, 5.6.1 is recommended if you wish
</PARA> to use Bundle::Bugzilla)
</LISTITEM> </para>
<LISTITEM> </listitem>
<PARA> <listitem>
<para>
DBI Perl module DBI Perl module
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Data::Dumper Perl module Data::Dumper Perl module
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
DBD::mySQL Bundle::Mysql Perl module collection
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
TimeDate Perl module collection TimeDate Perl module collection
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
GD perl module (1.8.3) (optional, for bug charting) GD perl module (1.8.3) (optional, for bug charting)
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Chart::Base Perl module (0.99c) (optional, for bug charting) Chart::Base Perl module (0.99c) (optional, for bug charting)
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
DB_File Perl module (optional, for bug charting) DB_File Perl module (optional, for bug charting)
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
The web server of your choice. Apache is recommended. The web server of your choice. Apache is recommended.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
MIME::Parser Perl module (optional, for contrib/bug_email.pl interface) MIME::Parser Perl module (optional, for contrib/bug_email.pl interface)
</PARA> </para>
</LISTITEM> </listitem>
</ORDEREDLIST> </orderedlist>
<NOTE>
<PARA> <warning>
You must run Bugzilla on a filesystem that supports file locking via <para>
flock(). This is necessary for Bugzilla to operate safely with multiple It is a good idea, while installing Bugzilla, to ensure it
instances. is not <emphasis>accessible</emphasis> by other machines
</PARA> on the Internet. Your machine may be vulnerable to attacks
</NOTE> while you are installing. In other words, ensure there is
<WARNING> some kind of firewall between you and the rest of the
<PARA> Internet. Many installation steps require an active
It is a good idea, while installing Bugzilla, to ensure it is not Internet connection to complete, but you must take care to
<EMPHASIS>accessible</EMPHASIS> by other machines on the Internet. ensure that at no point is your machine vulnerable to an
Your machine may be vulnerable to attacks attack.
while you are installing. In other words, ensure there is some kind of firewall between you </para>
and the rest of the Internet. Many installation steps require an active Internet connection </warning>
to complete, but you must take care to ensure that at no point is your machine vulnerable
to an attack. </para>
</PARA> </section>
</WARNING> <section id="install-mysql">
<title>Installing MySQL Database</title>
</PARA> <para>
</SECTION> Visit MySQL homepage at http://www.mysql.com/ and grab the
<SECTION> latest stable release of the server. Both binaries and source
<TITLE>Installing MySQL Database</TITLE> are available and which you get shouldn't matter. Be aware
<PARA> that many of the binary versions of MySQL store their data
Visit MySQL homepage at http://www.mysql.org/ and grab the latest stable files in /var which on many installations (particularly common
release of the server. Both binaries and source are available and which with linux installations) is part of a smaller root partition.
you get shouldn't matter. Be aware that many of the binary versions If you decide to build from sources you can easily set the
of MySQL store their data files in /var which on many installations dataDir as an option to configure.
(particularly common with linux installations) is part of a smaller </para>
root partition. If you decide to build from sources you can easily set <para>
the dataDir as an option to configure. If you've installed from source or non-package (RPM, deb,
</PARA> etc.) binaries you'll want to make sure to add mysqld to your
<PARA> init scripts so the server daemon will come back up whenever
If you've installed from source or non-package (RPM, deb, etc.) binaries your machine reboots. You also may want to edit those init
you'll want to make sure to add mysqld to your init scripts so the server scripts, to make sure that mysqld will accept large packets.
daemon will come back up whenever your machine reboots. By default, mysqld is set up to only accept packets up to 64K
You also may want to edit those init scripts, to make sure that long. This limits the size of attachments you may put on
mysqld will accept large packets. By default, mysqld is set up to only bugs. If you add something like "-O max_allowed_packet=1M" to
accept packets up to 64K long. This limits the size of attachments you the command that starts mysqld (or safe_mysqld), then you will
may put on bugs. If you add something like "-O max_allowed_packet=1M" be able to have attachments up to about 1 megabyte.
to the command that starts mysqld (or safe_mysqld), then you will be </para>
able to have attachments up to about 1 megabyte. <note>
</PARA> <para>
<NOTE> If you plan on running Bugzilla and MySQL on the same
<PARA> machine, consider using the "--skip-networking" option in
If you plan on running Bugzilla and MySQL on the same machine, the init script. This enhances security by preventing
consider using the "--skip-networking" option in the init script. network access to MySQL.
This enhances security by preventing network access to MySQL. </para>
</PARA> </note>
</NOTE> </section>
</SECTION>
<section id="install-perl">
<SECTION> <title>Perl (5.004 or greater)</title>
<TITLE>Perl (5.004 or greater)</TITLE> <para>
<PARA> Any machine that doesn't have perl on it is a sad machine
Any machine that doesn't have perl on it is a sad machine indeed. Perl indeed. Perl for *nix systems can be gotten in source form
for *nix systems can be gotten in source form from http://www.perl.com. from http://www.perl.com. Although Bugzilla runs with most
</PARA> post-5.004 versions of Perl, it's a good idea to be up to the
<PARA> very latest version if you can when running Bugzilla. As of
Perl is now a far cry from the the single compiler/interpreter binary it this writing, that is perl version &perl-ver;.
once was. It now includes a great many required modules and quite a </para>
few other support files. If you're not up to or not inclined to build <para>
perl from source, you'll want to install it on your machine using some Perl is now a far cry from the the single compiler/interpreter
sort of packaging system (be it RPM, deb, or what have you) to ensure binary it once was. It includes a great many required modules
a sane install. In the subsequent sections you'll be installing quite and quite a few other support files. If you're not up to or
a few perl modules; this can be quite ornery if your perl installation not inclined to build perl from source, you'll want to install
it on your machine using some sort of packaging system (be it
RPM, deb, or what have you) to ensure a sane install. In the
subsequent sections you'll be installing quite a few perl
modules; this can be quite ornery if your perl installation
isn't up to snuff. isn't up to snuff.
</PARA> </para>
<TIP> <warning>
<PARA> <para>Many people complain that Perl modules will not install
You can skip the following Perl module installation for them. Most times, the error messages complain that they
steps by installing "Bundle::Bugzilla" from CPAN, which includes them. are missing a file in <quote>@INC</quote>. Virtually every
All Perl module installation steps require you have an active Internet time, this is due to permissions being set too restrictively
connection. for you to compile Perl modules or not having the necessary
</PARA> Perl development libraries installed on your system..
<PARA> Consult your local UNIX systems administrator for help
<COMPUTEROUTPUT> solving these permissions issues; if you
<PROMPT>bash#</PROMPT> <emphasis>are</emphasis> the local UNIX sysadmin, please
<COMMAND>perl -MCPAN -e 'install "Bundle::Bugzilla"'</COMMAND> consult the newsgroup/mailing list for further assistance or
</COMPUTEROUTPUT> hire someone to help you out.
</PARA> </para>
<PARA> </warning>
Bundle::Bugzilla doesn't include GD, Chart::Base, or MIME::Parser, <tip id="bundlebugzilla" xreflabel="Using Bundle::Bugzilla instead of manually installing Perl modules">
which are not essential to a basic Bugzilla install. If installing <para>
this bundle fails, you should install each module individually to You can skip the following Perl module installation steps by
isolate the problem. installing "Bundle::Bugzilla" from CPAN, which includes
</PARA> them. All Perl module installation steps require you have an
</TIP> active Internet connection. If you wish to use
</SECTION> Bundle::Bugzilla, however, you must be using the latest
version of Perl (at this writing, version &perl-ver;)
<SECTION> </para>
<TITLE>DBI Perl Module</TITLE> <para>
<PARA> <computeroutput> <prompt>bash#</prompt> <command>perl -MCPAN
-e 'install "Bundle::Bugzilla"'</command>
</computeroutput>
</para>
<para>
Bundle::Bugzilla doesn't include GD, Chart::Base, or
MIME::Parser, which are not essential to a basic Bugzilla
install. If installing this bundle fails, you should
install each module individually to isolate the problem.
</para>
</tip>
</section>
<section>
<title>DBI Perl Module</title>
<para>
The DBI module is a generic Perl module used by other database related The DBI module is a generic Perl module used by other database related
Perl modules. For our purposes it's required by the MySQL-related Perl modules. For our purposes it's required by the MySQL-related
modules. As long as your Perl installation was done correctly the modules. As long as your Perl installation was done correctly the
DBI module should be a breeze. It's a mixed Perl/C module, but Perl's DBI module should be a breeze. It's a mixed Perl/C module, but Perl's
MakeMaker system simplifies the C compilation greatly. MakeMaker system simplifies the C compilation greatly.
</PARA> </para>
<PARA> <para>
Like almost all Perl modules DBI can be found on the Comprehensive Perl Like almost all Perl modules DBI can be found on the Comprehensive Perl
Archive Network (CPAN) at http://www.cpan.org. The CPAN servers have a Archive Network (CPAN) at http://www.cpan.org. The CPAN servers have a
real tendency to bog down, so please use mirrors. The current location real tendency to bog down, so please use mirrors. The current location
at the time of this writing (02/17/99) can be found in Appendix A. at the time of this writing (02/17/99) can be found in Appendix A.
</PARA> </para>
<PARA> <para>
Quality, general Perl module installation instructions can be found on Quality, general Perl module installation instructions can be found on
the CPAN website, but the easy thing to do is to just use the CPAN shell the CPAN website, but the easy thing to do is to just use the CPAN shell
which does all the hard work for you. which does all the hard work for you.
</PARA> </para>
<PARA> <para>
To use the CPAN shell to install DBI: To use the CPAN shell to install DBI:
<INFORMALEXAMPLE> <informalexample>
<PARA> <para>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>perl -MCPAN -e 'install "DBI"'</COMMAND> <command>perl -MCPAN -e 'install "DBI"'</command>
</COMPUTEROUTPUT> </computeroutput>
<NOTE> <note>
<PARA>Replace "DBI" with the name of whichever module you wish <para>Replace "DBI" with the name of whichever module you wish
to install, such as Data::Dumper, TimeDate, GD, etc.</PARA> to install, such as Data::Dumper, TimeDate, GD, etc.</para>
</NOTE> </note>
</PARA> </para>
</INFORMALEXAMPLE> </informalexample>
To do it the hard way: To do it the hard way:
<INFORMALEXAMPLE> <informalexample>
<PARA> <para>
Untar the module tarball -- it should create its own directory Untar the module tarball -- it should create its own directory
</PARA> </para>
<PARA> <para>
CD to the directory just created, and enter the following commands: CD to the directory just created, and enter the following commands:
<ORDEREDLIST> <orderedlist>
<LISTITEM> <listitem>
<PARA> <para>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>perl Makefile.PL</COMMAND> <command>perl Makefile.PL</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>make</COMMAND> <command>make</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>make test</COMMAND> <command>make test</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>make install</COMMAND> <command>make install</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
</LISTITEM> </listitem>
</ORDEREDLIST> </orderedlist>
If everything went ok that should be all it takes. For the vast If everything went ok that should be all it takes. For the vast
majority of perl modules this is all that's required. majority of perl modules this is all that's required.
</PARA> </para>
</INFORMALEXAMPLE> </informalexample>
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>Data::Dumper Perl Module</TITLE> <title>Data::Dumper Perl Module</title>
<PARA> <para>
The Data::Dumper module provides data structure persistence for Perl The Data::Dumper module provides data structure persistence for Perl
(similar to Java's serialization). It comes with later sub-releases of (similar to Java's serialization). It comes with later sub-releases of
Perl 5.004, but a re-installation just to be sure it's available won't Perl 5.004, but a re-installation just to be sure it's available won't
hurt anything. hurt anything.
</PARA> </para>
<PARA> <para>
Data::Dumper is used by the MySQL related Perl modules. It can be Data::Dumper is used by the MySQL-related Perl modules. It can be
found on CPAN (link in Appendix A) and can be installed by following found on CPAN (link in Appendix A) and can be installed by following
the same four step make sequence used for the DBI module. the same four step make sequence used for the DBI module.
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>MySQL related Perl Module Collection</TITLE> <title>MySQL related Perl Module Collection</title>
<PARA> <para>
The Perl/MySQL interface requires a few mutually-dependent perl The Perl/MySQL interface requires a few mutually-dependent perl
modules. These modules are grouped together into the the modules. These modules are grouped together into the the
Msql-Mysql-modules package. This package can be found at CPAN. Msql-Mysql-modules package. This package can be found at CPAN.
After the archive file has been downloaded it should After the archive file has been downloaded it should
be untarred. be untarred.
</PARA> </para>
<PARA> <para>
The MySQL modules are all built using one make file which is generated The MySQL modules are all built using one make file which is generated
by running: by running:
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>perl Makefile.pl</COMMAND> <command>perl Makefile.pl</command>
</PARA> </para>
<PARA> <para>
The MakeMaker process will ask you a few questions about the desired The MakeMaker process will ask you a few questions about the desired
compilation target and your MySQL installation. For many of the questions compilation target and your MySQL installation. For many of the questions
the provided default will be adequate. the provided default will be adequate.
</PARA> </para>
<PARA> <para>
When asked if your desired target is the MySQL or mSQL packages When asked if your desired target is the MySQL or mSQL packages,
selected the MySQL related ones. Later you will be asked if you wish select the MySQL related ones. Later you will be asked if you wish
to provide backwards compatibility with the older MySQL packages; you to provide backwards compatibility with the older MySQL packages; you
must answer YES to this question. The default will be no, and if you should answer YES to this question. The default is NO.
select it things won't work later. </para>
</PARA> <para>
<PARA>
A host of 'localhost' should be fine and a testing user of 'test' and A host of 'localhost' should be fine and a testing user of 'test' and
a null password should find itself with sufficient access to run tests a null password should find itself with sufficient access to run tests
on the 'test' database which MySQL created upon installation. If 'make on the 'test' database which MySQL created upon installation. If 'make
test' and 'make install' go through without errors you should be ready test' and 'make install' go through without errors you should be ready
to go as far as database connectivity is concerned. to go as far as database connectivity is concerned.
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>TimeDate Perl Module Collection</TITLE> <title>TimeDate Perl Module Collection</title>
<PARA> <para>
Many of the more common date/time/calendar related Perl modules have Many of the more common date/time/calendar related Perl modules have
been grouped into a bundle similar to the MySQL modules bundle. This been grouped into a bundle similar to the MySQL modules bundle. This
bundle is stored on the CPAN under the name TimeDate. A (hopefully bundle is stored on the CPAN under the name TimeDate. A link
current) link can be found in Appendix A. The component module we're link may be found in Appendix B, Software Download Links.
The component module we're
most interested in is the Date::Format module, but installing all of them most interested in is the Date::Format module, but installing all of them
is probably a good idea anyway. The standard Perl module installation is probably a good idea anyway. The standard Perl module installation
instructions should work perfectly for this simple package. instructions should work perfectly for this simple package.
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>GD Perl Module (1.8.3)</TITLE> <title>GD Perl Module (1.8.3)</title>
<PARA> <para>
The GD library was written by Thomas Boutell a long while ago to The GD library was written by Thomas Boutell a long while ago to
programatically generate images in C. Since then it's become almost a programatically generate images in C. Since then it's become almost a
defacto standard for programatic image construction. The Perl bindings defacto standard for programatic image construction. The Perl bindings
to it found in the GD library are used on a million web pages to generate to it found in the GD library are used on a million web pages to generate
graphs on the fly. That's what bugzilla will be using it for so you'd graphs on the fly. That's what bugzilla will be using it for so you'd
better install it if you want any of the graphing to work. better install it if you want any of the graphing to work.
</PARA> </para>
<PARA> <para>
Actually bugzilla uses the Graph module which relies on GD itself, Actually bugzilla uses the Graph module which relies on GD itself,
but isn't that always the way with OOP. At any rate, you can find the but isn't that always the way with OOP. At any rate, you can find the
GD library on CPAN (link in Appendix "Required Software"). GD library on CPAN (link in Appendix B, Software Download Links).
</PARA> </para>
<NOTE> <note>
<PARA> <para>
The Perl GD library requires some other libraries that may or may not be The Perl GD library requires some other libraries that may or may not be
installed on your system, including "libpng" and "libgd". The full requirements installed on your system, including "libpng" and "libgd". The full requirements
are listed in the Perl GD library README. Just realize that if compiling GD fails, are listed in the Perl GD library README. Just realize that if compiling GD fails,
it's probably because you're missing a required library. it's probably because you're missing a required library.
</PARA> </para>
</NOTE> </note>
</SECTION> </section>
<SECTION> <section>
<TITLE>Chart::Base Perl Module (0.99c)</TITLE> <title>Chart::Base Perl Module (0.99c)</title>
<PARA> <para>
The Chart module provides bugzilla with on-the-fly charting The Chart module provides bugzilla with on-the-fly charting
abilities. It can be installed in the usual fashion after it has been abilities. It can be installed in the usual fashion after it has been
fetched from CPAN where it is found as the Chart-x.x... tarball in a fetched from CPAN where it is found as the Chart-x.x... tarball in a
directory to be listed in Appendix "Required Software". Note that as with the GD perl directory to be listed in Appendix B, "Software Download Links".
module, only the specific versions listed above (or newer) will work. Earlier Note that as with the GD perl
module, only the version listed above, or newer, will work.
Earlier
versions used GIF's, which are no longer supported by the latest versions used GIF's, which are no longer supported by the latest
versions of GD. versions of GD.
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>DB_File Perl Module</TITLE> <title>DB_File Perl Module</title>
<PARA> <para>
DB_File is a module which allows Perl programs to make use of the facilities provided by DB_File is a module which allows Perl programs to make use of the facilities provided by
Berkeley DB version 1.x. This module is required by collectstats.pl which is used for Berkeley DB version 1.x. This module is required by collectstats.pl which is used for
bug charting. If you plan to make use of bug charting, you must install this module. bug charting. If you plan to make use of bug charting, you must install this module.
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>HTTP Server</TITLE> <title>HTTP Server</title>
<PARA> <para>
You have a freedom of choice here - Apache, Netscape or any other You have a freedom of choice here - Apache, Netscape or any other
server on UNIX would do. You can easily run the web server on a different server on UNIX would do. You can easily run the web server on a different
machine than MySQL, but need to adjust the MySQL "bugs" user permissions machine than MySQL, but need to adjust the MySQL "bugs" user permissions
accordingly. accordingly.
</PARA> </para>
<PARA> <para>
You'll want to make sure that your web server will run any file You'll want to make sure that your web server will run any file
with the .cgi extension as a cgi and not just display it. If you're using with the .cgi extension as a cgi and not just display it. If you're using
apache that means uncommenting the following line in the srm.conf file: apache that means uncommenting the following line in the srm.conf file:
<COMPUTEROUTPUT>AddHandler cgi-script .cgi</COMPUTEROUTPUT> <computeroutput>AddHandler cgi-script .cgi</computeroutput>
</PARA> </para>
<PARA> <para>
With apache you'll also want to make sure that within the access.conf With apache you'll also want to make sure that within the access.conf
file the line: file the line:
<COMPUTEROUTPUT> <computeroutput>
Options ExecCGI Options ExecCGI
</COMPUTEROUTPUT> </computeroutput>
is in the stanza that covers the directories you intend to put the bugzilla is in the stanza that covers the directories you intend to put the bugzilla
.html and .cgi files into. .html and .cgi files into.
</PARA> </para>
<PARA> <para>
If you are using a newer version of Apache, both of the above lines will be If you are using a newer version of Apache, both of the above lines will be
(or will need to be) in the httpd.conf file, rather than srm.conf or (or will need to be) in the httpd.conf file, rather than srm.conf or
access.conf. access.conf.
</PARA> </para>
<WARNING> <warning>
<PARA> <para>
There are two critical directories and a file that should not be a served by There are two critical directories and a file that should not be a served by
the HTTP server. These are the 'data' and 'shadow' directories and the the HTTP server. These are the <quote>data</quote> and <quote>shadow</quote>
'localconfig' file. You should configure your HTTP server to not serve directories and the
<quote>localconfig</quote> file. You should configure your HTTP server to not serve
content from these files. Failure to do so will expose critical passwords content from these files. Failure to do so will expose critical passwords
and other data. Please see your HTTP server configuration manual on how and other data. Please see <xref linkend="htaccess"> for details.
to do this. If you use quips (at the top of the buglist pages) you will want </para>
the 'data/comments' file to still be served. This file contains those quips. </warning>
</PARA> </section>
</WARNING>
</SECTION> <section>
<title>Installing the Bugzilla Files</title>
<SECTION> <para>
<TITLE>Installing the Bugzilla Files</TITLE>
<PARA>
You should untar the Bugzilla files into a directory that you're You should untar the Bugzilla files into a directory that you're
willing to make writable by the default web server user (probably willing to make writable by the default web server user (probably
'nobody'). You may decide to put the files off of the main web space <quote>nobody</quote>). You may decide to put the files off of the main web space
for your web server or perhaps off of /usr/local with a symbolic link for your web server or perhaps off of /usr/local with a symbolic link
in the web space that points to the bugzilla directory. At any rate, in the web space that points to the bugzilla directory. At any rate,
just dump all the files in the same place (optionally omitting the CVS just dump all the files in the same place (optionally omitting the CVS
directories if they were accidentally tarred up with the rest of Bugzilla) directories if they were accidentally tarred up with the rest of Bugzilla)
and make sure you can access the files in that directory through your and make sure you can access the files in that directory through your
web server. web server.
</PARA> </para>
<TIP> <tip>
<PARA> <para>
If you symlink the bugzilla directory into your Apache's If you symlink the bugzilla directory into your Apache's
HTML heirarchy, you may receive "Forbidden" errors unless you HTML heirarchy, you may receive "Forbidden" errors unless you
add the "FollowSymLinks" directive to the &lt;Directory&gt; entry add the "FollowSymLinks" directive to the &lt;Directory&gt; entry
for the HTML root. for the HTML root.
</PARA> </para>
</TIP> </tip>
<PARA> <para>
Once all the files are in a web accessible directory, make that Once all the files are in a web accessible directory, make that
directory writable by your webserver's user (which may require just directory writable by your webserver's user (which may require just
making it world writable). This is a temporary step until you run making it world writable). This is a temporary step until you run
the post-install "checksetup.pl" script, which locks down your the post-install <quote>checksetup.pl</quote> script, which locks down your
installation. installation.
</PARA> </para>
<PARA> <para>
Lastly, you'll need to set up a symbolic link to /usr/bonsaitools/bin/perl Lastly, you'll need to set up a symbolic link to /usr/bonsaitools/bin/perl
for the correct location of your perl executable (probably /usr/bin/perl). for the correct location of your perl executable (probably /usr/bin/perl).
Otherwise you must hack all the .cgi files to change where they look Otherwise you must hack all the .cgi files to change where they look
for perl. To make future upgrades easier, you should use the symlink for perl. To make future upgrades easier, you should use the symlink
approach. approach.
<EXAMPLE> <example>
<TITLE>Setting up bonsaitools symlink</TITLE> <title>Setting up bonsaitools symlink</title>
<PARA> <para>
Here's how you set up the Perl symlink on Linux to make Bugzilla work. Here's how you set up the Perl symlink on Linux to make Bugzilla work.
Your mileage may vary; if you are running on Solaris, you probably need to subsitute Your mileage may vary; if you are running on Solaris, you probably need to subsitute
"/usr/local/bin/perl" for "/usr/bin/perl" below; if on certain other UNIX systems, <quote>/usr/local/bin/perl</quote> for <quote>/usr/bin/perl</quote>
Perl may live in weird places like "/opt/perl". As root, run these commands: below; if on certain other UNIX systems,
<PROGRAMLISTING> Perl may live in weird places like <quote>/opt/perl</quote>. As root, run these commands:
<programlisting>
bash# mkdir /usr/bonsaitools bash# mkdir /usr/bonsaitools
bash# mkdir /usr/bonsaitools/bin bash# mkdir /usr/bonsaitools/bin
bash# ln -s /usr/bin/perl /usr/bosaitools/bin/perl bash# ln -s /usr/bin/perl /usr/bosaitools/bin/perl
</PROGRAMLISTING> </programlisting>
</PARA> </para>
</EXAMPLE> </example>
<TIP> <tip>
<PARA> <para>
If you don't have root access to set this symlink up, check out the If you don't have root access to set this symlink up,
"setperl.csh" utility, listed in the Patches section of this check out the
Guide. It will change the path to perl in all your Bugzilla files for <xref linkend="setperl">, listed in <xref linkend="patches">.
you. It will change the path to perl in all your Bugzilla files for you.
</PARA> </para>
</TIP> </tip>
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>Setting Up the MySQL Database</TITLE> <title>Setting Up the MySQL Database</title>
<PARA> <para>
After you've gotten all the software installed and working you're ready After you've gotten all the software installed and working you're ready
to start preparing the database for its life as a the back end to a high to start preparing the database for its life as a the back end to a high
quality bug tracker. quality bug tracker.
</PARA> </para>
<PARA> <para>
First, you'll want to fix MySQL permissions to allow access from First, you'll want to fix MySQL permissions to allow access from
Bugzilla. For the purpose of this Installation section, the Bugzilla username Bugzilla. For the purpose of this Installation section, the Bugzilla username
will be "bugs", and will have minimal permissions. Bugzilla has will be "bugs", and will have minimal permissions.
not undergone a thorough security audit. It may be possible for
a system cracker to somehow trick Bugzilla into executing a command <warning>
such as "; DROP DATABASE mysql". <para>
</PARA> Bugzilla has not undergone a thorough security audit. It
<PARA> may be possible for a system cracker to somehow trick
That would be bad. Bugzilla into executing a command such as <command>DROP
</PARA> DATABASE mysql</command>.
<PARA> </para>
<para>That would be bad.</para>
</warning>
</para>
<para>
Give the MySQL root user a password. MySQL passwords are Give the MySQL root user a password. MySQL passwords are
limited to 16 characters. limited to 16 characters.
<SIMPLELIST> <simplelist>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>mysql -u root mysql</COMMAND> <command>mysql -u root mysql</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND> <command>
UPDATE user SET Password=PASSWORD ('new_password') UPDATE user SET Password=PASSWORD ('new_password')
WHERE user='root'; WHERE user='root';
</COMMAND> </command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND>FLUSH PRIVILEGES;</COMMAND> <command>FLUSH PRIVILEGES;</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
</SIMPLELIST> </simplelist>
From this point on, if you need to access MySQL as the From this point on, if you need to access MySQL as the
MySQL root user, you will need to use "mysql -u root -p" and MySQL root user, you will need to use "mysql -u root -p" and
enter your new_password. Remember that MySQL user names have enter your new_password. Remember that MySQL user names have
nothing to do with Unix user names (login names). nothing to do with Unix user names (login names).
</PARA> </para>
<PARA> <para>
Next, we create the "bugs" user, and grant sufficient Next, we create the "bugs" user, and grant sufficient
permissions for checksetup.pl, which we'll use later, to work permissions for checksetup.pl, which we'll use later, to work
its magic. This also restricts the "bugs" user to operations its magic. This also restricts the "bugs" user to operations
...@@ -580,755 +635,1091 @@ bash# ln -s /usr/bin/perl /usr/bosaitools/bin/perl ...@@ -580,755 +635,1091 @@ bash# ln -s /usr/bin/perl /usr/bosaitools/bin/perl
to connect from "localhost". Modify it to reflect your setup to connect from "localhost". Modify it to reflect your setup
if you will be connecting from another machine or as a different if you will be connecting from another machine or as a different
user. user.
</PARA> </para>
<PARA> <para>
Remember to set bugs_password to some unique password. Remember to set bugs_password to some unique password.
<SIMPLELIST> <simplelist>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND>GRANT SELECT,INSERT,UPDATE,DELETE,INDEX, <command>GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,
ALTER,CREATE,DROP,REFERENCES ALTER,CREATE,DROP,REFERENCES
ON bugs.* TO bugs@localhost ON bugs.* TO bugs@localhost
IDENTIFIED BY 'bugs_password';</COMMAND> IDENTIFIED BY 'bugs_password';</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT> <prompt>
mysql> mysql>
</PROMPT> </prompt>
<COMMAND> <command>
FLUSH PRIVILEGES; FLUSH PRIVILEGES;
</COMMAND> </command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
</SIMPLELIST> </simplelist>
</PARA> </para>
<PARA> <para>
Next, run the magic checksetup.pl script. (Many thanks to Holger Next, run the magic checksetup.pl script. (Many thanks to Holger
Schurig &lt;holgerschurig@nikocity.de&gt; for writing this script!) Schurig &lt;holgerschurig@nikocity.de&gt; for writing this script!)
It will make sure Bugzilla files and directories have reasonable It will make sure Bugzilla files and directories have reasonable
permissions, set up the "data" directory, and create all the MySQL permissions, set up the "data" directory, and create all the MySQL
tables. tables.
<SIMPLELIST> <simplelist>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>./checksetup.pl</COMMAND> <command>./checksetup.pl</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
</SIMPLELIST> </simplelist>
The first time you run it, it will create a file called "localconfig". The first time you run it, it will create a file called "localconfig".
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>Tweaking "localconfig"</TITLE> <title>Tweaking "localconfig"</title>
<PARA> <para>
This file contains a variety of settings you may need to tweak including This file contains a variety of settings you may need to tweak including
how Bugzilla should connect to the MySQL database. how Bugzilla should connect to the MySQL database.
</PARA> </para>
<PARA> <para>
The connection settings include: The connection settings include:
<ORDEREDLIST> <orderedlist>
<LISTITEM> <listitem>
<PARA> <para>
server's host: just use "localhost" if the MySQL server is server's host: just use "localhost" if the MySQL server is
local local
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
database name: "bugs" if you're following these directions database name: "bugs" if you're following these directions
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
MySQL username: "bugs" if you're following these directions MySQL username: "bugs" if you're following these directions
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Password for the "bugs" MySQL account above Password for the "bugs" MySQL account above
</PARA> </para>
</LISTITEM> </listitem>
</ORDEREDLIST> </orderedlist>
</PARA> </para>
<PARA> <para>
You may also install .htaccess files that the Apache webserver will use
to restrict access to Bugzilla data files. See <xref linkend="htaccess">.
</para>
<para>
Once you are happy with the settings, re-run checksetup.pl. On this Once you are happy with the settings, re-run checksetup.pl. On this
second run, it will create the database and an administrator account second run, it will create the database and an administrator account
for which you will be prompted to provide information. for which you will be prompted to provide information.
</PARA> </para>
<PARA> <para>
When logged into an administrator account once Bugzilla is running, When logged into an administrator account once Bugzilla is running,
if you go to the query page (off of the bugzilla main menu), you'll if you go to the query page (off of the bugzilla main menu), you'll
find an 'edit parameters' option that is filled with editable treats. find an 'edit parameters' option that is filled with editable treats.
</PARA> </para>
<PARA> <para>
Should everything work, you should have a nearly empty copy of the bug Should everything work, you should have a nearly empty copy of the bug
tracking setup. tracking setup.
</PARA> </para>
<PARA> <para>
The second time around, checksetup.pl will stall if it is on a The second time around, checksetup.pl will stall if it is on a
filesystem that does not fully support file locking via flock(), such as filesystem that does not fully support file locking via flock(), such as
NFS mounts. This support is required for Bugzilla to operate safely with NFS mounts. This support is required for Bugzilla to operate safely with
multiple instances. If flock() is not fully supported, it will stall at: multiple instances. If flock() is not fully supported, it will stall at:
<ERRORCODE>Now regenerating the shadow database for all bugs.</ERRORCODE> <errorcode>Now regenerating the shadow database for all bugs.</errorcode>
<NOTE> <note>
<PARA> <para>
The second time you run checksetup.pl, you should become the The second time you run checksetup.pl, you should become the
user your web server runs as, and that you ensure you have set the user your web server runs as, and that you ensure that you set the
"webservergroup" parameter in localconfig to match the web server's group "webservergroup" parameter in localconfig to match the web
name, if any. I believe, for the next release of Bugzilla, this will server's group
be fixed so that Bugzilla supports a "webserveruser" parameter in localconfig name, if any. I believe, for the next release of Bugzilla,
this will
be fixed so that Bugzilla supports a "webserveruser" parameter
in localconfig
as well. as well.
<EXAMPLE> <example>
<TITLE>Running checksetup.pl as the web user</TITLE> <title>Running checksetup.pl as the web user</title>
<PARA> <para>
Assuming your web server runs as user "apache", and Bugzilla is installed in Assuming your web server runs as user "apache",
"/usr/local/bugzilla", here's one way to run checksetup.pl as the web server user. and Bugzilla is installed in
As root, for the <EMPHASIS>second run</EMPHASIS> of checksetup.pl, do this: "/usr/local/bugzilla", here's one way to run checksetup.pl
<PROGRAMLISTING> as the web server user.
As root, for the <emphasis>second run</emphasis>
of checksetup.pl, do this:
<programlisting>
bash# chown -R apache:apache /usr/local/bugzilla bash# chown -R apache:apache /usr/local/bugzilla
bash# su - apache bash# su - apache
bash# cd /usr/local/bugzilla bash# cd /usr/local/bugzilla
bash# ./checksetup.pl bash# ./checksetup.pl
</PROGRAMLISTING> </programlisting>
</PARA> </para>
</EXAMPLE> </example>
</PARA> </para>
</NOTE> </note>
</PARA> </para>
<NOTE> <note>
<PARA> <para>
The checksetup.pl script is designed so that you can run it at any time The checksetup.pl script is designed so that you can run
without causing harm. You should run it after any upgrade to Bugzilla. it at any time without causing harm. You should run it
</PARA> after any upgrade to Bugzilla.
</NOTE> </para>
</SECTION> </note>
</section>
<SECTION>
<TITLE>Setting Up Maintainers Manually (Optional)</TITLE> <section>
<PARA> <title>Setting Up Maintainers Manually (Optional)</title>
If you want to add someone else to every group by hand, you can do it <para>
by typing the appropriate MySQL commands. Run '<COMPUTEROUTPUT> If you want to add someone else to every group by hand, you
mysql -u root -p bugs</COMPUTEROUTPUT>' can do it by typing the appropriate MySQL commands. Run
(you may need different parameters, depending on your security settings '<computeroutput> mysql -u root -p bugs</computeroutput>' You
according to section 3, above). Then: may need different parameters, depending on your security
<SIMPLELIST> settings. Then:
<MEMBER> <simplelist>
<COMPUTEROUTPUT> <member>
<PROMPT>mysql></PROMPT> <computeroutput> <prompt>mysql></prompt> <command>update
<COMMAND>update profiles set groupset=0x7fffffffffffffff profiles set groupset=0x7fffffffffffffff where
where login_name = 'XXX';</COMMAND> login_name = 'XXX';</command> </computeroutput>
</COMPUTEROUTPUT> </member>
</MEMBER> </simplelist> replacing XXX with the Bugzilla email address.
</SIMPLELIST> </para>
replacing XXX with the Bugzilla email address. </section>
</PARA>
</SECTION> <section>
<title>The Whining Cron (Optional)</title>
<SECTION> <para>
<TITLE>The Whining Cron (Optional)</TITLE> By now you have a fully functional bugzilla, but what good
<PARA> are bugs if they're not annoying? To help make those bugs
By now you've got a fully functional bugzilla, but what good are bugs more annoying you can set up bugzilla's automatic whining
if they're not annoying? To help make those bugs more annoying you can system. This can be done by adding the following command as a
set up bugzilla's automatic whining system. This can be done by adding daily crontab entry (for help on that see that crontab man
the following command as a daily crontab entry (for help on that see that page):
crontab man page): <simplelist>
<SIMPLELIST> <member>
<MEMBER> <computeroutput> <command>cd
<COMPUTEROUTPUT> &lt;your-bugzilla-directory&gt; ;
<COMMAND>cd &lt;your-bugzilla-directory&gt; ; ./whineatnews.pl</COMMAND> ./whineatnews.pl</command> </computeroutput>
</COMPUTEROUTPUT> </member>
</MEMBER> </simplelist>
</SIMPLELIST> </para>
</PARA> <tip>
</SECTION> <para>
Depending on your system, crontab may have several manpages.
<SECTION> The following command should lead you to the most useful
<TITLE>Bug Graphs (Optional)</TITLE> page for this purpose:
<PARA> <programlisting>
As long as you installed the GD and Graph::Base Perl modules you might man 5 crontab
as well turn on the nifty bugzilla bug reporting graphs. </programlisting>
</PARA> </para>
<PARA> </tip>
Add a cron entry like this to run collectstats daily at 5 after midnight: </section>
<SIMPLELIST>
<MEMBER> <section>
<COMPUTEROUTPUT> <title>Bug Graphs (Optional)</title>
<PROMPT>bash#</PROMPT> <para>
<COMMAND>crontab -e</COMMAND> As long as you installed the GD and Graph::Base Perl modules
</COMPUTEROUTPUT> you might as well turn on the nifty bugzilla bug reporting
</MEMBER> graphs.
<MEMBER> </para>
<COMPUTEROUTPUT> <para>
5 0 * * * cd &lt;your-bugzilla-directory&gt; ; ./collectstats.pl Add a cron entry like this to run collectstats daily at 5
</COMPUTEROUTPUT> after midnight:
</MEMBER> <simplelist>
</SIMPLELIST> <member>
</PARA> <computeroutput> <prompt>bash#</prompt> <command>crontab
<PARA> -e</command> </computeroutput>
After two days have passed you'll be able to view bug graphs from the </member>
Bug Reports page. <member>
</PARA> <computeroutput> 5 0 * * * cd
</SECTION> &lt;your-bugzilla-directory&gt; ; ./collectstats.pl
</computeroutput>
<SECTION> </member>
<TITLE>Securing MySQL</TITLE> </simplelist>
<PARA> </para>
If you followed the README for setting up your "bugs" and "root" user in <para>
MySQL, much of this should not apply to you. If you are upgrading After two days have passed you'll be able to view bug graphs
an existing installation of Bugzilla, you should pay close attention from the Bug Reports page.
to this section. </para>
</PARA> </section>
<PARA>
<section>
<title>Securing MySQL</title>
<para>
If you followed the installation instructions for setting up
your "bugs" and "root" user in MySQL, much of this should not
apply to you. If you are upgrading an existing installation
of Bugzilla, you should pay close attention to this section.
</para>
<para>
Most MySQL installs have "interesting" default security parameters: Most MySQL installs have "interesting" default security parameters:
<SIMPLELIST> <simplelist>
<MEMBER>mysqld defaults to running as root</MEMBER> <member>mysqld defaults to running as root</member>
<MEMBER>it defaults to allowing external network connections</MEMBER> <member>it defaults to allowing external network connections</member>
<MEMBER>it has a known port number, and is easy to detect</MEMBER> <member>it has a known port number, and is easy to detect</member>
<MEMBER>it defaults to no passwords whatsoever</MEMBER> <member>it defaults to no passwords whatsoever</member>
<MEMBER>it defaults to allowing "File_Priv"</MEMBER> <member>it defaults to allowing "File_Priv"</member>
</SIMPLELIST> </simplelist>
</PARA> </para>
<PARA> <para>
This means anyone from anywhere on the internet can not only drop the This means anyone from anywhere on the internet can not only
database with one SQL command, and they can write as root to the system. drop the database with one SQL command, and they can write as
</PARA> root to the system.
<PARA> </para>
<para>
To see your permissions do: To see your permissions do:
<SIMPLELIST> <simplelist>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>mysql -u root -p</COMMAND> <command>mysql -u root -p</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND>use mysql;</COMMAND> <command>use mysql;</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND>show tables;</COMMAND> <command>show tables;</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND>select * from user;</COMMAND> <command>select * from user;</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND>select * from db;</COMMAND> <command>select * from db;</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
</SIMPLELIST> </simplelist>
</PARA> </para>
<PARA> <para>
To fix the gaping holes: To fix the gaping holes:
<SIMPLELIST> <simplelist>
<MEMBER>DELETE FROM user WHERE User='';</MEMBER> <member>DELETE FROM user WHERE User='';</member>
<MEMBER>UPDATE user SET Password=PASSWORD('new_password') WHERE user='root';</MEMBER> <member>UPDATE user SET Password=PASSWORD('new_password') WHERE user='root';</member>
<MEMBER> FLUSH PRIVILEGES;</MEMBER> <member> FLUSH PRIVILEGES;</member>
</SIMPLELIST> </simplelist>
</PARA> </para>
<PARA> <para>
If you're not running "mit-pthreads" you can use: If you're not running "mit-pthreads" you can use:
<SIMPLELIST> <simplelist>
<MEMBER>GRANT USAGE ON *.* TO bugs@localhost;</MEMBER> <member>GRANT USAGE ON *.* TO bugs@localhost;</member>
<MEMBER>GRANT ALL ON bugs.* TO bugs@localhost;</MEMBER> <member>GRANT ALL ON bugs.* TO bugs@localhost;</member>
<MEMBER>REVOKE DROP ON bugs.* FROM bugs@localhost;</MEMBER> <member>REVOKE DROP ON bugs.* FROM bugs@localhost;</member>
<MEMBER>FLUSH PRIVILEGES;</MEMBER> <member>FLUSH PRIVILEGES;</member>
</SIMPLELIST> </simplelist>
</PARA> </para>
<PARA> <para>
With "mit-pthreads" you'll need to modify the "globals.pl" Mysql->Connect With "mit-pthreads" you'll need to modify the "globals.pl" Mysql->Connect
line to specify a specific host name instead of "localhost", and accept line to specify a specific host name instead of "localhost", and accept
external connections: external connections:
<SIMPLELIST> <simplelist>
<MEMBER>GRANT USAGE ON *.* TO bugs@bounce.hop.com;</MEMBER> <member>GRANT USAGE ON *.* TO bugs@bounce.hop.com;</member>
<MEMBER>GRANT ALL ON bugs.* TO bugs@bounce.hop.com;</MEMBER> <member>GRANT ALL ON bugs.* TO bugs@bounce.hop.com;</member>
<MEMBER>REVOKE DROP ON bugs.* FROM bugs@bounce.hop.com;</MEMBER> <member>REVOKE DROP ON bugs.* FROM bugs@bounce.hop.com;</member>
<MEMBER>FLUSH PRIVILEGES;</MEMBER> <member>FLUSH PRIVILEGES;</member>
</SIMPLELIST> </simplelist>
</PARA> </para>
<PARA> <para>
Use .htaccess files with the Apache webserver to secure your
bugzilla install. See <xref linkend="htaccess">
</para>
<para>
Consider also: Consider also:
<ORDEREDLIST> <orderedlist>
<LISTITEM> <listitem>
<PARA> <para>
Turning off external networking with "--skip-networking", Turning off external networking with "--skip-networking",
unless you have "mit-pthreads", in which case you can't. unless you have "mit-pthreads", in which case you can't.
Without networking, MySQL connects with a Unix domain socket. Without networking, MySQL connects with a Unix domain socket.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
using the --user= option to mysqld to run it as an unprivileged using the --user= option to mysqld to run it as an unprivileged
user. user.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
starting MySQL in a chroot jail starting MySQL in a chroot jail
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
running the httpd in a "chrooted" jail running the httpd in a "chrooted" jail
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
making sure the MySQL passwords are different from the OS making sure the MySQL passwords are different from the OS
passwords (MySQL "root" has nothing to do with system "root"). passwords (MySQL "root" has nothing to do with system "root").
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
running MySQL on a separate untrusted machine running MySQL on a separate untrusted machine
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
making backups ;-) making backups ;-)
</PARA> </para>
</LISTITEM> </listitem>
</ORDEREDLIST> </orderedlist>
</PARA> </para>
</SECTION> </section>
</section>
<SECTION> <section id="osx">
<TITLE>Installation General Notes</TITLE> <title>Mac OS X Installation Notes</title>
<SECTION> <para>
<TITLE>Modifying Your Running System</TITLE> There are a lot of common libraries and utilities out there
<PARA> that Apple did not include with Mac OS X, but which run
perfectly well on it. The GD library, which Bugzilla needs to
do bug graphs, is one of these.
</para>
<para>
The easiest way to get a lot of these is with a program called
Fink, which is similar in nature to the CPAN installer, but
installs common GNU utilities. Fink is available from
&lt;http://sourceforge.net/projects/fink/>.
</para>
<para>
Follow the instructions for setting up Fink. Once it's
installed, you'll want to run the following as root:
<command>fink install gd</command>
</para>
<para>
It will prompt you for a number of dependencies, type 'y' and
hit enter to install all of the dependencies. Then watch it
work.
</para>
<para>
To prevent creating conflicts with the software that Apple
installs by default, Fink creates its own directory tree at
/sw where it installs most of the software that it installs.
This means your libraries and headers for libgd will be at
/sw/lib and /sw/include instead of /usr/lib and
/usr/local/include. Because of these changed locations for
the libraries, the Perl GD module will not install directly
via CPAN (it looks for the specific paths instead of getting
them from your environment). But there's a way around that
:-)
</para>
<para>
Instead of typing <quote>install GD</quote> at the
<prompt>cpan&gt;</prompt> prompt, type <command>look
GD</command>. This should go through the motions of
downloading the latest version of the GD module, then it will
open a shell and drop you into the build directory. Apply the
following patch to the Makefile.PL file (save the patch into a
file and use the command <command>patch &lt;
patchfile</command>:
</para>
<para>
<programlisting>
<![CDATA[
--- GD-1.33/Makefile.PL Fri Aug 4 16:59:22 2000
+++ GD-1.33-darwin/Makefile.PL Tue Jun 26 01:29:32 2001
@@ -3,8 +3,8 @@
warn "NOTICE: This module requires libgd 1.8.3 or higher (shared library version 4.X).\n";
# =====> PATHS: CHECK AND ADJUST <=====
-my @INC = qw(-I/usr/local/include -I/usr/local/include/gd);
-my @LIBPATH = qw(-L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/local/lib );
+my @INC = qw(-I/sw/include -I/sw/include/gd -I/usr/local/include -I/usr/local/include/gd);
+my @LIBPATH = qw(-L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/X11/lib -L/sw/lib -L/usr/local/lib);
my @LIBS = qw(-lgd -lpng -lz);
# FEATURE FLAGS
@@ -23,7 +23,7 @@
push @LIBS,'-lttf' if $TTF;
push @LIBS,'-ljpeg' if $JPEG;
-push @LIBS, '-lm' unless $^O eq 'MSWin32';
+push @LIBS, '-lm' unless ($^O =~ /^MSWin32|darwin$/);
# FreeBSD 3.3 with libgd built from ports croaks if -lXpm is specified
if ($^O ne 'freebsd' && $^O ne 'MSWin32') {
]]>
</programlisting>
</para>
<para>
Then, run these commands to finish the installation of the perl module:
<simplelist>
<member><command>perl Makefile.PL</command></member>
<member><command>make</command></member>
<member><command>make test</command></member>
<member><command>make install</command></member>
<member>And don't forget to run <command>exit</command> to get back to cpan.</member>
</simplelist>
</para>
<para>
Happy Hacking!
</para>
</section>
<section id="bsdinstall" xreflabel="BSD Installation Notes">
<title>BSD Installation Notes</title>
<para>
For instructions on how to set up Bugzilla on FreeBSD, NetBSD, OpenBSD, BSDi, etc. please
consult <xref linkend="osx">.
</para>
</section>
<section id="geninstall" xreflabel="Installation General Notes">
<title>Installation General Notes</title>
<section>
<title>Modifying Your Running System</title>
<para>
Bugzilla optimizes database lookups by storing all relatively static Bugzilla optimizes database lookups by storing all relatively static
information in the versioncache file, located in the data/ subdirectory information in the versioncache file, located in the data/ subdirectory
under your installation directory (we said before it needs to be writable, under your installation directory.
right?!) </para>
</PARA> <para>
<PARA> If you make a change to the structural data in your database
If you make a change to the structural data in your database (the (the versions table for example), or to the
versions table for example), or to the "constants" encoded in <quote>constants</quote> encoded in defparams.pl, you will
defparams.pl, you will need to remove the cached content from the data need to remove the cached content from the data directory
directory (by doing a "rm data/versioncache"), or your changes won't show (by doing a <quote>rm data/versioncache</quote>), or your
up! changes won't show up.
</PARA> </para>
<PARA> <para>
That file gets automatically regenerated whenever it's more than an That file gets automatically regenerated whenever it's more than an
hour old, so Bugzilla will eventually notice your changes by itself, but hour old, so Bugzilla will eventually notice your changes by itself, but
generally you want it to notice right away, so that you can test things. generally you want it to notice right away, so that you can test things.
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>Upgrading From Previous Versions</TITLE> <title>Upgrading From Previous Versions</title>
<PARA> <para>
The developers of Bugzilla are constantly adding new tables, columns and The developers of Bugzilla are constantly adding new tables, columns and
fields. You'll get SQL errors if you just update the code. The strategy fields. You'll get SQL errors if you just update the code. The strategy
to update is to simply always run the checksetup.pl script whenever to update is to simply always run the checksetup.pl script whenever
you upgrade your installation of Bugzilla. If you want to see what has you upgrade your installation of Bugzilla. If you want to see what has
changed, you can read the comments in that file, starting from the end. changed, you can read the comments in that file, starting from the end.
</PARA> </para>
</SECTION> <para>
<SECTION> If you are running Bugzilla version 2.8 or lower, and wish to upgrade to
<TITLE>UNIX Installation Instructions History</TITLE> the latest version, please consult the file, "UPGRADING-pre-2.8" in the
<PARA> Bugzilla root directory after untarring the archive.
</para>
</section>
<section id="htaccess" xreflabel=".htaccess files and security">
<title><filename>.htaccess</filename> files and security</title>
<para>
To enhance the security of your Bugzilla installation,
Bugzilla will generate
<glossterm><filename>.htaccess</filename></glossterm> files
which the Apache webserver can use to restrict access to
the bugzilla data files. The checksetup script will
generate the <filename>.htaccess</filename> files.
<note>
<para>
If you are using an alternate provider of
<productname>webdot</productname> services for graphing
(as described when viewing
<filename>editparams.cgi</filename> in your web
browser), you will need to change the ip address in
<filename>data/webdot/.htaccess</filename> to the ip
address of the webdot server that you are using.
</para>
</note>
</para>
<para>
If you are using Internet Information Server or other web
server which does not observe <filename>.htaccess</filename>
conventions, you can disable their creation by editing
<filename>localconfig</filename> and setting the
<varname>$create_htaccess</varname> variable to
<parameter>0</parameter>.
</para>
</section>
<section>
<title>UNIX Installation Instructions History</title>
<para>
This document was originally adapted from the Bonsai installation This document was originally adapted from the Bonsai installation
instructions by Terry Weissman &lt;terry@mozilla.org&gt;. instructions by Terry Weissman &lt;terry@mozilla.org&gt;.
</PARA> </para>
<PARA> <para>
The February 25, 1999 re-write of this page was done by Ry4an Brase The February 25, 1999 re-write of this page was done by Ry4an Brase
&lt;ry4an@ry4an.org&gt;, with some edits by Terry Weissman, Bryce Nesbitt, &lt;ry4an@ry4an.org&gt;, with some edits by Terry Weissman, Bryce Nesbitt,
Martin Pool, & Dan Mosedale (But don't send bug reports to them! Martin Pool, & Dan Mosedale (But don't send bug reports to them;
Report them using bugzilla, at http://bugzilla.mozilla.org/enter_bug.cgi , report them using bugzilla, at http://bugzilla.mozilla.org/enter_bug.cgi ,
project Webtools, component Bugzilla). project Webtools, component Bugzilla).
</PARA> </para>
<PARA> <para>
This document was heavily modified again Wednesday, March 07 2001 to This document was heavily modified again Wednesday, March 07 2001 to
reflect changes for Bugzilla 2.12 release by Matthew P. Barnson. The reflect changes for Bugzilla 2.12 release by Matthew P. Barnson. The
securing MySQL section should be changed to become standard procedure securing MySQL section should be changed to become standard procedure
for Bugzilla installations. for Bugzilla installations.
</PARA> </para>
<PARA> <para>
Finally, the README in its entirety was marked up in SGML and included into Finally, the README in its entirety was marked up in SGML and included into
the Guide on April 24, 2001. the Guide on April 24, 2001 by Matt Barnson. Since that time, it's undergone
</PARA> extensive modification as Bugzilla grew.
<PARA> </para>
<para>
Comments from people using this Guide for the first time are particularly welcome. Comments from people using this Guide for the first time are particularly welcome.
</PARA> </para>
</SECTION> </section>
</SECTION> </section>
</SECTION> <section id="win32" xreflabel="Win32 Installation Notes">
</SECTION> <title>Win32 Installation Notes</title>
<para>This section covers installation on Microsoft Windows 95,
<SECTION id="README.windows"> 98, ME, NT, and 2000. Bugzilla works fine on Win32 platforms,
<TITLE>Win32 (Win98+/NT/2K) Installation</TITLE> but please remember that the Bugzilla team and the author of the
<PARA> Guide neither endorse nor support installation on Microsoft
These directions have <EMPHASIS>not</EMPHASIS> been extensively tested. Windows. Bugzilla installs and runs <emphasis>best</emphasis>
We need testers! Please try these out and post any changes to the and <emphasis>easiest</emphasis> on UNIX-like operating systems,
newsgroup. and that is the way it will stay for the foreseeable future. The
</PARA> Bugzilla team is considering supporting Win32 for the 2.16
<SECTION id="ntverified"> release and later.</para>
<TITLE>Win32 Installation: Step-by-step</TITLE> <para>The easiest way to install Bugzilla on Intel-archiecture
<NOTE> machines is to install some variant of GNU/Linux, then follow
<PARA> the UNIX installation instructions in this Guide. If you have
You should be familiar with, and cross-reference, the UNIX README any influence in the platform choice for running this system,
while performing your Win32 installation. Unfortunately, Win32 please choose GNU/Linux instead of Microsoft Windows.</para>
directions are not yet as detailed as those for UNIX.
</PARA> <section id="wininstall" xreflabel="Win32 Installation: Step-by-step">
<PARA> <title>Win32 Installation: Step-by-step</title>
The <EMPHASIS>most critical</EMPHASIS> difference for Win32 users is <note>
the lack of support for a crypt() function in MySQL for Windows. It does not <para>
have it! All ENCRYPT statements must be modified. You should be familiar with, and cross-reference, the rest
</PARA> of the
</NOTE> <xref linkend="installation"> section while performing your
Win32 installation.
<PROCEDURE> </para>
<STEP> <para> Making Bugzilla work on Microsoft Windows is no
<PARA> picnic. Support for Win32 has improved dramatically in the
Install <ULINK URL="http://www.apache.org/">Apache Web Server</ULINK> last few releases, but, if you choose to proceed, you should
be a <emphasis>very</emphasis> skilled Windows Systems
Administrator with both strong troubleshooting abilities and
a high tolerance for pain. Bugzilla on NT requires hacking
source code and implementing some advanced utilities. What
follows is the recommended installation procedure for Win32;
additional suggestions are provided in <xref linkend="faq">.
</para>
</note>
<procedure>
<step>
<para>
Install <ulink url="http://www.apache.org/">Apache Web Server</ulink>
for Windows. for Windows.
</PARA> </para>
<NOTE> <note>
<PARA> <para>
You may also use Internet Information Server or Personal Web You may also use Internet Information Server or Personal Web
Server for this purpose. However, setup is slightly more Server for this purpose. However, setup is slightly more
difficult. If ActivePerl doesn't seem to handle your file difficult. If ActivePerl doesn't seem to handle your file
associations correctly (for .cgi and .pl files), please associations correctly (for .cgi and .pl files), please
consult the FAQ, in the "Win32" section. consult <xref linkend="faq">.
</PARA> </para>
<PARA> <para>
If you are going to use IIS, if on Windows NT you must be updated If you are going to use IIS, if on Windows NT you must
to at least Service Pack 4. be updated to at least Service Pack 4. Windows 2000
</PARA> ships with a sufficient version of IIS.
</NOTE> </para>
</STEP> </note>
<STEP> </step>
<PARA> <step>
Install <ULINK URL="http://www.activestate.com/">ActivePerl</ULINK> <para>
</PARA> Install <ulink url="http://www.activestate.com/">ActivePerl</ulink> for Windows. Check <ulink url="http://aspn.activestate.com/ASPN/Downloads/ActivePerl/">http://aspn.activestate.com/ASPN/Downloads/ActivePerl</ulink> for a current compiled binary.
<PARA> </para>
<para>
Please also check the following links to fully understand the status Please also check the following links to fully understand the status
of ActivePerl on Win32: of ActivePerl on Win32:
<ULINK URL="http://language.perl.com/newdocs/pod/perlport.html"> <ulink url="http://language.perl.com/newdocs/pod/perlport.html">
Perl Porting</ULINK>, and Perl Porting</ulink>, and
<ULINK URL="http://ftp.univie.ac.at/packages/perl/ports/nt/FAQ/perlwin32faq5.html"> <ulink url="http://ftp.univie.ac.at/packages/perl/ports/nt/FAQ/perlwin32faq5.html">
Hixie Click Here</ULINK> Perl on Win32 FAQ</ulink>
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
Use ppm from your perl\bin directory to install the following packs: DBI, Use ppm from your perl\bin directory to install the following packs: DBI,
DBD-Mysql, TimeDate, Chart, Date-Calc, Date-Manip, and GD. You may need DBD-Mysql, TimeDate, Chart, Date-Calc, Date-Manip, and GD. You may need
to extract them from .zip format using Winzip or other unzip program first. to extract them from .zip format using Winzip or other unzip program first.
These additional ppm modules can be downloaded from ActiveState. These additional ppm modules can be downloaded from ActiveState.
</PARA> </para>
<PARA> <note>
<para>
You can find a list of modules at
<ulink url="http://www.activestate.com/PPMPackages/zips/5xx-builds-only">
http://www.activestate.com/PPMPackages/zips/5xx-builds-only/</ulink>
</para>
</note>
<para>
The syntax for ppm is: The syntax for ppm is:
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>C:> </PROMPT><COMMAND>ppm install &lt;module&gt;.ppd</COMMAND> <prompt>C:> </prompt><command>ppm &lt;modulename&gt;</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
<PARA>
<example>
<title>Installing ActivePerl ppd Modules on Microsoft Windows</title>
<para><prompt>C:></prompt><command>ppm
<option>DBD-Mysql</option></command></para>
<para>Watch your capitalization!</para>
</example>
<para>
You can find ActiveState ppm modules at You can find ActiveState ppm modules at
<ULINK URL="http://www.activestate.com/PPMPackages/5.6plus/"> <ulink url="http://www.activestate.com/PPMPackages/5.6plus/">
http://www.activestate.com/PPMPackages/5.6plus</ULINK> http://www.activestate.com/PPMPackages/5.6plus</ulink>
</PARA> </para>
</STEP> </step>
<STEP>
<PARA> <step>
Download and install the Windows GNU tools from <para>
<ULINK URL="http://www.cygwin.com/">www.cygwin.com</ULINK>.
Make sure the GNU utilities are in your $PATH.
</PARA>
</STEP>
<STEP>
<PARA>
Install MySQL for NT. Install MySQL for NT.
<NOTE> <note>
<PARA> <para>
Your configuration file for MySQL <EMPHASIS>must</EMPHASIS> be named C:\MY.CNF. You can download MySQL for Windows NT from <ulink
</PARA> url="http://www.mysql.com/">MySQL.com</ulink>. Some find it helpful to use the WinMySqlAdmin utility, included with the download, to set up the database.
</NOTE> </para>
</PARA> </note>
</STEP> </para>
<STEP> </step>
<PARA> <step>
<para>
Setup MySQL Setup MySQL
</PARA> </para>
<SUBSTEPS> <substeps>
<STEP> <step>
<PARA> <para>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>C:> </PROMPT> <prompt>C:> </prompt>
<COMMAND>C:\mysql\bin\mysql -u root mysql</COMMAND> <command>C:\mysql\bin\mysql -u root mysql</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND>DELETE FROM user WHERE Host='localhost' AND User='';</COMMAND> <command>DELETE FROM user WHERE Host='localhost' AND User='';</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND>UPDATE user SET Password=PASSWORD ('new_password') <command>UPDATE user SET Password=PASSWORD ('new_password')
WHERE user='root';</COMMAND> WHERE user='root';</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
</STEP> <para><quote>new_password</quote>, above, indicates
<STEP> whatever password you wish to use for your
<PARA> <quote>root</quote> user.</para>
<COMPUTEROUTPUT> </step>
<PROMPT>mysql></PROMPT> <step id="ntbugs-password">
<COMMAND>GRANT SELECT, INSERT, UPDATE, DELETE, <para>
<computeroutput>
<prompt>mysql></prompt>
<command>GRANT SELECT, INSERT, UPDATE, DELETE,
INDEX, ALTER, CREATE, DROP, REFERENCES INDEX, ALTER, CREATE, DROP, REFERENCES
ON bugs.* to bugs@localhost ON bugs.* to bugs@localhost
IDENTIFIED BY 'bugs_password';</COMMAND> IDENTIFIED BY 'bugs_password';</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
</STEP> <para><quote>bugs_password</quote>, above, indicates
<STEP> whatever password you wish to use for your
<PARA> <quote>bugs</quote> user.</para>
<COMPUTEROUTPUT> </step>
<PROMPT>mysql></PROMPT> <step>
<COMMAND>FLUSH PRIVILEGES;</COMMAND> <para>
</COMPUTEROUTPUT> <computeroutput>
</PARA> <prompt>mysql></prompt>
</STEP> <command>FLUSH PRIVILEGES;</command>
<STEP> </computeroutput>
<PARA> </para>
<COMPUTEROUTPUT> </step>
<PROMPT>mysql></PROMPT> <step>
<COMMAND>create database bugs;</COMMAND> <para>
</COMPUTEROUTPUT> <computeroutput>
</PARA> <prompt>mysql></prompt>
</STEP> <command>create database bugs;</command>
<STEP> </computeroutput>
<PARA> </para>
<COMPUTEROUTPUT> </step>
<PROMPT>mysql></PROMPT> <step>
<COMMAND>exit</COMMAND> <para>
</COMPUTEROUTPUT> <computeroutput>
</PARA> <prompt>mysql></prompt>
</STEP> <command>exit;</command>
<STEP> </computeroutput>
<PARA> </para>
<COMPUTEROUTPUT> </step>
<PROMPT>C:></PROMPT> <step>
<COMMAND>C:\mysql\bin\mysqladmin -u root -p reload</COMMAND> <para>
</COMPUTEROUTPUT> <computeroutput>
</PARA> <prompt>C:></prompt>
</STEP> <command>C:\mysql\bin\mysqladmin -u root -p reload</command>
</SUBSTEPS> </computeroutput>
</STEP> </para>
</step>
<STEP> </substeps>
<PARA> </step>
Configure Bugzilla. For Win32, this involves editing "defparams.pl"
and "localconfig" to taste. Running "checksetup.pl" should create <step>
localconfig for you. Note that getgrnam() doesn't work, and should be <para>
deleted. Change this line: Edit <filename>checksetup.pl</filename> in your Bugzilla directory. Change
this line:
</para>
<para>
"my $webservergid = getgrnam($my_webservergroup); " "my $webservergid = getgrnam($my_webservergroup); "
</para>
<para>
to to
</para>
<para>
"my $webservergid = $my_webservergroup; " "my $webservergid = $my_webservergroup; "
</PARA> </para>
</STEP> </step>
<STEP> <step>
<NOTE> <para>
<PARA> Run <filename>checksetup.pl</filename> from the Bugzilla directory.
</para>
</step>
<step>
<para>Edit <filename>localconfig</filename> to suit your
requirements. Set <varname>$db_pass</varname> to your
<quote>bugs_password</quote> from <xref
linkend="ntbugs-password">, and <varname>$webservergroup</varname> to <quote>8</quote>.</para>
<note>
<para>Not sure on the <quote>8</quote> for
<varname>$webservergroup</varname> above. If it's
wrong, please send corrections.</para>
</note>
</step>
<step>
<para>
Edit <filename>defparams.pl</filename> to suit your
requirements. Particularly, set
<varname>DefParam("maintainer")</varname> and
<varname>DefParam("urlbase") to match your
install.</varname>
</para>
<note>
<para>This is yet another step I'm not sure of, since the
maintainer of this documentation does not maintain
Bugzilla on NT. If you can confirm or deny that this
step is required, please let me know.</para>
</note>
</step>
<step>
<note>
<para>
There are several alternatives to Sendmail that will work on Win32. There are several alternatives to Sendmail that will work on Win32.
The one mentioned here is a <EMPHASIS>suggestion</EMPHASIS>, not The one mentioned here is a <emphasis>suggestion</emphasis>, not
a requirement. Some other mail packages that can work include a requirement. Some other mail packages that can work include
<ULINK URL="http://www.blat.net/">BLAT</ULINK>, <ulink url="http://www.blat.net/">BLAT</ulink>,
<ULINK URL="http://www.geocel.com/windmail/">Windmail</ULINK>, <ulink url="http://www.geocel.com/windmail/">Windmail</ulink>,
<ULINK URL="http://www.dynamicstate.com/">Mercury Sendmail</ULINK>, <ulink url="http://www.dynamicstate.com/">Mercury Sendmail</ulink>,
and the CPAN Net::SMTP Perl module (available in .ppm). and the CPAN Net::SMTP Perl module (available in .ppm).
Every option requires some hacking of the Perl scripts for Bugzilla Every option requires some hacking of the Perl scripts for Bugzilla
to make it work. The option here simply requires the least. to make it work. The option here simply requires the least.
</PARA> </para>
</NOTE> </note>
<PARA>
Download NTsendmail, available from<ULINK URL="http://www.ntsendmail.com/"> <procedure>
www.ntsendmail.com</ULINK>. In order for it to work, you must set up some <step>
new environment variables (detailed on the ntsendmail home page). Figuring <para>
out where to put those variables is left as an exercise for the reader. Download NTsendmail, available from<ulink
You must have a "real" mail server which allows you to relay off it url="http://www.ntsendmail.com/"> www.ntsendmail.com</ulink>. You must have a "real" mail server which allows you to relay off it in your $ENV{"NTsendmail"} (which you should probably place in globals.pl)
in your $ENV{"NTsendmail"} (which you should probably place in globals.pl) </para>
</PARA> </step>
<PARA>
Once downloaded and installed, modify all open(SENDMAIL) calls to open <step>
"| c:\ntsendmail\ntsendmail -t" instead of "|/usr/lib/sendmail -t". <para>Put ntsendmail.pm into your .\perl\lib directory.</para>
</PARA> </step>
<NOTE>
<PARA> <step>
We need someone to test this and make sure this works as advertised. <para>Add to globals.pl:</para>
</PARA> <programlisting>
</NOTE> # these settings configure the NTsendmail process
</STEP> use NTsendmail;
<STEP> $ENV{"NTsendmail"}="your.smtpserver.box";
<PARA> $ENV{"NTsendmail_debug"}=1;
Modify globals.pl and CGI.pl to remove the word "encrypt". $ENV{"NTsendmail_max_tries"}=5;
</PARA> </programlisting>
<NOTE> <note>
<PARA> <para>
I'm not sure this is all that is involved to remove crypt. Any Some mention to also edit
NT Bugzilla hackers want to pipe up? <varname>$db_pass</varname> in
</PARA> <filename>globals.pl</filename> to be your
</NOTE> <quote>bugs_password</quote>. Although this may get
</STEP> you around some problem authenticating to your
<STEP> database, since globals.pl is not normally
<PARA> restricted by <filename>.htaccess</filename>, your
Change all references to "processmail" to "processmail.pl" in database password is exposed to whoever uses your
all files, and rename "processmail" to "processmail.pl" web server.
</PARA> </para>
<NOTE> </note>
<PARA> </step>
I really think this may be a change we want to make for
<step>
<para>
Find and comment out all occurences of
<quote><command>open(SENDMAIL</command></quote> in
your Bugzilla directory. Then replace them with:
<programlisting>
# new sendmail functionality
my $mail=new NTsendmail;
my $from="bugzilla\@your.machine.name.tld";
my $to=$login;
my $subject=$urlbase;
$mail->send($from,$to,$subject,$msg);
</programlisting>
</para>
<note>
<para>The code above needs testing as well to make sure it is correct.</para>
</note>
</step>
</procedure>
</step>
<step>
<para>
Change all references in all files from
<filename>processmail</filename> to
<filename>processmail.pl</filename>, and
rename <filename>processmail</filename> to
<filename>processmail.pl</filename>.
</para>
<note>
<para>
Many think this may be a change we want to make for
main-tree Bugzilla. It's painless for the UNIX folks, main-tree Bugzilla. It's painless for the UNIX folks,
and will make the Win32 people happier. and will make the Win32 people happier.
</PARA> </para>
</NOTE> </note>
</STEP> <note>
<STEP> <para>
<PARA> Some people have suggested using the Net::SMTP Perl module instead of NTsendmail or the other options listed here. You can change processmail.pl to make this work.
Modify the path to perl on the first line (#!) of all files <programlisting>
to point to your Perl installation, and <![CDATA[
add "perl" to the beginning of all Perl system calls that
use a perl script as an argument. This may take you a while. my $smtp = Net::SMTP->new('<Name of your SMTP server>'); #connect to SMTP server
There is a "setperl.pl" utility to speed part of this procedure, $smtp->mail('<your name>@<you smpt server>');# use the sender's adress here
available in the "Patches and Utilities" section of The Bugzilla Guide. $smtp->to($tolist); # recipient's address
</PARA> $smtp->data(); # Start the mail
</STEP> $smtp->datasend($msg);
<STEP> $smtp->dataend(); # Finish sending the mail
<PARA> $smtp->quit; # Close the SMTP connection
In processmail.pl, add "binmode(HANDLE)" before all read() calls. $logstr = "$logstr; mail sent to $tolist $cclist";
This may not be necessary, but in some cases the read() under }
Win32 doesn't count the EOL's without using a binary read().
</PARA> ]]>
</STEP> </programlisting>
</PROCEDURE> here is a test mail program for Net::SMTP:
<programlisting>
</SECTION> <![CDATA[
<SECTION id="addlwintips"> use Net::SMTP;
<TITLE>Additional Windows Tips</TITLE> my $smtp = Net::SMTP->new('<Name of your SMTP server', Timeout => 30, Debug
<TIP> => 1, ); # connect to SMTP server
<PARA> $smtp->auth;
$smtp->mail('you@yourcompany.com');# use the sender's adress
here
$smtp->to('someotherAddress@someotherdomain.com'); #
recipient's address
$smtp->data(); # Start the mail
$smtp->datasend('test');
$smtp->dataend(); # Finish sending the mail
$smtp->quit; # Close the SMTP connection
exit;
]]>
</programlisting>
</para>
</note>
</step>
<step>
<note>
<para>
This step is completely optional if you are using IIS or
another web server which only decides on an interpreter
based upon the file extension (.pl), rather than the
<quote>shebang</quote> line (#/usr/bonsaitools/bin/perl)
</para>
</note>
<para>
Modify the path to perl on the first line (#!) of all
files to point to your Perl installation, and add
<quote>perl</quote> to the beginning of all Perl system
calls that use a perl script as an argument. This may
take you a while. There is a <quote>setperl.csh</quote>
utility to speed part of this procedure, available in the
<xref linkend="patches"> section of The Bugzilla Guide.
However, it requires the Cygwin GNU-compatible environment
for Win32 be set up in order to work. See <ulink
url="http://www.cygwin.com/">http://www.cygwin.com/</ulink> for details on obtaining Cygwin.
</para>
</step>
<step>
<para>
Modify the invocation of all system() calls in all perl scripts in your Bugzilla directory. For instance, change this line in processmail:
<programlisting>
system ("./processmail.pl",@ARGLIST);
</programlisting>
to
<programlisting>
system ("perl processmail.pl",@ARGLIST);
</programlisting>
</para>
</step>
</procedure>
<tip>
<para>
If you are using IIS 5.0 or higher, you must add cgi
relationships to Properties -> Home directory (tab) ->
Application Settings (section) -> Configuration (button),
such as: <programlisting>
.cgi to: &lt;perl install directory&gt;\perl.exe %s %s
.pl to: &lt;perl install directory&gt;\perl.exe %s %s
GET,HEAD,POST
</programlisting>
Change the path to Perl to match your
install, of course.
</para>
</tip>
</section>
<section id="addlwintips">
<title>Additional Windows Tips</title>
<tip>
<para>
From Andrew Pearson: From Andrew Pearson:
<BLOCKQUOTE> <blockquote>
<PARA> <para>
"You can make Bugzilla work with Personal Web Server for "You can make Bugzilla work with Personal Web Server for
Windows 98 and higher, as well as for IIS 4.0. Microsoft has Windows 98 and higher, as well as for IIS 4.0. Microsoft has
information available at information available at
<ULINK URL=" http://support.microsoft.com/support/kb/articles/Q231/9/98.ASP"> <ulink url=" http://support.microsoft.com/support/kb/articles/Q231/9/98.ASP">
http://support.microsoft.com/support/kb/articles/Q231/9/98.ASP</ULINK> http://support.microsoft.com/support/kb/articles/Q231/9/98.ASP</ulink>
</PARA> </para>
<PARA> <para>
Basically you need to add two String Keys in the Basically you need to add two String Keys in the
registry at the following location: registry at the following location:
</PARA> </para>
<PARA> <para>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\ScriptMap HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\ScriptMap
</PARA> </para>
<PARA> <para>
The keys should be called ".pl" and ".cgi", and both The keys should be called ".pl" and ".cgi", and both
should have a value something like: should have a value something like:
<COMMAND>c:/perl/bin/perl.exe "%s" "%s"</COMMAND> <command>c:/perl/bin/perl.exe "%s" "%s"</command>
</PARA> </para>
<PARA> <para>
The KB article only talks about .pl, but it goes into The KB article only talks about .pl, but it goes into
more detail and provides a perl test script. more detail and provides a perl test script.
</PARA> </para>
</BLOCKQUOTE> </blockquote>
</PARA> </para>
</TIP> </tip>
<TIP> <tip>
<PARA>"Brian" had this to add, about upgrading to Bugzilla 2.12 from previous versions:</PARA> <para>"Brian" had this to add, about upgrading to Bugzilla 2.12 from previous versions:</para>
<BLOCKQUOTE> <blockquote>
<PARA> <para>
Hi - I am updating bugzilla to 2.12 so I can tell you what I did (after I Hi - I am updating bugzilla to 2.12 so I can tell you what I did (after I
deleted the current dir and copied the files in). deleted the current dir and copied the files in).
</PARA> </para>
<PARA> <para>
In checksetup.pl, I did the following... In checksetup.pl, I did the following...
</PARA> </para>
<PROCEDURE> <procedure>
<STEP> <step>
<PROGRAMLISTING> <programlisting>
my $webservergid = getgrnam($my_webservergroup); my $webservergid = getgrnam($my_webservergroup);
</PROGRAMLISTING> </programlisting>
<PARA>to</PARA> <para>to</para>
<PROGRAMLISTING> <programlisting>
my $webservergid = 'Administrators' my $webservergid = 'Administrators'
</PROGRAMLISTING> </programlisting>
</STEP> </step>
<STEP> <step>
<PARA> <para>
I then ran checksetup.pl I then ran checksetup.pl
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
I removed all the encrypt() I removed all the encrypt()
<EXAMPLE> <example>
<TITLE>Removing encrypt() for Windows NT installations</TITLE> <title>Removing encrypt() for Windows NT installations</title>
<PARA> <para>
Replace this: Replace this:
<PROGRAMLISTING> <programlisting>
SendSQL("SELECT encrypt(" . SqlQuote($enteredpwd) . ", " . SendSQL("SELECT encrypt(" . SqlQuote($enteredpwd) . ", " .
SqlQuote(substr($realcryptpwd, 0, 2)) . ")"); SqlQuote(substr($realcryptpwd, 0, 2)) . ")");
my $enteredcryptpwd = FetchOneColumn(); my $enteredcryptpwd = FetchOneColumn();
</PROGRAMLISTING> </programlisting>
with this: with this:
<PROGRAMLISTING> <programlisting>
my $enteredcryptpwd = $enteredpwd my $enteredcryptpwd = $enteredpwd
</PROGRAMLISTING> </programlisting>
in cgi.pl. in cgi.pl.
</PARA> </para>
</EXAMPLE> </example>
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
I renamed processmail to processmail.pl I renamed processmail to processmail.pl
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
I altered the sendmail statements to windmail: I altered the sendmail statements to windmail:
<PROGRAMLISTING> <programlisting>
open SENDMAIL, "|\"C:/General/Web/tools/Windmail 4.0 Beta/windmail\" -t > mail.log"; open SENDMAIL, "|\"C:/General/Web/tools/Windmail 4.0 Beta/windmail\" -t > mail.log";
</PROGRAMLISTING> </programlisting>
</PARA> </para>
<PARA> <para>
The quotes around the dir is for the spaces. mail.log is for the output The quotes around the dir is for the spaces. mail.log is for the output
</PARA> </para>
</STEP> </step>
</PROCEDURE> </procedure>
</BLOCKQUOTE> </blockquote>
</TIP> </tip>
<TIP> <tip>
<PARA> <para>
This was some late breaking information from Jan Evert. Sorry for the lack of formatting. This was some late breaking information from Jan Evert. Sorry for the lack of formatting.
</PARA> </para>
<LITERALLAYOUT> <literallayout>
I'm busy installing bugzilla on a WinNT machine and I thought I'd notify you I'm busy installing bugzilla on a WinNT machine and I thought I'd notify you
at this moment of the commments I have to section 2.2.1 of the bugzilla at this moment of the commments I have to section 2.2.1 of the bugzilla
guide (at http://www.trilobyte.net/barnsons/html/). guide (at http://www.trilobyte.net/barnsons/html/).
...@@ -1340,7 +1731,7 @@ necessary to add the ExecCGI option to the bugzilla directory. Also the ...@@ -1340,7 +1731,7 @@ necessary to add the ExecCGI option to the bugzilla directory. Also the
'AddHandler' line for .cgi is by default commented out. 'AddHandler' line for .cgi is by default commented out.
Step 3: although just a detail, 'ppm install &lt;module%gt;' will also work Step 3: although just a detail, 'ppm install &lt;module%gt;' will also work
(wihtout .ppd). And, it can also download these automatically from (without .ppd). And, it can also download these automatically from
ActiveState. ActiveState.
Step 4: although I have cygwin installed, it seems that it is not necessary. Step 4: although I have cygwin installed, it seems that it is not necessary.
...@@ -1372,30 +1763,30 @@ that apache can serve them. ...@@ -1372,30 +1763,30 @@ that apache can serve them.
Just noticed the updated guide... Brian's comment is new. His first comment Just noticed the updated guide... Brian's comment is new. His first comment
will work, but opens up a huge security hole. will work, but opens up a huge security hole.
</LITERALLAYOUT> </literallayout>
</TIP> </tip>
</SECTION> </section>
</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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:upper
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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" > -->
<!-- Keep these tools listings in alphabetical order please. -MPB --> <!-- Keep these tools listings in alphabetical order please. -MPB -->
...@@ -12,14 +12,13 @@ ...@@ -12,14 +12,13 @@
<section id="cvs"> <section id="cvs">
<title>CVS</title> <title>CVS</title>
<para>We need CVS integration information</para> <para>CVS integration is best accomplished, at this point, using the Bugzilla Email Gateway.</para>
</section> </section>
<section id="scm"> <section id="scm">
<title>Perforce SCM</title> <title>Perforce SCM</title>
<para> <para>
Richard Brooksby created a Perforce integration tool for Bugzilla and TeamTrack. You can find the project page for Bugzilla and Teamtrack Perforce integration at:
You can find the main project page at
<ulink url="http://www.ravenbrook.com/project/p4dti/"> <ulink url="http://www.ravenbrook.com/project/p4dti/">
http://www.ravenbrook.com/project/p4dti</ulink>. "p4dti" is now an officially http://www.ravenbrook.com/project/p4dti</ulink>. "p4dti" is now an officially
supported product from Perforce, and you can find the "Perforce Public Depot" supported product from Perforce, and you can find the "Perforce Public Depot"
...@@ -54,22 +53,25 @@ ...@@ -54,22 +53,25 @@
</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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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"> <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>
<section id="setperl"> <section id="setperl" xreflabel="The setperl.csh Utility">
<title>The setperl.csh Utility</title> <title>The setperl.csh Utility</title>
<para> <para> You can use the "setperl.csh" utility to quickly and
You can use the "setperl.csh" utility to quickly and easily easily change the path to perl on all your Bugzilla files. This
change the path to perl on all your Bugzilla files. is a C-shell script; if you do not have "csh" or "tcsh" in the
This is a C-shell script; if you do not have "csh" or "tcsh" in the search search path on your system, it will not work!
path on your system, it will not work!
</para> </para>
<procedure> <procedure>
<step> <step>
...@@ -28,18 +27,15 @@ ...@@ -28,18 +27,15 @@
</step> </step>
<step> <step>
<para> <para>
<computeroutput> <computeroutput> <prompt>bash#</prompt> <command>wget -O
<prompt>bash#</prompt> setperl.csh
<command>wget -O setperl.csh 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=10795'</command> 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=10795'</command> </computeroutput>
</computeroutput>
</para> </para>
</step> </step>
<step> <step>
<para> <para>
<computeroutput> <computeroutput> <prompt>bash#</prompt> <command>chmod
<prompt>bash#</prompt> u+x setperl.csh</command> </computeroutput>
<command>chmod u+x setperl.csh</command>
</computeroutput>
</para> </para>
</step> </step>
</substeps> </substeps>
...@@ -59,10 +55,8 @@ ...@@ -59,10 +55,8 @@
</step> </step>
<step> <step>
<para> <para>
<computeroutput> <computeroutput> <prompt>bash#</prompt> <command>chmod
<prompt>bash#</prompt> u+x duplicates.cgi</command> </computeroutput>
<command>chmod u+x duplicates.cgi</command>
</computeroutput>
</para> </para>
</step> </step>
<step> <step>
...@@ -80,15 +74,13 @@ ...@@ -80,15 +74,13 @@
Run the script: Run the script:
</para> </para>
<para> <para>
<computeroutput> <computeroutput> <prompt>bash#</prompt>
<prompt>bash#</prompt>
<command>./setperl.csh /your/path/to/perl</command> <command>./setperl.csh /your/path/to/perl</command>
</computeroutput> </computeroutput>
<example> <example>
<title>Using Setperl to set your perl path</title> <title>Using Setperl to set your perl path</title>
<para> <para>
<computeroutput> <computeroutput> <prompt>bash#</prompt>
<prompt>bash#</prompt>
<command>./setperl.csh /usr/bin/perl</command> <command>./setperl.csh /usr/bin/perl</command>
</computeroutput> </computeroutput>
</para> </para>
...@@ -101,22 +93,23 @@ ...@@ -101,22 +93,23 @@
<section id="cmdline"> <section id="cmdline">
<title>Command-line Bugzilla Queries</title> <title>Command-line Bugzilla Queries</title>
<para> <para>
Users can query Bugzilla from the command line using Users can query Bugzilla from the command line using this suite
this suite of utilities. of utilities.
</para> </para>
<para> <para>
The query.conf file contains the mapping from options to field The query.conf file contains the mapping from options to field
names and comparison types. Quoted option names are "grepped" for, so names and comparison types. Quoted option names are "grepped"
it should be easy to edit this file. Comments (#) have no effect; you for, so it should be easy to edit this file. Comments (#) have
must make sure these lines do not contain any quoted "option" no effect; you must make sure these lines do not contain any
quoted "option"
</para> </para>
<para> <para>
buglist is a shell script which submits a Bugzilla query and writes the buglist is a shell script which submits a Bugzilla query and
resulting HTML page to stdout. It supports both short options, writes the resulting HTML page to stdout. It supports both
(such as "-Afoo" or "-Rbar") and long options (such as short options, (such as "-Afoo" or "-Rbar") and long options
"--assignedto=foo" or "--reporter=bar"). If the first character (such as "--assignedto=foo" or "--reporter=bar"). If the first
of an option is not "-", it is treated as if it were prefixed character of an option is not "-", it is treated as if it were
with "--default=". prefixed with "--default=".
</para> </para>
<para> <para>
The columlist is taken from the COLUMNLIST environment variable. The columlist is taken from the COLUMNLIST environment variable.
...@@ -128,10 +121,10 @@ ...@@ -128,10 +121,10 @@
<para> <para>
bugs is a simple shell script which calls buglist and extracts bugs is a simple shell script which calls buglist and extracts
the bug numbers from the output. Adding the prefix the bug numbers from the output. Adding the prefix
"http://bugzilla.mozilla.org/buglist.cgi?bug_id=" "http://bugzilla.mozilla.org/buglist.cgi?bug_id=" turns the bug
turns the bug list into a working link if any bugs are found. list into a working link if any bugs are found. Counting bugs is
Counting bugs is easy. Pipe the results through easy. Pipe the results through <command>sed -e 's/,/ /g' | wc |
<command>sed -e 's/,/ /g' | wc | awk '{printf $2 "\n"}'</command> awk '{printf $2 "\n"}'</command>
</para> </para>
<para> <para>
Akkana says she has good results piping buglist output through Akkana says she has good results piping buglist output through
...@@ -145,26 +138,23 @@ ...@@ -145,26 +138,23 @@
<substeps> <substeps>
<step> <step>
<para> <para>
<computeroutput> <computeroutput> <prompt>bash$</prompt> <command>wget -O
<prompt>bash$</prompt> query.conf
<command>wget -O query.conf 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=26157'</command> 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=26157'</command> </computeroutput>
</computeroutput>
</para> </para>
</step> </step>
<step> <step>
<para> <para>
<computeroutput> <computeroutput> <prompt>bash$</prompt> <command>wget -O
<prompt>bash$</prompt> buglist
<command>wget -O buglist 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=26944'</command> 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=26944'</command> </computeroutput>
</computeroutput>
</para> </para>
</step> </step>
<step> <step>
<para> <para>
<computeroutput> <computeroutput> <prompt>bash#</prompt> <command>wget -O
<prompt>bash#</prompt> bugs
<command>wget -O bugs 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=26215'</command> 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=26215'</command> </computeroutput>
</computeroutput>
</para> </para>
</step> </step>
</substeps> </substeps>
...@@ -185,53 +175,64 @@ ...@@ -185,53 +175,64 @@
<title>The Quicksearch Utility</title> <title>The Quicksearch Utility</title>
<para> <para>
Quicksearch is a new, experimental feature of the 2.12 release. Quicksearch is a new, experimental feature of the 2.12 release.
It consist of two Javascript files, "quicksearch.js" and "localconfig.js", It consist of two Javascript files, "quicksearch.js" and
and two documentation files, "quicksearch.html" and "quicksearchhack.html" "localconfig.js", and two documentation files,
"quicksearch.html" and "quicksearchhack.html"
</para> </para>
<para> <para>
The index.html page has been updated to include the QuickSearch text box. The index.html page has been updated to include the QuickSearch
text box.
</para> </para>
<para> <para>
To take full advantage of the query power, the Bugzilla maintainer must To take full advantage of the query power, the Bugzilla
edit "localconfig.js" according to the value sets used in the local installation. maintainer must edit "localconfig.js" according to the value
sets used in the local installation.
</para> </para>
<para> <para>
Currently, keywords must be hard-coded in localconfig.js. If they are not, Currently, keywords must be hard-coded in localconfig.js. If
keywords are not automatically recognized. This means, if localconfig.js they are not, keywords are not automatically recognized. This
is left unconfigured, that searching for a bug with the "foo" keyword means, if localconfig.js is left unconfigured, that searching
will only find bugs with "foo" in the summary, status whiteboard, product or for a bug with the "foo" keyword will only find bugs with "foo"
component name, but not those with the keyword "foo". in the summary, status whiteboard, product or component name,
but not those with the keyword "foo".
</para> </para>
<para> <para>
Workarounds for Bugzilla users: Workarounds for Bugzilla users:
<simplelist> <simplelist>
<member>search for '!foo' (this will find only bugs with the keyword "foo"</member> <member>search for '!foo' (this will find only bugs with the
<member>search 'foo,!foo' (equivalent to 'foo OR keyword:foo')</member> keyword "foo"</member>
<member>search 'foo,!foo' (equivalent to 'foo OR
keyword:foo')</member>
</simplelist> </simplelist>
</para> </para>
<para> <para>
When this tool is ported from client-side JavaScript to server-side Perl, When this tool is ported from client-side JavaScript to
the requirement for hard-coding keywords can be fixed. server-side Perl, the requirement for hard-coding keywords can
<ulink url="http://bugzilla.mozilla.org/show_bug.cgi?id=70907">This bug</ulink> be fixed. <ulink
has details. url="http://bugzilla.mozilla.org/show_bug.cgi?id=70907">This bug</ulink> has details.
</para> </para>
</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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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="downloadlinks"> <appendix id="downloadlinks">
<title>Software Download Links</title> <title>Software Download Links</title>
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
http://www.mozilla.org/projects/bugzilla/</ulink> http://www.mozilla.org/projects/bugzilla/</ulink>
</para> </para>
<para> <para>
MySQL: <ulink url="http://www.mysql.org/">http://www.mysql.org/</ulink> MySQL: <ulink url="http://www.mysql.com/">http://www.mysql.com/</ulink>
</para> </para>
<para> <para>
Perl: <ulink url="http://www.perl.org">http://www.perl.org/</ulink> Perl: <ulink url="http://www.perl.org">http://www.perl.org/</ulink>
...@@ -63,20 +63,24 @@ ...@@ -63,20 +63,24 @@
</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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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 <!-- TOC
Chapter: Using Bugzilla Chapter: Using Bugzilla
...@@ -38,19 +38,19 @@ Chapter: Using Bugzilla ...@@ -38,19 +38,19 @@ Chapter: Using Bugzilla
<section id="whatis"> <section id="whatis">
<title>What is Bugzilla?</title> <title>What is Bugzilla?</title>
<para> <para>
Bugzilla is one example of a class of programs called "Defect Tracking Systems", Bugzilla is one example of a class of programs called "Defect
or, more commonly, "Bug-Tracking Systems". Defect Tracking Systems allow individual or Tracking Systems", or, more commonly, "Bug-Tracking Systems". Defect
groups of developers to keep track of outstanding bugs in their product effectively. Tracking Systems allow individual or groups of developers to keep
Bugzilla was originally written by Terry Weissman in a programming language called track of outstanding bugs in their product effectively. Bugzilla was
"TCL", to replace a crappy originally written by Terry Weissman in a programming language called
bug-tracking database used internally for Netscape Communications. Terry later ported "TCL", to replace a crappy bug-tracking database used internally for
Bugzilla to Netscape Communications. Terry later ported Bugzilla to Perl from
Perl from TCL, and in Perl it remains to this day. TCL, and in Perl it remains to this day. Most commercial
Most commercial defect-tracking software vendors at the defect-tracking software vendors at the time charged enormous
time charged enormous licensing fees, and Bugzilla quickly became a favorite of the licensing fees, and Bugzilla quickly became a favorite of the
open-source crowd (with its genesis in the open-source browser project, Mozilla). It open-source crowd (with its genesis in the open-source browser
is now the de-facto standard defect-tracking system against which all others are project, Mozilla). It is now the de-facto standard defect-tracking
measured. system against which all others are measured.
</para> </para>
<para> <para>
Bugzilla has matured immensely, and now boasts many advanced features. These include: Bugzilla has matured immensely, and now boasts many advanced features. These include:
...@@ -87,13 +87,13 @@ Chapter: Using Bugzilla ...@@ -87,13 +87,13 @@ Chapter: Using Bugzilla
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
email, XML, and HTTP APIs email, XML, console, and HTTP APIs
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
available integration with automated software configuration management systems, including available integration with automated software configuration management systems, including
Perforce and CVS. Perforce and CVS
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
...@@ -137,7 +137,7 @@ Chapter: Using Bugzilla ...@@ -137,7 +137,7 @@ Chapter: Using Bugzilla
with bug-tracking software, and instead simply relied on shared lists and 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 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 tends to cause those bugs judged least significant by developers to be
dropped or ignored dropped or ignored.
</para> </para>
<para> <para>
These days, many companies are finding that integrated defect-tracking These days, many companies are finding that integrated defect-tracking
...@@ -223,12 +223,12 @@ Chapter: Using Bugzilla ...@@ -223,12 +223,12 @@ Chapter: Using Bugzilla
<section id="myaccount"> <section id="myaccount">
<title>Create a Bugzilla Account</title> <title>Create a Bugzilla Account</title>
<para> <para>
First thing's first! If you want to use Bugzilla, first you need to create First things first! If you want to use Bugzilla, first you need to create
an account. Consult with the administrator responsible for your installation an account. Consult with the administrator responsible for your installation
of Bugzilla for the URL you should use to access it. of Bugzilla for the URL you should use to access it.
If you're test-driving the end-user Bugzilla experience, use this URL: If you're test-driving the end-user Bugzilla experience, use this URL:
<ulink url="http://landfill.tequilarista.org/mozilla/bugzilla/"> <ulink url="http://landfill.tequilarista.org/bugzilla-tip/">
http://landfill.tequilarista.org/mozilla/bugzilla/</ulink> http://landfill.tequilarista.org/bugzilla-tip/</ulink>
</para> </para>
<orderedlist> <orderedlist>
<listitem> <listitem>
...@@ -560,15 +560,15 @@ Chapter: Using Bugzilla ...@@ -560,15 +560,15 @@ Chapter: Using Bugzilla
<orderedlist> <orderedlist>
<listitem> <listitem>
<para> <para>
Go back to <ulink url="http://landfill.tequilarista.org/mozilla/bugzilla/"> Go back to <ulink url="http://landfill.tequilarista.org/bugzilla-tip/">
http://landfill.tequilarista.org/mozilla/bugzilla/</ulink> http://landfill.tequilarista.org/bugzilla-tip/</ulink>
in your browser. in your browser.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Select the Select the
<ulink url="http://landfill.tequilarista.org/mozilla/bugzilla/enter_bug.cgi"> <ulink url="http://landfill.tequilarista.org/bugzilla-tip/enter_bug.cgi">
Enter a new bug report</ulink> link. Enter a new bug report</ulink> link.
</para> </para>
</listitem> </listitem>
...@@ -716,7 +716,7 @@ Chapter: Using Bugzilla ...@@ -716,7 +716,7 @@ Chapter: Using Bugzilla
Let's plunge into what you can do! The first step is to click Let's plunge into what you can do! The first step is to click
the "Edit prefs" link at the footer of each page once you the "Edit prefs" link at the footer of each page once you
have logged in to have logged in to
<ulink url="http://landfill.tequilarista.org/mozilla/bugzilla/query.cgi?GoAheadAndLogIn=1"> <ulink url="http://landfill.tequilarista.org/bugzilla-tip/query.cgi?GoAheadAndLogIn=1">
Landfill</ulink>. Landfill</ulink>.
</para> </para>
<section id="accountsettings"> <section id="accountsettings">
...@@ -861,17 +861,20 @@ Chapter: Using Bugzilla ...@@ -861,17 +861,20 @@ Chapter: Using Bugzilla
<!-- 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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:Bugzilla-Guide\.sgml
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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">-->
<chapter id="variants"> <chapter id="variants">
<title>Bugzilla Variants</title> <title>Bugzilla Variants</title>
...@@ -68,20 +68,24 @@ Regards ...@@ -68,20 +68,24 @@ Regards
</para> </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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag:t
sgml-tag-region-if-active:t
End: End:
--> -->
<!DOCTYPE BOOK PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!-- Include macros --> <!-- Include macros -->
<!ENTITY about SYSTEM "about.sgml"> <!ENTITY about SYSTEM "about.sgml">
...@@ -17,82 +17,72 @@ ...@@ -17,82 +17,72 @@
<!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 requiredsoftware SYSTEM "requiredsoftware.sgml">
<!ENTITY revhistory SYSTEM "revhistory.sgml">
<!ENTITY bz "http://www.mozilla.org/projects/bugzilla">
<!ENTITY bz-ver "2.14">
<!ENTITY bz-cvs-ver "2.15">
<!ENTITY bzg-date "August 10, 2001">
<!ENTITY bzg-ver "2.14.0">
<!ENTITY bzg-cvs-ver "2.15.0">
<!ENTITY bzg-auth "Matthew P. Barnson">
<!ENTITY bzg-auth-email "<email>barnboy@NOSPAM.trilobyte.net</email>">
<!ENTITY mysql "http://www.mysql.com/">
<!ENTITY perl-ver "5.6.1">
]> ]>
<!-- Coding standards for this document
1. Preface new or modified sections with a comment stating who
modified it and when; please also use the "authorinitials" tag.
2. There is no "two".
3. Other than the GFDL, please use the "section" tag instead of "sect1", "sect2", etc.
4. Use Entities to include files for new chapters in Bugzilla-Guide.sgml.
5. Ensure all documents compile cleanly to HTML after modification.
The errors "DTD Declaration not allowed here" and "DTDDECL catalog types not supported"
are normal errors to be expected when compiling the whole guide.
6. Try to index important terms wherever possible.
7. Follow coding standards at http://www.linuxdoc.org.
8. All tags should be lowercase (needsfix)
9. Code being submitted for review should use the <!-- Coding standards for this document
"review" tag. Documentation on this is available at
http://www.linuxdoc.org/LDP/LDP-Author-Guide/tools-hints.html
under section 4.9.4, "Making notes on the text while it's being written".
10. Please use sensible spacing. The comments at the very end of each Guide * Other than the GFDL, please use the "section" tag instead of "sect1", "sect2", etc.
file define reasonable defaults for PSGML mode in EMACS. * Use Entities to include files for new chapters in Bugzilla-Guide.sgml.
Double-indent tags, use double spacing whenever possible, * Try to use Entities for frequently-used passages of text as well.
try to avoid clutter and feel free to waste space in the code to make it more readable. * Ensure all documents compile cleanly to HTML after modification.
The warning, "DTDDECL catalog types not supported" is normal.
* Try to index important terms wherever possible.
* Use "glossterm" whenever you introduce a new term.
* Follow coding standards at http://www.linuxdoc.org, and
check out the KDE guidelines (they are nice, too)
http://i18n.kde.org/doc/markup.html
* All tags should be lowercase (needsfix)
* Please use sensible spacing. The comments at the very end of each
file define reasonable defaults for PSGML mode in EMACS.
Double-indent tags, use double spacing whenever possible, and
try to avoid clutter and feel free to waste space in the code to make it more readable.
--> -->
<BOOK ID="index"> <book id="index">
<!-- Header --> <!-- Header -->
<BOOKINFO> <bookinfo>
<TITLE>The Bugzilla Guide</TITLE> <title>The Bugzilla Guide</title>
<PUBDATE>2001-04-25</PUBDATE> <pubdate>2001-04-25</pubdate>
<AUTHOR> <revhistory>
<FIRSTNAME>Matthew</FIRSTNAME> <revision>
<OTHERNAME>P.</OTHERNAME> <revnumber>v2.11</revnumber>
<SURNAME>Barnson</SURNAME> <date>20 December 2000</date>
<affiliation> <authorinitials>MPB</authorinitials>
<address><email>barnboy@trilobyte.net</email></address> <revremark>
</affiliation> Converted the README, FAQ, and DATABASE information into
</AUTHOR> SGML docbook format.
</revremark>
<ABSTRACT> </revision>
<PARA>This is the documentation for Bugzilla, the Mozilla bug-tracking system.</PARA>
</ABSTRACT>
<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> <revision>
<revnumber>2.11.1</revnumber> <revnumber>2.11.1</revnumber>
<date>06 March 2001</date> <date>06 March 2001</date>
<authorinitials>MPB</authorinitials> <authorinitials>MPB</authorinitials>
<revremark> <revremark>
Took way too long to revise this for 2.12 release. Took way too long to revise this for 2.12 release. Updated
Updated FAQ to use qandaset tags instead of literallayout, FAQ to use qandaset tags instead of literallayout, cleaned
cleaned up administration section, added User Guide section, up administration section, added User Guide section,
miscellaneous FAQ updates and third-party integration information. miscellaneous FAQ updates and third-party integration
From this point on all new tags are lowercase in preparation for the information. From this point on all new tags are lowercase
2.13 release of the Guide in XML format instead of SGML. in preparation for the 2.13 release of the Guide in XML
format instead of SGML.
</revremark> </revremark>
</revision> </revision>
...@@ -101,15 +91,82 @@ http://www.linuxdoc.org/LDP/LDP-Author-Guide/tools-hints.html ...@@ -101,15 +91,82 @@ http://www.linuxdoc.org/LDP/LDP-Author-Guide/tools-hints.html
<date>24 April 2001</date> <date>24 April 2001</date>
<authorinitials>MPB</authorinitials> <authorinitials>MPB</authorinitials>
<revremark> <revremark>
Things fixed this release: Elaborated on queryhelp interface, added FAQ regarding Things fixed this release: Elaborated on queryhelp
moving bugs from one keyword to another, clarified possible problems with the Landfill interface, added FAQ regarding moving bugs from one keyword
tutorial, fixed a boatload of typos and unclear sentence structures. Incorporated the to another, clarified possible problems with the Landfill
README into the UNIX installation section, and changed the README to indicate the deprecated tutorial, fixed a boatload of typos and unclear sentence
status. Things I know need work: Used "simplelist" a lot, where I should have used structures. Incorporated the README into the UNIX
"procedure" to tag things. Need to lowercase all tags to be XML compliant. 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> </revremark>
</revision> </revision>
</REVHISTORY> </revhistory>
<authorgroup>
<author>
<firstname>Matthew</firstname>
<othername>P.</othername>
<surname>Barnson</surname>
<affiliation>
<address><email>barnboy@NOSPAM.trilobyte.net</email></address>
</affiliation>
</author>
<collab>
<collabname>Zach Lipton</collabname>
<affiliation>
<address><email>zach@NOSPAM.zachlipton.com</email></address>
</affiliation>
</collab>
<editor>
<firstname>I.</firstname>
<surname>Freely</surname>
<othername>P.</othername>
<affiliation>
<address><email>ipfreely@freely.eye-p.net</email></address>
</affiliation>
</editor>
</authorgroup>
<abstract>
<para>
This is the documentation for Bugzilla, the Mozilla
bug-tracking system.
</para>
<para>
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.
While it is easy to use and quite flexible, it is very
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 on operating system upon which you install
Bugzilla.
</para>
</abstract>
<KEYWORDSET> <KEYWORDSET>
<KEYWORD>Bugzilla</KEYWORD> <KEYWORD>Bugzilla</KEYWORD>
...@@ -127,15 +184,15 @@ http://www.linuxdoc.org/LDP/LDP-Author-Guide/tools-hints.html ...@@ -127,15 +184,15 @@ http://www.linuxdoc.org/LDP/LDP-Author-Guide/tools-hints.html
<!-- About This Guide --> <!-- About This Guide -->
&about; &about;
<!-- Using Bugzilla -->
&using;
<!-- Installing Bugzilla --> <!-- Installing Bugzilla -->
&installation; &installation;
<!-- Administering Bugzilla --> <!-- Administering Bugzilla -->
&administration; &administration;
<!-- Using Bugzilla -->
&using;
<!-- Integrating Bugzilla with Third-Party Tools --> <!-- Integrating Bugzilla with Third-Party Tools -->
&integration; &integration;
...@@ -166,31 +223,26 @@ http://www.linuxdoc.org/LDP/LDP-Author-Guide/tools-hints.html ...@@ -166,31 +223,26 @@ http://www.linuxdoc.org/LDP/LDP-Author-Guide/tools-hints.html
<!-- Index --> <!-- Index -->
&index; &index;
</BOOK>
</book>
<!-- 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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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" [
<!ENTITY conventions SYSTEM "conventions.sgml"> ] > <!ENTITY conventions SYSTEM "conventions.sgml"> ] > -->
<CHAPTER ID="about"> <chapter id="about">
<TITLE>About This Guide</TITLE> <title>About This Guide</title>
<SECTION ID="aboutthisguide"> <section id="aboutthisguide">
<TITLE>Purpose and Scope of this Guide</TITLE> <title>Purpose and Scope of this Guide</title>
<PARA> <para>
This document was started on September 17, 2000 This document was started on September 17, 2000 by Matthew P.
by Matthew P. Barnson after a great deal of procrastination updating the Bugzilla FAQ, Barnson after a great deal of procrastination updating the
which I left untouched for nearly half a year. Bugzilla FAQ, which I left untouched for nearly half a year.
After numerous complete rewrites and reformatting, it is the document you see today. After numerous complete rewrites and reformatting, it is the
</PARA> document you see today.
<PARA> </para>
Despite the lack of updates, Bugzilla is simply the best piece of bug-tracking software <para>
the world has ever seen. This document is intended to be the comprehensive guide to Despite the lack of updates, Bugzilla is simply the best piece
the installation, administration, maintenance, and use of the Bugzilla bug-tracking system. of bug-tracking software the world has ever seen. This document
</PARA> is intended to be the comprehensive guide to the installation,
<PARA> administration, maintenance, and use of the Bugzilla
This release of the Bugzilla Guide is the <EMPHASIS>2.11</EMPHASIS> release. bug-tracking system.
It is so named that it may match the current version of Bugzilla. </para>
The numbering tradition stems from that used for many free software projects, <para>
in which <EMPHASIS>even-numbered</EMPHASIS> point releases (1.2, 1.14, etc.) This release of the Bugzilla Guide is the
are considered "stable releases", intended for public consumption; on the other <emphasis>&bzg-ver;</emphasis> release. It is so named that it
hand, <EMPHASIS>odd-numbered</EMPHASIS> point releases (1.3, 2.09, etc.) may match the current version of Bugzilla. The numbering
are considered unstable <EMPHASIS>development</EMPHASIS> releases intended tradition stems from that used for many free software projects,
for advanced users, systems administrators, developers, and those who enjoy in which <emphasis>even-numbered</emphasis> point releases (1.2,
a lot of pain. 1.14, etc.) are considered "stable releases", intended for
</PARA> public consumption; on the other hand,
<PARA> <emphasis>odd-numbered</emphasis> point releases (1.3, 2.09,
Newer revisions of the Bugzilla Guide will follow the numbering conventions of etc.) are considered unstable <emphasis>development</emphasis>
the main-tree Bugzilla releases, available at releases intended for advanced users, systems administrators,
<ULINK URL="http://www.mozilla.org/bugs/source.html">Mozilla.org</ULINK>, with developers, and those who enjoy a lot of pain.
the exception that intermediate releases will have a minor revision number </para>
following a period. For instance, if the current version of Bugzilla is 4.2, <para>
the current "stable" version of the Bugzilla guide, in, say, it's fifth revision, Newer revisions of the Bugzilla Guide follow the numbering
would be numbered "4.2.5". Got it? Good. conventions of the main-tree Bugzilla releases, available at
</PARA> <ulink url="&bz;">&bz;</ulink>. Intermediate releases will have
<PARA> a minor revision number following a period. The current version
I wrote this in response to the enormous demand for decent Bugzilla documentation. of Bugzilla, as of this writing (&bzg-date;) is &bz-ver;; if
I have incorporated instructions from the Bugzilla README, Frequently Asked Questions, something were seriously wrong with that edition of the Guide,
Database Schema Document, and various mailing lists to create it. subsequent releases would receive an additional dotted-decimal
Chances are, there are glaring errors in this documentation; please contact digit to indicate the update (&bzg-ver;.1, &bzg-ver;.2, etc.).
<EMAIL>barnboy@trilobyte.net</EMAIL> to correct them. Got it? Good.
</PARA> </para>
</SECTION> <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 Matthew P. Barnson</ATTRIBUTION> <attribution>Copyright (c) 2000-2001 &bzg-auth;</attribution>
<PARA> <para>
Permission is granted to copy, distribute and/or modify this document under thei Permission is granted to copy, distribute and/or modify this
terms of the GNU Free Documentation License, Version 1.1 or any later version published document under the terms of the GNU Free Documentation
by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and License, Version 1.1 or any later version published by the
with no Back-Cover Texts. A copy of the license is included in the section entitled Free Software Foundation; with no Invariant Sections, no
"GNU Free Documentation LIcense". Front-Cover Texts, and with no Back-Cover Texts. A copy of
</PARA> the license is included in the section entitled "GNU Free
</BLOCKQUOTE> Documentation LIcense".
<PARA> </para>
If you have any questions regarding this document, its' copyright, or publishing this </blockquote>
document in non-electronic form, please contact <EMAIL>barnboy@trilobyte.net</EMAIL> <para>
</PARA> If you have any questions regarding this document, its
</SECTION> copyright, or publishing this document in non-electronic form,
please contact &bzg-auth;. Remove "NOSPAM" from email address
to send.
</para>
</section>
<SECTION ID="disclaimer"> <section id="disclaimer">
<TITLE>Disclaimer</TITLE> <title>Disclaimer</title>
<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 As this is a new edition of this document, there may be errors
and inaccuracies that may damage your system. Use of this document and inaccuracies that may damage your system. Use of this
may cause your girlfriend to leave you, your cats to pee on your document may cause your girlfriend to leave you, your cats to
furniture and clothing, your computer to cease functioning, your pee on your furniture and clothing, your computer to cease
boss to fire you, and global thermonuclear war. Proceed with caution. functioning, your boss to fire you, and global thermonuclear
</PARA> war. Proceed with caution.
<PARA> </para>
All copyrights are held by their respective owners, unless specifically <para>
noted otherwise. Use of a term in this document should not be regarded All copyrights are held by their respective owners, unless
as affecting the validity of any trademark or service mark. specifically noted otherwise. Use of a term in this document
In particular, I like to put down Microsoft(tm). Live with it. should not be regarded as affecting the validity of any
</PARA> trademark or service mark.
<PARA> </para>
Naming of particular products or brands should not be seen as endorsements, <para>
with the exception of the term "GNU/Linux". Naming of particular products or brands should not be seen as
Use GNU/Linux. Love it. Bathe with it. It is life and happiness. endorsements, with the exception of the term "GNU/Linux". I
I endorse it wholeheartedly and encourage you to do the same. wholeheartedly endorse the use of GNU/Linux in every situation
</PARA> where it is appropriate. It is an extremely versatile, stable,
<PARA> and robust operating system that offers an ideal operating
You are strongly recommended to make a backup of your system before environment for Bugzilla.
installing Bugzilla and at regular intervals thereafter. Heaven knows </para>
it's saved my bacon time after time; if you implement any suggestion in <para>
this Guide, implement this one! You are strongly recommended to make a backup of your system
</PARA> before installing Bugzilla and at regular intervals thereafter.
<PARA> Heaven knows it's saved my bacon time after time; if you
Bugzilla has not undergone a complete security review. implement any suggestion in this Guide, implement this one!
Security holes probably exist in the code. </para>
Great care should be taken both in the installation and usage of this software. <para>
Carefully consider the implications of installing other network services with Bugzilla. Although the Bugzilla development team has taken great care to
</PARA> ensure that all easily-exploitable bugs or options are
</SECTION> documented or fixed in the code, security holes surely exist.
Great care should be taken both in the installation and usage of
this software. Carefully consider the implications of installing
other network services with Bugzilla. The Bugzilla development
team members, Netscape Communications, America Online Inc., and
any affiliated developers or sponsors assume no liability for
your use of this product. You have the source code to this
product, and are responsible for auditing it yourself to insure
your security needs are met.
</para>
</section>
<!-- Section 2: New Versions --> <!-- Section 2: New Versions -->
<SECTION ID="newversions"> <section id="newversions">
<TITLE>New Versions</TITLE> <title>New Versions</title>
<PARA> <para>
This is the initial release of the Bugzilla Guide. This is the &bzg-ver; version of The Bugzilla Guide. If you are
</PARA> reading this from any source other than those below, please
<PARA> check one of these mirrors to make sure you are reading an
up-to-date version of the Guide.
</para>
<para>
This document can be found in the following places: This document can be found in the following places:
</PARA> </para>
<PARA> <para>
<ITEMIZEDLIST> <itemizedlist>
<LISTITEM> <listitem>
<PARA> <para>
<ULINK URL="http://www.trilobyte.net/barnsons/">TriloBYTE</ULINK> <ulink url="http://www.trilobyte.net/barnsons/">TriloBYTE</ulink>
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
<ULINK URL="http://www.mozilla.org/projects/bugzilla/">Mozilla.org</ULINK> <ulink url="http://www.mozilla.org/projects/bugzilla/">Mozilla.org</ulink>
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
<ULINK URL="http://www.linuxdoc.org/">The Linux Documentation Project</ULINK> <ulink url="http://www.linuxdoc.org/">The Linux
</PARA> Documentation Project</ulink>
</LISTITEM> </para>
</ITEMIZEDLIST> </listitem>
</PARA> </itemizedlist>
<PARA> </para>
<para>
The latest version of this document can be checked out via CVS. The latest version of this document can be checked out via CVS.
Please follow the instructions available at Please follow the instructions available at <ulink
<ULINK URL="http://www.mozilla.org/cvs.html">the Mozilla CVS page</ULINK>, url="http://www.mozilla.org/cvs.html">the Mozilla CVS page</ulink>, and check out the mozilla/webtools/bugzilla/docs/ branch.
and check out the mozilla/webtools/bugzilla/docs/ branch. </para>
</PARA> </section>
</SECTION>
<SECTION ID="credits"> <section id="credits">
<TITLE>Credits</TITLE> <title>Credits</title>
<PARA> <para>
The people listed below have made enormous contributions to the creation The people listed below have made enormous contributions to the
of this Guide, through their dedicated hacking efforts, creation of this Guide, through their dedicated hacking efforts,
numerous e-mail and IRC support sessions, numerous e-mail and IRC support sessions, and overall excellent
and overall excellent contribution to the Bugzilla community: contribution to the Bugzilla community:
</PARA> </para>
<PARA> <para>
<ULINK URL="mailto://terry@mozilla.org">Terry Weissman</ULINK> <ulink url="mailto://terry@mozilla.org">Terry Weissman</ulink>
for initially converting Bugzilla from BugSplat! for initially converting Bugzilla from BugSplat! and writing the
and writing the README upon which this documentation is largely based. README upon which this documentation is largely based.
</PARA> </para>
<PARA> <para>
<ULINK URL="mailto://tara@tequilarista.org">Tara Hernandez</ULINK> <ulink url="mailto://tara@tequilarista.org">Tara
for keeping Bugzilla development going strong after Terry left Mozilla.org Hernandez</ulink> for keeping Bugzilla development going
</PARA> strong after Terry left Mozilla.org
<PARA> </para>
<ULINK URL="mailto://dkl@redhat.com">Dave Lawrence</ULINK> <para>
for providing insight into the key differences between Red Hat's <ulink url="mailto://dkl@redhat.com">Dave Lawrence</ulink> for
customized Bugzilla, and being largely responsible for the providing insight into the key differences between Red Hat's
"Red Hat Bugzilla" appendix customized Bugzilla, and being largely responsible for the "Red
</PARA> Hat Bugzilla" appendix
<PARA> </para>
<ULINK URL="mailto://endico@mozilla.org">Dawn Endico</ULINK> <para>
for being a hacker extraordinaire and putting up with my incessant <ulink url="mailto://endico@mozilla.org">Dawn Endico</ulink> for
being a hacker extraordinaire and putting up with my incessant
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 Last but not least, all the members of the <ulink
<ULINK URL="news://news.mozilla.org/netscape/public/mozilla/webtools"> 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.
netscape.public.mozilla.webtools</ULINK> newsgroup. Without your </para>
discussions, insight, suggestions, and patches, this could never have happened. </section>
</PARA>
</SECTION>
<SECTION id="contributors">
<TITLE>Contributors</TITLE>
<PARA>
Thanks go to these people for significant contributions
to this documentation (in no particular order):
</PARA>
<PARA>
Zach Lipton (significant textual contributions),
Andrew Pearson,
Spencer Smith,
Eric Hanson,
Kevin Brannen,
</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"> <section id="contributors">
<TITLE>Translations</TITLE> <title>Contributors</title>
<PARA> <para>
The Bugzilla Guide needs translators! Thanks go to these people for significant contributions to this
Please volunteer your translation into the language of your choice. documentation (in no particular order):
If you will translate this Guide, please notify the members of the mozilla-webtools mailing list at </para>
<email>mozilla-webtools@mozilla.org</email>. Since The Bugzilla Guide is also hosted on the <para>
Linux Documentation Project, you would also do well to notify Andrew Pearson, Spencer Smith, Eric Hanson, Kevin Brannen, Ron Teitelbaum
</PARA> </para>
</SECTION> </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>
</section>
<!-- conventions used here (didn't want to give it a chapter of its own) --> <!-- conventions used here (didn't want to give it a chapter of its own) -->
&conventions; &conventions;
</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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:upper
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:Bugzilla-Guide\.sgml
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-doctype:"<!DOCTYPE chapter PUBLIC \"-//OASIS//DTD DocBook V4.1//EN\">" sgml-minimize-attributes:nil
End: sgml-namecase-general:t
--> sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag:t
sgml-tag-region-if-active:t
End: -->
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> <!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> -->
<!-- TOC <chapter id="administration">
Chapter: Administration <title>Administering Bugzilla</title>
Localconfig and Checksetup.pl customizations <subtitle>
The Email Gateway Or, I just got this cool thing installed. Now what the heck do I
Editing parameters do with it?
Deciding your site policies </subtitle>
The Shadow Database
Customizing password mail & layout
The Whining Cron
Why you shouldn't allow deletion
User administration
Creating Users
Disabling Users
User Permissions
Product Administration
Creating products
Creating components
Assigning default owners and Q/A contacts to components
Product Milestones
Product Versions
Voting
-->
<CHAPTER id="administration">
<TITLE>Administering Bugzilla</TITLE>
<SUBTITLE>Or, I just got this cool thing installed. Now what the heck do I do with it?</SUBTITLE>
<PARA> <para>
So you followed the README isntructions to the letter, and So you followed the installation instructions to the letter, and
just logged into bugzilla with your super-duper god account and you are sitting at the query just logged into bugzilla with your super-duper god account and
screen. Yet, you have nothing to query. Your first act of business needs to be to setup the you are sitting at the query screen. Yet, you have nothing to
operating parameters for bugzilla.</PARA> query. Your first act of business needs to be to setup the
operating parameters for bugzilla.
</para>
<SECTION id="postinstall-check"> <section id="postinstall-check">
<TITLE>Post-Installation Checklist</TITLE> <title>Post-Installation Checklist</title>
<PARA> <para>
After installation, follow the checklist below to ensure that After installation, follow the checklist below to ensure that
you have a successful installation. you have a successful installation. If you do not see a
If you do not see a recommended setting for a parameter, recommended setting for a parameter, consider leaving it at the
consider leaving it at the default default while you perform your initial tests on your Bugzilla
while you perform your initial tests on your Bugzilla setup. setup.
</PARA> </para>
<INDEXTERM> <indexterm>
<PRIMARY>checklist</PRIMARY> <primary>checklist</primary>
</INDEXTERM> </indexterm>
<PROCEDURE> <procedure>
<STEP> <step>
<PARA> <para>
Bring up "editparams.cgi" in your web browser. For instance, to edit parameters Bring up "editparams.cgi" in your web browser. For
at mozilla.org, the URL would be <ULINK URL="http://bugzilla.mozilla.org/editparams.cgi"> instance, to edit parameters at mozilla.org, the URL would
http://bugzilla.mozilla.org/editparams.cgi</ULINK>, also available under the "edit parameters" be <ulink url="http://bugzilla.mozilla.org/editparams.cgi">
link on your query page. http://bugzilla.mozilla.org/editparams.cgi</ulink>, also
</PARA> available under the "edit parameters" link on your query
</STEP> page.
<STEP> </para>
<PARA> </step>
Set "maintainer" to <EMPHASIS>your</EMPHASIS> email address. <step>
This allows Bugzilla's error messages <para>
to display your email Set "maintainer" to <emphasis>your</emphasis> email address.
This allows Bugzilla's error messages to display your email
address and allow people to contact you for help. address and allow people to contact you for help.
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
Set "urlbase" to the URL reference for your Bugzilla installation. Set "urlbase" to the URL reference for your Bugzilla
If your bugzilla query page is at http://www.foo.com/bugzilla/query.cgi, installation. If your bugzilla query page is at
your url base is http://www.foo.com/bugzilla/ http://www.foo.com/bugzilla/query.cgi, your url base is
</PARA> http://www.foo.com/bugzilla/
</STEP> </para>
<STEP> </step>
<PARA> <step>
Set "usebuggroups" to "1" <EMPHASIS>only</EMPHASIS> <para>
if you need to restrict access to products. Set "usebuggroups" to "on" <emphasis>only</emphasis> if you
I suggest leaving this parameter <EMPHASIS>off</EMPHASIS> need to restrict access to products. I suggest leaving this
while initially testing your Bugzilla. parameter <emphasis>off</emphasis> while initially testing
</PARA> your Bugzilla.
</STEP> </para>
<STEP> </step>
<PARA> <step>
Set "usebuggroupsentry" to "1" if you want to restrict access to products. <para>
Once again, if you are simply testing your installation, I suggest against Set "usebuggroupsentry" to "on" if you want to restrict
turning this parameter on; the strict security checking may stop you from access to products. Once again, if you are simply testing
being able to modify your new entries. your installation, I suggest against turning this parameter
</PARA> on; the strict security checking may stop you from being
</STEP> able to modify your new entries.
<STEP> </para>
<PARA> </step>
Set "shadowdb" to "bug_shadowdb" if you will be <step>
running a *very* large installation of Bugzilla. <para>
The shadow database enables many simultaneous users Set "shadowdb" to "bug_shadowdb" if you will be running a
to read and write to the database *very* large installation of Bugzilla. The shadow database
without interfering with one another. enables many simultaneous users to read and write to the
<NOTE> database without interfering with one another.
<PARA> <note>
<para>
Enabling "shadowdb" can adversely affect the stability Enabling "shadowdb" can adversely affect the stability
of your installation of Bugzilla. of your installation of Bugzilla. You may frequently
You may frequently need to manually synchronize your databases, need to manually synchronize your databases, or schedule
or schedule nightly syncs nightly syncs via "cron"
via "cron" </para>
</PARA> </note> Once again, in testing you should avoid this option
</NOTE> -- use it if or when you <emphasis>need</emphasis> to use
Once again, in testing you should it, and have repeatedly run into the problem it was designed
avoid this option -- use it if or when you <EMPHASIS>need</EMPHASIS> to use it, and have to solve -- very long wait times while attempting to commit
repeatedly run into the problem it was designed to solve -- very long wait times while a change to the database.
attempting to commit a change to the database. </para>
</PARA> <para>
<PARA> If you use the "shadowdb" option, it is only natural that
If you use the "shadowdb" option, you should turn the "queryagainstshadowdb" option "On" as
it is only natural that you should turn the "queryagainstshadowdb" well. Otherwise you are replicating data into a shadow
option "On" as well. Otherwise you are replicating data into a shadow database for no reason! database for no reason!
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
If you have custom logos or HTML you must put in place to fit within your site design guidelines, If you have custom logos or HTML you must put in place to
place the code in the "headerhtml", "footerhtml", "errorhtml", fit within your site design guidelines, place the code in
"bannerhtml", or "blurbhtml" text boxes. the "headerhtml", "footerhtml", "errorhtml", "bannerhtml",
<NOTE> or "blurbhtml" text boxes.
<PARA> <note>
<para>
The "headerhtml" text box is the HTML printed out The "headerhtml" text box is the HTML printed out
<EMPHASIS>before</EMPHASIS> any other code on the page. <emphasis>before</emphasis> any other code on the page.
If you have a special banner, put the code for it in "bannerhtml". If you have a special banner, put the code for it in
You may want to leave these "bannerhtml". You may want to leave these settings at
settings at the defaults initially. the defaults initially.
</PARA> </para>
</NOTE> </note>
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
Add any text you wish to the "passwordmail" parameter box. For instance, Add any text you wish to the "passwordmail" parameter box.
many people choose to use this box to give a quick training blurb about how to For instance, many people choose to use this box to give a
use Bugzilla at your site. quick training blurb about how to use Bugzilla at your site.
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
Ensure "newemailtech" is "on". Ensure "newemailtech" is "on". Your users will thank you.
Your users will thank you. This is the default in the post-2.12 world, and is This is the default in the post-2.12 world, and is only an
only an issue if you are upgrading. issue if you are upgrading.
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
Do you want to use the qa contact ("useqacontact") Do you want to use the QA Contact ("useqacontact") and
and status whiteboard ("usestatuswhiteboard") fields? status whiteboard ("usestatuswhiteboard") fields? These
These fields are useful because they allow for more flexibility, fields are useful because they allow for more flexibility,
particularly when you have an existing particularly when you have an existing Quality Assurance
Quality Assurance and/or Release Engineering team, and/or Release Engineering team, but they may not be needed
but they may not be needed for smaller installations. for smaller installations.
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
Set "whinedays" to the amount of days you want to let bugs go Set "whinedays" to the amount of days you want to let bugs
in the "New" or "Reopened" state before go in the "New" or "Reopened" state before notifying people
notifying people they have untouched new bugs. If you do not plan to use this feature, simply do they have untouched new bugs. If you do not plan to use
not set up the whining cron job described in the README, or set this value to "0". this feature, simply do not set up the whining cron job
</PARA> described in the installation instructions, or set this
</STEP> value to "0".
<STEP> </para>
<PARA> </step>
<step>
<para>
Set the "commenton" options according to your site policy. Set the "commenton" options according to your site policy.
It is a wise idea to require comments when users It is a wise idea to require comments when users resolve,
resolve, reassign, or reopen bugs. reassign, or reopen bugs.
<NOTE> <note>
<PARA> <para>
It is generally far better to require a developer comment when resolving bugs than not. It is generally far better to require a developer
Few things are more annoying to bug database users than having a developer comment when resolving bugs than not. Few things are
mark a bug "fixed" without any comment as to what the fix was (or even that it was truly fixed!) more annoying to bug database users than having a
</PARA> developer mark a bug "fixed" without any comment as to
</NOTE> what the fix was (or even that it was truly fixed!)
</PARA> </para>
</STEP> </note>
<STEP> </para>
<PARA> </step>
Set "supportwatchers" to "On". This feature is helpful for team leads to monitor progress in their <step>
respective areas, and can offer many other benefits, such as allowing a developer to pick up a <para>
former engineer's bugs without requiring her to change all the information in the bug. Set "supportwatchers" to "On". This feature is helpful for
</PARA> team leads to monitor progress in their respective areas,
</STEP> and can offer many other benefits, such as allowing a
</PROCEDURE> developer to pick up a former engineer's bugs without
</SECTION> requiring her to change all the information in the bug.
</para>
</step>
</procedure>
</section>
<SECTION id="useradmin"> <section id="useradmin">
<TITLE>User Administration</TITLE> <title>User Administration</title>
<PARA> <para>
User administration is one of the easiest parts of Bugzilla. User administration is one of the easiest parts of Bugzilla.
Keeping it from getting out of hand, however, can become a challenge. Keeping it from getting out of hand, however, can become a
</PARA> 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 will prompt you When you first run checksetup.pl after installing Bugzilla, it
for the administrative username (email address) and password for this "super user". will prompt you for the administrative username (email
If for some reason you were to delete the "super user" account, re-running address) and password for this "super user". If for some
checksetup.pl will again prompt you for this username and password. reason you were to delete the "super user" account, re-running
</PARA> checksetup.pl will again prompt you for this username and
<TIP> password.
<PARA> </para>
If you wish to add more administrative users, you must use the MySQL interface. <tip>
Run "mysql" from the command line, and use these commands ("mysql>" denotes the <para>
mysql prompt, not something you should type in): If you wish to add more administrative users, you must use the
<COMMAND><PROMPT>mysql></PROMPT> use bugs;</COMMAND> MySQL interface. Run "mysql" from the command line, and use
<COMMAND><PROMPT>mysql></PROMPT> update profiles set groupset=0x7ffffffffffffff these commands ("mysql>" denotes the mysql prompt, not
where login_name = "(user's login name)"; </COMMAND> something you should type in):
</PARA> <command><prompt>mysql></prompt> use bugs;</command>
</TIP> <command><prompt>mysql></prompt> update profiles set
</SECTION> groupset=0x7ffffffffffffff where login_name = "(user's
login name)"; </command>
</para>
</tip>
</section>
<SECTION id="manageusers"> <section id="manageusers">
<TITLE>Managing Other Users</TITLE> <title>Managing Other Users</title>
<SECTION id="login"> <section id="login">
<TITLE>Logging In</TITLE> <title>Logging In</title>
<ORDEREDLIST> <orderedlist>
<LISTITEM> <listitem>
<PARA> <para>
Open the index.html page for your Bugzilla installation in your browser window. Open the index.html page for your Bugzilla installation
</PARA> in your browser window.
</LISTITEM> </para>
<LISTITEM> </listitem>
<PARA> <listitem>
<para>
Click the "Query Existing Bug Reports" link. Click the "Query Existing Bug Reports" link.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Click the "Log In" link at the foot of the page. Click the "Log In" link at the foot of the page.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Type your email address, and the password which was emailed to you when you Type your email address, and the password which was
created your Bugzilla account, into the spaces provided. emailed to you when you created your Bugzilla account,
</PARA> into the spaces provided.
</LISTITEM> </para>
</ORDEREDLIST> </listitem>
<PARA>Congratulations, you are logged in!</PARA> </orderedlist>
</SECTION> <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> <para>
Your users can create their own user accounts by clicking the "New Account" Your users can create their own user accounts by clicking
link at the bottom of each page. the "New Account" link at the bottom of each page. However,
However, should you desire to create user accounts ahead of time, here is how you do it. should you desire to create user accounts ahead of time,
</PARA> here is how you do it.
<ORDEREDLIST> </para>
<LISTITEM> <orderedlist>
<PARA> <listitem>
After logging in, click the "Users" link at the footer of the query page. <para>
</PARA> After logging in, click the "Users" link at the footer
</LISTITEM> of the query page.
<LISTITEM> </para>
<PARA> </listitem>
To see a specific user, type a portion of their login name <listitem>
in the box provided and click "submit". <para>
To see all users, simply click the "submit" button. To see a specific user, type a portion of their login
You must click "submit" here to be able to add a new user. name in the box provided and click "submit". To see all
</PARA> users, simply click the "submit" button. You must click
<TIP> "submit" here to be able to add a new user.
<PARA> </para>
More functionality is available via the list on the right-hand side <tip>
of the text entry box. <para>
You can match what you type as a case-insensitive substring (the default) More functionality is available via the list on the
of all users on your system, a case-sensitive regular expression right-hand side of the text entry box. You can match
(please see the "man regexp" manual page for details on regular expression syntax), what you type as a case-insensitive substring (the
or a <EMPHASIS>reverse</EMPHASIS> regular expression match, default) of all users on your system, a case-sensitive
where every user name which does NOT match the regular expression regular expression (please see the "man regexp" manual
is selected. page for details on regular expression syntax), or a
</PARA> <emphasis>reverse</emphasis> regular expression match,
</TIP> where every user name which does NOT match the regular
</LISTITEM> expression is selected.
<LISTITEM> </para>
<PARA> </tip>
Click the "Add New User" link at the bottom of the user list </listitem>
</PARA> <listitem>
</LISTITEM> <para>
<LISTITEM> Click the "Add New User" link at the bottom of the user
<PARA> list
Fill out the form presented. This page is self-explanatory. When done, click "submit". </para>
</PARA> </listitem>
<NOTE> <listitem>
<PARA> <para>
Adding a user this way will <EMPHASIS>not</EMPHASIS> send an email Fill out the form presented. This page is
informing them of their username and password. self-explanatory. When done, click "submit".
In general, it is preferable to log out and use the "New Account" </para>
button to create users, as it will pre-populate all the required fields and also notify <note>
the user of her account name and password. <para>
</PARA> Adding a user this way will <emphasis>not</emphasis>
</NOTE> send an email informing them of their username and
</LISTITEM> password. In general, it is preferable to log out and
</ORDEREDLIST> use the "New Account" button to create users, as it
</SECTION> will pre-populate all the required fields and also
notify the user of her account name and password.
</para>
</note>
</listitem>
</orderedlist>
</section>
<SECTION id="disableusers"> <section id="disableusers">
<TITLE>Disabling Users</TITLE> <title>Disabling Users</title>
<PARA> <para>
I bet you noticed that big "Disabled Text" entry box available from the "Add New User" screen, I bet you noticed that big "Disabled Text" entry box
when you edit an account? available from the "Add New User" screen, when you edit an
By entering any text in this box and selecting "submit", account? By entering any text in this box and selecting
you have prevented the user from using Bugzilla via the web interface. "submit", you have prevented the user from using Bugzilla
Your explanation, written in this text box, will be presented to the user via the web interface. Your explanation, written in this
the next time she attempts to use the system. text box, will be presented to the user the next time she
<WARNING> attempts to use the system.
<PARA> <warning>
Don't disable your own administrative account, or you will hate life! <para>
</PARA> Don't disable your own administrative account, or you
</WARNING> will hate life!
</PARA> </para>
</SECTION> </warning>
</para>
</section>
<SECTION id="modifyusers"> <section id="modifyusers">
<TITLE>Modifying Users</TITLE> <title>Modifying Users</title>
<PARA> <para>
Here I will attempt to describe the function of each option on the user edit screen. Here I will attempt to describe the function of each option
</PARA> on the Edit User screen.
<ITEMIZEDLIST> </para>
<LISTITEM> <itemizedlist>
<PARA> <listitem>
<EMPHASIS>Login Name</EMPHASIS>: This is generally the user's email address. <para>
However, if you have edited your system parameters, <emphasis>Login Name</emphasis>: This is generally the
this may just be the user's login name or some other identifier. user's email address. However, if you have edited your
<TIP> system parameters, this may just be the user's login
<PARA> name or some other identifier.
For compatability reasons, you should probably <tip>
stick with email addresses as user login names. It will make your life easier. <para>
</PARA> For compatability reasons, you should probably stick
</TIP> with email addresses as user login names. It will
</PARA> make your life easier.
</LISTITEM> </para>
<LISTITEM> </tip>
<PARA> </para>
<EMPHASIS>Real Name</EMPHASIS>: Duh! </listitem>
</PARA> <listitem>
</LISTITEM> <para>
<LISTITEM> <emphasis>Real Name</emphasis>: Duh!
<PARA> </para>
<EMPHASIS>Password</EMPHASIS>: You will only see asterisks in versions </listitem>
of Bugzilla newer than 2.10 or early 2.11. You can change the user password here. <listitem>
</PARA> <para>
</LISTITEM> <emphasis>Password</emphasis>: You will only see
<LISTITEM> asterisks in versions of Bugzilla newer than 2.10 or
<PARA> early 2.11. You can change the user password here.
<EMPHASIS>Email Notification</EMPHASIS>: You may choose from one of three options: </para>
<ORDEREDLIST> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
<emphasis>Email Notification</emphasis>: You may choose
from one of three options:
<orderedlist>
<listitem>
<para>
All qualifying bugs except those which I change: All qualifying bugs except those which I change:
The user will be notified of any change to any bug The user will be notified of any change to any bug
for which she is the reporter, assignee, Q/A contact, CC recipient, or "watcher". for which she is the reporter, assignee, QA
</PARA> Contact, CC recipient, or "watcher".
</LISTITEM> </para>
<LISTITEM> </listitem>
<PARA> <listitem>
<para>
Only those bugs which I am listed on the CC line: Only those bugs which I am listed on the CC line:
The user will not be notified of changes to bugs where she is the assignee, The user will not be notified of changes to bugs
reporter, or Q/A contact, but will receive them if she is on the CC list. where she is the assignee, reporter, or QA
<NOTE> Contact, but will receive them if she is on the CC
<PARA> list.
She will still receive whining cron emails if you set up the "whinemail" feature. <note>
</PARA> <para>
</NOTE> She will still receive whining cron emails if
</PARA> you set up the "whinemail" feature.
</LISTITEM> </para>
<LISTITEM> </note>
<PARA> </para>
<EMPHASIS>All Qualifying Bugs</EMPHASIS>: This user is a glutton for punishment. </listitem>
If her name is in the reporter, Q/A contact, CC, assignee, or is a "watcher", <listitem>
she will get email updates regarding the bug. <para>
</PARA> <emphasis>All Qualifying Bugs</emphasis>: This
</LISTITEM> user is a glutton for punishment. If her name is
</ORDEREDLIST> in the reporter, QA Contact, CC, assignee, or is a
</PARA> "watcher", she will get email updates regarding
<PARA> the bug.
<EMPHASIS>Disable Text</EMPHASIS>: If you type anything in this box, </para>
including just a space, the user account is disabled from making any changes </listitem>
to bugs via the web interface, and what you type in this box is presented as the reason. </orderedlist>
<WARNING> </para>
<PARA>Don't disable the administrator account!</PARA> <para>
</WARNING> <emphasis>Disable Text</emphasis>: If you type anything
<NOTE> in this box, including just a space, the user account is
<PARA> disabled from making any changes to bugs via the web
As of this writing, the user can still submit bugs via the e-mail gateway, interface, and what you type in this box is presented as
if you set it up, despite the disabled text field. The e-mail gateway should the reason.
<EMPHASIS>not</EMPHASIS> be enabled for secure installations of Bugzilla. <warning>
</PARA> <para>Don't disable the administrator account!</para>
</NOTE> </warning>
</PARA> <note>
</LISTITEM> <para>
<LISTITEM> As of this writing, the user can still submit bugs
<PARA> via the e-mail gateway, if you set it up, despite
<EMPHASIS>CanConfirm</EMPHASIS>: This field is only used if you have enabled the disabled text field. The e-mail gateway should
"unconfirmed" status in your parameters screen. If you enable this for a user, <emphasis>not</emphasis> be enabled for secure
that user can then move bugs from "Unconfirmed" to "Confirmed" status (ergo: "New" status). installations of Bugzilla.
Be judicious about allowing users to turn this bit on for other users. </para>
</PARA> </note>
</LISTITEM> </para>
<LISTITEM> </listitem>
<PARA> <listitem>
<EMPHASIS>Creategroups</EMPHASIS>: This option will allow a user to create and <para>
destroy groups in Bugzilla. Unless you are using the Bugzilla GroupSentry security <emphasis>CanConfirm</emphasis>: This field is only used
option "usebuggroupsentry" in your parameters, this setting has no effect. if you have enabled "unconfirmed" status in your
</PARA> parameters screen. If you enable this for a user, that
</LISTITEM> user can then move bugs from "Unconfirmed" to
<LISTITEM> "Confirmed" status (e.g.: "New" status). Be judicious
<PARA> about allowing users to turn this bit on for other
<EMPHASIS>Editbugs</EMPHASIS>: Unless a user has this bit set, they can only edit users.
those bugs for which they are the assignee or the reporter. </para>
<NOTE> </listitem>
<PARA> <listitem>
Leaving this option unchecked does not prevent users from adding <para>
comments to a bug! They simply cannot change a bug priority, severity, <emphasis>Creategroups</emphasis>: This option will
etc. unless they are the assignee or reporter. allow a user to create and destroy groups in Bugzilla.
</PARA> Unless you are using the Bugzilla GroupSentry security
</NOTE> option "usebuggroupsentry" in your parameters, this
</PARA> setting has no effect.
</LISTITEM> </para>
<LISTITEM> </listitem>
<PARA> <listitem>
<EMPHASIS>Editcomponents</EMPHASIS>: This flag allows a user to create new <para>
products and components, as well as modify and destroy those that have no bugs <emphasis>Editbugs</emphasis>: Unless a user has this
associated with them. If a product or component has bugs associated with it, bit set, they can only edit those bugs for which they
those bugs must be moved to a different product or component before Bugzilla are the assignee or the reporter.
will allow them to be destroyed. The name of a product or component can be <note>
changed without affecting the associated bugs, but it tends to annoy <para>
the hell out of your users when these change a lot. Leaving this option unchecked does not prevent users
</PARA> from adding comments to a bug! They simply cannot
</LISTITEM> change a bug priority, severity, etc. unless they
<LISTITEM> are the assignee or reporter.
<PARA> </para>
<EMPHASIS>Editkeywords</EMPHASIS>: If you use Bugzilla's keyword functionality, </note>
enabling this feature allows a user can create and destroy keywords. </para>
As always, the keywords for existing bugs containing the keyword </listitem>
the user wishes to destroy must be changed before Bugzilla will allow it to die. <listitem>
You must be very careful about creating too many new keywords <para>
if you run a very large Bugzilla installation; keywords are global variables <emphasis>Editcomponents</emphasis>: This flag allows a
across products, and you can often run into a phenomenon called "keyword bloat". user to create new products and components, as well as
This confuses users, and then the feature goes unused. modify and destroy those that have no bugs associated
</PARA> with them. If a product or component has bugs
</LISTITEM> associated with it, those bugs must be moved to a
<LISTITEM> different product or component before Bugzilla will
<PARA> allow them to be destroyed. The name of a product or
<EMPHASIS>Editusers</EMPHASIS>: This flag allows a user do what you're doing component can be changed without affecting the
right now: edit other users. associated bugs, but it tends to annoy the hell out of
This will allow those with the right to do so to remove administrator your users when these change a lot.
priveleges from other users or grant them to themselves. Enable with care. </para>
</PARA> </listitem>
</LISTITEM> <listitem>
<LISTITEM> <para>
<PARA> <emphasis>Editkeywords</emphasis>: If you use Bugzilla's
<EMPHASIS>PRODUCT</EMPHASIS>: PRODUCT bugs access. This allows an administrator, keyword functionality, enabling this feature allows a
with product-level granularity, to specify in which products a user can edit bugs. user can create and destroy keywords. As always, the
The user must still have the "editbugs" privelege to edit bugs in this area; keywords for existing bugs containing the keyword the
this simply restricts them from even seeing bugs outside these boundaries if the administrator user wishes to destroy must be changed before Bugzilla
has enabled the group sentry parameter "usebuggroupsentry". Unless you are using bug groups, 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>
<para>
<emphasis>Editusers</emphasis>: This flag allows a user
do what you're doing right now: edit other users. This
will allow those with the right to do so to remove
administrator priveleges from other users or grant them
to themselves. Enable with care.
</para>
</listitem>
<listitem>
<para>
<emphasis>PRODUCT</emphasis>: PRODUCT bugs access. This
allows an administrator, with product-level granularity,
to specify in which products a user can edit bugs. The
user must still have the "editbugs" privelege to edit
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. this option has no effect.
</PARA> </para>
</LISTITEM> </listitem>
</ITEMIZEDLIST> </itemizedlist>
</SECTION> </section>
</SECTION> </section>
</SECTION> </section>
<SECTION id="programadmin"> <section id="programadmin">
<TITLE>Product, Component, Milestone, and Version Administration</TITLE> <title>Product, Component, Milestone, and Version
<EPIGRAPH> Administration</title>
<PARA> <epigraph>
<para>
Dear Lord, we have to get our users to do WHAT? Dear Lord, we have to get our users to do WHAT?
</PARA> </para>
</EPIGRAPH> </epigraph>
<SECTION id="products"> <section id="products">
<TITLE>Products</TITLE> <title>Products</title>
<SUBTITLE>Formerly, and in some spots still, called "Programs"</SUBTITLE> <subtitle>Formerly, and in some spots still, called
<PARA> "Programs"</subtitle>
<GLOSSTERM baseform="product" linkend="gloss_product">Products</GLOSSTERM> are the <para>
broadest category in Bugzilla, and you should have the least of these. <glossterm linkend="gloss_product" baseform="product">Products</glossterm> are
If your company makes computer games, you should have one product per game, the broadest category in Bugzilla, and you should have the
and possibly a few special products least of these. If your company makes computer games, you
(website, meetings...) should have one product per game, and possibly a few special
</PARA> products (website, meetings...)
<PARA> </para>
A Product (formerly called "Program", and still referred to that way <para>
in some portions of the source code) controls some very important functions. A Product (formerly called "Program", and still referred to
The number of "votes" available for users to vote for the most important bugs that way in some portions of the source code) controls some
is set per-product, as is the number of votes required to move a bug automatically very important functions. The number of "votes" available for
from the UNCONFIRMED status to the NEW status. One can close a Product for further users to vote for the most important bugs is set per-product,
bug entry and define various Versions available from the Edit Product screen. as is the number of votes required to move a bug automatically
</PARA> from the UNCONFIRMED status to the NEW status. One can close
<PARA>To create a new product:</PARA> a Product for further bug entry and define various Versions
<ORDEREDLIST> available from the Edit product screen.
<LISTITEM> </para>
<PARA> <para>To create a new product:</para>
<orderedlist>
<listitem>
<para>
Select "components" from the yellow footer Select "components" from the yellow footer
</PARA> </para>
<TIP> <tip>
<PARA> <para>
It may seem counterintuitive to click "components" when you want It may seem counterintuitive to click "components" when
to edit the properties associated with Products. This is one of a long you want to edit the properties associated with
list of things we want in Bugzilla 3.0... Products. This is one of a long list of things we want
</PARA> in Bugzilla 3.0...
</TIP> </para>
</LISTITEM> </tip>
<LISTITEM> </listitem>
<PARA> <listitem>
<para>
Select the "Add" link to the right of "Add a new product". Select the "Add" link to the right of "Add a new product".
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Enter the name of the product and a description. Enter the name of the product and a description. The
The Description field is free-form. Description field is free-form.
</PARA> </para>
</LISTITEM> </listitem>
</ORDEREDLIST> </orderedlist>
<TIP> <tip>
<PARA> <para>
Don't worry about the "Closed for bug entry", "Maximum Votes per person", Don't worry about the "Closed for bug entry", "Maximum Votes
"Maximum votes a person can put on a single bug", "Number of votes a bug in per person", "Maximum votes a person can put on a single
this Product needs to automatically get out of the UNCOMFIRMED state", bug", "Number of votes a bug in this Product needs to
and "Version" options yet. automatically get out of the UNCOMFIRMED state", and
We'll cover those in a few moments. "Version" options yet. We'll cover those in a few moments.
</PARA> </para>
</TIP> </tip>
</SECTION> </section>
<SECTION id="components"> <section id="components">
<TITLE>Components</TITLE> <title>Components</title>
<PARA> <para>
Components are subsections of a Product. Components are subsections of a Product.
<EXAMPLE> <example>
<TITLE>Creating some Components</TITLE> <title>Creating some Components</title>
<INFORMALEXAMPLE> <informalexample>
<PARA> <para>
The computer game you are designing may a "UI" component, an "API" component, The computer game you are designing may have a "UI"
a "Sound System" component, and a "Plugins" component, each overseen by a different component, an "API" component, a "Sound System"
programmer. It often makes sense to divide Components in Bugzilla according to the component, and a "Plugins" component, each overseen by
natural divisions of responsibility within your Product or company. a different programmer. It often makes sense to divide
</PARA> Components in Bugzilla according to the natural
</INFORMALEXAMPLE> divisions of responsibility within your Product or
</EXAMPLE> company.
</para>
Each component has a owner and (if you turned it on in the parameters), a qa </informalexample>
contact. The owner should be the primary person who fixes bugs in that component. The QA </example> Each component has a owner and (if you turned it on
Contact should be the person who will ensure these bugs are completely fixed. The Owner, in the parameters), a QA Contact. The owner should be the
QA Contact, and Reporter will get email when new bugs are created in this Component and primary person who fixes bugs in that component. The QA
when these bugs change. Default Owner and Default QA Contact fields only dictate the Contact should be the person who will ensure these bugs are
<EMPHASIS>default assignments</EMPHASIS>; the Owner and Q/A Contact fields in a bug completely fixed. The Owner, QA Contact, and Reporter will get
are otherwise unrelated to the Component. email when new bugs are created in this Component and when
</PARA> 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: To create a new Component:
</PARA> </para>
<ORDEREDLIST> <orderedlist>
<LISTITEM> <listitem>
<PARA> <para>
Select the "Edit components" link from the "Edit Product" page Select the "Edit components" link from the "Edit product"
</PARA> page
</LISTITEM> </para>
<LISTITEM> </listitem>
<PARA> <listitem>
Select the "Add" link to the right of the "Add a new component" text <para>
on the "Select Component" page. Select the "Add" link to the right of the "Add a new
</PARA> component" text on the "Select Component" page.
</LISTITEM> </para>
<LISTITEM> </listitem>
<PARA> <listitem>
Fill out the "Component" field, a short "Description", and the "Initial Owner". <para>
The "Component" field should not contain a space. The "Description" field is Fill out the "Component" field, a short "Description", and
free-form. The "Initial Owner" field must be that of a valid user already the "Initial Owner". The Component and Description fields
existing in the database. If the initial owner does not exist, Bugzilla are free-form; the "Initial Owner" field must be that of a
will refuse to create the component. user ID already existing in the database. If the initial
<TIP> owner does not exist, Bugzilla will refuse to create the
<PARA> component.
Is your "Default Owner" a user who is not yet in the database? <tip>
No problem. <para>
<ORDEREDLIST> Is your "Default Owner" a user who is not yet in the
<LISTITEM> database? No problem.
<PARA> <orderedlist>
Select the "Log out" link on the footer of the page. <listitem>
</PARA> <para>
</LISTITEM> Select the "Log out" link on the footer of the
<LISTITEM> page.
<PARA> </para>
Select the "New Account" link on the footer of the "Relogin" page </listitem>
</PARA> <listitem>
</LISTITEM> <para>
<LISTITEM> Select the "New Account" link on the footer of
<PARA> the "Relogin" page
Type in the email address of the default owner you want to create </para>
in the "E-mail address" field, and her full name in the "Real name" </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. field, then select the "Submit Query" button.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Now select "Log in" again, type in your login information, and you Now select "Log in" again, type in your login
can modify the product to use the Default Owner information information, and you can modify the product to
you require. use the Default Owner information you require.
</PARA> </para>
</LISTITEM> </listitem>
</ORDEREDLIST> </orderedlist>
</PARA> </para>
</TIP> </tip>
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Either "edit" more components or return to the "query" page on the ensuing Either Edit more components or return to the Bugzilla
"Addming new component" page. To return to the Product you were editing, you Query Page. To return to the Product you were editing, you
must select the "components" link as before. must select the Components link as before.
</PARA> </para>
</LISTITEM> </listitem>
</ORDEREDLIST> </orderedlist>
</SECTION> </section>
<SECTION id="versions"> <section id="versions">
<TITLE>Versions</TITLE> <title>Versions</title>
<PARA> <para>
Versions are the revisions of the product, such as "Flinders 3.1", "Flinders 95", Versions are the revisions of the product, such as "Flinders
and "Flinders 2000". Using Versions helps you isolate code changes and are an aid 3.1", "Flinders 95", and "Flinders 2000". Using Versions
in reporting. helps you isolate code changes and are an aid in reporting.
<EXAMPLE> <example>
<TITLE>Common Use of Versions</TITLE> <title>Common Use of Versions</title>
<INFORMALEXAMPLE> <informalexample>
<PARA> <para>
A user reports a bug A user reports a bug against Version "Beta 2.0" of your
against Version "Beta 2.0" of your product. The current Version of your software product. The current Version of your software is
is "Release Candidate 1", and no longer has the bug. This will "Release Candidate 1", and no longer has the bug. This
help you triage and classify bugs according to their relevance. It is also will help you triage and classify bugs according to
possible people may report bugs against bleeding-edge beta versions that are their relevance. It is also possible people may report
not evident in older versions of the software. This can help isolate code bugs against bleeding-edge beta versions that are not
changes that caused the bug evident in older versions of the software. This can
</PARA> help isolate code changes that caused the bug
</INFORMALEXAMPLE> </para>
</EXAMPLE> </informalexample>
<EXAMPLE> </example>
<TITLE>A Different Use of Versions</TITLE> <example>
<INFORMALEXAMPLE> <title>A Different Use of Versions</title>
<PARA> <informalexample>
This field has been used to good effect by an online service provider in a slightly <para>
different way. They had three versions of the product: "Production", "QA", This field has been used to good effect by an online
and "Dev". Although it may be the same product, a bug in the development service provider in a slightly different way. They had
environment is not normally as critical as a Production bug, nor does it three versions of the product: "Production", "QA", and
need to be reported publicly. When used in conjunction with Target Milestones, "Dev". Although it may be the same product, a bug in
one can easily specify the environment where a bug can be reproduced, and the development environment is not normally as critical
the Milestone by which it will be fixed. as a Production bug, nor does it need to be reported
</PARA> publicly. When used in conjunction with Target
</INFORMALEXAMPLE> Milestones, one can easily specify the environment where
</EXAMPLE> a bug can be reproduced, and the Milestone by which it
</PARA> will be fixed.
<PARA> </para>
</informalexample>
</example>
</para>
<para>
To create and edit Versions: To create and edit Versions:
</PARA> </para>
<ORDEREDLIST> <orderedlist>
<LISTITEM> <listitem>
<PARA> <para>
From the "Edit Product" screen, select "Edit Versions" From the "Edit product" screen, select "Edit Versions"
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
You will notice that the product already has the default version "undefined". You will notice that the product already has the default
If your product doesn't use version numbers, you may want to leave this as it is version "undefined". If your product doesn't use version
or edit it so that it is "---". You can then go back to the edit versions page numbers, you may want to leave this as it is or edit it so
and add new versions to your product. that it is "---". You can then go back to the edit
</PARA> 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>
</PARA> Otherwise, click the "Add" button to the right of the "Add
</LISTITEM> a new version" text.
<LISTITEM> </para>
<PARA> </listitem>
Enter the name of the Version. This can be free-form characters up to the limit of the <listitem>
text box. Then select the "Add" button. <para>
</PARA> Enter the name of the Version. This can be free-form
</LISTITEM> characters up to the limit of the text box. Then select
<LISTITEM> the "Add" button.
<PARA> </para>
At this point you can select "Edit" to edit more Versions, or return to the "Query" </listitem>
page, from which you can navigate back to the product through the "components" link <listitem>
at the foot of the Query page. <para>
</PARA> At this point you can select "Edit" to edit more Versions,
</LISTITEM> or return to the "Query" page, from which you can navigate
</ORDEREDLIST> back to the product through the "components" link at the
</SECTION> foot of the Query page.
</para>
</listitem>
</orderedlist>
</section>
<SECTION id="milestones"> <section id="milestones">
<TITLE>Milestones</TITLE> <title>Milestones</title>
<PARA> <para>
Milestones are "targets" that you plan to get a bug fixed by. For example, you have a bug that Milestones are "targets" that you plan to get a bug fixed by.
you plan to fix for your 3.0 release, it would be assigned the milestone of 3.0. Or, you have a For example, you have a bug that you plan to fix for your 3.0
bug that you plan to fix for 2.8, this would have a milestone of 2.8. release, it would be assigned the milestone of 3.0. Or, you
</PARA> have a bug that you plan to fix for 2.8, this would have a
<NOTE> milestone of 2.8.
<PARA> </para>
Milestone options will only appear for a Product if you turned the "usetargetmilestone" field <note>
in the "Edit Parameters" screen "On". <para>
</PARA> Milestone options will only appear for a Product if you
</NOTE> turned the "usetargetmilestone" field in the "Edit
<PARA> Parameters" screen "On".
To create new Milestones, set Default Milestones, and set Milestone URL: </para>
</PARA> </note>
<ORDEREDLIST> <para>
<LISTITEM> To create new Milestones, set Default Milestones, and set
<PARA> Milestone URL:
</para>
<orderedlist>
<listitem>
<para>
Select "edit milestones" Select "edit milestones"
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Select "Add" to the right of the "Add a new milestone" text Select "Add" to the right of the "Add a new milestone"
</PARA> text
</LISTITEM> </para>
<LISTITEM> </listitem>
<PARA> <listitem>
<para>
Enter the name of the Milestone in the "Milestone" field. 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) You can optionally set the "Sortkey", which is a positive
that defines where in the list this particular milestone appears. or negative number (-255 to 255) that defines where in the
Select "Add". list this particular milestone appears. Select "Add".
</PARA> </para>
<EXAMPLE> <example>
<TITLE>Using SortKey with Target Milestone</TITLE> <title>Using SortKey with Target Milestone</title>
<INFORMALEXAMPLE> <informalexample>
<PARA> <para>
Let's say you create a target milestone called "Release 1.0", with Sortkey set to "0". Let's say you create a target milestone called
Later, you realize that you will have a public beta, called "Beta1". "Release 1.0", with Sortkey set to "0". Later, you
You can create a Milestone called "Beta1", with a Sortkey of "-1" in order to ensure realize that you will have a public beta, called
people will see the Target Milestone of "Beta1" earlier on the list than "Release 1.0" "Beta1". You can create a Milestone called "Beta1",
</PARA> with a Sortkey of "-1" in order to ensure people will
</INFORMALEXAMPLE> see the Target Milestone of "Beta1" earlier on the
</EXAMPLE> list than "Release 1.0"
</LISTITEM> </para>
<LISTITEM> </informalexample>
<PARA> </example>
If you want to add more milestones, select the "Edit" link. </listitem>
If you don't, well shoot, you have to go back to the "query" page and select "components" <listitem>
again, and make your way back to the Product you were editing. <para>
<NOTE> If you want to add more milestones, select the "Edit"
<PARA> link. If you don't, well shoot, you have to go back to the
This is another in the list of unusual user interface decisions that "query" page and select "components" again, and make your
we'd like to get cleaned up. Shouldn't there be a link to the effect of way back to the Product you were editing.
"edit the Product I was editing when I ended up here"? In any case, <note>
clicking "components" in the footer takes you back to the "Select product" <para>
screen, from which you can begin editing your product again. This is another in the list of unusual user interface
</PARA> decisions that we'd like to get cleaned up. Shouldn't
</NOTE> there be a link to the effect of "edit the Product I
</PARA> was editing when I ended up here"? In any case,
</LISTITEM> clicking "components" in the footer takes you back to
<LISTITEM> the "Select product" screen, from which you can begin
<PARA> editing your product again.
From the Edit Product screen again (once you've made your way back), enter the URL </para>
for a description of what your milestones are for this product in the "Milestone URL" field. </note>
It should be of the format "http://www.foo.com/bugzilla/product_milestones.html" </para>
</PARA> </listitem>
<PARA> <listitem>
Some common uses of this field include product descriptions, product roadmaps, <para>
and of course a simple description of the meaning of each milestone. From the Edit product screen again (once you've made your
</PARA> way back), enter the URL for a description of what your
</LISTITEM> milestones are for this product in the "Milestone URL"
<LISTITEM> field. It should be of the format
<PARA> "http://www.foo.com/bugzilla/product_milestones.html"
If you're using Target Milestones, the "Default Milestone" field must have some </para>
kind of entry. If you really don't care if people set coherent Target Milestones, <para>
simply leave this at the default, "---". However, controlling and regularly updating the Default Some common uses of this field include product
Milestone field is a powerful tool when reporting the status of projects. descriptions, product roadmaps, and of course a simple
</PARA> description of the meaning of each milestone.
<PARA>Select the "Update" button when you are done.</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
If you're using Target Milestones, the "Default Milestone"
field must have some kind of entry. If you really don't
care if people set coherent Target Milestones, simply
leave this at the default, "---". However, controlling
and regularly updating the Default Milestone field is a
powerful tool when reporting the status of projects.
</para>
<para>Select the "Update" button when you are done.</para>
</listitem>
</orderedlist>
</section>
</PARA> <section id="voting">
</LISTITEM> <title>Voting</title>
</ORDEREDLIST> <para>
</SECTION> The concept of "voting" is a poorly understood, yet powerful
feature for the management of open-source projects. Each user
<SECTION id="voting"> is assigned so many Votes per product, which they can freely
<TITLE>Voting</TITLE> reassign (or assign multiple votes to a single bug). This
<PARA> allows developers to gauge user need for a particular
The concept of "voting" is a poorly understood, yet powerful feature for the management enhancement or bugfix. By allowing bugs with a certain number
of open-source projects. Each user is assigned so many Votes per product, which they can of votes to automatically move from "UNCONFIRMED" to "NEW",
freely reassign (or assign multiple votes to a single bug). users of the bug system can help high-priority bugs garner
This allows developers to gauge user need for a particular enhancement
or bugfix. By allowing bugs with a certain number of votes to automatically move from
"UNCONFIRMED" to "NEW", users of the bug system can help high-priority bugs garner
attention so they don't sit for a long time awaiting triage. attention so they don't sit for a long time awaiting triage.
</PARA> </para>
<PARA> <para>
The daunting challenge of Votes is deciding where you draw the line for a "vocal majority". If you The daunting challenge of Votes is deciding where you draw the
only have a user base of 100 users, setting a low threshold for bugs to move from UNCONFIRMED line for a "vocal majority". If you only have a user base of
to NEW makes sense. As the Bugzilla user base expands, however, these thresholds must be 100 users, setting a low threshold for bugs to move from
re-evaluated. You should gauge whether this feature is worth the time and close monitoring involved, UNCONFIRMED to NEW makes sense. As the Bugzilla user base
and perhaps forego implementation until you have a critical mass of users who demand it. expands, however, these thresholds must be re-evaluated. You
</PARA> should gauge whether this feature is worth the time and close
<PARA>To modify Voting settings:</PARA> monitoring involved, and perhaps forego implementation until
<ORDEREDLIST> you have a critical mass of users who demand it.
<LISTITEM> </para>
<PARA> <para>To modify Voting settings:</para>
Navigate to the "Edit Product" screen for the Product you wish to modify <orderedlist>
</PARA> <listitem>
</LISTITEM> <para>
<LISTITEM> Navigate to the "Edit product" screen for the Product you
<PARA> wish to modify
Set "Maximum Votes per person" to your calculated value. Setting this field </para>
to "0" disables voting. </listitem>
</PARA> <listitem>
</LISTITEM> <para>
<LISTITEM> Set "Maximum Votes per person" to your calculated value.
<PARA> Setting this field to "0" disables voting.
Set "Maximum Votes a person can put on a single bug" to your calculated value. It </para>
should probably be some number lower than the "Maximum votes per person". </listitem>
Setting this field to "0" disables voting, but leaves the voting options open <listitem>
to the user. This is confusing. <para>
</PARA> Set "Maximum Votes a person can put on a single bug" to
</LISTITEM> your calculated value. It should probably be some number
<LISTITEM> lower than the "Maximum votes per person". Setting this
<PARA> field to "0" disables voting, but leaves the voting
Set "Number of votes a bug in this product needs to automatically get out of the options open to the user. This is confusing.
UNCONFIRMED state" to your calculated number. Setting this field to "0" </para>
disables the automatic move of bugs from UNCONFIRMED to NEW. Some people </listitem>
advocate leaving this at "0", but of what use are Votes if your Bugzilla <listitem>
user base is unable to affect which bugs appear on Development radar? <para>
<TIP> Set "Number of votes a bug in this product needs to
<PARA> automatically get out of the UNCONFIRMED state" to your
You should probably set this number to higher than a small coalition of calculated number. Setting this field to "0" disables
Bugzilla users can influence it. Most sites use this as a "referendum" the automatic move of bugs from UNCONFIRMED to NEW. Some
mechanism -- if users are able to vote a bug out of UNCONFIRMED, it people advocate leaving this at "0", but of what use are
is a <EMPHASIS>really</EMPHASIS> bad bug! Votes if your Bugzilla user base is unable to affect which
</PARA> bugs appear on Development radar?
</TIP> <tip>
</PARA> <para>
</LISTITEM> You should probably set this number to higher than a
<LISTITEM> small coalition of Bugzilla users can influence it.
<PARA> Most sites use this as a "referendum" mechanism -- if
Once you have adjusted the values to your preference, select the "Update" button. users are able to vote a bug out of UNCONFIRMED, it is
</PARA> a <emphasis>really</emphasis> bad bug!
</LISTITEM> </para>
</ORDEREDLIST> </tip>
</SECTION> </para>
</listitem>
<SECTION id="groups"> <listitem>
<TITLE>Groups and Group Security</TITLE> <para>
<PARA> Once you have adjusted the values to your preference,
Groups can be very useful in bugzilla, because they allow users to isolate select the "Update" button.
bugs or products that should only be seen by certain people. Groups can also </para>
be a complicated minefield of interdependencies and weirdness if mismanaged. </listitem>
</orderedlist>
</section>
<EXAMPLE> <section id="groups">
<TITLE>When to Use Group Security</TITLE> <title>Groups and Group Security</title>
<INFORMALEXAMPLE> <para>
<PARA> Groups can be very useful in bugzilla, because they allow
Many Bugzilla sites isolate "Security-related" bugs from all other bugs. users to isolate bugs or products that should only be seen by
This way, they can have a fix ready before the security vulnerability certain people. Groups can also be a complicated minefield of
is announced to the world. You can create a "Security" product which, by interdependencies and weirdness if mismanaged.
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. <example>
In addition, if the "usebuggroupsentry" parameter is "On", one can restrict access <title>When to Use Group Security</title>
to products by groups, so that only members of a product group are able to view <informalexample>
bugs within that product. <para>
Group security in Bugzilla can be divided into two categories: Many Bugzilla sites isolate "Security-related" bugs from
Generic and Product-Based. all other bugs. This way, they can have a fix ready
</PARA> before the security vulnerability is announced to the
<NOTE> world. You can create a "Security" product which, by
<PARA> default, has no members, and only add members to the
Groups in Bugzilla are a complicated beast that evolved out of very simple user group (in their individual User page, as described under
permission bitmasks, apparently itself derived from common concepts in UNIX access User Administration) who should have priveleged access
controls. A "bitmask" is a fixed-length number whose value can describe one, and to "Security" bugs. Alternately, you may create a Group
only one, set of states. For instance, UNIX file permissions are assigned bitmask independently of any Product, and change the Group mask
values: "execute" has a value of 1, "write" has a value of 2, on individual bugs to restrict access to members only of
and "read" has a value of 4. Add them together, certain Groups.
and a file can be read, written to, and executed if it has a bitmask of "7". (This </para>
is a simplified example -- anybody who knows UNIX security knows there is much </informalexample>
more to it than this. Please bear with me for the purpose of this note.) The only </example> Groups only work if you enable the "usebuggroups"
way a bitmask scheme can work is by doubling the bit count for each value. Thus paramater. In addition, if the "usebuggroupsentry" parameter
if UNIX wanted to offer another file permission, the next would have to be a value of is "On", one can restrict access to products by groups, so
8, then the next 16, the next 32, etc. that only members of a product group are able to view bugs
</PARA> within that product. Group security in Bugzilla can be divided
<PARA> into two categories: Generic and Product-Based.
Similarly, Bugzilla offers a bitmask to define group permissions, with an internal </para>
limit of 64. Several are already occupied <note>
by built-in permissions. The way around this limitation is <para>
to avoid assigning groups to products if you have many products, avoid bloating Groups in Bugzilla are a complicated beast that evolved out
of group lists, and religiously prune irrelevant groups. In reality, most installations of very simple user permission bitmasks, apparently itself
of Bugzilla support far fewer than 64 groups, so this limitation has not hit derived from common concepts in UNIX access controls. A
for most sites, but it is on the table to be revised for Bugzilla 3.0 "bitmask" is a fixed-length number whose value can describe
because it interferes with the security schemes of some administrators. one, and only one, set of states. For instance, UNIX file
</PARA> permissions are assigned bitmask values: "execute" has a
</NOTE> value of 1, "write" has a value of 2, and "read" has a
<PARA> 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>
Similarly, Bugzilla offers a bitmask to define group
permissions, with an internal limit of 64. Several are
already occupied by built-in permissions. The way around
this limitation is to avoid assigning groups to products if
you have many products, avoid bloating of group lists, and
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>
</note>
<para>
To enable Generic Group Security ("usebuggroups"): To enable Generic Group Security ("usebuggroups"):
</PARA> </para>
<ORDEREDLIST> <orderedlist>
<LISTITEM> <listitem>
<PARA> <para>
Turn "On" "usebuggroups" in the "Edit Parameters" screen. Turn "On" "usebuggroups" in the "Edit Parameters" screen.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
You will generally have no groups set up. Select the "groups" link You will generally have no groups set up. Select the
in the footer. "groups" link in the footer.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Take a moment to understand the instructions on the "Edit Groups" screen. Take a moment to understand the instructions on the "Edit
Once you feel confident you understand what is expected of you, select the Groups" screen. Once you feel confident you understand
"Add Group" link. what is expected of you, select the "Add Group" link.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Fill out the "New Name" (remember, no spaces!), "New Description", and "New Fill out the "New Name" (remember, no spaces!), "New
User RegExp" fields. "New User RegExp" allows you to automatically place Description", and "New User RegExp" fields. "New User
all users who fulfill the Regular Expression into the new group. RegExp" allows you to automatically place all users who
fulfill the Regular Expression into the new group.
<EXAMPLE> <example>
<TITLE>Creating a New Group</TITLE> <title>Creating a New Group</title>
<INFORMALEXAMPLE> <informalexample>
<PARA> <para>
I created a group called "DefaultGroup" with a description of "This is simply I created a group called DefaultGroup with a
a group to play with", and a "New User RegExp" of "*@velio.com". This description of <quote>This is simply a group to play
new group automatically includes all Bugzilla users with "@velio.com" at the with</quote>, and a New User RegExp of <quote>.*@mydomain.tld</quote>.
end of their user id. When I finished, my new group was assigned bit #128. This new group automatically includes all Bugzilla
</PARA> users with "@mydomain.tld" at the end of their user id.
</INFORMALEXAMPLE> When I finished, my new group was assigned bit #128.
</EXAMPLE> </para>
</informalexample>
</example> When you have finished, select the Add
button.
</para>
</listitem>
</orderedlist>
When you have finished, select the "Add" button. <para>
</PARA> To enable Product-Based Group Security (usebuggroupsentry):
</LISTITEM> </para>
</ORDEREDLIST> <warning>
<para>
Don't forget that you only have 64 groups masks available,
total, for your installation of Bugzilla! If you plan on
having more than 50 products in your individual Bugzilla
installation, and require group security for your products,
you should consider either running multiple Bugzillas or
using Generic Group Security instead of Product-Based
("usebuggroupsentry") Group Security.
</para>
</warning>
<orderedlist>
<listitem>
<para>
Turn "On" "usebuggroups" and "usebuggroupsentry" in the
"Edit Parameters" screen.
</para>
<warning>
<para>
"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>
You will generally have no Groups set up, unless you
enabled "usebuggroupsentry" prior to creating any
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>
</listitem>
</orderedlist>
</section>
</section>
<PARA> <section id="security">
To enable Product-Based Group Security ("usebuggroupsentry"): <title>Bugzilla Security</title>
</PARA> <epigraph>
<WARNING> <para>
<PARA> Putting your money in a wall safe is better protection than
Don't forget that you only have 64 groups masks available, total, for depending on the fact that no one knows that you hide your
your installation of Bugzilla! If you plan on having more than 50 money in a mayonnaise jar in your fridge.
products in your individual Bugzilla installation, and require group </para>
security for your products, you should </epigraph>
consider either running multiple Bugzillas or using Generic Group Security <note>
instead of Product-Based ("usebuggroupsentry") Group Security. <para>
</PARA> Poorly-configured MySQL, Bugzilla, and FTP installations have
</WARNING> given attackers full access to systems in the past. Please
<ORDEREDLIST> take these guidelines seriously, even for Bugzilla machines
<LISTITEM> hidden away behind your firewall. 80% of all computer
<PARA>
Turn "On" "usebuggroups" and "usebuggroupsentry" in the "Edit Parameters" screen.
</PARA>
<WARNING>
<PARA>
"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>
You will generally have no Groups set up, unless you enabled "usebuggroupsentry"
prior to creating any 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>
</LISTITEM>
</ORDEREDLIST>
</SECTION>
</SECTION>
<SECTION id="security">
<TITLE>Bugzilla Security</TITLE>
<EPIGRAPH>
<PARA>
Putting your money in a wall safe is better protection than depending on the fact that
no one knows that you hide your money in a mayonnaise jar in your fridge.
</PARA>
</EPIGRAPH>
<NOTE>
<PARA>
Poorly-configured MySQL, Bugzilla, and FTP 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. trespassers are insiders, not anonymous crackers.
</PARA> </para>
</NOTE> </note>
<PARA> <para>
First thing's first: Secure your installation. Secure your installation.
<NOTE> <note>
<PARA> <para>
These instructions must, of necessity, be somewhat vague since Bugzilla runs on so many different These instructions must, of necessity, be somewhat vague
platforms. If you have refinements of these directions for specific platforms, please since Bugzilla runs on so many different platforms. If you
submit them to <ULINK URL="mailto://mozilla-webtools@mozilla.org">mozilla-webtools@mozilla.org</ULINK> have refinements of these directions for specific platforms,
</PARA> please submit them to <ulink url="mailto://mozilla-webtools@mozilla.org">mozilla-webtools@mozilla.org</ulink>
</NOTE> </para>
<ORDEREDLIST> </note>
<LISTITEM> <orderedlist>
<PARA> <listitem>
Ensure you are running at least MysQL version 3.22.32 or newer. Earlier versions had <para>
notable security holes and poorly secured default configuration choices. Ensure you are running at least MysQL version 3.22.32 or
</PARA> newer. Earlier versions had notable security holes and
</LISTITEM> poorly secured default configuration choices.
<LISTITEM> </para>
<PARA><EMPHASIS>There is no substitute for understanding the tools on your system!</EMPHASIS> </listitem>
Read <ULINK URL="http://www.mysql.com/documentation/mysql/bychapter/manual_Privilege_system.html"> <listitem>
The MySQL Privelege System</ULINK> until you can recite it from memory!</PARA> <para><emphasis>There is no substitute for understanding the
<PARA> 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>
At the very least, ensure you password the "mysql -u root" account and the "bugs" account, establish grant <para>
table rights (consult the Keystone guide in Appendix C: The Bugzilla Database for some easy-to-use details) At the very least, ensure you password the "mysql -u root"
that do not allow CREATE, DROP, RELOAD, SHUTDOWN, and PROCESS for user "bugs". I wrote up the Keystone account and the "bugs" account, establish grant table
advice back when I knew far less about security than I do now : ) rights (consult the Keystone guide in Appendix C: The
</PARA> Bugzilla Database for some easy-to-use details) that do
</LISTITEM> not allow CREATE, DROP, RELOAD, SHUTDOWN, and PROCESS for
<LISTITEM> user "bugs". I wrote up the Keystone advice back when I
<PARA> knew far less about security than I do now : )
Lock down /etc/inetd.conf. Heck, disable inet entirely on this box. It should only listen to </para>
port 25 for Sendmail </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. and port 80 for Apache.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA>Do not run Apache as "nobody". This will require very lax permissions in your Bugzilla directories. <para>
Run it, instead, as a user with a name, set via your httpd.conf file.</PARA> Do not run Apache as <quote>nobody</quote>. This will
</LISTITEM> require very lax permissions in your Bugzilla directories.
<LISTITEM> Run it, instead, as a user with a name, set via your
<PARA> httpd.conf file.
Ensure you have adequate access controls for the $BUGZILLA_HOME/data/ and <note>
$BUGZILLA_HOME/shadow/ directories, as well as the $BUGZILLA_HOME/localconfig and <para>
$BUGZILLA_HOME/globals.pl files. <quote>nobody</quote> is a real user on UNIX systems.
The localconfig file stores your "bugs" user password, Having a process run as user id <quote>nobody</quote>
which would be terrible to have in the hands is absolutely no protection against system crackers
of a criminal, while the "globals.pl" stores some default information regarding your versus using any other user account. As a general
installation which could aid a system cracker. security measure, I recommend you create unique user
In addition, some files under $BUGZILLA_HOME/data/ store sensitive information, and ID's for each daemon running on your system and, if
$BUGZILLA_HOME/shadow/ stores bug information for faster retrieval. If you fail to secure possible, use "chroot" to jail that process away from
these directories and this file, you will expose bug information to those who may not the rest of your system.
be allowed to see it. </para>
</PARA> </note>
<NOTE> </para>
<PARA> </listitem>
Bugzilla provides default .htaccess files to protect the most common Apache <listitem>
installations. However, you should verify these are adequate according to the site-wide <para>
security policy of your web server, and ensure that the .htaccess files are Ensure you have adequate access controls for the
allowed to "override" default permissions set in your Apache configuration files. $BUGZILLA_HOME/data/ and $BUGZILLA_HOME/shadow/
Covering Apache security is beyond the scope of this Guide; please consult the Apache directories, as well as the $BUGZILLA_HOME/localconfig and
documentation for details. $BUGZILLA_HOME/globals.pl files. The localconfig file
</PARA> stores your "bugs" user password, which would be terrible
<PARA> to have in the hands of a criminal, while the "globals.pl"
If you are using a web server that does not support the .htaccess control method, stores some default information regarding your
<EMPHASIS>you are at risk!</EMPHASIS> After installing, check to see if you can installation which could aid a system cracker. In
view the file "localconfig" in your web browser (ergo: addition, some files under $BUGZILLA_HOME/data/ store
<ULINK URL="http://bugzilla.mozilla.org/localconfig"> sensitive information, and $BUGZILLA_HOME/shadow/ stores
http://bugzilla.mozilla.org/localconfig</ULINK>. If you can read the contents of this bug information for faster retrieval. If you fail to
file, your web server has not secured your bugzilla directory properly and you secure these directories and this file, you will expose
must fix this problem before deploying Bugzilla. If, however, it gives you a bug information to those who may not be allowed to see it.
"Forbidden" error, then it probably respects the .htaccess conventions and you </para>
are good to go. <note>
</PARA> <para>
</NOTE> Bugzilla provides default .htaccess files to protect the
<PARA> most common Apache installations. However, you should
On Apache, you can use .htaccess files to protect access to these directories, as outlined verify these are adequate according to the site-wide
in <ULINK URL="http://bugzilla.mozilla.org/show_bug.cgi?id=57161">Bug 57161</ULINK> for the security policy of your web server, and ensure that the
localconfig file, and <ULINK URL="http://bugzilla.mozilla.org/show_bug.cgi?id=65572"> .htaccess files are allowed to "override" default
Bug 65572</ULINK> for adequate protection in your data/ and shadow/ directories. permissions set in your Apache configuration files.
</PARA> Covering Apache security is beyond the scope of this
<PARA> Guide; please consult the Apache documentation for
Note the instructions which follow are Apache-specific. If you use IIS, Netscape, or other details.
non-Apache web servers, please consult your system documentation for how to secure these </para>
files from being transmitted to curious users. <para>
</PARA> If you are using a web server that does not support the
<PARA> .htaccess control method, <emphasis>you are at
Place the following text into a file named ".htaccess", readable by your web server, risk!</emphasis> After installing, check to see if
in your $BUGZILLA_HOME/data directory. you can view the file "localconfig" in your web browser
<LITERALLAYOUT> (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.
&lt;Files comments&gt; </para>
allow from all </note>
&lt;/Files&gt; <para>
deny from all On Apache, you can use .htaccess files to protect access
</LITERALLAYOUT> 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.
</PARA> </para>
<PARA> <para>
Place the following text into a file named ".htaccess", readable by your web server, Note the instructions which follow are Apache-specific.
in your $BUGZILLA_HOME/ directory. If you use IIS, Netscape, or other non-Apache web servers,
<LITERALLAYOUT> please consult your system documentation for how to secure
&lt;Files localconfig&gt; these files from being transmitted to curious users.
deny from all </para>
&lt;/Files&gt; <para>
allow from all Place the following text into a file named ".htaccess",
</LITERALLAYOUT> readable by your web server, in your $BUGZILLA_HOME/data
</PARA> directory. <literallayout> &lt;Files comments&gt; allow
<PARA> from all &lt;/Files&gt; deny from all </literallayout>
Place the following text into a file named ".htaccess", readable by your web server, </para>
in your $BUGZILLA_HOME/shadow directory. <para>
<LITERALLAYOUT> Place the following text into a file named ".htaccess",
deny from all readable by your web server, in your $BUGZILLA_HOME/
</LITERALLAYOUT> directory. <literallayout> &lt;Files localconfig&gt; deny
</PARA> from all &lt;/Files&gt; allow from all </literallayout>
</LISTITEM> </para>
</ORDEREDLIST> <para>
</PARA> Place the following text into a file named ".htaccess",
</SECTION> readable by your web server, in your $BUGZILLA_HOME/shadow
</CHAPTER> directory. <literallayout> deny from all </literallayout>
</para>
</listitem>
</orderedlist>
</para>
</section>
</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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:upper
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag:t
sgml-tag-region-if-active:t
End: End:
--> -->
...@@ -89,23 +89,28 @@ ...@@ -89,23 +89,28 @@
</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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:upper
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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="database"> <appendix id="database">
<TITLE>The Bugzilla Database</TITLE> <title>The Bugzilla Database</title>
<NOTE> <note>
<PARA>This document really needs to be updated with more fleshed out information about primary keys, interrelationships, and maybe some nifty tables to document dependencies. Any takers?</PARA> <para>
</NOTE> This document really needs to be updated with more fleshed out information about primary keys, interrelationships, and maybe some nifty tables to document dependencies. Any takers?
<SECTION id="dbschema"> </para>
<TITLE>Database Schema Chart</TITLE> </note>
<PARA> <section id="dbschema">
<MEDIAOBJECT> <title>Database Schema Chart</title>
<IMAGEOBJECT> <para>
<IMAGEDATA FILEREF="dbschema.jpg" FORMAT="jpg"> <mediaobject>
</IMAGEOBJECT> <imageobject>
<imagedata fileref="dbschema.jpg" format="jpg">
<TEXTOBJECT> </imageobject>
<PHRASE>Database Relationships</PHRASE>
</TEXTOBJECT> <textobject>
<phrase>Database Relationships</phrase>
<CAPTION> </textobject>
<PARA>Bugzilla database relationships chart</PARA>
</CAPTION> <caption>
</MEDIAOBJECT> <para>Bugzilla database relationships chart</para>
</PARA> </caption>
</SECTION> </mediaobject>
</para>
<SECTION id="dbdoc"> </section>
<TITLE>MySQL Bugzilla Database Introduction</TITLE>
<LITERALLAYOUT> <section id="dbdoc">
<title>MySQL Bugzilla Database Introduction</title>
Contributor(s): Matthew P. Barnson (mbarnson@excitehome.net) <para>
Last update: May 16, 2000
Changes:
Version 1.0: Initial public release (May 16, 2000)
Maintainer: Matthew P. Barnson (mbarnson@excitehome.net)
===
Table Of Contents
===
FOREWORD
INTRODUCTION
THE BASICS
THE TABLES
THE DETAILS
===
FOREWORD
===
This information comes straight from my life. I was forced to learn how This information comes straight from my life. I was forced to learn how
Bugzilla organizes database because of nitpicky requests from users for tiny Bugzilla organizes database because of nitpicky requests from users for tiny
changes in wording, rather than having people re-educate themselves or changes in wording, rather than having people re-educate themselves or
figure out how to work our procedures around the tool. It sucks, but it can figure out how to work our procedures around the tool. It sucks, but it can
and will happen to you, so learn how the schema works and deal with it when it and will happen to you, so learn how the schema works and deal with it when it
comes. comes.
</para>
I'm sorry this version is plain text. I can whip this info out a lot faster
if I'm not concerned about complex formatting. I'll get it into sgml for easy <para>
portability as time permits.
The Bugzilla Database Schema has a home! In addition to availability via CVS
and released versions 2.12 and higher of Bugzilla, you can find the latest &
greatest version of the Bugzilla Database Schema at
http://www.trilobyte.net/barnsons/. This is a living document; please be sure
you are up-to-date with the latest version before mirroring.
The Bugzilla Database Schema is designed to provide vital information
regarding the structure of the MySQL database. Where appropriate, this
document will refer to URLs rather than including documents in their entirety
to ensure completeness even should this paper become out of date.
This document is not maintained by Netscape or Netscape employees, so please
do not contact them regarding errors or omissions contained herein. Please
direct all questions, comments, updates, flames, etc. to Matthew P. Barnson
mbarnson@excitehome.net) (barnboy or barnhome on irc.mozilla.org in
#mozwebtools).
I'm sure I've made some glaring errors or omissions in this paper -- please
email me corrections or post corrections to the
netscape.public.mozilla.webtools newsgroup.
===
INTRODUCTION
===
So, here you are with your brand-new installation of Bugzilla. You've got So, here you are with your brand-new installation of Bugzilla. You've got
MySQL set up, Apache working right, Perl DBI and DBD talking to the database MySQL set up, Apache working right, Perl DBI and DBD talking to the database
flawlessly. Maybe you've even entered a few test bugs to make sure email's flawlessly. Maybe you've even entered a few test bugs to make sure email's
working; people seem to be notified of new bugs and changes, and you can working; people seem to be notified of new bugs and changes, and you can
enter and edit bugs to your heart's content. Perhaps you've gone through the enter and edit bugs to your heart's content. Perhaps you've gone through the
trouble of setting up a gateway for people to submit bugs to your database via trouble of setting up a gateway for people to submit bugs to your database via
email, have had a few people test it, and received rave reviews from your beta email, have had a few people test it, and received rave reviews from your beta
testers. testers.
</para>
<para>
What's the next thing you do? Outline a training strategy for your What's the next thing you do? Outline a training strategy for your
development team, of course, and bring them up to speed on the new tool you've development team, of course, and bring them up to speed on the new tool you've
labored over for hours. labored over for hours.
</para>
<para>
Your first training session starts off very well! You have a captive Your first training session starts off very well! You have a captive
audience which seems enraptured by the efficiency embodied in this thing called audience which seems enraptured by the efficiency embodied in this thing called
"Bugzilla". You are caught up describing the nifty features, how people can "Bugzilla". You are caught up describing the nifty features, how people can
save favorite queries in the database, set them up as headers and footers on save favorite queries in the database, set them up as headers and footers on
their pages, customize their layouts, generate reports, track status with their pages, customize their layouts, generate reports, track status with
greater efficiency than ever before, leap tall buildings with a single bound greater efficiency than ever before, leap tall buildings with a single bound
and rescue Jane from the clutches of Certain Death! and rescue Jane from the clutches of Certain Death!
</para>
<para>
But Certain Death speaks up -- a tiny voice, from the dark corners of the But Certain Death speaks up -- a tiny voice, from the dark corners of the
conference room. "I have a concern," the voice hisses from the darkness, conference room. "I have a concern," the voice hisses from the darkness,
"about the use of the word 'verified'. "about the use of the word 'verified'.
</para>
<para>
The room, previously filled with happy chatter, lapses into reverential The room, previously filled with happy chatter, lapses into reverential
silence as Certain Death (better known as the Vice President of Software silence as Certain Death (better known as the Vice President of Software
Engineering) continues. "You see, for two years we've used the word 'verified' Engineering) continues. "You see, for two years we've used the word 'verified'
to indicate that a developer or quality assurance engineer has confirmed that, to indicate that a developer or quality assurance engineer has confirmed that,
in fact, a bug is valid. I don't want to lose two years of training to a in fact, a bug is valid. I don't want to lose two years of training to a
new software product. You need to change the bug status of 'verified' to new software product. You need to change the bug status of 'verified' to
'approved' as soon as possible. To avoid confusion, of course." 'approved' as soon as possible. To avoid confusion, of course."
</para>
<para>
Oh no! Terror strikes your heart, as you find yourself mumbling "yes, yes, I Oh no! Terror strikes your heart, as you find yourself mumbling "yes, yes, I
don't think that would be a problem," You review the changes with Certain don't think that would be a problem," You review the changes with Certain
Death, and continue to jabber on, "no, it's not too big a change. I mean, we Death, and continue to jabber on, "no, it's not too big a change. I mean, we
have the source code, right? You know, 'Use the Source, Luke' and all that... have the source code, right? You know, 'Use the Source, Luke' and all that...
no problem," All the while you quiver inside like a beached jellyfish bubbling, no problem," All the while you quiver inside like a beached jellyfish bubbling,
burbling, and boiling on a hot Jamaican sand dune... burbling, and boiling on a hot Jamaican sand dune...
</para>
<para>
Thus begins your adventure into the heart of Bugzilla. You've been forced Thus begins your adventure into the heart of Bugzilla. You've been forced
to learn about non-portable enum() fields, varchar columns, and tinyint to learn about non-portable enum() fields, varchar columns, and tinyint
definitions. The Adventure Awaits You! definitions. The Adventure Awaits You!
</para>
<section>
=== <title>Bugzilla Database Basics</title>
The Basics <para>
=== If you were like me, at this point you're totally clueless
about the internals of MySQL, and if it weren't for this
If you were like me, at this point you're totally clueless about the executive order from the Vice President you couldn't care less
internals of MySQL, and if it weren't for this executive order from the Vice about the difference between a <quote>bigint</quote> and a
President you couldn't care less about the difference between a "bigint" and a <quote>tinyint</quote> entry in MySQL. I recommend you refer
"tinyint" entry in MySQL. I'd refer you first to the MySQL documentation, to the MySQL documentation, available at <ulink url="http://www.mysql.com/doc.html">MySQL.com</ulink>. Below are the basics you need to know about the Bugzilla database. Check the chart above for more details.
available at http://www.mysql.com/doc.html, but that's mostly a confusing </para>
morass of high-level database jargon. Here are the basics you need to know <para><orderedlist>
about the database to proceed: <listitem>
<para>
1. To connect to your database, type "mysql -u root" at the command prompt as To connect to your database:
any user. If this works without asking you for a password, SHAME ON YOU! You </para>
should have locked your security down like the README told you to. You can <para>
find details on locking down your database in the Bugzilla FAQ in this <prompt>bash#</prompt><command>mysql</command><parameter>-u root</parameter>
directory (under "Security"), or more robust security generalities in the </para>
MySQL searchable documentation at <para>
http://www.mysql.com/php/manual.php3?section=Privilege_system . If this works without asking you for a password,
<emphasis>shame on you</emphasis>! You should have
2. You should now be at a prompt that looks like this: locked your security down like the installation
instructions told you to. You can find details on
mysql> locking down your database in the Bugzilla FAQ in this
directory (under "Security"), or more robust security
At the prompt, if "bugs" is the name of your Bugzilla database, type: generalities in the MySQL searchable documentation at
http://www.mysql.com/php/manual.php3?section=Privilege_system .
mysql> use bugs; </para>
</listitem>
(don't forget the ";" at the end of each line, or you'll be kicking yourself
all the way through this documentation) <listitem>
Young Grasshopper, you are now ready for the unveiling of the Bugzilla <para>You should now be at a prompt that looks like
database, in the next section... this:</para>
<para><prompt>mysql></prompt></para>
<para>At the prompt, if <quote>bugs</quote> is the name
you chose in the<filename>localconfig</filename> file
=== for your Bugzilla database, type:</para>
THE TABLES <para><prompt>mysql</prompt><command>use bugs;</command></para>
=== <note>
<para>Don't forget the <quote>;</quote> at the end of
Imagine your MySQL database as a series of spreadsheets, and you won't be too each line, or you'll be kicking yourself later.</para>
far off. If you use this command: </note>
</listitem>
mysql> show tables from bugs; </orderedlist>
</para>
you'll be able to see all the "spreadsheets" (tables) in your database. Cool, <section>
huh? It's kinda' like a filesystem, only much faster and more robust. Come <title>Bugzilla Database Tables</title>
on, I'll show you more! <para> Imagine your MySQL database as a series of
spreadsheets, and you won't be too far off. If you use this
From the command issued above, you should now have some output that looks command:</para>
like this: <para><prompt>mysql></prompt><command>show tables from bugs;</command></para>
<para>you'll be able to see all the
<quote>spreadsheets</quote> (tables) in your database. It
is similar to a file system, only faster and more robust for
certain types of operations.</para>
<para>From the command issued above, ou should have some
output that looks like this:
<programlisting>
+-------------------+ +-------------------+
| Tables in bugs | | Tables in bugs |
+-------------------+ +-------------------+
...@@ -213,14 +169,13 @@ like this: ...@@ -213,14 +169,13 @@ like this:
| profiles | | profiles |
| profiles_activity | | profiles_activity |
| shadowlog | | shadowlog |
| tokens |
| versions | | versions |
| votes | | votes |
| watch | | watch |
+-------------------+ +-------------------+
</programlisting></para>
<literallayout>
If it doesn't look quite the same, that probably means it's time to
update this documentation :)
Here's an overview of what each table does. Most columns in each table have Here's an overview of what each table does. Most columns in each table have
descriptive names that make it fairly trivial to figure out their jobs. descriptive names that make it fairly trivial to figure out their jobs.
...@@ -398,23 +353,36 @@ LINKS ...@@ -398,23 +353,36 @@ LINKS
Great MySQL tutorial site: Great MySQL tutorial site:
http://www.devshed.com/Server_Side/MySQL/ http://www.devshed.com/Server_Side/MySQL/
</LITERALLAYOUT> </literallayout>
</SECTION> </section>
</section>
<SECTION id="granttables"> </section>
<TITLE>MySQL Permissions & Grant Tables</TITLE>
<section id="granttables">
<NOTE> <title>MySQL Permissions & Grant Tables</title>
<PARA>The following portion of documentation comes from my answer to an old discussion of Keystone,
a cool product that does trouble-ticket tracking for IT departments. I wrote this post to the <note>
Keystone support group regarding MySQL grant table permissions, and how to use them effectively. <para>The following portion of documentation comes from my
It is badly in need of updating, as I believe MySQL has added a field or two to the grant tables answer to an old discussion of Keystone, a cool product that
since this time, but it serves as a decent introduction and troubleshooting document for grant does trouble-ticket tracking for IT departments. I wrote this
table issues. I used Keynote to track my troubles until I discovered Bugzilla, post to the Keystone support group regarding MySQL grant
which gave me a whole new set of troubles to work on : )</PARA> table permissions, and how to use them effectively. It is
</NOTE> badly in need of updating, as I believe MySQL has added a
field or two to the grant tables since this time, but it
<LITERALLAYOUT> serves as a decent introduction and troubleshooting document
for grant table issues. I used Keynote to track my troubles
until I discovered Bugzilla, which gave me a whole new set of
troubles to work on : ) Although it is of limited use, it
still has SOME use, thus it's still included.</para>
<para>
Please note, however, that I was a relatively new user to
MySQL at the time. Some of my suggestions, particularly in
how to set up security, showed a terrible lack of
security-related database experience.
</para>
</note>
<literallayout>
From matt_barnson@singletrac.com Wed Jul 7 09:00:07 1999 From matt_barnson@singletrac.com Wed Jul 7 09:00:07 1999
Date: Mon, 1 Mar 1999 21:37:04 -0700 Date: Mon, 1 Mar 1999 21:37:04 -0700
From: Matthew Barnson matt_barnson@singletrac.com From: Matthew Barnson matt_barnson@singletrac.com
...@@ -577,59 +545,28 @@ Once again, you can't go wrong by reading section 6 of the MySQL manual. It ...@@ -577,59 +545,28 @@ Once again, you can't go wrong by reading section 6 of the MySQL manual. It
is more detailed than I! is more detailed than I!
http://www.mysql.com/Manual/manual.html. http://www.mysql.com/Manual/manual.html.
---------------------------------------------------------------------------- </literallayout>
10/12/2000 </section>
Matthew sent in some mail with updated contact information:
NEW CONTACT INFORMATION: </appendix>
------------------------
Matthew P. Barnson
Manager, Systems Administration
Excite@Home Business Applications
mbarnson@excitehome.net
(801)234-8300
</LITERALLAYOUT>
</SECTION>
<SECTION id="cleanupwork">
<TITLE>Cleaning up after mucking with Bugzilla</TITLE>
<LITERALLAYOUT>
Contributed by Eric Hanson:
There are several things, and one trick. There is a small tiny piece of
documentation I saw once that said something very important.
1) After pretty much any manual working of the Mysql db, you must
delete a file in the bugzilla directory: data/versioncache
Versioncache basically is a way to speed up bugzilla (from what I
understand). It stores a lot of commonly used information. However,
this file is refreshed every so often (I can't remember the time
interval though). So eventually all changes do propogate out, so you
may see stuff suddenly working.
2) Assuming that failed, you will also have to check something with the
checksetup.pl file. It actually is run twice. The first time it
creates the file: localconfig. You can modify localconfig, (or not if
you are doing bug_status stuff) or you should delete localconfig and
rerun your modified checksetup.pl. Since I don't actually see anything
in localconfig pertaining to bug_status, this point is mainly a FYI.
</LITERALLAYOUT>
</SECTION>
</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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:upper
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag:t
sgml-tag-region-if-active:t
End: End:
--> -->
# MySQL dump 7.1
#
# Host: localhost Database: bugs
#--------------------------------------------------------
# Server version 3.22.32
#
# Table structure for table 'attachments'
#
CREATE TABLE attachments (
attach_id mediumint(9) DEFAULT '0' NOT NULL auto_increment,
bug_id mediumint(9) DEFAULT '0' NOT NULL,
creation_ts timestamp(14),
description mediumtext NOT NULL,
mimetype mediumtext NOT NULL,
ispatch tinyint(4),
filename mediumtext NOT NULL,
thedata longblob NOT NULL,
submitter_id mediumint(9) DEFAULT '0' NOT NULL,
PRIMARY KEY (attach_id)
);
create index index_41 on attachments (bug_id);
create index index_42 on attachments (creation_ts);
#
# Table structure for table 'bugs'
#
CREATE TABLE bugs (
bug_id mediumint(9) DEFAULT '0' NOT NULL auto_increment,
groupset bigint(20) DEFAULT '0' NOT NULL,
assigned_to mediumint(9) DEFAULT '0' NOT NULL,
bug_file_loc text,
bug_severity enum DEFAULT 'blocker' NOT NULL,
bug_status enum DEFAULT 'UNCONFIRMED' NOT NULL,
creation_ts datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
delta_ts timestamp(14),
short_desc mediumtext,
op_sys enum DEFAULT 'All' NOT NULL,
priority enum DEFAULT 'P1' NOT NULL,
product varchar(64) DEFAULT '' NOT NULL,
rep_platform enum,
reporter mediumint(9) DEFAULT '0' NOT NULL,
version varchar(16) DEFAULT '' NOT NULL,
component varchar(50) DEFAULT '' NOT NULL,
resolution enum DEFAULT '' NOT NULL,
target_milestone varchar(20) DEFAULT '---' NOT NULL,
qa_contact mediumint(9) DEFAULT '0' NOT NULL,
status_whiteboard mediumtext NOT NULL,
votes mediumint(9) DEFAULT '0' NOT NULL,
keywords mediumtext NOT NULL,
lastdiffed datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
everconfirmed tinyint(4) DEFAULT '0' NOT NULL,
PRIMARY KEY (bug_id)
);
create index index_7 on bugs (assigned_to);
create index index_8 on bugs (creation_ts);
create index index_9 on bugs (delta_ts);
create index index_10 on bugs (bug_severity);
create index index_11 on bugs (bug_status);
create index index_12 on bugs (op_sys);
create index index_13 on bugs (priority);
create index index_14 on bugs (product);
create index index_15 on bugs (reporter);
create index index_16 on bugs (version);
create index index_17 on bugs (component);
create index index_18 on bugs (resolution);
create index index_19 on bugs (target_milestone);
create index index_20 on bugs (qa_contact);
create index index_21 on bugs (votes);
#
# Table structure for table 'bugs_activity'
#
CREATE TABLE bugs_activity (
bug_id mediumint(9) DEFAULT '0' NOT NULL,
who mediumint(9) DEFAULT '0' NOT NULL,
bug_when datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
fieldid mediumint(9) DEFAULT '0' NOT NULL,
oldvalue tinytext,
newvalue tinytext
);
create index index_43 on bugs_activity (bug_id);
create index index_44 on bugs_activity (bug_when);
create index index_45 on bugs_activity (fieldid);
#
# Table structure for table 'cc'
#
CREATE TABLE cc (
bug_id mediumint(9) DEFAULT '0' NOT NULL,
who mediumint(9) DEFAULT '0' NOT NULL
);
create index index_31 on cc (who);
create unique index index_32 on cc (bug_id,who);
#
# Table structure for table 'components'
#
CREATE TABLE components (
value tinytext,
program varchar(64),
initialowner tinytext NOT NULL,
initialqacontact tinytext NOT NULL,
description mediumtext NOT NULL
);
#
# Table structure for table 'dependencies'
#
CREATE TABLE dependencies (
blocked mediumint(9) DEFAULT '0' NOT NULL,
dependson mediumint(9) DEFAULT '0' NOT NULL
);
create index index_34 on dependencies (blocked);
create index index_35 on dependencies (dependson);
#
# Table structure for table 'duplicates'
#
CREATE TABLE duplicates (
dupe_of mediumint(9) DEFAULT '0' NOT NULL,
dupe mediumint(9) DEFAULT '0' NOT NULL,
PRIMARY KEY (dupe)
);
#
# Table structure for table 'fielddefs'
#
CREATE TABLE fielddefs (
fieldid mediumint(9) DEFAULT '0' NOT NULL auto_increment,
name varchar(64) DEFAULT '' NOT NULL,
description mediumtext NOT NULL,
mailhead tinyint(4) DEFAULT '0' NOT NULL,
sortkey smallint(6) DEFAULT '0' NOT NULL,
PRIMARY KEY (fieldid)
);
create unique index index_28 on fielddefs (name);
create index index_29 on fielddefs (sortkey);
#
# Table structure for table 'groups'
#
CREATE TABLE groups (
bit bigint(20) DEFAULT '0' NOT NULL,
name varchar(255) DEFAULT '' NOT NULL,
description text NOT NULL,
isbuggroup tinyint(4) DEFAULT '0' NOT NULL,
userregexp tinytext NOT NULL
);
create unique index index_3 on groups (bit);
create unique index index_4 on groups (name);
#
# Table structure for table 'keyworddefs'
#
CREATE TABLE keyworddefs (
id smallint(6) DEFAULT '0' NOT NULL,
name varchar(64) DEFAULT '' NOT NULL,
description mediumtext,
PRIMARY KEY (id)
);
create unique index index_33 on keyworddefs (name);
#
# Table structure for table 'keywords'
#
CREATE TABLE keywords (
bug_id mediumint(9) DEFAULT '0' NOT NULL,
keywordid smallint(6) DEFAULT '0' NOT NULL
);
create index index_39 on keywords (keywordid);
create unique index index_40 on keywords (bug_id, keywordid);
#
# Table structure for table 'logincookies'
#
CREATE TABLE logincookies (
cookie mediumint(9) DEFAULT '0' NOT NULL auto_increment,
userid mediumint(9) DEFAULT '0' NOT NULL,
cryptpassword varchar(64),
hostname varchar(128),
lastused timestamp(14),
PRIMARY KEY (cookie)
);
create index index_30 on logincookies (lastused);
#
# Table structure for table 'longdescs'
#
CREATE TABLE longdescs (
bug_id mediumint(9) DEFAULT '0' NOT NULL,
who mediumint(9) DEFAULT '0' NOT NULL,
bug_when datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
thetext mediumtext
);
create index index_22 on longdescs (bug_id);
create index index_23 on longdescs (bug_when);
#
# Table structure for table 'milestones'
#
CREATE TABLE milestones (
value varchar(20) DEFAULT '' NOT NULL,
product varchar(64) DEFAULT '' NOT NULL,
sortkey smallint(6) DEFAULT '0' NOT NULL,
);
create unique index index_24 on milestones (product, value);
#
# Table structure for table 'namedqueries'
#
CREATE TABLE namedqueries (
userid mediumint(9) DEFAULT '0' NOT NULL,
name varchar(64) DEFAULT '' NOT NULL,
watchfordiffs tinyint(4) DEFAULT '0' NOT NULL,
linkinfooter tinyint(4) DEFAULT '0' NOT NULL,
query mediumtext NOT NULL
);
create unique index index_25 on namedqueries (userid, name);
create index index_26 on namedqueries (watchfordiffs);
#
# Table structure for table 'products'
#
CREATE TABLE products (
product varchar(64),
description mediumtext,
milestoneurl tinytext NOT NULL,
disallownew tinyint(4) DEFAULT '0' NOT NULL,
votesperuser smallint(6) DEFAULT '0' NOT NULL,
maxvotesperbug smallint(6) DEFAULT '10000' NOT NULL,
votestoconfirm smallint(6) DEFAULT '0' NOT NULL,
defaultmilestone varchar(20) DEFAULT '---' NOT NULL
);
#
# Table structure for table 'profiles'
#
CREATE TABLE profiles (
userid mediumint(9) DEFAULT '0' NOT NULL auto_increment,
login_name varchar(255) DEFAULT '' NOT NULL,
password varchar(16),
cryptpassword varchar(64),
realname varchar(255),
groupset bigint(20) DEFAULT '0' NOT NULL,
emailnotification enum DEFAULT 'ExcludeSelfChanges' NOT NULL,
disabledtext mediumtext NOT NULL,
newemailtech tinyint(4) DEFAULT '0' NOT NULL,
mybugslink tinyint(4) DEFAULT '1' NOT NULL,
blessgroupset bigint(20) DEFAULT '0' NOT NULL,
PRIMARY KEY (userid)
);
create unique index index_27 on profiles (login_name);
#
# Table structure for table 'profiles_activity'
#
CREATE TABLE profiles_activity (
userid mediumint(9) DEFAULT '0' NOT NULL,
who mediumint(9) DEFAULT '0' NOT NULL,
profiles_when datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
fieldid mediumint(9) DEFAULT '0' NOT NULL,
oldvalue tinytext,
newvalue tinytext
);
create index index_0 on profiles_activity (userid);
create index index_1 on profiles_activity (profiles_when);
create index index_2 on profiles_activity (fieldid);
#
# Table structure for table 'shadowlog'
#
CREATE TABLE shadowlog (
id int(11) DEFAULT '0' NOT NULL auto_increment,
ts timestamp(14),
reflected tinyint(4) DEFAULT '0' NOT NULL,
command mediumtext NOT NULL,
PRIMARY KEY (id)
);
create index index_38 on shadowlog (reflected);
#
# Table structure for table 'versions'
#
CREATE TABLE versions (
value tinytext,
program varchar(64) DEFAULT '' NOT NULL
);
#
# Table structure for table 'votes'
#
CREATE TABLE votes (
who mediumint(9) DEFAULT '0' NOT NULL,
bug_id mediumint(9) DEFAULT '0' NOT NULL,
count smallint(6) DEFAULT '0' NOT NULL
);
create index index_5 on votes (who);
create index index_6 on votes (bug_id);
#
# Table structure for table 'watch'
#
CREATE TABLE watch (
watcher mediumint(9) DEFAULT '0' NOT NULL,
watched mediumint(9) DEFAULT '0' NOT NULL
);
create index index_36 on watch (watched);
create unique index index_37 on watch (watcher, watched);
This source diff could not be displayed because it is too large. You can view the blob instead.
<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> <!-- <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> -->
<appendix id="gfdl"> <appendix id="gfdl">
<title>GNU Free Documentation License</title> <title>GNU Free Documentation License</title>
...@@ -450,19 +450,25 @@ of this license document, but changing it is not allowed.</para> ...@@ -450,19 +450,25 @@ of this license document, but changing it is not allowed.</para>
</sect1> </sect1>
</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
sgml-omittag:nil
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-parent-document: ("Bugzilla-Guide.sgml" "appendix") sgml-balanced-tag-edit:t
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-local-catalogs: CATALOG sgml-minimize-attributes:nil
sgml-validate-command: "nsgmls -s gfdl.sgml" sgml-namecase-general:t
ispell-skip-sgml: t sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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>
<title>0-9, high ascii</title>
<glossentry>
<glossterm>.htaccess</glossterm>
<glossdef>
<para>
Apache web server, and other NCSA-compliant web servers,
observe the convention of using files in directories
called <filename>.htaccess</filename> files. These
restrict parameters of the web server. In Bugzilla, they
are used to restrict access to certain files which would
otherwise compromise your installation. For instance, the
<filename>localconfig</filename> file contains the
password to your database. If this information were
generally available, and remote access to your database
turned on, you risk corruption of your database by
computer criminals or the curious.
</para>
</glossdef>
</glossentry>
</glossdiv>
<glossdiv id="gloss_a"> <glossdiv id="gloss_a">
<title>A</title> <title>A</title>
...@@ -17,21 +38,36 @@ ...@@ -17,21 +38,36 @@
<glossentry> <glossentry>
<glossterm>Bug</glossterm> <glossterm>Bug</glossterm>
<glossdef> <glossdef>
<para>A "Bug" in Bugzilla refers to an issue entered into the database which has an associated number, assignments, comments, etc. Many also refer to a "Ticket" or "Issue"; in this context, they are synonymous.</para> <para>
A <quote>Bug</quote> in Bugzilla refers to an issue
entered into the database which has an associated number,
assignments, comments, etc. Some also refer to a
<quote>tickets</quote> 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> <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> <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> </glossdef>
</glossentry> </glossentry>
<glossentry> <glossentry>
<glossterm>Bug Life Cycle</glossterm> <glossterm>Bug Life Cycle</glossterm>
<glossdef> <glossdef>
<para>A Bug has stages through which it must pass before becoming a "closed bug", including acceptance, resolution, and verification. The "Bug Life Cycle" is moderately flexible according to the needs of the organization using it, though.</para> <para>A Bug has stages through which it must pass before
becoming a <quote>closed bug</quote>, including
acceptance, resolution, and verification. The <quote>Bug
Life Cycle</quote> is moderately flexible according to
the needs of the organization using it, though.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
...@@ -40,19 +76,35 @@ ...@@ -40,19 +76,35 @@
<title>I</title> <title>I</title>
<glossentry id="gloss_infiniteloop"> <glossentry id="gloss_infiniteloop">
<glossterm>Infinite Loop</glossterm> <glossterm>Infinite Loop</glossterm>
<glosssee otherterm="gloss_recursion"> <glossdef>
<para>A loop of information that never ends; see recursion.</para>
</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 general, there are several Components to a Product. A Product also defines a default Group (used for Bug Security) for all bugs entered into components beneath it.</para> <para>A Product is a broad category of types of bugs. In
general, there are several Components to a Product. A
Product also defines a default Group (used for Bug
Security) for all bugs entered into components beneath
it.</para>
<example> <example>
<title>A Sample Product</title> <title>A Sample Product</title>
<para>A company sells a software product called "X". They also maintain some older software called "Y", and have a secret project "Z". An effective use of Products might be to create Products "X", "Y", and "Z", each with Components "User Interface", "Database", and "Business Logic". They might also change group permissions so that only those people who are members of Group "Z" can see components and bugs under Product "Z".</para> <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> </example>
</glossdef> </glossdef>
</glossentry> </glossentry>
...@@ -61,48 +113,65 @@ ...@@ -61,48 +113,65 @@
<glossdiv id="gloss_q"> <glossdiv id="gloss_q">
<title>Q</title> <title>Q</title>
<glossentry> <glossentry>
<glossterm>Q/A</glossterm> <glossterm>QA</glossterm>
<glossdef> <glossdef>
<para>"Q/A" is short for "Quality Assurance". 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 "Q/A Contact" field in a Bug.</para> <para><quote>QA</quote>, <quote>Q/A</quote>, and
<quote>Q.A.</quote> are short for <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
<quote>QA Contact</quote> field in a Bug.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
<glossdiv id="gloss_r"> <glossdiv id="gloss_r">
<title>R</title> <title>R</title>
<glossentry> <glossentry>
<glossterm id="gloss_recursion">Recursion</glossterm> <glossterm id="gloss_recursion">Recursion</glossterm>
<glosssee otherterm="gloss_infiniteloop"> <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>
</glossentry> </glossentry>
</glossdiv> </glossdiv>
<glossdiv id="gloss_z"> <glossdiv id="gloss_z">
<title>Z</title> <title>Z</title>
<glossentry> <glossentry>
<glossterm>Zarro Boogs Found</glossterm> <glossterm>Zarro Boogs Found</glossterm>
<glossdef> <glossdef>
<para>This is the cryptic response sent by Bugzilla when a query returned no results. It is just a goofy way of saying "Zero Bugs Found".</para> <para>This is the cryptic response sent by Bugzilla when a
query returned no results. It is just a goofy way of
saying "Zero Bugs 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:
mode: sgml mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag:t
sgml-tag-region-if-active:t
End: End:
--> -->
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-always-quote-attributes:t
sgml-auto-insert-required-elements:t
sgml-balanced-tag-edit:t
sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag:t
sgml-tag-region-if-active:t
End:
-->
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> <!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> -->
<CHAPTER id="installation"> <chapter id="installation">
<TITLE>Installing Bugzilla</TITLE> <title>Installation</title>
<para>
<SECTION id="README.unix"> These installation instructions are presented assuming you are
<TITLE>UNIX Installation</TITLE> installing on a UNIX or completely POSIX-compliant system. If
<SECTION> you are installing on Microsoft Windows or another oddball
<TITLE>ERRATA</TITLE> operating system, please consult the appropriate sections in
<NOTE> this installation guide for notes on how to be successful.
<PARA> </para>
If you are installing Bugzilla on S.u.S.e. Linux, or some other <section id="errata">
distributions with "paranoid" security options, it is possible <title>ERRATA</title>
that the checksetup.pl script may fail with the error: <para>Here are some miscellaneous notes about possible issues you
<ERRORNAME>cannot chdir(/var/spool/mqueue): Permission denied</ERRORNAME> main run into when you begin your Bugzilla installation.
This is because your Reference platforms for Bugzilla installation are Redhat Linux
/var/spool/mqueue directory has a mode of "drwx------". Type 7.2, Linux-Mandrake 8.0, and Solaris 8.</para>
<COMMAND>chmod 755 /var/spool/mqueue</COMMAND> as root to fix this problem.
</PARA> <simplelist>
</NOTE> <member>
If you are installing Bugzilla on S.u.S.e. Linux, or some
<NOTE> other distributions with <quote>paranoid</quote> security
<PARA> options, it is possible that the checksetup.pl script may fail
Release Notes for Bugzilla 2.12 are available at docs/rel_notes.txt with the error: <errorname>cannot chdir(/var/spool/mqueue):
</PARA> Permission denied</errorname> This is because your
</NOTE> <filename>/var/spool/mqueue</filename> directory has a mode of
<quote>drwx------</quote>. Type <command>chmod 755
<NOTE> <filename>/var/spool/mqueue</filename></command> as root to
<PARA> fix this problem.
The preferred documentation for Bugzilla is available in docs/, with </member>
a variety of document types available. Please refer to these documents when
installing, configuring, and maintaining your Bugzilla installation. <member>
</PARA> Bugzilla may be installed on Macintosh OS X (10), which is a
</NOTE> unix-based (BSD) operating system. Everything required for
Bugzilla on OS X will install cleanly, but the optional GD
<WARNING> perl module which is used for bug charting requires some
<PARA> additional setup for installation. Please see the Mac OS X
installation section below for details
</member>
<member>
Release Notes for Bugzilla &bz-ver; are available at
<filename>docs/rel_notes.txt</filename> in your Bugzilla
source distribution.
</member>
<member>
The preferred documentation for Bugzilla is available in
docs/, with a variety of document types available. Please
refer to these documents when installing, configuring, and
maintaining your Bugzilla installation.
</member>
</simplelist>
<warning>
<para>
Bugzilla is not a package where you can just plop it in a directory, Bugzilla is not a package where you can just plop it in a directory,
twiddle a few things, and you're off. Installing Bugzilla assumes you twiddle a few things, and you're off. Installing Bugzilla assumes you
know your variant of UNIX or Microsoft Windows well, are familiar with the know your variant of UNIX or Microsoft Windows well, are familiar with the
...@@ -43,536 +62,572 @@ ...@@ -43,536 +62,572 @@
fair Perl proficiency, and if you use a webserver other than Apache you fair Perl proficiency, and if you use a webserver other than Apache you
should be intimately familiar with the security mechanisms and CGI should be intimately familiar with the security mechanisms and CGI
environment thereof. environment thereof.
</PARA> </para>
</WARNING> </warning>
<WARNING> <warning>
<PARA> <para>
Bugzilla has not undergone a complete security review. Security holes Bugzilla has not undergone a complete security review. Security holes
may exist in the code. Great care should be taken both in the installation may exist in the code. Great care should be taken both in the installation
and usage of this software. Carefully consider the implications of and usage of this software. Carefully consider the implications of
installing other network services with Bugzilla. installing other network services with Bugzilla.
</PARA> </para>
</WARNING> </warning>
</SECTION> </section>
<SECTION> <section id="stepbystep" xreflabel="Bugzilla Installation Step-by-step">
<TITLE>Step-by-step Install</TITLE> <title>Step-by-step Install</title>
<SECTION> <section>
<TITLE>Introduction</TITLE> <title>Introduction</title>
<PARA> <para>
Installation of bugzilla is pretty straightforward, particularly if your Installation of bugzilla is pretty straightforward, particularly if your
machine already has MySQL and the MySQL-related perl packages installed. machine already has MySQL and the MySQL-related perl packages installed.
If those aren't installed yet, then that's the first order of business. The If those aren't installed yet, then that's the first order of business. The
other necessary ingredient is a web server set up to run cgi scripts. other necessary ingredient is a web server set up to run cgi scripts.
While using Apache for your webserver is not required, it is recommended. While using Apache for your webserver is not required, it is recommended.
</PARA> </para>
<PARA> <para>
Bugzilla has been successfully installed under Solaris, Linux, and Bugzilla has been successfully installed under Solaris, Linux,
Win32. The peculiarities of installing on Win32 (Win98+/NT/2K) are not and Win32. The peculiarities of installing on Win32 (Microsoft
included in this section of the Guide; please check out the "Win32 Installation Instructions" Windows) are not included in this section of the Guide; please
for further advice on getting Bugzilla to work on Microsoft Windows. check out the <xref linkend="win32"> for further advice
</PARA> on getting Bugzilla to work on Microsoft Windows.
</para>
<PARA>
The Bugzilla Guide is contained in the "docs/" folder. It is available <para>
in plain text (docs/txt), HTML (docs/html), or SGML source (docs/sgml). The Bugzilla Guide is contained in the "docs/" folder in your
</PARA> Bugzilla distribution. It is available in plain text
</SECTION> (docs/txt), HTML (docs/html), or SGML source (docs/sgml).
<SECTION> </para>
<TITLE>Installing the Prerequisites</TITLE> </section>
<section>
<PARA> <title>Installing the Prerequisites</title>
<note>
<para>If you want to skip these manual installation steps for
the CPAN dependencies listed below, and are running the very
most recent version of Perl and MySQL (both the executables
and development libraries) on your system, check out
Bundle::Bugzilla in <xref
linkend="bundlebugzilla"></para>
</note>
<para>
The software packages necessary for the proper running of bugzilla are: The software packages necessary for the proper running of bugzilla are:
<ORDEREDLIST> <orderedlist>
<LISTITEM> <listitem>
<PARA> <para>
MySQL database server and the mysql client (3.22.5 or greater) MySQL database server and the mysql client (3.22.5 or greater)
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Perl (5.004 or greater) Perl (5.004 or greater, 5.6.1 is recommended if you wish
</PARA> to use Bundle::Bugzilla)
</LISTITEM> </para>
<LISTITEM> </listitem>
<PARA> <listitem>
<para>
DBI Perl module DBI Perl module
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Data::Dumper Perl module Data::Dumper Perl module
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
DBD::mySQL Bundle::Mysql Perl module collection
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
TimeDate Perl module collection TimeDate Perl module collection
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
GD perl module (1.8.3) (optional, for bug charting) GD perl module (1.8.3) (optional, for bug charting)
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Chart::Base Perl module (0.99c) (optional, for bug charting) Chart::Base Perl module (0.99c) (optional, for bug charting)
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
DB_File Perl module (optional, for bug charting) DB_File Perl module (optional, for bug charting)
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
The web server of your choice. Apache is recommended. The web server of your choice. Apache is recommended.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
MIME::Parser Perl module (optional, for contrib/bug_email.pl interface) MIME::Parser Perl module (optional, for contrib/bug_email.pl interface)
</PARA> </para>
</LISTITEM> </listitem>
</ORDEREDLIST> </orderedlist>
<NOTE>
<PARA> <warning>
You must run Bugzilla on a filesystem that supports file locking via <para>
flock(). This is necessary for Bugzilla to operate safely with multiple It is a good idea, while installing Bugzilla, to ensure it
instances. is not <emphasis>accessible</emphasis> by other machines
</PARA> on the Internet. Your machine may be vulnerable to attacks
</NOTE> while you are installing. In other words, ensure there is
<WARNING> some kind of firewall between you and the rest of the
<PARA> Internet. Many installation steps require an active
It is a good idea, while installing Bugzilla, to ensure it is not Internet connection to complete, but you must take care to
<EMPHASIS>accessible</EMPHASIS> by other machines on the Internet. ensure that at no point is your machine vulnerable to an
Your machine may be vulnerable to attacks attack.
while you are installing. In other words, ensure there is some kind of firewall between you </para>
and the rest of the Internet. Many installation steps require an active Internet connection </warning>
to complete, but you must take care to ensure that at no point is your machine vulnerable
to an attack. </para>
</PARA> </section>
</WARNING> <section id="install-mysql">
<title>Installing MySQL Database</title>
</PARA> <para>
</SECTION> Visit MySQL homepage at http://www.mysql.com/ and grab the
<SECTION> latest stable release of the server. Both binaries and source
<TITLE>Installing MySQL Database</TITLE> are available and which you get shouldn't matter. Be aware
<PARA> that many of the binary versions of MySQL store their data
Visit MySQL homepage at http://www.mysql.org/ and grab the latest stable files in /var which on many installations (particularly common
release of the server. Both binaries and source are available and which with linux installations) is part of a smaller root partition.
you get shouldn't matter. Be aware that many of the binary versions If you decide to build from sources you can easily set the
of MySQL store their data files in /var which on many installations dataDir as an option to configure.
(particularly common with linux installations) is part of a smaller </para>
root partition. If you decide to build from sources you can easily set <para>
the dataDir as an option to configure. If you've installed from source or non-package (RPM, deb,
</PARA> etc.) binaries you'll want to make sure to add mysqld to your
<PARA> init scripts so the server daemon will come back up whenever
If you've installed from source or non-package (RPM, deb, etc.) binaries your machine reboots. You also may want to edit those init
you'll want to make sure to add mysqld to your init scripts so the server scripts, to make sure that mysqld will accept large packets.
daemon will come back up whenever your machine reboots. By default, mysqld is set up to only accept packets up to 64K
You also may want to edit those init scripts, to make sure that long. This limits the size of attachments you may put on
mysqld will accept large packets. By default, mysqld is set up to only bugs. If you add something like "-O max_allowed_packet=1M" to
accept packets up to 64K long. This limits the size of attachments you the command that starts mysqld (or safe_mysqld), then you will
may put on bugs. If you add something like "-O max_allowed_packet=1M" be able to have attachments up to about 1 megabyte.
to the command that starts mysqld (or safe_mysqld), then you will be </para>
able to have attachments up to about 1 megabyte. <note>
</PARA> <para>
<NOTE> If you plan on running Bugzilla and MySQL on the same
<PARA> machine, consider using the "--skip-networking" option in
If you plan on running Bugzilla and MySQL on the same machine, the init script. This enhances security by preventing
consider using the "--skip-networking" option in the init script. network access to MySQL.
This enhances security by preventing network access to MySQL. </para>
</PARA> </note>
</NOTE> </section>
</SECTION>
<section id="install-perl">
<SECTION> <title>Perl (5.004 or greater)</title>
<TITLE>Perl (5.004 or greater)</TITLE> <para>
<PARA> Any machine that doesn't have perl on it is a sad machine
Any machine that doesn't have perl on it is a sad machine indeed. Perl indeed. Perl for *nix systems can be gotten in source form
for *nix systems can be gotten in source form from http://www.perl.com. from http://www.perl.com. Although Bugzilla runs with most
</PARA> post-5.004 versions of Perl, it's a good idea to be up to the
<PARA> very latest version if you can when running Bugzilla. As of
Perl is now a far cry from the the single compiler/interpreter binary it this writing, that is perl version &perl-ver;.
once was. It now includes a great many required modules and quite a </para>
few other support files. If you're not up to or not inclined to build <para>
perl from source, you'll want to install it on your machine using some Perl is now a far cry from the the single compiler/interpreter
sort of packaging system (be it RPM, deb, or what have you) to ensure binary it once was. It includes a great many required modules
a sane install. In the subsequent sections you'll be installing quite and quite a few other support files. If you're not up to or
a few perl modules; this can be quite ornery if your perl installation not inclined to build perl from source, you'll want to install
it on your machine using some sort of packaging system (be it
RPM, deb, or what have you) to ensure a sane install. In the
subsequent sections you'll be installing quite a few perl
modules; this can be quite ornery if your perl installation
isn't up to snuff. isn't up to snuff.
</PARA> </para>
<TIP> <warning>
<PARA> <para>Many people complain that Perl modules will not install
You can skip the following Perl module installation for them. Most times, the error messages complain that they
steps by installing "Bundle::Bugzilla" from CPAN, which includes them. are missing a file in <quote>@INC</quote>. Virtually every
All Perl module installation steps require you have an active Internet time, this is due to permissions being set too restrictively
connection. for you to compile Perl modules or not having the necessary
</PARA> Perl development libraries installed on your system..
<PARA> Consult your local UNIX systems administrator for help
<COMPUTEROUTPUT> solving these permissions issues; if you
<PROMPT>bash#</PROMPT> <emphasis>are</emphasis> the local UNIX sysadmin, please
<COMMAND>perl -MCPAN -e 'install "Bundle::Bugzilla"'</COMMAND> consult the newsgroup/mailing list for further assistance or
</COMPUTEROUTPUT> hire someone to help you out.
</PARA> </para>
<PARA> </warning>
Bundle::Bugzilla doesn't include GD, Chart::Base, or MIME::Parser, <tip id="bundlebugzilla" xreflabel="Using Bundle::Bugzilla instead of manually installing Perl modules">
which are not essential to a basic Bugzilla install. If installing <para>
this bundle fails, you should install each module individually to You can skip the following Perl module installation steps by
isolate the problem. installing "Bundle::Bugzilla" from CPAN, which includes
</PARA> them. All Perl module installation steps require you have an
</TIP> active Internet connection. If you wish to use
</SECTION> Bundle::Bugzilla, however, you must be using the latest
version of Perl (at this writing, version &perl-ver;)
<SECTION> </para>
<TITLE>DBI Perl Module</TITLE> <para>
<PARA> <computeroutput> <prompt>bash#</prompt> <command>perl -MCPAN
-e 'install "Bundle::Bugzilla"'</command>
</computeroutput>
</para>
<para>
Bundle::Bugzilla doesn't include GD, Chart::Base, or
MIME::Parser, which are not essential to a basic Bugzilla
install. If installing this bundle fails, you should
install each module individually to isolate the problem.
</para>
</tip>
</section>
<section>
<title>DBI Perl Module</title>
<para>
The DBI module is a generic Perl module used by other database related The DBI module is a generic Perl module used by other database related
Perl modules. For our purposes it's required by the MySQL-related Perl modules. For our purposes it's required by the MySQL-related
modules. As long as your Perl installation was done correctly the modules. As long as your Perl installation was done correctly the
DBI module should be a breeze. It's a mixed Perl/C module, but Perl's DBI module should be a breeze. It's a mixed Perl/C module, but Perl's
MakeMaker system simplifies the C compilation greatly. MakeMaker system simplifies the C compilation greatly.
</PARA> </para>
<PARA> <para>
Like almost all Perl modules DBI can be found on the Comprehensive Perl Like almost all Perl modules DBI can be found on the Comprehensive Perl
Archive Network (CPAN) at http://www.cpan.org. The CPAN servers have a Archive Network (CPAN) at http://www.cpan.org. The CPAN servers have a
real tendency to bog down, so please use mirrors. The current location real tendency to bog down, so please use mirrors. The current location
at the time of this writing (02/17/99) can be found in Appendix A. at the time of this writing (02/17/99) can be found in Appendix A.
</PARA> </para>
<PARA> <para>
Quality, general Perl module installation instructions can be found on Quality, general Perl module installation instructions can be found on
the CPAN website, but the easy thing to do is to just use the CPAN shell the CPAN website, but the easy thing to do is to just use the CPAN shell
which does all the hard work for you. which does all the hard work for you.
</PARA> </para>
<PARA> <para>
To use the CPAN shell to install DBI: To use the CPAN shell to install DBI:
<INFORMALEXAMPLE> <informalexample>
<PARA> <para>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>perl -MCPAN -e 'install "DBI"'</COMMAND> <command>perl -MCPAN -e 'install "DBI"'</command>
</COMPUTEROUTPUT> </computeroutput>
<NOTE> <note>
<PARA>Replace "DBI" with the name of whichever module you wish <para>Replace "DBI" with the name of whichever module you wish
to install, such as Data::Dumper, TimeDate, GD, etc.</PARA> to install, such as Data::Dumper, TimeDate, GD, etc.</para>
</NOTE> </note>
</PARA> </para>
</INFORMALEXAMPLE> </informalexample>
To do it the hard way: To do it the hard way:
<INFORMALEXAMPLE> <informalexample>
<PARA> <para>
Untar the module tarball -- it should create its own directory Untar the module tarball -- it should create its own directory
</PARA> </para>
<PARA> <para>
CD to the directory just created, and enter the following commands: CD to the directory just created, and enter the following commands:
<ORDEREDLIST> <orderedlist>
<LISTITEM> <listitem>
<PARA> <para>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>perl Makefile.PL</COMMAND> <command>perl Makefile.PL</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>make</COMMAND> <command>make</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>make test</COMMAND> <command>make test</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>make install</COMMAND> <command>make install</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
</LISTITEM> </listitem>
</ORDEREDLIST> </orderedlist>
If everything went ok that should be all it takes. For the vast If everything went ok that should be all it takes. For the vast
majority of perl modules this is all that's required. majority of perl modules this is all that's required.
</PARA> </para>
</INFORMALEXAMPLE> </informalexample>
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>Data::Dumper Perl Module</TITLE> <title>Data::Dumper Perl Module</title>
<PARA> <para>
The Data::Dumper module provides data structure persistence for Perl The Data::Dumper module provides data structure persistence for Perl
(similar to Java's serialization). It comes with later sub-releases of (similar to Java's serialization). It comes with later sub-releases of
Perl 5.004, but a re-installation just to be sure it's available won't Perl 5.004, but a re-installation just to be sure it's available won't
hurt anything. hurt anything.
</PARA> </para>
<PARA> <para>
Data::Dumper is used by the MySQL related Perl modules. It can be Data::Dumper is used by the MySQL-related Perl modules. It can be
found on CPAN (link in Appendix A) and can be installed by following found on CPAN (link in Appendix A) and can be installed by following
the same four step make sequence used for the DBI module. the same four step make sequence used for the DBI module.
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>MySQL related Perl Module Collection</TITLE> <title>MySQL related Perl Module Collection</title>
<PARA> <para>
The Perl/MySQL interface requires a few mutually-dependent perl The Perl/MySQL interface requires a few mutually-dependent perl
modules. These modules are grouped together into the the modules. These modules are grouped together into the the
Msql-Mysql-modules package. This package can be found at CPAN. Msql-Mysql-modules package. This package can be found at CPAN.
After the archive file has been downloaded it should After the archive file has been downloaded it should
be untarred. be untarred.
</PARA> </para>
<PARA> <para>
The MySQL modules are all built using one make file which is generated The MySQL modules are all built using one make file which is generated
by running: by running:
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>perl Makefile.pl</COMMAND> <command>perl Makefile.pl</command>
</PARA> </para>
<PARA> <para>
The MakeMaker process will ask you a few questions about the desired The MakeMaker process will ask you a few questions about the desired
compilation target and your MySQL installation. For many of the questions compilation target and your MySQL installation. For many of the questions
the provided default will be adequate. the provided default will be adequate.
</PARA> </para>
<PARA> <para>
When asked if your desired target is the MySQL or mSQL packages When asked if your desired target is the MySQL or mSQL packages,
selected the MySQL related ones. Later you will be asked if you wish select the MySQL related ones. Later you will be asked if you wish
to provide backwards compatibility with the older MySQL packages; you to provide backwards compatibility with the older MySQL packages; you
must answer YES to this question. The default will be no, and if you should answer YES to this question. The default is NO.
select it things won't work later. </para>
</PARA> <para>
<PARA>
A host of 'localhost' should be fine and a testing user of 'test' and A host of 'localhost' should be fine and a testing user of 'test' and
a null password should find itself with sufficient access to run tests a null password should find itself with sufficient access to run tests
on the 'test' database which MySQL created upon installation. If 'make on the 'test' database which MySQL created upon installation. If 'make
test' and 'make install' go through without errors you should be ready test' and 'make install' go through without errors you should be ready
to go as far as database connectivity is concerned. to go as far as database connectivity is concerned.
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>TimeDate Perl Module Collection</TITLE> <title>TimeDate Perl Module Collection</title>
<PARA> <para>
Many of the more common date/time/calendar related Perl modules have Many of the more common date/time/calendar related Perl modules have
been grouped into a bundle similar to the MySQL modules bundle. This been grouped into a bundle similar to the MySQL modules bundle. This
bundle is stored on the CPAN under the name TimeDate. A (hopefully bundle is stored on the CPAN under the name TimeDate. A link
current) link can be found in Appendix A. The component module we're link may be found in Appendix B, Software Download Links.
The component module we're
most interested in is the Date::Format module, but installing all of them most interested in is the Date::Format module, but installing all of them
is probably a good idea anyway. The standard Perl module installation is probably a good idea anyway. The standard Perl module installation
instructions should work perfectly for this simple package. instructions should work perfectly for this simple package.
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>GD Perl Module (1.8.3)</TITLE> <title>GD Perl Module (1.8.3)</title>
<PARA> <para>
The GD library was written by Thomas Boutell a long while ago to The GD library was written by Thomas Boutell a long while ago to
programatically generate images in C. Since then it's become almost a programatically generate images in C. Since then it's become almost a
defacto standard for programatic image construction. The Perl bindings defacto standard for programatic image construction. The Perl bindings
to it found in the GD library are used on a million web pages to generate to it found in the GD library are used on a million web pages to generate
graphs on the fly. That's what bugzilla will be using it for so you'd graphs on the fly. That's what bugzilla will be using it for so you'd
better install it if you want any of the graphing to work. better install it if you want any of the graphing to work.
</PARA> </para>
<PARA> <para>
Actually bugzilla uses the Graph module which relies on GD itself, Actually bugzilla uses the Graph module which relies on GD itself,
but isn't that always the way with OOP. At any rate, you can find the but isn't that always the way with OOP. At any rate, you can find the
GD library on CPAN (link in Appendix "Required Software"). GD library on CPAN (link in Appendix B, Software Download Links).
</PARA> </para>
<NOTE> <note>
<PARA> <para>
The Perl GD library requires some other libraries that may or may not be The Perl GD library requires some other libraries that may or may not be
installed on your system, including "libpng" and "libgd". The full requirements installed on your system, including "libpng" and "libgd". The full requirements
are listed in the Perl GD library README. Just realize that if compiling GD fails, are listed in the Perl GD library README. Just realize that if compiling GD fails,
it's probably because you're missing a required library. it's probably because you're missing a required library.
</PARA> </para>
</NOTE> </note>
</SECTION> </section>
<SECTION> <section>
<TITLE>Chart::Base Perl Module (0.99c)</TITLE> <title>Chart::Base Perl Module (0.99c)</title>
<PARA> <para>
The Chart module provides bugzilla with on-the-fly charting The Chart module provides bugzilla with on-the-fly charting
abilities. It can be installed in the usual fashion after it has been abilities. It can be installed in the usual fashion after it has been
fetched from CPAN where it is found as the Chart-x.x... tarball in a fetched from CPAN where it is found as the Chart-x.x... tarball in a
directory to be listed in Appendix "Required Software". Note that as with the GD perl directory to be listed in Appendix B, "Software Download Links".
module, only the specific versions listed above (or newer) will work. Earlier Note that as with the GD perl
module, only the version listed above, or newer, will work.
Earlier
versions used GIF's, which are no longer supported by the latest versions used GIF's, which are no longer supported by the latest
versions of GD. versions of GD.
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>DB_File Perl Module</TITLE> <title>DB_File Perl Module</title>
<PARA> <para>
DB_File is a module which allows Perl programs to make use of the facilities provided by DB_File is a module which allows Perl programs to make use of the facilities provided by
Berkeley DB version 1.x. This module is required by collectstats.pl which is used for Berkeley DB version 1.x. This module is required by collectstats.pl which is used for
bug charting. If you plan to make use of bug charting, you must install this module. bug charting. If you plan to make use of bug charting, you must install this module.
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>HTTP Server</TITLE> <title>HTTP Server</title>
<PARA> <para>
You have a freedom of choice here - Apache, Netscape or any other You have a freedom of choice here - Apache, Netscape or any other
server on UNIX would do. You can easily run the web server on a different server on UNIX would do. You can easily run the web server on a different
machine than MySQL, but need to adjust the MySQL "bugs" user permissions machine than MySQL, but need to adjust the MySQL "bugs" user permissions
accordingly. accordingly.
</PARA> </para>
<PARA> <para>
You'll want to make sure that your web server will run any file You'll want to make sure that your web server will run any file
with the .cgi extension as a cgi and not just display it. If you're using with the .cgi extension as a cgi and not just display it. If you're using
apache that means uncommenting the following line in the srm.conf file: apache that means uncommenting the following line in the srm.conf file:
<COMPUTEROUTPUT>AddHandler cgi-script .cgi</COMPUTEROUTPUT> <computeroutput>AddHandler cgi-script .cgi</computeroutput>
</PARA> </para>
<PARA> <para>
With apache you'll also want to make sure that within the access.conf With apache you'll also want to make sure that within the access.conf
file the line: file the line:
<COMPUTEROUTPUT> <computeroutput>
Options ExecCGI Options ExecCGI
</COMPUTEROUTPUT> </computeroutput>
is in the stanza that covers the directories you intend to put the bugzilla is in the stanza that covers the directories you intend to put the bugzilla
.html and .cgi files into. .html and .cgi files into.
</PARA> </para>
<PARA> <para>
If you are using a newer version of Apache, both of the above lines will be If you are using a newer version of Apache, both of the above lines will be
(or will need to be) in the httpd.conf file, rather than srm.conf or (or will need to be) in the httpd.conf file, rather than srm.conf or
access.conf. access.conf.
</PARA> </para>
<WARNING> <warning>
<PARA> <para>
There are two critical directories and a file that should not be a served by There are two critical directories and a file that should not be a served by
the HTTP server. These are the 'data' and 'shadow' directories and the the HTTP server. These are the <quote>data</quote> and <quote>shadow</quote>
'localconfig' file. You should configure your HTTP server to not serve directories and the
<quote>localconfig</quote> file. You should configure your HTTP server to not serve
content from these files. Failure to do so will expose critical passwords content from these files. Failure to do so will expose critical passwords
and other data. Please see your HTTP server configuration manual on how and other data. Please see <xref linkend="htaccess"> for details.
to do this. If you use quips (at the top of the buglist pages) you will want </para>
the 'data/comments' file to still be served. This file contains those quips. </warning>
</PARA> </section>
</WARNING>
</SECTION> <section>
<title>Installing the Bugzilla Files</title>
<SECTION> <para>
<TITLE>Installing the Bugzilla Files</TITLE>
<PARA>
You should untar the Bugzilla files into a directory that you're You should untar the Bugzilla files into a directory that you're
willing to make writable by the default web server user (probably willing to make writable by the default web server user (probably
'nobody'). You may decide to put the files off of the main web space <quote>nobody</quote>). You may decide to put the files off of the main web space
for your web server or perhaps off of /usr/local with a symbolic link for your web server or perhaps off of /usr/local with a symbolic link
in the web space that points to the bugzilla directory. At any rate, in the web space that points to the bugzilla directory. At any rate,
just dump all the files in the same place (optionally omitting the CVS just dump all the files in the same place (optionally omitting the CVS
directories if they were accidentally tarred up with the rest of Bugzilla) directories if they were accidentally tarred up with the rest of Bugzilla)
and make sure you can access the files in that directory through your and make sure you can access the files in that directory through your
web server. web server.
</PARA> </para>
<TIP> <tip>
<PARA> <para>
If you symlink the bugzilla directory into your Apache's If you symlink the bugzilla directory into your Apache's
HTML heirarchy, you may receive "Forbidden" errors unless you HTML heirarchy, you may receive "Forbidden" errors unless you
add the "FollowSymLinks" directive to the &lt;Directory&gt; entry add the "FollowSymLinks" directive to the &lt;Directory&gt; entry
for the HTML root. for the HTML root.
</PARA> </para>
</TIP> </tip>
<PARA> <para>
Once all the files are in a web accessible directory, make that Once all the files are in a web accessible directory, make that
directory writable by your webserver's user (which may require just directory writable by your webserver's user (which may require just
making it world writable). This is a temporary step until you run making it world writable). This is a temporary step until you run
the post-install "checksetup.pl" script, which locks down your the post-install <quote>checksetup.pl</quote> script, which locks down your
installation. installation.
</PARA> </para>
<PARA> <para>
Lastly, you'll need to set up a symbolic link to /usr/bonsaitools/bin/perl Lastly, you'll need to set up a symbolic link to /usr/bonsaitools/bin/perl
for the correct location of your perl executable (probably /usr/bin/perl). for the correct location of your perl executable (probably /usr/bin/perl).
Otherwise you must hack all the .cgi files to change where they look Otherwise you must hack all the .cgi files to change where they look
for perl. To make future upgrades easier, you should use the symlink for perl. To make future upgrades easier, you should use the symlink
approach. approach.
<EXAMPLE> <example>
<TITLE>Setting up bonsaitools symlink</TITLE> <title>Setting up bonsaitools symlink</title>
<PARA> <para>
Here's how you set up the Perl symlink on Linux to make Bugzilla work. Here's how you set up the Perl symlink on Linux to make Bugzilla work.
Your mileage may vary; if you are running on Solaris, you probably need to subsitute Your mileage may vary; if you are running on Solaris, you probably need to subsitute
"/usr/local/bin/perl" for "/usr/bin/perl" below; if on certain other UNIX systems, <quote>/usr/local/bin/perl</quote> for <quote>/usr/bin/perl</quote>
Perl may live in weird places like "/opt/perl". As root, run these commands: below; if on certain other UNIX systems,
<PROGRAMLISTING> Perl may live in weird places like <quote>/opt/perl</quote>. As root, run these commands:
<programlisting>
bash# mkdir /usr/bonsaitools bash# mkdir /usr/bonsaitools
bash# mkdir /usr/bonsaitools/bin bash# mkdir /usr/bonsaitools/bin
bash# ln -s /usr/bin/perl /usr/bosaitools/bin/perl bash# ln -s /usr/bin/perl /usr/bosaitools/bin/perl
</PROGRAMLISTING> </programlisting>
</PARA> </para>
</EXAMPLE> </example>
<TIP> <tip>
<PARA> <para>
If you don't have root access to set this symlink up, check out the If you don't have root access to set this symlink up,
"setperl.csh" utility, listed in the Patches section of this check out the
Guide. It will change the path to perl in all your Bugzilla files for <xref linkend="setperl">, listed in <xref linkend="patches">.
you. It will change the path to perl in all your Bugzilla files for you.
</PARA> </para>
</TIP> </tip>
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>Setting Up the MySQL Database</TITLE> <title>Setting Up the MySQL Database</title>
<PARA> <para>
After you've gotten all the software installed and working you're ready After you've gotten all the software installed and working you're ready
to start preparing the database for its life as a the back end to a high to start preparing the database for its life as a the back end to a high
quality bug tracker. quality bug tracker.
</PARA> </para>
<PARA> <para>
First, you'll want to fix MySQL permissions to allow access from First, you'll want to fix MySQL permissions to allow access from
Bugzilla. For the purpose of this Installation section, the Bugzilla username Bugzilla. For the purpose of this Installation section, the Bugzilla username
will be "bugs", and will have minimal permissions. Bugzilla has will be "bugs", and will have minimal permissions.
not undergone a thorough security audit. It may be possible for
a system cracker to somehow trick Bugzilla into executing a command <warning>
such as "; DROP DATABASE mysql". <para>
</PARA> Bugzilla has not undergone a thorough security audit. It
<PARA> may be possible for a system cracker to somehow trick
That would be bad. Bugzilla into executing a command such as <command>DROP
</PARA> DATABASE mysql</command>.
<PARA> </para>
<para>That would be bad.</para>
</warning>
</para>
<para>
Give the MySQL root user a password. MySQL passwords are Give the MySQL root user a password. MySQL passwords are
limited to 16 characters. limited to 16 characters.
<SIMPLELIST> <simplelist>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>mysql -u root mysql</COMMAND> <command>mysql -u root mysql</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND> <command>
UPDATE user SET Password=PASSWORD ('new_password') UPDATE user SET Password=PASSWORD ('new_password')
WHERE user='root'; WHERE user='root';
</COMMAND> </command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND>FLUSH PRIVILEGES;</COMMAND> <command>FLUSH PRIVILEGES;</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
</SIMPLELIST> </simplelist>
From this point on, if you need to access MySQL as the From this point on, if you need to access MySQL as the
MySQL root user, you will need to use "mysql -u root -p" and MySQL root user, you will need to use "mysql -u root -p" and
enter your new_password. Remember that MySQL user names have enter your new_password. Remember that MySQL user names have
nothing to do with Unix user names (login names). nothing to do with Unix user names (login names).
</PARA> </para>
<PARA> <para>
Next, we create the "bugs" user, and grant sufficient Next, we create the "bugs" user, and grant sufficient
permissions for checksetup.pl, which we'll use later, to work permissions for checksetup.pl, which we'll use later, to work
its magic. This also restricts the "bugs" user to operations its magic. This also restricts the "bugs" user to operations
...@@ -580,755 +635,1091 @@ bash# ln -s /usr/bin/perl /usr/bosaitools/bin/perl ...@@ -580,755 +635,1091 @@ bash# ln -s /usr/bin/perl /usr/bosaitools/bin/perl
to connect from "localhost". Modify it to reflect your setup to connect from "localhost". Modify it to reflect your setup
if you will be connecting from another machine or as a different if you will be connecting from another machine or as a different
user. user.
</PARA> </para>
<PARA> <para>
Remember to set bugs_password to some unique password. Remember to set bugs_password to some unique password.
<SIMPLELIST> <simplelist>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND>GRANT SELECT,INSERT,UPDATE,DELETE,INDEX, <command>GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,
ALTER,CREATE,DROP,REFERENCES ALTER,CREATE,DROP,REFERENCES
ON bugs.* TO bugs@localhost ON bugs.* TO bugs@localhost
IDENTIFIED BY 'bugs_password';</COMMAND> IDENTIFIED BY 'bugs_password';</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT> <prompt>
mysql> mysql>
</PROMPT> </prompt>
<COMMAND> <command>
FLUSH PRIVILEGES; FLUSH PRIVILEGES;
</COMMAND> </command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
</SIMPLELIST> </simplelist>
</PARA> </para>
<PARA> <para>
Next, run the magic checksetup.pl script. (Many thanks to Holger Next, run the magic checksetup.pl script. (Many thanks to Holger
Schurig &lt;holgerschurig@nikocity.de&gt; for writing this script!) Schurig &lt;holgerschurig@nikocity.de&gt; for writing this script!)
It will make sure Bugzilla files and directories have reasonable It will make sure Bugzilla files and directories have reasonable
permissions, set up the "data" directory, and create all the MySQL permissions, set up the "data" directory, and create all the MySQL
tables. tables.
<SIMPLELIST> <simplelist>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>./checksetup.pl</COMMAND> <command>./checksetup.pl</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
</SIMPLELIST> </simplelist>
The first time you run it, it will create a file called "localconfig". The first time you run it, it will create a file called "localconfig".
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>Tweaking "localconfig"</TITLE> <title>Tweaking "localconfig"</title>
<PARA> <para>
This file contains a variety of settings you may need to tweak including This file contains a variety of settings you may need to tweak including
how Bugzilla should connect to the MySQL database. how Bugzilla should connect to the MySQL database.
</PARA> </para>
<PARA> <para>
The connection settings include: The connection settings include:
<ORDEREDLIST> <orderedlist>
<LISTITEM> <listitem>
<PARA> <para>
server's host: just use "localhost" if the MySQL server is server's host: just use "localhost" if the MySQL server is
local local
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
database name: "bugs" if you're following these directions database name: "bugs" if you're following these directions
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
MySQL username: "bugs" if you're following these directions MySQL username: "bugs" if you're following these directions
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
Password for the "bugs" MySQL account above Password for the "bugs" MySQL account above
</PARA> </para>
</LISTITEM> </listitem>
</ORDEREDLIST> </orderedlist>
</PARA> </para>
<PARA> <para>
You may also install .htaccess files that the Apache webserver will use
to restrict access to Bugzilla data files. See <xref linkend="htaccess">.
</para>
<para>
Once you are happy with the settings, re-run checksetup.pl. On this Once you are happy with the settings, re-run checksetup.pl. On this
second run, it will create the database and an administrator account second run, it will create the database and an administrator account
for which you will be prompted to provide information. for which you will be prompted to provide information.
</PARA> </para>
<PARA> <para>
When logged into an administrator account once Bugzilla is running, When logged into an administrator account once Bugzilla is running,
if you go to the query page (off of the bugzilla main menu), you'll if you go to the query page (off of the bugzilla main menu), you'll
find an 'edit parameters' option that is filled with editable treats. find an 'edit parameters' option that is filled with editable treats.
</PARA> </para>
<PARA> <para>
Should everything work, you should have a nearly empty copy of the bug Should everything work, you should have a nearly empty copy of the bug
tracking setup. tracking setup.
</PARA> </para>
<PARA> <para>
The second time around, checksetup.pl will stall if it is on a The second time around, checksetup.pl will stall if it is on a
filesystem that does not fully support file locking via flock(), such as filesystem that does not fully support file locking via flock(), such as
NFS mounts. This support is required for Bugzilla to operate safely with NFS mounts. This support is required for Bugzilla to operate safely with
multiple instances. If flock() is not fully supported, it will stall at: multiple instances. If flock() is not fully supported, it will stall at:
<ERRORCODE>Now regenerating the shadow database for all bugs.</ERRORCODE> <errorcode>Now regenerating the shadow database for all bugs.</errorcode>
<NOTE> <note>
<PARA> <para>
The second time you run checksetup.pl, you should become the The second time you run checksetup.pl, you should become the
user your web server runs as, and that you ensure you have set the user your web server runs as, and that you ensure that you set the
"webservergroup" parameter in localconfig to match the web server's group "webservergroup" parameter in localconfig to match the web
name, if any. I believe, for the next release of Bugzilla, this will server's group
be fixed so that Bugzilla supports a "webserveruser" parameter in localconfig name, if any. I believe, for the next release of Bugzilla,
this will
be fixed so that Bugzilla supports a "webserveruser" parameter
in localconfig
as well. as well.
<EXAMPLE> <example>
<TITLE>Running checksetup.pl as the web user</TITLE> <title>Running checksetup.pl as the web user</title>
<PARA> <para>
Assuming your web server runs as user "apache", and Bugzilla is installed in Assuming your web server runs as user "apache",
"/usr/local/bugzilla", here's one way to run checksetup.pl as the web server user. and Bugzilla is installed in
As root, for the <EMPHASIS>second run</EMPHASIS> of checksetup.pl, do this: "/usr/local/bugzilla", here's one way to run checksetup.pl
<PROGRAMLISTING> as the web server user.
As root, for the <emphasis>second run</emphasis>
of checksetup.pl, do this:
<programlisting>
bash# chown -R apache:apache /usr/local/bugzilla bash# chown -R apache:apache /usr/local/bugzilla
bash# su - apache bash# su - apache
bash# cd /usr/local/bugzilla bash# cd /usr/local/bugzilla
bash# ./checksetup.pl bash# ./checksetup.pl
</PROGRAMLISTING> </programlisting>
</PARA> </para>
</EXAMPLE> </example>
</PARA> </para>
</NOTE> </note>
</PARA> </para>
<NOTE> <note>
<PARA> <para>
The checksetup.pl script is designed so that you can run it at any time The checksetup.pl script is designed so that you can run
without causing harm. You should run it after any upgrade to Bugzilla. it at any time without causing harm. You should run it
</PARA> after any upgrade to Bugzilla.
</NOTE> </para>
</SECTION> </note>
</section>
<SECTION>
<TITLE>Setting Up Maintainers Manually (Optional)</TITLE> <section>
<PARA> <title>Setting Up Maintainers Manually (Optional)</title>
If you want to add someone else to every group by hand, you can do it <para>
by typing the appropriate MySQL commands. Run '<COMPUTEROUTPUT> If you want to add someone else to every group by hand, you
mysql -u root -p bugs</COMPUTEROUTPUT>' can do it by typing the appropriate MySQL commands. Run
(you may need different parameters, depending on your security settings '<computeroutput> mysql -u root -p bugs</computeroutput>' You
according to section 3, above). Then: may need different parameters, depending on your security
<SIMPLELIST> settings. Then:
<MEMBER> <simplelist>
<COMPUTEROUTPUT> <member>
<PROMPT>mysql></PROMPT> <computeroutput> <prompt>mysql></prompt> <command>update
<COMMAND>update profiles set groupset=0x7fffffffffffffff profiles set groupset=0x7fffffffffffffff where
where login_name = 'XXX';</COMMAND> login_name = 'XXX';</command> </computeroutput>
</COMPUTEROUTPUT> </member>
</MEMBER> </simplelist> replacing XXX with the Bugzilla email address.
</SIMPLELIST> </para>
replacing XXX with the Bugzilla email address. </section>
</PARA>
</SECTION> <section>
<title>The Whining Cron (Optional)</title>
<SECTION> <para>
<TITLE>The Whining Cron (Optional)</TITLE> By now you have a fully functional bugzilla, but what good
<PARA> are bugs if they're not annoying? To help make those bugs
By now you've got a fully functional bugzilla, but what good are bugs more annoying you can set up bugzilla's automatic whining
if they're not annoying? To help make those bugs more annoying you can system. This can be done by adding the following command as a
set up bugzilla's automatic whining system. This can be done by adding daily crontab entry (for help on that see that crontab man
the following command as a daily crontab entry (for help on that see that page):
crontab man page): <simplelist>
<SIMPLELIST> <member>
<MEMBER> <computeroutput> <command>cd
<COMPUTEROUTPUT> &lt;your-bugzilla-directory&gt; ;
<COMMAND>cd &lt;your-bugzilla-directory&gt; ; ./whineatnews.pl</COMMAND> ./whineatnews.pl</command> </computeroutput>
</COMPUTEROUTPUT> </member>
</MEMBER> </simplelist>
</SIMPLELIST> </para>
</PARA> <tip>
</SECTION> <para>
Depending on your system, crontab may have several manpages.
<SECTION> The following command should lead you to the most useful
<TITLE>Bug Graphs (Optional)</TITLE> page for this purpose:
<PARA> <programlisting>
As long as you installed the GD and Graph::Base Perl modules you might man 5 crontab
as well turn on the nifty bugzilla bug reporting graphs. </programlisting>
</PARA> </para>
<PARA> </tip>
Add a cron entry like this to run collectstats daily at 5 after midnight: </section>
<SIMPLELIST>
<MEMBER> <section>
<COMPUTEROUTPUT> <title>Bug Graphs (Optional)</title>
<PROMPT>bash#</PROMPT> <para>
<COMMAND>crontab -e</COMMAND> As long as you installed the GD and Graph::Base Perl modules
</COMPUTEROUTPUT> you might as well turn on the nifty bugzilla bug reporting
</MEMBER> graphs.
<MEMBER> </para>
<COMPUTEROUTPUT> <para>
5 0 * * * cd &lt;your-bugzilla-directory&gt; ; ./collectstats.pl Add a cron entry like this to run collectstats daily at 5
</COMPUTEROUTPUT> after midnight:
</MEMBER> <simplelist>
</SIMPLELIST> <member>
</PARA> <computeroutput> <prompt>bash#</prompt> <command>crontab
<PARA> -e</command> </computeroutput>
After two days have passed you'll be able to view bug graphs from the </member>
Bug Reports page. <member>
</PARA> <computeroutput> 5 0 * * * cd
</SECTION> &lt;your-bugzilla-directory&gt; ; ./collectstats.pl
</computeroutput>
<SECTION> </member>
<TITLE>Securing MySQL</TITLE> </simplelist>
<PARA> </para>
If you followed the README for setting up your "bugs" and "root" user in <para>
MySQL, much of this should not apply to you. If you are upgrading After two days have passed you'll be able to view bug graphs
an existing installation of Bugzilla, you should pay close attention from the Bug Reports page.
to this section. </para>
</PARA> </section>
<PARA>
<section>
<title>Securing MySQL</title>
<para>
If you followed the installation instructions for setting up
your "bugs" and "root" user in MySQL, much of this should not
apply to you. If you are upgrading an existing installation
of Bugzilla, you should pay close attention to this section.
</para>
<para>
Most MySQL installs have "interesting" default security parameters: Most MySQL installs have "interesting" default security parameters:
<SIMPLELIST> <simplelist>
<MEMBER>mysqld defaults to running as root</MEMBER> <member>mysqld defaults to running as root</member>
<MEMBER>it defaults to allowing external network connections</MEMBER> <member>it defaults to allowing external network connections</member>
<MEMBER>it has a known port number, and is easy to detect</MEMBER> <member>it has a known port number, and is easy to detect</member>
<MEMBER>it defaults to no passwords whatsoever</MEMBER> <member>it defaults to no passwords whatsoever</member>
<MEMBER>it defaults to allowing "File_Priv"</MEMBER> <member>it defaults to allowing "File_Priv"</member>
</SIMPLELIST> </simplelist>
</PARA> </para>
<PARA> <para>
This means anyone from anywhere on the internet can not only drop the This means anyone from anywhere on the internet can not only
database with one SQL command, and they can write as root to the system. drop the database with one SQL command, and they can write as
</PARA> root to the system.
<PARA> </para>
<para>
To see your permissions do: To see your permissions do:
<SIMPLELIST> <simplelist>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>bash#</PROMPT> <prompt>bash#</prompt>
<COMMAND>mysql -u root -p</COMMAND> <command>mysql -u root -p</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND>use mysql;</COMMAND> <command>use mysql;</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND>show tables;</COMMAND> <command>show tables;</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND>select * from user;</COMMAND> <command>select * from user;</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
<MEMBER> <member>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND>select * from db;</COMMAND> <command>select * from db;</command>
</COMPUTEROUTPUT> </computeroutput>
</MEMBER> </member>
</SIMPLELIST> </simplelist>
</PARA> </para>
<PARA> <para>
To fix the gaping holes: To fix the gaping holes:
<SIMPLELIST> <simplelist>
<MEMBER>DELETE FROM user WHERE User='';</MEMBER> <member>DELETE FROM user WHERE User='';</member>
<MEMBER>UPDATE user SET Password=PASSWORD('new_password') WHERE user='root';</MEMBER> <member>UPDATE user SET Password=PASSWORD('new_password') WHERE user='root';</member>
<MEMBER> FLUSH PRIVILEGES;</MEMBER> <member> FLUSH PRIVILEGES;</member>
</SIMPLELIST> </simplelist>
</PARA> </para>
<PARA> <para>
If you're not running "mit-pthreads" you can use: If you're not running "mit-pthreads" you can use:
<SIMPLELIST> <simplelist>
<MEMBER>GRANT USAGE ON *.* TO bugs@localhost;</MEMBER> <member>GRANT USAGE ON *.* TO bugs@localhost;</member>
<MEMBER>GRANT ALL ON bugs.* TO bugs@localhost;</MEMBER> <member>GRANT ALL ON bugs.* TO bugs@localhost;</member>
<MEMBER>REVOKE DROP ON bugs.* FROM bugs@localhost;</MEMBER> <member>REVOKE DROP ON bugs.* FROM bugs@localhost;</member>
<MEMBER>FLUSH PRIVILEGES;</MEMBER> <member>FLUSH PRIVILEGES;</member>
</SIMPLELIST> </simplelist>
</PARA> </para>
<PARA> <para>
With "mit-pthreads" you'll need to modify the "globals.pl" Mysql->Connect With "mit-pthreads" you'll need to modify the "globals.pl" Mysql->Connect
line to specify a specific host name instead of "localhost", and accept line to specify a specific host name instead of "localhost", and accept
external connections: external connections:
<SIMPLELIST> <simplelist>
<MEMBER>GRANT USAGE ON *.* TO bugs@bounce.hop.com;</MEMBER> <member>GRANT USAGE ON *.* TO bugs@bounce.hop.com;</member>
<MEMBER>GRANT ALL ON bugs.* TO bugs@bounce.hop.com;</MEMBER> <member>GRANT ALL ON bugs.* TO bugs@bounce.hop.com;</member>
<MEMBER>REVOKE DROP ON bugs.* FROM bugs@bounce.hop.com;</MEMBER> <member>REVOKE DROP ON bugs.* FROM bugs@bounce.hop.com;</member>
<MEMBER>FLUSH PRIVILEGES;</MEMBER> <member>FLUSH PRIVILEGES;</member>
</SIMPLELIST> </simplelist>
</PARA> </para>
<PARA> <para>
Use .htaccess files with the Apache webserver to secure your
bugzilla install. See <xref linkend="htaccess">
</para>
<para>
Consider also: Consider also:
<ORDEREDLIST> <orderedlist>
<LISTITEM> <listitem>
<PARA> <para>
Turning off external networking with "--skip-networking", Turning off external networking with "--skip-networking",
unless you have "mit-pthreads", in which case you can't. unless you have "mit-pthreads", in which case you can't.
Without networking, MySQL connects with a Unix domain socket. Without networking, MySQL connects with a Unix domain socket.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
using the --user= option to mysqld to run it as an unprivileged using the --user= option to mysqld to run it as an unprivileged
user. user.
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
starting MySQL in a chroot jail starting MySQL in a chroot jail
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
running the httpd in a "chrooted" jail running the httpd in a "chrooted" jail
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
making sure the MySQL passwords are different from the OS making sure the MySQL passwords are different from the OS
passwords (MySQL "root" has nothing to do with system "root"). passwords (MySQL "root" has nothing to do with system "root").
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
running MySQL on a separate untrusted machine running MySQL on a separate untrusted machine
</PARA> </para>
</LISTITEM> </listitem>
<LISTITEM> <listitem>
<PARA> <para>
making backups ;-) making backups ;-)
</PARA> </para>
</LISTITEM> </listitem>
</ORDEREDLIST> </orderedlist>
</PARA> </para>
</SECTION> </section>
</section>
<SECTION> <section id="osx">
<TITLE>Installation General Notes</TITLE> <title>Mac OS X Installation Notes</title>
<SECTION> <para>
<TITLE>Modifying Your Running System</TITLE> There are a lot of common libraries and utilities out there
<PARA> that Apple did not include with Mac OS X, but which run
perfectly well on it. The GD library, which Bugzilla needs to
do bug graphs, is one of these.
</para>
<para>
The easiest way to get a lot of these is with a program called
Fink, which is similar in nature to the CPAN installer, but
installs common GNU utilities. Fink is available from
&lt;http://sourceforge.net/projects/fink/>.
</para>
<para>
Follow the instructions for setting up Fink. Once it's
installed, you'll want to run the following as root:
<command>fink install gd</command>
</para>
<para>
It will prompt you for a number of dependencies, type 'y' and
hit enter to install all of the dependencies. Then watch it
work.
</para>
<para>
To prevent creating conflicts with the software that Apple
installs by default, Fink creates its own directory tree at
/sw where it installs most of the software that it installs.
This means your libraries and headers for libgd will be at
/sw/lib and /sw/include instead of /usr/lib and
/usr/local/include. Because of these changed locations for
the libraries, the Perl GD module will not install directly
via CPAN (it looks for the specific paths instead of getting
them from your environment). But there's a way around that
:-)
</para>
<para>
Instead of typing <quote>install GD</quote> at the
<prompt>cpan&gt;</prompt> prompt, type <command>look
GD</command>. This should go through the motions of
downloading the latest version of the GD module, then it will
open a shell and drop you into the build directory. Apply the
following patch to the Makefile.PL file (save the patch into a
file and use the command <command>patch &lt;
patchfile</command>:
</para>
<para>
<programlisting>
<![CDATA[
--- GD-1.33/Makefile.PL Fri Aug 4 16:59:22 2000
+++ GD-1.33-darwin/Makefile.PL Tue Jun 26 01:29:32 2001
@@ -3,8 +3,8 @@
warn "NOTICE: This module requires libgd 1.8.3 or higher (shared library version 4.X).\n";
# =====> PATHS: CHECK AND ADJUST <=====
-my @INC = qw(-I/usr/local/include -I/usr/local/include/gd);
-my @LIBPATH = qw(-L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/local/lib );
+my @INC = qw(-I/sw/include -I/sw/include/gd -I/usr/local/include -I/usr/local/include/gd);
+my @LIBPATH = qw(-L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/X11/lib -L/sw/lib -L/usr/local/lib);
my @LIBS = qw(-lgd -lpng -lz);
# FEATURE FLAGS
@@ -23,7 +23,7 @@
push @LIBS,'-lttf' if $TTF;
push @LIBS,'-ljpeg' if $JPEG;
-push @LIBS, '-lm' unless $^O eq 'MSWin32';
+push @LIBS, '-lm' unless ($^O =~ /^MSWin32|darwin$/);
# FreeBSD 3.3 with libgd built from ports croaks if -lXpm is specified
if ($^O ne 'freebsd' && $^O ne 'MSWin32') {
]]>
</programlisting>
</para>
<para>
Then, run these commands to finish the installation of the perl module:
<simplelist>
<member><command>perl Makefile.PL</command></member>
<member><command>make</command></member>
<member><command>make test</command></member>
<member><command>make install</command></member>
<member>And don't forget to run <command>exit</command> to get back to cpan.</member>
</simplelist>
</para>
<para>
Happy Hacking!
</para>
</section>
<section id="bsdinstall" xreflabel="BSD Installation Notes">
<title>BSD Installation Notes</title>
<para>
For instructions on how to set up Bugzilla on FreeBSD, NetBSD, OpenBSD, BSDi, etc. please
consult <xref linkend="osx">.
</para>
</section>
<section id="geninstall" xreflabel="Installation General Notes">
<title>Installation General Notes</title>
<section>
<title>Modifying Your Running System</title>
<para>
Bugzilla optimizes database lookups by storing all relatively static Bugzilla optimizes database lookups by storing all relatively static
information in the versioncache file, located in the data/ subdirectory information in the versioncache file, located in the data/ subdirectory
under your installation directory (we said before it needs to be writable, under your installation directory.
right?!) </para>
</PARA> <para>
<PARA> If you make a change to the structural data in your database
If you make a change to the structural data in your database (the (the versions table for example), or to the
versions table for example), or to the "constants" encoded in <quote>constants</quote> encoded in defparams.pl, you will
defparams.pl, you will need to remove the cached content from the data need to remove the cached content from the data directory
directory (by doing a "rm data/versioncache"), or your changes won't show (by doing a <quote>rm data/versioncache</quote>), or your
up! changes won't show up.
</PARA> </para>
<PARA> <para>
That file gets automatically regenerated whenever it's more than an That file gets automatically regenerated whenever it's more than an
hour old, so Bugzilla will eventually notice your changes by itself, but hour old, so Bugzilla will eventually notice your changes by itself, but
generally you want it to notice right away, so that you can test things. generally you want it to notice right away, so that you can test things.
</PARA> </para>
</SECTION> </section>
<SECTION> <section>
<TITLE>Upgrading From Previous Versions</TITLE> <title>Upgrading From Previous Versions</title>
<PARA> <para>
The developers of Bugzilla are constantly adding new tables, columns and The developers of Bugzilla are constantly adding new tables, columns and
fields. You'll get SQL errors if you just update the code. The strategy fields. You'll get SQL errors if you just update the code. The strategy
to update is to simply always run the checksetup.pl script whenever to update is to simply always run the checksetup.pl script whenever
you upgrade your installation of Bugzilla. If you want to see what has you upgrade your installation of Bugzilla. If you want to see what has
changed, you can read the comments in that file, starting from the end. changed, you can read the comments in that file, starting from the end.
</PARA> </para>
</SECTION> <para>
<SECTION> If you are running Bugzilla version 2.8 or lower, and wish to upgrade to
<TITLE>UNIX Installation Instructions History</TITLE> the latest version, please consult the file, "UPGRADING-pre-2.8" in the
<PARA> Bugzilla root directory after untarring the archive.
</para>
</section>
<section id="htaccess" xreflabel=".htaccess files and security">
<title><filename>.htaccess</filename> files and security</title>
<para>
To enhance the security of your Bugzilla installation,
Bugzilla will generate
<glossterm><filename>.htaccess</filename></glossterm> files
which the Apache webserver can use to restrict access to
the bugzilla data files. The checksetup script will
generate the <filename>.htaccess</filename> files.
<note>
<para>
If you are using an alternate provider of
<productname>webdot</productname> services for graphing
(as described when viewing
<filename>editparams.cgi</filename> in your web
browser), you will need to change the ip address in
<filename>data/webdot/.htaccess</filename> to the ip
address of the webdot server that you are using.
</para>
</note>
</para>
<para>
If you are using Internet Information Server or other web
server which does not observe <filename>.htaccess</filename>
conventions, you can disable their creation by editing
<filename>localconfig</filename> and setting the
<varname>$create_htaccess</varname> variable to
<parameter>0</parameter>.
</para>
</section>
<section>
<title>UNIX Installation Instructions History</title>
<para>
This document was originally adapted from the Bonsai installation This document was originally adapted from the Bonsai installation
instructions by Terry Weissman &lt;terry@mozilla.org&gt;. instructions by Terry Weissman &lt;terry@mozilla.org&gt;.
</PARA> </para>
<PARA> <para>
The February 25, 1999 re-write of this page was done by Ry4an Brase The February 25, 1999 re-write of this page was done by Ry4an Brase
&lt;ry4an@ry4an.org&gt;, with some edits by Terry Weissman, Bryce Nesbitt, &lt;ry4an@ry4an.org&gt;, with some edits by Terry Weissman, Bryce Nesbitt,
Martin Pool, & Dan Mosedale (But don't send bug reports to them! Martin Pool, & Dan Mosedale (But don't send bug reports to them;
Report them using bugzilla, at http://bugzilla.mozilla.org/enter_bug.cgi , report them using bugzilla, at http://bugzilla.mozilla.org/enter_bug.cgi ,
project Webtools, component Bugzilla). project Webtools, component Bugzilla).
</PARA> </para>
<PARA> <para>
This document was heavily modified again Wednesday, March 07 2001 to This document was heavily modified again Wednesday, March 07 2001 to
reflect changes for Bugzilla 2.12 release by Matthew P. Barnson. The reflect changes for Bugzilla 2.12 release by Matthew P. Barnson. The
securing MySQL section should be changed to become standard procedure securing MySQL section should be changed to become standard procedure
for Bugzilla installations. for Bugzilla installations.
</PARA> </para>
<PARA> <para>
Finally, the README in its entirety was marked up in SGML and included into Finally, the README in its entirety was marked up in SGML and included into
the Guide on April 24, 2001. the Guide on April 24, 2001 by Matt Barnson. Since that time, it's undergone
</PARA> extensive modification as Bugzilla grew.
<PARA> </para>
<para>
Comments from people using this Guide for the first time are particularly welcome. Comments from people using this Guide for the first time are particularly welcome.
</PARA> </para>
</SECTION> </section>
</SECTION> </section>
</SECTION> <section id="win32" xreflabel="Win32 Installation Notes">
</SECTION> <title>Win32 Installation Notes</title>
<para>This section covers installation on Microsoft Windows 95,
<SECTION id="README.windows"> 98, ME, NT, and 2000. Bugzilla works fine on Win32 platforms,
<TITLE>Win32 (Win98+/NT/2K) Installation</TITLE> but please remember that the Bugzilla team and the author of the
<PARA> Guide neither endorse nor support installation on Microsoft
These directions have <EMPHASIS>not</EMPHASIS> been extensively tested. Windows. Bugzilla installs and runs <emphasis>best</emphasis>
We need testers! Please try these out and post any changes to the and <emphasis>easiest</emphasis> on UNIX-like operating systems,
newsgroup. and that is the way it will stay for the foreseeable future. The
</PARA> Bugzilla team is considering supporting Win32 for the 2.16
<SECTION id="ntverified"> release and later.</para>
<TITLE>Win32 Installation: Step-by-step</TITLE> <para>The easiest way to install Bugzilla on Intel-archiecture
<NOTE> machines is to install some variant of GNU/Linux, then follow
<PARA> the UNIX installation instructions in this Guide. If you have
You should be familiar with, and cross-reference, the UNIX README any influence in the platform choice for running this system,
while performing your Win32 installation. Unfortunately, Win32 please choose GNU/Linux instead of Microsoft Windows.</para>
directions are not yet as detailed as those for UNIX.
</PARA> <section id="wininstall" xreflabel="Win32 Installation: Step-by-step">
<PARA> <title>Win32 Installation: Step-by-step</title>
The <EMPHASIS>most critical</EMPHASIS> difference for Win32 users is <note>
the lack of support for a crypt() function in MySQL for Windows. It does not <para>
have it! All ENCRYPT statements must be modified. You should be familiar with, and cross-reference, the rest
</PARA> of the
</NOTE> <xref linkend="installation"> section while performing your
Win32 installation.
<PROCEDURE> </para>
<STEP> <para> Making Bugzilla work on Microsoft Windows is no
<PARA> picnic. Support for Win32 has improved dramatically in the
Install <ULINK URL="http://www.apache.org/">Apache Web Server</ULINK> last few releases, but, if you choose to proceed, you should
be a <emphasis>very</emphasis> skilled Windows Systems
Administrator with both strong troubleshooting abilities and
a high tolerance for pain. Bugzilla on NT requires hacking
source code and implementing some advanced utilities. What
follows is the recommended installation procedure for Win32;
additional suggestions are provided in <xref linkend="faq">.
</para>
</note>
<procedure>
<step>
<para>
Install <ulink url="http://www.apache.org/">Apache Web Server</ulink>
for Windows. for Windows.
</PARA> </para>
<NOTE> <note>
<PARA> <para>
You may also use Internet Information Server or Personal Web You may also use Internet Information Server or Personal Web
Server for this purpose. However, setup is slightly more Server for this purpose. However, setup is slightly more
difficult. If ActivePerl doesn't seem to handle your file difficult. If ActivePerl doesn't seem to handle your file
associations correctly (for .cgi and .pl files), please associations correctly (for .cgi and .pl files), please
consult the FAQ, in the "Win32" section. consult <xref linkend="faq">.
</PARA> </para>
<PARA> <para>
If you are going to use IIS, if on Windows NT you must be updated If you are going to use IIS, if on Windows NT you must
to at least Service Pack 4. be updated to at least Service Pack 4. Windows 2000
</PARA> ships with a sufficient version of IIS.
</NOTE> </para>
</STEP> </note>
<STEP> </step>
<PARA> <step>
Install <ULINK URL="http://www.activestate.com/">ActivePerl</ULINK> <para>
</PARA> Install <ulink url="http://www.activestate.com/">ActivePerl</ulink> for Windows. Check <ulink url="http://aspn.activestate.com/ASPN/Downloads/ActivePerl/">http://aspn.activestate.com/ASPN/Downloads/ActivePerl</ulink> for a current compiled binary.
<PARA> </para>
<para>
Please also check the following links to fully understand the status Please also check the following links to fully understand the status
of ActivePerl on Win32: of ActivePerl on Win32:
<ULINK URL="http://language.perl.com/newdocs/pod/perlport.html"> <ulink url="http://language.perl.com/newdocs/pod/perlport.html">
Perl Porting</ULINK>, and Perl Porting</ulink>, and
<ULINK URL="http://ftp.univie.ac.at/packages/perl/ports/nt/FAQ/perlwin32faq5.html"> <ulink url="http://ftp.univie.ac.at/packages/perl/ports/nt/FAQ/perlwin32faq5.html">
Hixie Click Here</ULINK> Perl on Win32 FAQ</ulink>
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
Use ppm from your perl\bin directory to install the following packs: DBI, Use ppm from your perl\bin directory to install the following packs: DBI,
DBD-Mysql, TimeDate, Chart, Date-Calc, Date-Manip, and GD. You may need DBD-Mysql, TimeDate, Chart, Date-Calc, Date-Manip, and GD. You may need
to extract them from .zip format using Winzip or other unzip program first. to extract them from .zip format using Winzip or other unzip program first.
These additional ppm modules can be downloaded from ActiveState. These additional ppm modules can be downloaded from ActiveState.
</PARA> </para>
<PARA> <note>
<para>
You can find a list of modules at
<ulink url="http://www.activestate.com/PPMPackages/zips/5xx-builds-only">
http://www.activestate.com/PPMPackages/zips/5xx-builds-only/</ulink>
</para>
</note>
<para>
The syntax for ppm is: The syntax for ppm is:
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>C:> </PROMPT><COMMAND>ppm install &lt;module&gt;.ppd</COMMAND> <prompt>C:> </prompt><command>ppm &lt;modulename&gt;</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
<PARA>
<example>
<title>Installing ActivePerl ppd Modules on Microsoft Windows</title>
<para><prompt>C:></prompt><command>ppm
<option>DBD-Mysql</option></command></para>
<para>Watch your capitalization!</para>
</example>
<para>
You can find ActiveState ppm modules at You can find ActiveState ppm modules at
<ULINK URL="http://www.activestate.com/PPMPackages/5.6plus/"> <ulink url="http://www.activestate.com/PPMPackages/5.6plus/">
http://www.activestate.com/PPMPackages/5.6plus</ULINK> http://www.activestate.com/PPMPackages/5.6plus</ulink>
</PARA> </para>
</STEP> </step>
<STEP>
<PARA> <step>
Download and install the Windows GNU tools from <para>
<ULINK URL="http://www.cygwin.com/">www.cygwin.com</ULINK>.
Make sure the GNU utilities are in your $PATH.
</PARA>
</STEP>
<STEP>
<PARA>
Install MySQL for NT. Install MySQL for NT.
<NOTE> <note>
<PARA> <para>
Your configuration file for MySQL <EMPHASIS>must</EMPHASIS> be named C:\MY.CNF. You can download MySQL for Windows NT from <ulink
</PARA> url="http://www.mysql.com/">MySQL.com</ulink>. Some find it helpful to use the WinMySqlAdmin utility, included with the download, to set up the database.
</NOTE> </para>
</PARA> </note>
</STEP> </para>
<STEP> </step>
<PARA> <step>
<para>
Setup MySQL Setup MySQL
</PARA> </para>
<SUBSTEPS> <substeps>
<STEP> <step>
<PARA> <para>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>C:> </PROMPT> <prompt>C:> </prompt>
<COMMAND>C:\mysql\bin\mysql -u root mysql</COMMAND> <command>C:\mysql\bin\mysql -u root mysql</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND>DELETE FROM user WHERE Host='localhost' AND User='';</COMMAND> <command>DELETE FROM user WHERE Host='localhost' AND User='';</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
<COMPUTEROUTPUT> <computeroutput>
<PROMPT>mysql></PROMPT> <prompt>mysql></prompt>
<COMMAND>UPDATE user SET Password=PASSWORD ('new_password') <command>UPDATE user SET Password=PASSWORD ('new_password')
WHERE user='root';</COMMAND> WHERE user='root';</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
</STEP> <para><quote>new_password</quote>, above, indicates
<STEP> whatever password you wish to use for your
<PARA> <quote>root</quote> user.</para>
<COMPUTEROUTPUT> </step>
<PROMPT>mysql></PROMPT> <step id="ntbugs-password">
<COMMAND>GRANT SELECT, INSERT, UPDATE, DELETE, <para>
<computeroutput>
<prompt>mysql></prompt>
<command>GRANT SELECT, INSERT, UPDATE, DELETE,
INDEX, ALTER, CREATE, DROP, REFERENCES INDEX, ALTER, CREATE, DROP, REFERENCES
ON bugs.* to bugs@localhost ON bugs.* to bugs@localhost
IDENTIFIED BY 'bugs_password';</COMMAND> IDENTIFIED BY 'bugs_password';</command>
</COMPUTEROUTPUT> </computeroutput>
</PARA> </para>
</STEP> <para><quote>bugs_password</quote>, above, indicates
<STEP> whatever password you wish to use for your
<PARA> <quote>bugs</quote> user.</para>
<COMPUTEROUTPUT> </step>
<PROMPT>mysql></PROMPT> <step>
<COMMAND>FLUSH PRIVILEGES;</COMMAND> <para>
</COMPUTEROUTPUT> <computeroutput>
</PARA> <prompt>mysql></prompt>
</STEP> <command>FLUSH PRIVILEGES;</command>
<STEP> </computeroutput>
<PARA> </para>
<COMPUTEROUTPUT> </step>
<PROMPT>mysql></PROMPT> <step>
<COMMAND>create database bugs;</COMMAND> <para>
</COMPUTEROUTPUT> <computeroutput>
</PARA> <prompt>mysql></prompt>
</STEP> <command>create database bugs;</command>
<STEP> </computeroutput>
<PARA> </para>
<COMPUTEROUTPUT> </step>
<PROMPT>mysql></PROMPT> <step>
<COMMAND>exit</COMMAND> <para>
</COMPUTEROUTPUT> <computeroutput>
</PARA> <prompt>mysql></prompt>
</STEP> <command>exit;</command>
<STEP> </computeroutput>
<PARA> </para>
<COMPUTEROUTPUT> </step>
<PROMPT>C:></PROMPT> <step>
<COMMAND>C:\mysql\bin\mysqladmin -u root -p reload</COMMAND> <para>
</COMPUTEROUTPUT> <computeroutput>
</PARA> <prompt>C:></prompt>
</STEP> <command>C:\mysql\bin\mysqladmin -u root -p reload</command>
</SUBSTEPS> </computeroutput>
</STEP> </para>
</step>
<STEP> </substeps>
<PARA> </step>
Configure Bugzilla. For Win32, this involves editing "defparams.pl"
and "localconfig" to taste. Running "checksetup.pl" should create <step>
localconfig for you. Note that getgrnam() doesn't work, and should be <para>
deleted. Change this line: Edit <filename>checksetup.pl</filename> in your Bugzilla directory. Change
this line:
</para>
<para>
"my $webservergid = getgrnam($my_webservergroup); " "my $webservergid = getgrnam($my_webservergroup); "
</para>
<para>
to to
</para>
<para>
"my $webservergid = $my_webservergroup; " "my $webservergid = $my_webservergroup; "
</PARA> </para>
</STEP> </step>
<STEP> <step>
<NOTE> <para>
<PARA> Run <filename>checksetup.pl</filename> from the Bugzilla directory.
</para>
</step>
<step>
<para>Edit <filename>localconfig</filename> to suit your
requirements. Set <varname>$db_pass</varname> to your
<quote>bugs_password</quote> from <xref
linkend="ntbugs-password">, and <varname>$webservergroup</varname> to <quote>8</quote>.</para>
<note>
<para>Not sure on the <quote>8</quote> for
<varname>$webservergroup</varname> above. If it's
wrong, please send corrections.</para>
</note>
</step>
<step>
<para>
Edit <filename>defparams.pl</filename> to suit your
requirements. Particularly, set
<varname>DefParam("maintainer")</varname> and
<varname>DefParam("urlbase") to match your
install.</varname>
</para>
<note>
<para>This is yet another step I'm not sure of, since the
maintainer of this documentation does not maintain
Bugzilla on NT. If you can confirm or deny that this
step is required, please let me know.</para>
</note>
</step>
<step>
<note>
<para>
There are several alternatives to Sendmail that will work on Win32. There are several alternatives to Sendmail that will work on Win32.
The one mentioned here is a <EMPHASIS>suggestion</EMPHASIS>, not The one mentioned here is a <emphasis>suggestion</emphasis>, not
a requirement. Some other mail packages that can work include a requirement. Some other mail packages that can work include
<ULINK URL="http://www.blat.net/">BLAT</ULINK>, <ulink url="http://www.blat.net/">BLAT</ulink>,
<ULINK URL="http://www.geocel.com/windmail/">Windmail</ULINK>, <ulink url="http://www.geocel.com/windmail/">Windmail</ulink>,
<ULINK URL="http://www.dynamicstate.com/">Mercury Sendmail</ULINK>, <ulink url="http://www.dynamicstate.com/">Mercury Sendmail</ulink>,
and the CPAN Net::SMTP Perl module (available in .ppm). and the CPAN Net::SMTP Perl module (available in .ppm).
Every option requires some hacking of the Perl scripts for Bugzilla Every option requires some hacking of the Perl scripts for Bugzilla
to make it work. The option here simply requires the least. to make it work. The option here simply requires the least.
</PARA> </para>
</NOTE> </note>
<PARA>
Download NTsendmail, available from<ULINK URL="http://www.ntsendmail.com/"> <procedure>
www.ntsendmail.com</ULINK>. In order for it to work, you must set up some <step>
new environment variables (detailed on the ntsendmail home page). Figuring <para>
out where to put those variables is left as an exercise for the reader. Download NTsendmail, available from<ulink
You must have a "real" mail server which allows you to relay off it url="http://www.ntsendmail.com/"> www.ntsendmail.com</ulink>. You must have a "real" mail server which allows you to relay off it in your $ENV{"NTsendmail"} (which you should probably place in globals.pl)
in your $ENV{"NTsendmail"} (which you should probably place in globals.pl) </para>
</PARA> </step>
<PARA>
Once downloaded and installed, modify all open(SENDMAIL) calls to open <step>
"| c:\ntsendmail\ntsendmail -t" instead of "|/usr/lib/sendmail -t". <para>Put ntsendmail.pm into your .\perl\lib directory.</para>
</PARA> </step>
<NOTE>
<PARA> <step>
We need someone to test this and make sure this works as advertised. <para>Add to globals.pl:</para>
</PARA> <programlisting>
</NOTE> # these settings configure the NTsendmail process
</STEP> use NTsendmail;
<STEP> $ENV{"NTsendmail"}="your.smtpserver.box";
<PARA> $ENV{"NTsendmail_debug"}=1;
Modify globals.pl and CGI.pl to remove the word "encrypt". $ENV{"NTsendmail_max_tries"}=5;
</PARA> </programlisting>
<NOTE> <note>
<PARA> <para>
I'm not sure this is all that is involved to remove crypt. Any Some mention to also edit
NT Bugzilla hackers want to pipe up? <varname>$db_pass</varname> in
</PARA> <filename>globals.pl</filename> to be your
</NOTE> <quote>bugs_password</quote>. Although this may get
</STEP> you around some problem authenticating to your
<STEP> database, since globals.pl is not normally
<PARA> restricted by <filename>.htaccess</filename>, your
Change all references to "processmail" to "processmail.pl" in database password is exposed to whoever uses your
all files, and rename "processmail" to "processmail.pl" web server.
</PARA> </para>
<NOTE> </note>
<PARA> </step>
I really think this may be a change we want to make for
<step>
<para>
Find and comment out all occurences of
<quote><command>open(SENDMAIL</command></quote> in
your Bugzilla directory. Then replace them with:
<programlisting>
# new sendmail functionality
my $mail=new NTsendmail;
my $from="bugzilla\@your.machine.name.tld";
my $to=$login;
my $subject=$urlbase;
$mail->send($from,$to,$subject,$msg);
</programlisting>
</para>
<note>
<para>The code above needs testing as well to make sure it is correct.</para>
</note>
</step>
</procedure>
</step>
<step>
<para>
Change all references in all files from
<filename>processmail</filename> to
<filename>processmail.pl</filename>, and
rename <filename>processmail</filename> to
<filename>processmail.pl</filename>.
</para>
<note>
<para>
Many think this may be a change we want to make for
main-tree Bugzilla. It's painless for the UNIX folks, main-tree Bugzilla. It's painless for the UNIX folks,
and will make the Win32 people happier. and will make the Win32 people happier.
</PARA> </para>
</NOTE> </note>
</STEP> <note>
<STEP> <para>
<PARA> Some people have suggested using the Net::SMTP Perl module instead of NTsendmail or the other options listed here. You can change processmail.pl to make this work.
Modify the path to perl on the first line (#!) of all files <programlisting>
to point to your Perl installation, and <![CDATA[
add "perl" to the beginning of all Perl system calls that
use a perl script as an argument. This may take you a while. my $smtp = Net::SMTP->new('<Name of your SMTP server>'); #connect to SMTP server
There is a "setperl.pl" utility to speed part of this procedure, $smtp->mail('<your name>@<you smpt server>');# use the sender's adress here
available in the "Patches and Utilities" section of The Bugzilla Guide. $smtp->to($tolist); # recipient's address
</PARA> $smtp->data(); # Start the mail
</STEP> $smtp->datasend($msg);
<STEP> $smtp->dataend(); # Finish sending the mail
<PARA> $smtp->quit; # Close the SMTP connection
In processmail.pl, add "binmode(HANDLE)" before all read() calls. $logstr = "$logstr; mail sent to $tolist $cclist";
This may not be necessary, but in some cases the read() under }
Win32 doesn't count the EOL's without using a binary read().
</PARA> ]]>
</STEP> </programlisting>
</PROCEDURE> here is a test mail program for Net::SMTP:
<programlisting>
</SECTION> <![CDATA[
<SECTION id="addlwintips"> use Net::SMTP;
<TITLE>Additional Windows Tips</TITLE> my $smtp = Net::SMTP->new('<Name of your SMTP server', Timeout => 30, Debug
<TIP> => 1, ); # connect to SMTP server
<PARA> $smtp->auth;
$smtp->mail('you@yourcompany.com');# use the sender's adress
here
$smtp->to('someotherAddress@someotherdomain.com'); #
recipient's address
$smtp->data(); # Start the mail
$smtp->datasend('test');
$smtp->dataend(); # Finish sending the mail
$smtp->quit; # Close the SMTP connection
exit;
]]>
</programlisting>
</para>
</note>
</step>
<step>
<note>
<para>
This step is completely optional if you are using IIS or
another web server which only decides on an interpreter
based upon the file extension (.pl), rather than the
<quote>shebang</quote> line (#/usr/bonsaitools/bin/perl)
</para>
</note>
<para>
Modify the path to perl on the first line (#!) of all
files to point to your Perl installation, and add
<quote>perl</quote> to the beginning of all Perl system
calls that use a perl script as an argument. This may
take you a while. There is a <quote>setperl.csh</quote>
utility to speed part of this procedure, available in the
<xref linkend="patches"> section of The Bugzilla Guide.
However, it requires the Cygwin GNU-compatible environment
for Win32 be set up in order to work. See <ulink
url="http://www.cygwin.com/">http://www.cygwin.com/</ulink> for details on obtaining Cygwin.
</para>
</step>
<step>
<para>
Modify the invocation of all system() calls in all perl scripts in your Bugzilla directory. For instance, change this line in processmail:
<programlisting>
system ("./processmail.pl",@ARGLIST);
</programlisting>
to
<programlisting>
system ("perl processmail.pl",@ARGLIST);
</programlisting>
</para>
</step>
</procedure>
<tip>
<para>
If you are using IIS 5.0 or higher, you must add cgi
relationships to Properties -> Home directory (tab) ->
Application Settings (section) -> Configuration (button),
such as: <programlisting>
.cgi to: &lt;perl install directory&gt;\perl.exe %s %s
.pl to: &lt;perl install directory&gt;\perl.exe %s %s
GET,HEAD,POST
</programlisting>
Change the path to Perl to match your
install, of course.
</para>
</tip>
</section>
<section id="addlwintips">
<title>Additional Windows Tips</title>
<tip>
<para>
From Andrew Pearson: From Andrew Pearson:
<BLOCKQUOTE> <blockquote>
<PARA> <para>
"You can make Bugzilla work with Personal Web Server for "You can make Bugzilla work with Personal Web Server for
Windows 98 and higher, as well as for IIS 4.0. Microsoft has Windows 98 and higher, as well as for IIS 4.0. Microsoft has
information available at information available at
<ULINK URL=" http://support.microsoft.com/support/kb/articles/Q231/9/98.ASP"> <ulink url=" http://support.microsoft.com/support/kb/articles/Q231/9/98.ASP">
http://support.microsoft.com/support/kb/articles/Q231/9/98.ASP</ULINK> http://support.microsoft.com/support/kb/articles/Q231/9/98.ASP</ulink>
</PARA> </para>
<PARA> <para>
Basically you need to add two String Keys in the Basically you need to add two String Keys in the
registry at the following location: registry at the following location:
</PARA> </para>
<PARA> <para>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\ScriptMap HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\ScriptMap
</PARA> </para>
<PARA> <para>
The keys should be called ".pl" and ".cgi", and both The keys should be called ".pl" and ".cgi", and both
should have a value something like: should have a value something like:
<COMMAND>c:/perl/bin/perl.exe "%s" "%s"</COMMAND> <command>c:/perl/bin/perl.exe "%s" "%s"</command>
</PARA> </para>
<PARA> <para>
The KB article only talks about .pl, but it goes into The KB article only talks about .pl, but it goes into
more detail and provides a perl test script. more detail and provides a perl test script.
</PARA> </para>
</BLOCKQUOTE> </blockquote>
</PARA> </para>
</TIP> </tip>
<TIP> <tip>
<PARA>"Brian" had this to add, about upgrading to Bugzilla 2.12 from previous versions:</PARA> <para>"Brian" had this to add, about upgrading to Bugzilla 2.12 from previous versions:</para>
<BLOCKQUOTE> <blockquote>
<PARA> <para>
Hi - I am updating bugzilla to 2.12 so I can tell you what I did (after I Hi - I am updating bugzilla to 2.12 so I can tell you what I did (after I
deleted the current dir and copied the files in). deleted the current dir and copied the files in).
</PARA> </para>
<PARA> <para>
In checksetup.pl, I did the following... In checksetup.pl, I did the following...
</PARA> </para>
<PROCEDURE> <procedure>
<STEP> <step>
<PROGRAMLISTING> <programlisting>
my $webservergid = getgrnam($my_webservergroup); my $webservergid = getgrnam($my_webservergroup);
</PROGRAMLISTING> </programlisting>
<PARA>to</PARA> <para>to</para>
<PROGRAMLISTING> <programlisting>
my $webservergid = 'Administrators' my $webservergid = 'Administrators'
</PROGRAMLISTING> </programlisting>
</STEP> </step>
<STEP> <step>
<PARA> <para>
I then ran checksetup.pl I then ran checksetup.pl
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
I removed all the encrypt() I removed all the encrypt()
<EXAMPLE> <example>
<TITLE>Removing encrypt() for Windows NT installations</TITLE> <title>Removing encrypt() for Windows NT installations</title>
<PARA> <para>
Replace this: Replace this:
<PROGRAMLISTING> <programlisting>
SendSQL("SELECT encrypt(" . SqlQuote($enteredpwd) . ", " . SendSQL("SELECT encrypt(" . SqlQuote($enteredpwd) . ", " .
SqlQuote(substr($realcryptpwd, 0, 2)) . ")"); SqlQuote(substr($realcryptpwd, 0, 2)) . ")");
my $enteredcryptpwd = FetchOneColumn(); my $enteredcryptpwd = FetchOneColumn();
</PROGRAMLISTING> </programlisting>
with this: with this:
<PROGRAMLISTING> <programlisting>
my $enteredcryptpwd = $enteredpwd my $enteredcryptpwd = $enteredpwd
</PROGRAMLISTING> </programlisting>
in cgi.pl. in cgi.pl.
</PARA> </para>
</EXAMPLE> </example>
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
I renamed processmail to processmail.pl I renamed processmail to processmail.pl
</PARA> </para>
</STEP> </step>
<STEP> <step>
<PARA> <para>
I altered the sendmail statements to windmail: I altered the sendmail statements to windmail:
<PROGRAMLISTING> <programlisting>
open SENDMAIL, "|\"C:/General/Web/tools/Windmail 4.0 Beta/windmail\" -t > mail.log"; open SENDMAIL, "|\"C:/General/Web/tools/Windmail 4.0 Beta/windmail\" -t > mail.log";
</PROGRAMLISTING> </programlisting>
</PARA> </para>
<PARA> <para>
The quotes around the dir is for the spaces. mail.log is for the output The quotes around the dir is for the spaces. mail.log is for the output
</PARA> </para>
</STEP> </step>
</PROCEDURE> </procedure>
</BLOCKQUOTE> </blockquote>
</TIP> </tip>
<TIP> <tip>
<PARA> <para>
This was some late breaking information from Jan Evert. Sorry for the lack of formatting. This was some late breaking information from Jan Evert. Sorry for the lack of formatting.
</PARA> </para>
<LITERALLAYOUT> <literallayout>
I'm busy installing bugzilla on a WinNT machine and I thought I'd notify you I'm busy installing bugzilla on a WinNT machine and I thought I'd notify you
at this moment of the commments I have to section 2.2.1 of the bugzilla at this moment of the commments I have to section 2.2.1 of the bugzilla
guide (at http://www.trilobyte.net/barnsons/html/). guide (at http://www.trilobyte.net/barnsons/html/).
...@@ -1340,7 +1731,7 @@ necessary to add the ExecCGI option to the bugzilla directory. Also the ...@@ -1340,7 +1731,7 @@ necessary to add the ExecCGI option to the bugzilla directory. Also the
'AddHandler' line for .cgi is by default commented out. 'AddHandler' line for .cgi is by default commented out.
Step 3: although just a detail, 'ppm install &lt;module%gt;' will also work Step 3: although just a detail, 'ppm install &lt;module%gt;' will also work
(wihtout .ppd). And, it can also download these automatically from (without .ppd). And, it can also download these automatically from
ActiveState. ActiveState.
Step 4: although I have cygwin installed, it seems that it is not necessary. Step 4: although I have cygwin installed, it seems that it is not necessary.
...@@ -1372,30 +1763,30 @@ that apache can serve them. ...@@ -1372,30 +1763,30 @@ that apache can serve them.
Just noticed the updated guide... Brian's comment is new. His first comment Just noticed the updated guide... Brian's comment is new. His first comment
will work, but opens up a huge security hole. will work, but opens up a huge security hole.
</LITERALLAYOUT> </literallayout>
</TIP> </tip>
</SECTION> </section>
</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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:upper
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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" > -->
<!-- Keep these tools listings in alphabetical order please. -MPB --> <!-- Keep these tools listings in alphabetical order please. -MPB -->
...@@ -12,14 +12,13 @@ ...@@ -12,14 +12,13 @@
<section id="cvs"> <section id="cvs">
<title>CVS</title> <title>CVS</title>
<para>We need CVS integration information</para> <para>CVS integration is best accomplished, at this point, using the Bugzilla Email Gateway.</para>
</section> </section>
<section id="scm"> <section id="scm">
<title>Perforce SCM</title> <title>Perforce SCM</title>
<para> <para>
Richard Brooksby created a Perforce integration tool for Bugzilla and TeamTrack. You can find the project page for Bugzilla and Teamtrack Perforce integration at:
You can find the main project page at
<ulink url="http://www.ravenbrook.com/project/p4dti/"> <ulink url="http://www.ravenbrook.com/project/p4dti/">
http://www.ravenbrook.com/project/p4dti</ulink>. "p4dti" is now an officially http://www.ravenbrook.com/project/p4dti</ulink>. "p4dti" is now an officially
supported product from Perforce, and you can find the "Perforce Public Depot" supported product from Perforce, and you can find the "Perforce Public Depot"
...@@ -54,22 +53,25 @@ ...@@ -54,22 +53,25 @@
</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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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"> <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>
<section id="setperl"> <section id="setperl" xreflabel="The setperl.csh Utility">
<title>The setperl.csh Utility</title> <title>The setperl.csh Utility</title>
<para> <para> You can use the "setperl.csh" utility to quickly and
You can use the "setperl.csh" utility to quickly and easily easily change the path to perl on all your Bugzilla files. This
change the path to perl on all your Bugzilla files. is a C-shell script; if you do not have "csh" or "tcsh" in the
This is a C-shell script; if you do not have "csh" or "tcsh" in the search search path on your system, it will not work!
path on your system, it will not work!
</para> </para>
<procedure> <procedure>
<step> <step>
...@@ -28,18 +27,15 @@ ...@@ -28,18 +27,15 @@
</step> </step>
<step> <step>
<para> <para>
<computeroutput> <computeroutput> <prompt>bash#</prompt> <command>wget -O
<prompt>bash#</prompt> setperl.csh
<command>wget -O setperl.csh 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=10795'</command> 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=10795'</command> </computeroutput>
</computeroutput>
</para> </para>
</step> </step>
<step> <step>
<para> <para>
<computeroutput> <computeroutput> <prompt>bash#</prompt> <command>chmod
<prompt>bash#</prompt> u+x setperl.csh</command> </computeroutput>
<command>chmod u+x setperl.csh</command>
</computeroutput>
</para> </para>
</step> </step>
</substeps> </substeps>
...@@ -59,10 +55,8 @@ ...@@ -59,10 +55,8 @@
</step> </step>
<step> <step>
<para> <para>
<computeroutput> <computeroutput> <prompt>bash#</prompt> <command>chmod
<prompt>bash#</prompt> u+x duplicates.cgi</command> </computeroutput>
<command>chmod u+x duplicates.cgi</command>
</computeroutput>
</para> </para>
</step> </step>
<step> <step>
...@@ -80,15 +74,13 @@ ...@@ -80,15 +74,13 @@
Run the script: Run the script:
</para> </para>
<para> <para>
<computeroutput> <computeroutput> <prompt>bash#</prompt>
<prompt>bash#</prompt>
<command>./setperl.csh /your/path/to/perl</command> <command>./setperl.csh /your/path/to/perl</command>
</computeroutput> </computeroutput>
<example> <example>
<title>Using Setperl to set your perl path</title> <title>Using Setperl to set your perl path</title>
<para> <para>
<computeroutput> <computeroutput> <prompt>bash#</prompt>
<prompt>bash#</prompt>
<command>./setperl.csh /usr/bin/perl</command> <command>./setperl.csh /usr/bin/perl</command>
</computeroutput> </computeroutput>
</para> </para>
...@@ -101,22 +93,23 @@ ...@@ -101,22 +93,23 @@
<section id="cmdline"> <section id="cmdline">
<title>Command-line Bugzilla Queries</title> <title>Command-line Bugzilla Queries</title>
<para> <para>
Users can query Bugzilla from the command line using Users can query Bugzilla from the command line using this suite
this suite of utilities. of utilities.
</para> </para>
<para> <para>
The query.conf file contains the mapping from options to field The query.conf file contains the mapping from options to field
names and comparison types. Quoted option names are "grepped" for, so names and comparison types. Quoted option names are "grepped"
it should be easy to edit this file. Comments (#) have no effect; you for, so it should be easy to edit this file. Comments (#) have
must make sure these lines do not contain any quoted "option" no effect; you must make sure these lines do not contain any
quoted "option"
</para> </para>
<para> <para>
buglist is a shell script which submits a Bugzilla query and writes the buglist is a shell script which submits a Bugzilla query and
resulting HTML page to stdout. It supports both short options, writes the resulting HTML page to stdout. It supports both
(such as "-Afoo" or "-Rbar") and long options (such as short options, (such as "-Afoo" or "-Rbar") and long options
"--assignedto=foo" or "--reporter=bar"). If the first character (such as "--assignedto=foo" or "--reporter=bar"). If the first
of an option is not "-", it is treated as if it were prefixed character of an option is not "-", it is treated as if it were
with "--default=". prefixed with "--default=".
</para> </para>
<para> <para>
The columlist is taken from the COLUMNLIST environment variable. The columlist is taken from the COLUMNLIST environment variable.
...@@ -128,10 +121,10 @@ ...@@ -128,10 +121,10 @@
<para> <para>
bugs is a simple shell script which calls buglist and extracts bugs is a simple shell script which calls buglist and extracts
the bug numbers from the output. Adding the prefix the bug numbers from the output. Adding the prefix
"http://bugzilla.mozilla.org/buglist.cgi?bug_id=" "http://bugzilla.mozilla.org/buglist.cgi?bug_id=" turns the bug
turns the bug list into a working link if any bugs are found. list into a working link if any bugs are found. Counting bugs is
Counting bugs is easy. Pipe the results through easy. Pipe the results through <command>sed -e 's/,/ /g' | wc |
<command>sed -e 's/,/ /g' | wc | awk '{printf $2 "\n"}'</command> awk '{printf $2 "\n"}'</command>
</para> </para>
<para> <para>
Akkana says she has good results piping buglist output through Akkana says she has good results piping buglist output through
...@@ -145,26 +138,23 @@ ...@@ -145,26 +138,23 @@
<substeps> <substeps>
<step> <step>
<para> <para>
<computeroutput> <computeroutput> <prompt>bash$</prompt> <command>wget -O
<prompt>bash$</prompt> query.conf
<command>wget -O query.conf 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=26157'</command> 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=26157'</command> </computeroutput>
</computeroutput>
</para> </para>
</step> </step>
<step> <step>
<para> <para>
<computeroutput> <computeroutput> <prompt>bash$</prompt> <command>wget -O
<prompt>bash$</prompt> buglist
<command>wget -O buglist 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=26944'</command> 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=26944'</command> </computeroutput>
</computeroutput>
</para> </para>
</step> </step>
<step> <step>
<para> <para>
<computeroutput> <computeroutput> <prompt>bash#</prompt> <command>wget -O
<prompt>bash#</prompt> bugs
<command>wget -O bugs 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=26215'</command> 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=26215'</command> </computeroutput>
</computeroutput>
</para> </para>
</step> </step>
</substeps> </substeps>
...@@ -185,53 +175,64 @@ ...@@ -185,53 +175,64 @@
<title>The Quicksearch Utility</title> <title>The Quicksearch Utility</title>
<para> <para>
Quicksearch is a new, experimental feature of the 2.12 release. Quicksearch is a new, experimental feature of the 2.12 release.
It consist of two Javascript files, "quicksearch.js" and "localconfig.js", It consist of two Javascript files, "quicksearch.js" and
and two documentation files, "quicksearch.html" and "quicksearchhack.html" "localconfig.js", and two documentation files,
"quicksearch.html" and "quicksearchhack.html"
</para> </para>
<para> <para>
The index.html page has been updated to include the QuickSearch text box. The index.html page has been updated to include the QuickSearch
text box.
</para> </para>
<para> <para>
To take full advantage of the query power, the Bugzilla maintainer must To take full advantage of the query power, the Bugzilla
edit "localconfig.js" according to the value sets used in the local installation. maintainer must edit "localconfig.js" according to the value
sets used in the local installation.
</para> </para>
<para> <para>
Currently, keywords must be hard-coded in localconfig.js. If they are not, Currently, keywords must be hard-coded in localconfig.js. If
keywords are not automatically recognized. This means, if localconfig.js they are not, keywords are not automatically recognized. This
is left unconfigured, that searching for a bug with the "foo" keyword means, if localconfig.js is left unconfigured, that searching
will only find bugs with "foo" in the summary, status whiteboard, product or for a bug with the "foo" keyword will only find bugs with "foo"
component name, but not those with the keyword "foo". in the summary, status whiteboard, product or component name,
but not those with the keyword "foo".
</para> </para>
<para> <para>
Workarounds for Bugzilla users: Workarounds for Bugzilla users:
<simplelist> <simplelist>
<member>search for '!foo' (this will find only bugs with the keyword "foo"</member> <member>search for '!foo' (this will find only bugs with the
<member>search 'foo,!foo' (equivalent to 'foo OR keyword:foo')</member> keyword "foo"</member>
<member>search 'foo,!foo' (equivalent to 'foo OR
keyword:foo')</member>
</simplelist> </simplelist>
</para> </para>
<para> <para>
When this tool is ported from client-side JavaScript to server-side Perl, When this tool is ported from client-side JavaScript to
the requirement for hard-coding keywords can be fixed. server-side Perl, the requirement for hard-coding keywords can
<ulink url="http://bugzilla.mozilla.org/show_bug.cgi?id=70907">This bug</ulink> be fixed. <ulink
has details. url="http://bugzilla.mozilla.org/show_bug.cgi?id=70907">This bug</ulink> has details.
</para> </para>
</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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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="downloadlinks"> <appendix id="downloadlinks">
<title>Software Download Links</title> <title>Software Download Links</title>
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
http://www.mozilla.org/projects/bugzilla/</ulink> http://www.mozilla.org/projects/bugzilla/</ulink>
</para> </para>
<para> <para>
MySQL: <ulink url="http://www.mysql.org/">http://www.mysql.org/</ulink> MySQL: <ulink url="http://www.mysql.com/">http://www.mysql.com/</ulink>
</para> </para>
<para> <para>
Perl: <ulink url="http://www.perl.org">http://www.perl.org/</ulink> Perl: <ulink url="http://www.perl.org">http://www.perl.org/</ulink>
...@@ -63,20 +63,24 @@ ...@@ -63,20 +63,24 @@
</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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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 <!-- TOC
Chapter: Using Bugzilla Chapter: Using Bugzilla
...@@ -38,19 +38,19 @@ Chapter: Using Bugzilla ...@@ -38,19 +38,19 @@ Chapter: Using Bugzilla
<section id="whatis"> <section id="whatis">
<title>What is Bugzilla?</title> <title>What is Bugzilla?</title>
<para> <para>
Bugzilla is one example of a class of programs called "Defect Tracking Systems", Bugzilla is one example of a class of programs called "Defect
or, more commonly, "Bug-Tracking Systems". Defect Tracking Systems allow individual or Tracking Systems", or, more commonly, "Bug-Tracking Systems". Defect
groups of developers to keep track of outstanding bugs in their product effectively. Tracking Systems allow individual or groups of developers to keep
Bugzilla was originally written by Terry Weissman in a programming language called track of outstanding bugs in their product effectively. Bugzilla was
"TCL", to replace a crappy originally written by Terry Weissman in a programming language called
bug-tracking database used internally for Netscape Communications. Terry later ported "TCL", to replace a crappy bug-tracking database used internally for
Bugzilla to Netscape Communications. Terry later ported Bugzilla to Perl from
Perl from TCL, and in Perl it remains to this day. TCL, and in Perl it remains to this day. Most commercial
Most commercial defect-tracking software vendors at the defect-tracking software vendors at the time charged enormous
time charged enormous licensing fees, and Bugzilla quickly became a favorite of the licensing fees, and Bugzilla quickly became a favorite of the
open-source crowd (with its genesis in the open-source browser project, Mozilla). It open-source crowd (with its genesis in the open-source browser
is now the de-facto standard defect-tracking system against which all others are project, Mozilla). It is now the de-facto standard defect-tracking
measured. system against which all others are measured.
</para> </para>
<para> <para>
Bugzilla has matured immensely, and now boasts many advanced features. These include: Bugzilla has matured immensely, and now boasts many advanced features. These include:
...@@ -87,13 +87,13 @@ Chapter: Using Bugzilla ...@@ -87,13 +87,13 @@ Chapter: Using Bugzilla
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
email, XML, and HTTP APIs email, XML, console, and HTTP APIs
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
available integration with automated software configuration management systems, including available integration with automated software configuration management systems, including
Perforce and CVS. Perforce and CVS
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
...@@ -137,7 +137,7 @@ Chapter: Using Bugzilla ...@@ -137,7 +137,7 @@ Chapter: Using Bugzilla
with bug-tracking software, and instead simply relied on shared lists and 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 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 tends to cause those bugs judged least significant by developers to be
dropped or ignored dropped or ignored.
</para> </para>
<para> <para>
These days, many companies are finding that integrated defect-tracking These days, many companies are finding that integrated defect-tracking
...@@ -223,12 +223,12 @@ Chapter: Using Bugzilla ...@@ -223,12 +223,12 @@ Chapter: Using Bugzilla
<section id="myaccount"> <section id="myaccount">
<title>Create a Bugzilla Account</title> <title>Create a Bugzilla Account</title>
<para> <para>
First thing's first! If you want to use Bugzilla, first you need to create First things first! If you want to use Bugzilla, first you need to create
an account. Consult with the administrator responsible for your installation an account. Consult with the administrator responsible for your installation
of Bugzilla for the URL you should use to access it. of Bugzilla for the URL you should use to access it.
If you're test-driving the end-user Bugzilla experience, use this URL: If you're test-driving the end-user Bugzilla experience, use this URL:
<ulink url="http://landfill.tequilarista.org/mozilla/bugzilla/"> <ulink url="http://landfill.tequilarista.org/bugzilla-tip/">
http://landfill.tequilarista.org/mozilla/bugzilla/</ulink> http://landfill.tequilarista.org/bugzilla-tip/</ulink>
</para> </para>
<orderedlist> <orderedlist>
<listitem> <listitem>
...@@ -560,15 +560,15 @@ Chapter: Using Bugzilla ...@@ -560,15 +560,15 @@ Chapter: Using Bugzilla
<orderedlist> <orderedlist>
<listitem> <listitem>
<para> <para>
Go back to <ulink url="http://landfill.tequilarista.org/mozilla/bugzilla/"> Go back to <ulink url="http://landfill.tequilarista.org/bugzilla-tip/">
http://landfill.tequilarista.org/mozilla/bugzilla/</ulink> http://landfill.tequilarista.org/bugzilla-tip/</ulink>
in your browser. in your browser.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Select the Select the
<ulink url="http://landfill.tequilarista.org/mozilla/bugzilla/enter_bug.cgi"> <ulink url="http://landfill.tequilarista.org/bugzilla-tip/enter_bug.cgi">
Enter a new bug report</ulink> link. Enter a new bug report</ulink> link.
</para> </para>
</listitem> </listitem>
...@@ -716,7 +716,7 @@ Chapter: Using Bugzilla ...@@ -716,7 +716,7 @@ Chapter: Using Bugzilla
Let's plunge into what you can do! The first step is to click Let's plunge into what you can do! The first step is to click
the "Edit prefs" link at the footer of each page once you the "Edit prefs" link at the footer of each page once you
have logged in to have logged in to
<ulink url="http://landfill.tequilarista.org/mozilla/bugzilla/query.cgi?GoAheadAndLogIn=1"> <ulink url="http://landfill.tequilarista.org/bugzilla-tip/query.cgi?GoAheadAndLogIn=1">
Landfill</ulink>. Landfill</ulink>.
</para> </para>
<section id="accountsettings"> <section id="accountsettings">
...@@ -861,17 +861,20 @@ Chapter: Using Bugzilla ...@@ -861,17 +861,20 @@ Chapter: Using Bugzilla
<!-- 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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:Bugzilla-Guide\.sgml
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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">-->
<chapter id="variants"> <chapter id="variants">
<title>Bugzilla Variants</title> <title>Bugzilla Variants</title>
...@@ -68,20 +68,24 @@ Regards ...@@ -68,20 +68,24 @@ Regards
</para> </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
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:2 sgml-auto-insert-required-elements:t
sgml-indent-data:t sgml-balanced-tag-edit:t
sgml-parent-document:nil
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag: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