From 9af33116a6e1d7a193504d48376d883f159fb5f7 Mon Sep 17 00:00:00 2001 From: "jake%bugzilla.org" <> Date: Mon, 13 Jan 2003 10:38:51 +0000 Subject: Recompile the docs to pick up recent changes for the website. --- docs/html/Bugzilla-Guide.html | 904 +++++++++++++++++++++++++++++++---------- docs/html/administration.html | 8 +- docs/html/conventions.html | 2 +- docs/html/copyright.html | 6 +- docs/html/cust-templates.html | 8 +- docs/html/dbdoc.html | 4 +- docs/html/extraconfig.html | 6 +- docs/html/faq.html | 236 +++++------ docs/html/glossary.html | 2 +- docs/html/hintsandtips.html | 4 +- docs/html/index.html | 31 +- docs/html/installation.html | 26 +- docs/html/newversions.html | 44 +- docs/html/stepbystep.html | 34 +- docs/html/troubleshooting.html | 4 +- docs/html/upgrading.html | 517 +++++++++++++++++++++-- docs/html/using.html | 4 +- docs/html/win32.html | 8 +- 18 files changed, 1396 insertions(+), 452 deletions(-) (limited to 'docs/html') diff --git a/docs/html/Bugzilla-Guide.html b/docs/html/Bugzilla-Guide.html index 2e33a3c17..73987b694 100644 --- a/docs/html/Bugzilla-Guide.html +++ b/docs/html/Bugzilla-Guide.html @@ -56,11 +56,14 @@ CLASS="author" NAME="AEN9" >The Bugzilla Team

2003-01-02

.

This is a development version of this guide. Information in it + is subject to change before the 2.18 release of this guide + (which will correspond with the 2.18 release of Bugzilla). +

4-1. Installing ActivePerl ppd Modules on Microsoft Windows
4-2. Installing OpenInteract ppd Modules manually on Microsoft Windows
4-3. Removing encrypt() for Windows NT Bugzilla version 2.12 or earlier
5-1. Upgrading using CVS
5-2. Upgrading using the tarball
5-3. Upgrading using patches
1.1. Copyright Information

Version 1.1, March 2000

1.3. New Versions

This is the 2.16 version of The Bugzilla Guide. It is so named - to match the current version of Bugzilla. If you are +> This is the 2.17.3 version of The Bugzilla Guide. It is so named + to match the current version of Bugzilla. + + This version of the guide, like its associated Bugzilla version is a + development version. Information is subject to change between now and + when 2.18 is released. + + If you are reading this from any source other than those below, please check one of these mirrors to make sure you are reading an up-to-date version of the Guide.

This document can be found in the following places: -

+>The Linux Documentation Project.

The latest version of this document can always be checked out via CVS. @@ -1162,7 +1179,7 @@ NAME="conventions" >


3.2.1. Autolinkification


3.2.5. Filing Bugs

4.1.1. Introduction


4.1.2. Package List

MySQL database server - (3.23.6 or greater) + (3.23.41 or greater)

  • GD::Chart +> GD::Graph (any) for bug charting


  • 4.1.5.1. DBI


    4.1.5.2. Data::Dumper


    4.1.5.3. MySQL-related modules


    4.1.5.4. TimeDate modules


    4.1.5.5. GD (optional)


    4.1.5.6. Chart::Base (optional)


    4.1.5.7. Template Toolkit


    4.1.6. HTTP Server


    4.1.7. Bugzilla


    4.1.8. Setting Up the MySQL Database


    4.1.9.

    4.1.10. Securing MySQL


    4.1.11. Configuring Bugzilla

    4.2.1. Dependency Charts


    4.2.2. Bug Graphs


    4.2.3. The Whining Cron

    From Andrew Pearson:


    4.5.1. Bundle::Bugzilla makes me upgrade to Perl 5.6.1


    4.5.2. DBD::Sponge::db prepare failed


    5.7.1. What to Edit


    5.7.2. How To Edit Templates


    5.7.3. Template Formats


    5.7.4. Particular Templates

    5.9. Upgrading to New Releases

    A plain Bugzilla is fairly easy to upgrade from one version to a - newer one. Always read the release notes to see if there are any issues - that you might need to take note of. It is recommended that you take a - backup of your database and your entire Bugzilla installation before attempting an - upgrade. You can upgrade a 'clean' installation by untarring a new - tarball over the old installation. If you are upgrading from 2.12 or - later, and have cvs installed, you can type cvs -z3 update, - and resolve conflicts if there are any. +>Upgrading Bugzilla is something we all want to do from time to time, + be it to get new features or pick up the latest security fix. How easy + it is to update depends on a few factors. +

    • If the new version is a revision or a new point release

    • How many, if any, local changes have been made

    There are also three different methods to upgrade your installation. +

    1. Using CVS (Example 5-1)

    2. Downloading a new tarball (Example 5-2)

    3. Applying the relevant patches (Example 5-3)

    Which options are available to you may depend on how large a jump + you are making and/or your network configuration. +

    Revisions are normally released to fix security vulnerabilities + and are distinguished by an increase in the third number. For example, + when 2.16.2 was released, it was a revision to 2.16.1. +

    Point releases are normally released when the Bugzilla team feels + that there has been a significant amount of progress made between the + last point release and the current time. These are often proceeded by a + stabilization period and release candidates, however the use of + development versions or release candidates is beyond the scope of this + document. Point releases can be distinguished by an increase in the + second number, or minor version. For example, 2.16.2 is a newer point + release than 2.14.5. +

    The examples in this section are written as if you were updating + to version 2.16.2. The procedures are the same regardless if you are + updating to a new point release or a new revision. However, the chance + of running into trouble increases when upgrading to a new point release, + escpecially if you've made local changes.

    However, things get a bit more complicated if you've made - changes to Bugzilla's code. In this case, you may have to re-make or - reapply those changes. One good method is to take a diff of your customized - version against the original, so you can survey all that you've changed. - Hopefully, templatization will reduce the need for - this in the future.

    From version 2.8 onward, Bugzilla databases can be automatically - carried forward during an upgrade. However, because the developers of - Bugzilla are constantly adding new - tables, columns and fields, you'll probably get SQL errors if you just - update the code and attempt to use Bugzilla. Always run the +>These examples also assume that your Bugzilla installation is at checksetup.pl - script whenever you upgrade your installation.

    /var/www/html/bugzilla. If that is not the case, + simply substitute the proper paths where appropriate. +

    If you are running Bugzilla version 2.8 or lower, and wish to - upgrade to the latest version, please consult the file, - "UPGRADING-pre-2.8" in the Bugzilla root directory after untarring the - archive.

    Example 5-1. Upgrading using CVS

    Every release of Bugzilla, whether it is a revision or a point + release, is tagged in CVS. Also, every tarball we have distributed + since version 2.12 has been primed for using CVS. This does, however, + require that you are able to access cvs-mirror.mozilla.org on port + 2401. + +

    If you can do this, updating using CVS is probably the most + painless method, especially if you have a lot of local changes. +

    +

    
bash$ cd /var/www/html/bugzilla
    +bash$ cvs login
    +Logging in to :pserver:anonymous@cvs-mirror.mozilla.org:2401/cvsroot
    +CVS password: anonymous
    +bash$ cvs -q update -r BUGZILLA-2_16_2 -dP
    +P checksetup.pl
    +P collectstats.pl
    +P globals.pl
    +P docs/rel_notes.txt
    +P template/en/default/list/quips.html.tmpl
    +      

    If a line in the output from cvs update + begins with a C that represents a + file with local changes that CVS was unable to properly merge. You + need to resolve these conflicts manually before Bugzilla (or at + least the portion using that file) will be usable. +

    + +

    You also need to run ./checksetup.pl + before your Bugzilla upgrade will be complete. +

    +

    Example 5-2. Upgrading using the tarball

    If you are unable or unwilling to use CVS, another option that's + always available is to download the latest tarball. This is the most + difficult option to use, especially if you have local changes. +

    
bash$ cd /var/www/html
    +bash$ wget ftp://ftp.mozilla.org/pub/webtools/bugzilla-2.16.2.tar.gz
    +Output omitted
    +bash$ tar xzvf bugzilla-2.16.2.tar.gz
    +bugzilla-2.16.2/
    +bugzilla-2.16.2/.cvsignore
    +bugzilla-2.16.2/1x1.gif
    +Output truncated
    +bash$ cd bugzilla-2.16.2
    +bash$ cp ../bugzilla/localconfig* .
    +bash$ cp -r ../bugzilla/data .
    +bash$ cd ..
    +bash$ mv bugzilla bugzilla.old
    +bash$ mv bugzilla-2.16.2 bugzilla
    +bash$ cd bugzilla
    +bash$ ./checksetup.pl
    +Output omitted
    +      

    The cp commands both end with periods which + is a very important detail, it tells the shell that the destination + directory is the current working directory. Also, the period at the + beginning of the ./checksetup.pl is important and + can not be omitted. +

    + +

    You will now have to reapply any changes you have made to your + local installation manually. +

    +

    Example 5-3. Upgrading using patches

    The Bugzilla team will normally make a patch file available for + revisions to go from the most recent revision to the new one. You could + also read the release notes and grab the patches attached to the + mentioned bug, but it is safer to use the released patch file as + sometimes patches get changed before they get checked in (for minor + spelling fixes and the like). It is also theorectically possible to + scour the fixed bug list and pick and choose which patches to apply + from a point release, but this is not recommended either as what you'll + end up with is a hodge podge Bugzilla that isn't really any version. + This would also make it more difficult to upgrade in the future. +

    
bash$ cd /var/www/html/bugzilla
    +bash$ wget ftp://ftp.mozilla.org/pub/webtools/bugzilla-2.16.1-to-2.16.2.diff.gz
    +Output omitted
    +bash$ gunzip bugzilla-2.16.1-to-2.16.2.diff.gz
    +bash$ patch -p1 < bugzilla-2.16.1-to-2.16.2.diff
    +patching file checksetup.pl
    +patching file collectstats.pl
    +patching file globals.pl
    +      

    If you do this, beware that this doesn't change the entires in + your CVS directory so it may make + updates using CVS (Example 5-1) more difficult in the + future. +

    +

    A.1.1. Where can I find information about Bugzilla?
    A.1.2. What license is Bugzilla distributed under?
    A.1.3. How do I get commercial support for Bugzilla?
    A.1.4. What major companies or projects are currently using Bugzilla for bug-tracking?
    A.1.5. Who maintains Bugzilla?
    A.1.6. How does Bugzilla stack up against other bug-tracking databases?
    A.1.7. Why doesn't Bugzilla offer this or that feature or compatibility with this other tracking software?
    A.1.8. Why MySQL? I'm interested in seeing Bugzilla run on Oracle/Sybase/Msql/PostgreSQL/MSSQL.
    A.1.9. Why do the scripts say "/usr/bonsaitools/bin/perl" instead of "/usr/bin/perl" or something else?
    A.1.10. Is there an easy way to change the Bugzilla cookie name?
    A.2.1. Is Bugzilla web-based, or do you have to have specific software or a specific operating system on your machine?
    A.2.2. Can Bugzilla integrate with Perforce (SCM software)?
    A.2.3. Does Bugzilla allow the user to track multiple projects?
    A.2.4. If I am on many projects, and search for all bugs assigned to me, will Bugzilla list them for me and allow me to sort by project, severity etc?
    A.2.5. Does Bugzilla allow attachments (text, screenshots, URLs etc)? If yes, are there any that are NOT allowed?
    A.2.6. Does Bugzilla allow us to define our own priorities and levels? Do we have complete freedom to change the labels of fields and format of them, and the choice of acceptable values? @@ -9646,35 +10118,35 @@ HREF="#AEN1856" >
    A.2.7. Does Bugzilla provide any reporting features, metrics, graphs, etc? You know, the type of stuff that management likes to see. :)
    A.2.8. Is there email notification and if so, what do you see when you get an email?
    A.2.9. Can email notification be set up to send to multiple people, some on the To List, CC List, BCC List etc?
    A.2.10. Do users have to have any particular type of email application?
    A.2.11. Does Bugzilla allow data to be imported and exported? If I had outsiders write up a bug report using a MS Word bug template, could that template be imported into "matching" fields? If I wanted to take the results of a query @@ -9683,28 +10155,28 @@ HREF="#AEN1887" >
    A.2.12. Has anyone converted Bugzilla to another language to be used in other countries? Is it localizable?
    A.2.13. Can a user create and save reports? Can they do this in Word format? Excel format?
    A.2.14. Does Bugzilla have the ability to search by word, phrase, compound search?
    A.2.15. Does Bugzilla provide record locking when there is simultaneous access to the same bug? Does the second person get a notice that the bug is in use or how are they notified? @@ -9712,19 +10184,19 @@ HREF="#AEN1916" >
    A.2.16. Are there any backup features provided?
    A.2.17. Can users be on the system while a backup is in progress?
    A.2.18. What type of human resources are needed to be on staff to install and maintain Bugzilla? Specifically, what type of skills does the person need to have? I need to find out if we were to go with Bugzilla, what types of @@ -9734,7 +10206,7 @@ HREF="#AEN1932" >
    A.2.19. What time frame are we looking at if we decide to hire people to install and maintain the Bugzilla? Is this something that takes hours or weeks to install and a couple of hours per week to maintain and customize or is this @@ -9744,7 +10216,7 @@ HREF="#AEN1938" >
    A.2.20. Is there any licensing fee or other fees for using Bugzilla? Any out-of-pocket cost other than the bodies needed as identified above?
    A.3.1. How do I completely disable MySQL security if it's giving me problems (I've followed the instructions in the installation section of this guide)?
    A.3.2. Are there any security problems with Bugzilla?
    A.3.3. I've implemented the security fixes mentioned in Chris Yeh's security advisory of 5/10/2000 advising not to run MySQL as root, and am running into problems with MySQL no longer working correctly. @@ -9790,48 +10262,48 @@ HREF="#faq-email" >
    A.4.1. I have a user who doesn't want to receive any more email from Bugzilla. How do I stop it entirely for this user?
    A.4.2. I'm evaluating/testing Bugzilla, and don't want it to send email to anyone but me. How do I do it?
    A.4.3. I want whineatnews.pl to whine at something more, or other than, only new bugs. How do I do it?
    A.4.4. I don't like/want to use Procmail to hand mail off to bug_email.pl. What alternatives do I have?
    A.4.5. How do I set up the email interface to submit/change bugs via email?
    A.4.6. Email takes FOREVER to reach me from Bugzilla -- it's extremely slow. What gives?
    A.4.7. How come email from Bugzilla changes never reaches me?
    A.5.1. I've heard Bugzilla can be used with Oracle?
    A.5.2. I think my database might be corrupted, or contain invalid entries. What do I do?
    A.5.3. I want to manually edit some entries in my database. How?
    A.5.4. I think I've set up MySQL permissions correctly, but Bugzilla still can't connect.
    A.5.5. How do I synchronize bug information among multiple different Bugzilla databases?
    A.6.1. What is the easiest way to run Bugzilla on Win32 (Win98+/NT/2K)?
    A.6.2. Is there a "Bundle::Bugzilla" equivalent for Win32?
    A.6.3. CGI's are failing with a "something.cgi is not a valid Windows NT application" error. Why?
    A.6.4. I'm having trouble with the perl modules for NT not being able to talk to to the database.
    A.7.1. How do I change my user name (email address) in Bugzilla?
    A.7.2. The query page is very confusing. Isn't there a simpler way to query?
    A.7.3. I'm confused by the behavior of the "accept" button in the Show Bug form. Why doesn't it assign the bug to me when I accept it?
    A.7.4. I can't upload anything into the database via the "Create Attachment" link. What am I doing wrong?
    A.7.5. How do I change a keyword in Bugzilla, once some bugs are using it?
    A.8.1. What kind of style should I use for templatization?
    A.8.2. What bugs are in Bugzilla right now?
    A.8.3. How can I change the default priority to a null value? For instance, have the default priority be "---" instead of "P2"?
    A.8.4. What's the best way to submit patches? What guidelines should I follow?

    A.1.1.

    A.1.2.

    A.1.3.

    A.1.4.

    A.1.5.

    A.1.6.

    A.1.7.

    A.1.8.

    A.1.9.

    A.1.10.

    A.2.1.

    A.2.2.

    A.2.3.

    A.2.4.

    A.2.5.

    A.2.6.

    A.2.7.

    A.2.8.

    A.2.9.

    A.2.10.

    A.2.11.

    A.2.12.

    A.2.13.

    A.2.14.

    A.2.15.

    A.2.16.

    A.2.17.

    A.2.18.

    A.2.19.

    A.2.20.

    A.3.1.

    A.3.2.

    A.3.3.

    A.4.1.

    A.4.2.

    A.4.3.

    A.4.4.

    A.4.5.

    A.4.6.

    A.4.7.

    A.5.1.

    A.5.2.

    A.5.3.

    A.5.4.

    A.5.5.

    A.6.1.

    A.6.2.

    A.6.3.

    Microsoft has some advice on this matter, as well:

    A.6.4.

    A.7.1.

    A.7.2.

    A.7.3.

    A.7.4.

    A.7.5.

    A.8.1.

    A.8.2.

    A.8.3.

    A.8.4.


    B.2.1. Bugzilla Database Basics


    B.2.1.1. Bugzilla Database Tables

    0-9, high ascii

    5.7.1. What to Edit
    5.7.2. How To Edit Templates
    5.7.3. Template Formats
    5.7.4. Particular Templates

    1.1. Copyright Information

    Version 1.1, March 2000

    5.7.1. What to Edit

    5.7.2. How To Edit Templates

    5.7.3. Template Formats

    5.7.4. Particular Templates

    B.2.1. Bugzilla Database Basics

    B.2.1.1. Bugzilla Database Tables

    4.2.1. Dependency Charts

    4.2.2. Bug Graphs

    4.2.3. The Whining Cron

    A.1.1. Where can I find information about Bugzilla?
    A.1.2. What license is Bugzilla distributed under?
    A.1.3. How do I get commercial support for Bugzilla?
    A.1.4. What major companies or projects are currently using Bugzilla for bug-tracking?
    A.1.5. Who maintains Bugzilla?
    A.1.6. How does Bugzilla stack up against other bug-tracking databases?
    A.1.7. Why doesn't Bugzilla offer this or that feature or compatibility with this other tracking software?
    A.1.8. Why MySQL? I'm interested in seeing Bugzilla run on Oracle/Sybase/Msql/PostgreSQL/MSSQL.
    A.1.9. Why do the scripts say "/usr/bonsaitools/bin/perl" instead of "/usr/bin/perl" or something else?
    A.1.10. Is there an easy way to change the Bugzilla cookie name?
    A.2.1. Is Bugzilla web-based, or do you have to have specific software or a specific operating system on your machine?
    A.2.2. Can Bugzilla integrate with Perforce (SCM software)?
    A.2.3. Does Bugzilla allow the user to track multiple projects?
    A.2.4. If I am on many projects, and search for all bugs assigned to me, will Bugzilla list them for me and allow me to sort by project, severity etc?
    A.2.5. Does Bugzilla allow attachments (text, screenshots, URLs etc)? If yes, are there any that are NOT allowed?
    A.2.6. Does Bugzilla allow us to define our own priorities and levels? Do we have complete freedom to change the labels of fields and format of them, and the choice of acceptable values? @@ -201,35 +201,35 @@ HREF="faq.html#AEN1856" >
    A.2.7. Does Bugzilla provide any reporting features, metrics, graphs, etc? You know, the type of stuff that management likes to see. :)
    A.2.8. Is there email notification and if so, what do you see when you get an email?
    A.2.9. Can email notification be set up to send to multiple people, some on the To List, CC List, BCC List etc?
    A.2.10. Do users have to have any particular type of email application?
    A.2.11. Does Bugzilla allow data to be imported and exported? If I had outsiders write up a bug report using a MS Word bug template, could that template be imported into "matching" fields? If I wanted to take the results of a query @@ -238,28 +238,28 @@ HREF="faq.html#AEN1887" >
    A.2.12. Has anyone converted Bugzilla to another language to be used in other countries? Is it localizable?
    A.2.13. Can a user create and save reports? Can they do this in Word format? Excel format?
    A.2.14. Does Bugzilla have the ability to search by word, phrase, compound search?
    A.2.15. Does Bugzilla provide record locking when there is simultaneous access to the same bug? Does the second person get a notice that the bug is in use or how are they notified? @@ -267,19 +267,19 @@ HREF="faq.html#AEN1916" >
    A.2.16. Are there any backup features provided?
    A.2.17. Can users be on the system while a backup is in progress?
    A.2.18. What type of human resources are needed to be on staff to install and maintain Bugzilla? Specifically, what type of skills does the person need to have? I need to find out if we were to go with Bugzilla, what types of @@ -289,7 +289,7 @@ HREF="faq.html#AEN1932" >
    A.2.19. What time frame are we looking at if we decide to hire people to install and maintain the Bugzilla? Is this something that takes hours or weeks to install and a couple of hours per week to maintain and customize or is this @@ -299,7 +299,7 @@ HREF="faq.html#AEN1938" >
    A.2.20. Is there any licensing fee or other fees for using Bugzilla? Any out-of-pocket cost other than the bodies needed as identified above?
    A.3.1. How do I completely disable MySQL security if it's giving me problems (I've followed the instructions in the installation section of this guide)?
    A.3.2. Are there any security problems with Bugzilla?
    A.3.3. I've implemented the security fixes mentioned in Chris Yeh's security advisory of 5/10/2000 advising not to run MySQL as root, and am running into problems with MySQL no longer working correctly. @@ -345,48 +345,48 @@ HREF="faq.html#faq-email" >
    A.4.1. I have a user who doesn't want to receive any more email from Bugzilla. How do I stop it entirely for this user?
    A.4.2. I'm evaluating/testing Bugzilla, and don't want it to send email to anyone but me. How do I do it?
    A.4.3. I want whineatnews.pl to whine at something more, or other than, only new bugs. How do I do it?
    A.4.4. I don't like/want to use Procmail to hand mail off to bug_email.pl. What alternatives do I have?
    A.4.5. How do I set up the email interface to submit/change bugs via email?
    A.4.6. Email takes FOREVER to reach me from Bugzilla -- it's extremely slow. What gives?
    A.4.7. How come email from Bugzilla changes never reaches me?
    A.5.1. I've heard Bugzilla can be used with Oracle?
    A.5.2. I think my database might be corrupted, or contain invalid entries. What do I do?
    A.5.3. I want to manually edit some entries in my database. How?
    A.5.4. I think I've set up MySQL permissions correctly, but Bugzilla still can't connect.
    A.5.5. How do I synchronize bug information among multiple different Bugzilla databases?
    A.6.1. What is the easiest way to run Bugzilla on Win32 (Win98+/NT/2K)?
    A.6.2. Is there a "Bundle::Bugzilla" equivalent for Win32?
    A.6.3. CGI's are failing with a "something.cgi is not a valid Windows NT application" error. Why?
    A.6.4. I'm having trouble with the perl modules for NT not being able to talk to to the database.
    A.7.1. How do I change my user name (email address) in Bugzilla?
    A.7.2. The query page is very confusing. Isn't there a simpler way to query?
    A.7.3. I'm confused by the behavior of the "accept" button in the Show Bug form. Why doesn't it assign the bug to me when I accept it?
    A.7.4. I can't upload anything into the database via the "Create Attachment" link. What am I doing wrong?
    A.7.5. How do I change a keyword in Bugzilla, once some bugs are using it?
    A.8.1. What kind of style should I use for templatization?
    A.8.2. What bugs are in Bugzilla right now?
    A.8.3. How can I change the default priority to a null value? For instance, have the default priority be "---" instead of "P2"?
    A.8.4. What's the best way to submit patches? What guidelines should I follow?

    A.1.1.

    A.1.2.

    A.1.3.

    A.1.4.

    A.1.5.

    A.1.6.

    A.1.7.

    A.1.8.

    A.1.9.

    A.1.10.

    A.2.1.

    A.2.2.

    A.2.3.

    A.2.4.

    A.2.5.

    A.2.6.

    A.2.7.

    A.2.8.

    A.2.9.

    A.2.10.

    A.2.11.

    A.2.12.

    A.2.13.

    A.2.14.

    A.2.15.

    A.2.16.

    A.2.17.

    A.2.18.

    A.2.19.

    A.2.20.

    A.3.1.

    A.3.2.

    A.3.3.

    A.4.1.

    A.4.2.

    A.4.3.

    A.4.4.

    A.4.5.

    A.4.6.

    A.4.7.

    A.5.1.

    A.5.2.

    A.5.3.

    A.5.4.

    A.5.5.

    A.6.1.

    A.6.2.

    A.6.3.

    Microsoft has some advice on this matter, as well:

    A.6.4.

    A.7.1.

    A.7.2.

    A.7.3.

    A.7.4.

    A.7.5.

    A.8.1.

    A.8.2.

    A.8.3.

    A.8.4.

    0-9, high ascii

    3.2.1. Autolinkification

    3.2.5. Filing Bugs

    The Bugzilla Team

    2003-01-02

    .

    This is a development version of this guide. Information in it + is subject to change before the 2.18 release of this guide + (which will correspond with the 2.18 release of Bugzilla). +

    4-1. Installing ActivePerl ppd Modules on Microsoft Windows
    4-2. Installing OpenInteract ppd Modules manually on Microsoft Windows
    4-3. Removing encrypt() for Windows NT Bugzilla version 2.12 or earlier
    5-1. Upgrading using CVS
    5-2. Upgrading using the tarball
    5-3. Upgrading using patches
    4.1.1. Introduction
    4.1.2. Package List
    4.1.6. HTTP Server
    4.1.7. Bugzilla
    4.1.8. Setting Up the MySQL Database
    4.1.9. checksetup.pl
    4.1.10. Securing MySQL
    4.1.11. Configuring Bugzilla
    4.2.1. Dependency Charts
    4.2.2. Bug Graphs
    4.2.3. The Whining Cron
    4.5.1. Bundle::Bugzilla makes me upgrade to Perl 5.6.1
    4.5.2. DBD::Sponge::db prepare failed
    1.3. New Versions

    This is the 2.16 version of The Bugzilla Guide. It is so named - to match the current version of Bugzilla. If you are +> This is the 2.17.3 version of The Bugzilla Guide. It is so named + to match the current version of Bugzilla. + + This version of the guide, like its associated Bugzilla version is a + development version. Information is subject to change between now and + when 2.18 is released. + + If you are reading this from any source other than those below, please check one of these mirrors to make sure you are reading an up-to-date version of the Guide.

    This document can be found in the following places: -

    +>The Linux Documentation Project.

    The latest version of this document can always be checked out via CVS. diff --git a/docs/html/stepbystep.html b/docs/html/stepbystep.html index 09dea6ccf..27870e9ae 100644 --- a/docs/html/stepbystep.html +++ b/docs/html/stepbystep.html @@ -81,7 +81,7 @@ CLASS="section" >

    4.1.1. Introduction

    4.1.2. Package List

    MySQL database server - (3.23.6 or greater) + (3.23.41 or greater)

  • GD::Chart +> GD::Graph (any) for bug charting

  • 4.1.5.1. DBI

    4.1.5.2. Data::Dumper

    4.1.5.3. MySQL-related modules

    4.1.5.4. TimeDate modules

    4.1.5.5. GD (optional)

    4.1.5.6. Chart::Base (optional)

    4.1.5.7. Template Toolkit

    4.1.6. HTTP Server

    4.1.7. Bugzilla

    4.1.8. Setting Up the MySQL Database

    4.1.9.

    4.1.10. Securing MySQL

    4.1.11. Configuring Bugzilla

    4.5.1. Bundle::Bugzilla makes me upgrade to Perl 5.6.1

    4.5.2. DBD::Sponge::db prepare failed

    5.9. Upgrading to New Releases

    A plain Bugzilla is fairly easy to upgrade from one version to a - newer one. Always read the release notes to see if there are any issues - that you might need to take note of. It is recommended that you take a - backup of your database and your entire Bugzilla installation before attempting an - upgrade. You can upgrade a 'clean' installation by untarring a new - tarball over the old installation. If you are upgrading from 2.12 or - later, and have cvs installed, you can type cvs -z3 update, - and resolve conflicts if there are any. +>Upgrading Bugzilla is something we all want to do from time to time, + be it to get new features or pick up the latest security fix. How easy + it is to update depends on a few factors. +

    • If the new version is a revision or a new point release

    • How many, if any, local changes have been made

    There are also three different methods to upgrade your installation. +

    1. Using CVS (Example 5-1)

    2. Downloading a new tarball (Example 5-2)

    3. Applying the relevant patches (Example 5-3)

    Which options are available to you may depend on how large a jump + you are making and/or your network configuration. +

    Revisions are normally released to fix security vulnerabilities + and are distinguished by an increase in the third number. For example, + when 2.16.2 was released, it was a revision to 2.16.1. +

    Point releases are normally released when the Bugzilla team feels + that there has been a significant amount of progress made between the + last point release and the current time. These are often proceeded by a + stabilization period and release candidates, however the use of + development versions or release candidates is beyond the scope of this + document. Point releases can be distinguished by an increase in the + second number, or minor version. For example, 2.16.2 is a newer point + release than 2.14.5. +

    The examples in this section are written as if you were updating + to version 2.16.2. The procedures are the same regardless if you are + updating to a new point release or a new revision. However, the chance + of running into trouble increases when upgrading to a new point release, + escpecially if you've made local changes.

    However, things get a bit more complicated if you've made - changes to Bugzilla's code. In this case, you may have to re-make or - reapply those changes. One good method is to take a diff of your customized - version against the original, so you can survey all that you've changed. - Hopefully, templatization will reduce the need for - this in the future.

    From version 2.8 onward, Bugzilla databases can be automatically - carried forward during an upgrade. However, because the developers of - Bugzilla are constantly adding new - tables, columns and fields, you'll probably get SQL errors if you just - update the code and attempt to use Bugzilla. Always run the +>These examples also assume that your Bugzilla installation is at checksetup.pl - script whenever you upgrade your installation.

    If you are running Bugzilla version 2.8 or lower, and wish to - upgrade to the latest version, please consult the file, - "UPGRADING-pre-2.8" in the Bugzilla root directory after untarring the - archive.

    /var/www/html/bugzilla. If that is not the case, + simply substitute the proper paths where appropriate. +

    Example 5-1. Upgrading using CVS

    Every release of Bugzilla, whether it is a revision or a point + release, is tagged in CVS. Also, every tarball we have distributed + since version 2.12 has been primed for using CVS. This does, however, + require that you are able to access cvs-mirror.mozilla.org on port + 2401. + +

    If you can do this, updating using CVS is probably the most + painless method, especially if you have a lot of local changes. +

    +

    
bash$ cd /var/www/html/bugzilla
    +bash$ cvs login
    +Logging in to :pserver:anonymous@cvs-mirror.mozilla.org:2401/cvsroot
    +CVS password: anonymous
    +bash$ cvs -q update -r BUGZILLA-2_16_2 -dP
    +P checksetup.pl
    +P collectstats.pl
    +P globals.pl
    +P docs/rel_notes.txt
    +P template/en/default/list/quips.html.tmpl
    +      

    If a line in the output from cvs update + begins with a C that represents a + file with local changes that CVS was unable to properly merge. You + need to resolve these conflicts manually before Bugzilla (or at + least the portion using that file) will be usable. +

    + +

    You also need to run ./checksetup.pl + before your Bugzilla upgrade will be complete. +

    +

    Example 5-2. Upgrading using the tarball

    If you are unable or unwilling to use CVS, another option that's + always available is to download the latest tarball. This is the most + difficult option to use, especially if you have local changes. +

    
bash$ cd /var/www/html
    +bash$ wget ftp://ftp.mozilla.org/pub/webtools/bugzilla-2.16.2.tar.gz
    +Output omitted
    +bash$ tar xzvf bugzilla-2.16.2.tar.gz
    +bugzilla-2.16.2/
    +bugzilla-2.16.2/.cvsignore
    +bugzilla-2.16.2/1x1.gif
    +Output truncated
    +bash$ cd bugzilla-2.16.2
    +bash$ cp ../bugzilla/localconfig* .
    +bash$ cp -r ../bugzilla/data .
    +bash$ cd ..
    +bash$ mv bugzilla bugzilla.old
    +bash$ mv bugzilla-2.16.2 bugzilla
    +bash$ cd bugzilla
    +bash$ ./checksetup.pl
    +Output omitted
    +      

    The cp commands both end with periods which + is a very important detail, it tells the shell that the destination + directory is the current working directory. Also, the period at the + beginning of the ./checksetup.pl is important and + can not be omitted. +

    + +

    You will now have to reapply any changes you have made to your + local installation manually. +

    +

    Example 5-3. Upgrading using patches

    The Bugzilla team will normally make a patch file available for + revisions to go from the most recent revision to the new one. You could + also read the release notes and grab the patches attached to the + mentioned bug, but it is safer to use the released patch file as + sometimes patches get changed before they get checked in (for minor + spelling fixes and the like). It is also theorectically possible to + scour the fixed bug list and pick and choose which patches to apply + from a point release, but this is not recommended either as what you'll + end up with is a hodge podge Bugzilla that isn't really any version. + This would also make it more difficult to upgrade in the future. +

    
bash$ cd /var/www/html/bugzilla
    +bash$ wget ftp://ftp.mozilla.org/pub/webtools/bugzilla-2.16.1-to-2.16.2.diff.gz
    +Output omitted
    +bash$ gunzip bugzilla-2.16.1-to-2.16.2.diff.gz
    +bash$ patch -p1 < bugzilla-2.16.1-to-2.16.2.diff
    +patching file checksetup.pl
    +patching file collectstats.pl
    +patching file globals.pl
    +      

    If you do this, beware that this doesn't change the entires in + your CVS directory so it may make + updates using CVS (Example 5-1) more difficult in the + future. +

    +