From 8189dca10fbc48ff3174843ba47a109da1d4a403 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Sat, 6 Mar 2004 21:36:39 +0000 Subject: Patch for bug 220814: Add to FAQ: How to upgrade Bugzilla from CVS; r=kiko, a=justdave. --- docs/xml/faq.xml | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) (limited to 'docs/xml/faq.xml') diff --git a/docs/xml/faq.xml b/docs/xml/faq.xml index 2eba96a18..32dea3ed3 100644 --- a/docs/xml/faq.xml +++ b/docs/xml/faq.xml @@ -455,6 +455,74 @@ perl -pi -e 's@#\!/usr/bin/perl@#\!/usr/local/bin/perl@' *cgi *pl + + + + How can I update the code and the database using CVS? + + + + + + + + Make a backup of both your Bugzilla directory and the + database. For the Bugzilla directory this is as easy as + doing cp -rp bugzilla bugzilla.bak. + For the database, there's a number of options - see the + MySQL docs and pick the one that fits you best (the easiest + is to just make a physical copy of the database on the disk, + but you have to have the database server shut down to do + that without risking dataloss). + + + + + + Make the Bugzilla directory your current directory. + + + + + + Use cvs -q update -AdP if you want to + update to the tip or + cvs -q update -dP -rTAGNAME + if you want a specific version (in that case you'll have to + replace TAGNAME with a CVS tag name such as BUGZILLA-2_16_5). + + + + If you've made no local changes, this should be very clean. + If you have made local changes, then watch the cvs output + for C results. If you get any lines that start with a C + it means there were conflicts between your local changes + and what's in CVS. You'll need to fix those manually before + continuing. + + + + + + After resolving any conflicts that the cvs update operation + generated, running ./checksetup.pl will + take care of updating the database for you as well as any + other changes required for the new version to operate. + + + + + Once you run checksetup.pl, the only way to go back is + to restore the database backups. You can't "downgrade" + the system cleanly under most circumstances. + + + + + + + + -- cgit v1.2.3-24-g4f1b