Skip to content
Snippets Groups Projects
Select Git revision
  • 2dd1508360a843040e771423b4c7f66d9a1f57d7
  • master default
2 results

bugzilla-maint

Per Cederqvist's avatar
Per Cederqvist authored
Starting with Bugzilla 4.4.7, the distributed tar files include a .git
directory. Needless to say, unpacking that on top of our own .git
directory results in chaos (including a changed "git remote" URL for
origin).  Exlude the .git directory.

The downside of this is that the pristine-tar diff file will be fairly
large.
2dd15083
History
Name Last commit Last update
README
import-upstream
This README contains checklists for how we manage the Bugzilla
installation at https://bugzilla.lysator.liu.se/.

Upgrading Bugzilla
==================

The first few steps can be done on any computer with Git and
pristine-tar installed.

 * Clone the repo we use to keep Bugzilla, and this repo that contains
   supporting scripts:

    git clone git@git.lysator.liu.se:lysator/bugzilla.git
    git clone git@git.lysator.liu.se:lysator/bugzilla-maint.git

 * Download the new version:

    wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-4.4.6.tar.gz

 * Import the pristine release:

    cd bugzilla
    ../bugzilla-maint/import-upstream 4.4.6

 * Check that the pristine-tar has managed to create a
   reasonably-sized delta:

    git checkout pristine-tar
    ls -l

   The delta for the new version should be similar in size to other
   deltas of nearby versions.

 * Merge the relese to the master branch.

    git checkout master
    git merge bugzilla-4.4.6

 * Push all changes.

    git push origin master
    git push origin pristine-tar
    git push origin release-4.4
    git push origin bugzilla-4.4.6

And, now that the preparations are done, do the actual upgrade.

 * Run this:

    ssh bugzilla.lysator.liu.se
    su
    cd /var/www/bugzilla
    git fetch

 * Shut down bugzilla, as explained in
    http://www.bugzilla.org/docs/4.4/en/html/upgrade.html

 * Run this:

    git pull
    ./checksetup.pl

 * Enable buzilla again.