Testopia:README: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 7: Line 7:
testing on virtually anything in the engineering process.
testing on virtually anything in the engineering process.


The following installation instructions assume you are installing the latest version of Testopia, currently version 2.0.
The following installation instructions assume you are installing the latest version of Testopia, currently version 2.3.


=== Requirements ===
=== Requirements ===
* Bugzilla 3.0.x (3.0, 3.0.1+)
* Bugzilla 3.4.3+
* Perl JSON 2.10
* Perl JSON 2.10
* GD-Graph3d 0.63
* GD-Graph3d 0.63
Line 18: Line 18:
Installation instructions for Bugzilla can be found at http://bugzilla.org
Installation instructions for Bugzilla can be found at http://bugzilla.org


Note: The following assumes you have installed Bugzilla according to the  
'''IMPORTANT NOTE:''' These instructions assume you have installed Bugzilla according to the Bugzilla instructions (from tarball or cvs). Installations from Debian .deb or from some RPM packages may place Bugzilla files in separate directories in which case, these will not work.
Bugzilla instructions. Installations from Debian .deb or from some RPM packages
may place Bugzilla files in separate directories in which case, these will not
work.


Please make sure that your language of Bugzilla is the same as language of Testopia to  be installed on. If you are not sure, just set language of your Bugzilla to English. You can change it any time later.
Please make sure that your language of Bugzilla is the same as language of Testopia to  be installed on. If you are not sure, just set language of your Bugzilla to English. You can change it any time later.
Line 36: Line 33:
   $> tar xzvf testopia-<version>.tar.gz
   $> tar xzvf testopia-<version>.tar.gz


Next you need to patch the Bugzilla files. For Bugzilla 3.0:
Next you need to patch the Bugzilla files. Find the patch file in the extensions/testopia directory matching your version of Bugzilla.
For example, if you are running Bugzilla 3.4.3 you will apply the patch-3.4.3 patch file.
   
   
   $> patch -p0 -i testopia/patch-3.0
   $> patch -p0 -i extensions/testopia/patch-3.4.3
   
   
For Bugzilla 3.0.1+:
  $> patch -p0 -i testopia/patch-3.0.x
 
Finally, you need to run checksetup.pl
Finally, you need to run checksetup.pl


Line 65: Line 59:


2. You will now make a tarball of the source. If you like to update your  
2. You will now make a tarball of the source. If you like to update your  
Bugzilla from CVS, be sure to delete the top level CVS direcory first.
Bugzilla from CVS, be sure to delete the top level CVS directory first.


   $> cd mozilla/webtools/testopia
   $> cd mozilla/webtools/testopia
Line 71: Line 65:
   $> tar cvf /tmp/testopia.tar .
   $> tar cvf /tmp/testopia.tar .


Once you have your tarball, follow the instructions above to untar it into your
Once you have your tarball, follow the tarball instructions above to untar it into your Bugzilla directory  The last step is to install the Ext libraries:
Bugzilla directory  The last step is to  
install the Ext libraries:


   $> cd path/to/bugzilla/testopia/
   $> cd path/to/bugzilla/testopia/
   $> wget http://extjs.com/deploy/ext-2.0.1.zip
   $> wget http://extjs.com/deploy/ext-3.0.1.zip
   $> unzip ext-2.0.1.zip
   $> unzip ext-3.0.1.zip
   $> mv ext-2.0.1 extjs
   $> mv ext-3.0.1 extjs


Congratulations, you should be able to see the Testopia links at the bottom of
Congratulations, you should be able to see the Testopia links at the bottom of
Line 160: Line 152:
=== Upgrading ===
=== Upgrading ===


'''Upgrading on Bugzilla 3.0.x from Testopia 1.3 to 2.0:'''
In general, you will need to follow these steps:
 
    1. Reverse the patch by running the command above with the -R option.
    2. Follow the steps above to untar, reapply the patch, and run checksetup.
However, you will need to patch with the patch-3.0 '''NOT 3.0.x''' as described above.


'''Upgrading from Bugzilla 2.22:'''
# Reverse the old patch by running the patch command you used to install with -R
 
# Untar the new files
You should first reverse the 2.22 patch with  
# Apply the new patch
   
# Run checksetup.pl
    $> patch -p2 -R -i testopia/patch-2.22
 
As Testopia 2.0 is designed to work only with Bugzilla 3.0.x, you must first
upgrade Bugzilla. You can follow the instructions from http://bugzilla.org to
do this.
 
From there, follow the installation instructions above.


'''Upgrading to latest from CVS:'''
'''Upgrading to latest from CVS:'''
Line 188: Line 169:
The script can be modified to checkout a tag or version if you know what you  
The script can be modified to checkout a tag or version if you know what you  
are doing.
are doing.
 
maintenance
=== Getting Help ===
=== Getting Help ===


141

edits

Navigation menu