From: jocuri%softhome.net <>
Date: Sat, 6 Mar 2004 21:37:42 +0000 (+0000)
Subject: Patch for bug 220814: Add to FAQ: How to upgrade Bugzilla from CVS; r=kiko, a=justdave.
X-Git-Tag: bugzilla-2.16.6~35
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c5ca682265fccbaf830398f938c40f1d8e7c449;p=thirdparty%2Fbugzilla.git
Patch for bug 220814: Add to FAQ: How to upgrade Bugzilla from CVS; r=kiko, a=justdave.
---
diff --git a/docs/xml/faq.xml b/docs/xml/faq.xml
index 917f5ef810..b4c2c51e2e 100644
--- a/docs/xml/faq.xml
+++ b/docs/xml/faq.xml
@@ -572,6 +572,74 @@
+
+
+
+ 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.
+
+
+
+
+
+
+
+