Confirmed users
1,927
edits
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
Adopted from the previous migration instructions: [[Bugzilla:Moving_From_CVS_To_Bazaar]]. | Adopted from the previous migration instructions: [[Bugzilla:Moving_From_CVS_To_Bazaar]]. | ||
The Bugzilla source is moving from Bazaar (bzr) to git. While existing supported releases will continue to be mirrored to Bazaar for some time to come, new releases will only be available on git. If your Bugzilla installation is a checkout from the Bazaar repository, eventually you will to switch to using git to obtain updates. | The Bugzilla source is moving from Bazaar (bzr) to git. While existing supported releases will continue to be mirrored to Bazaar for some time to come, new releases will only be available on git. If your Bugzilla installation is a checkout from the Bazaar repository, eventually you will need to switch to using git to obtain updates. | ||
You can tell if you have installed from a Bazaar branch by looking in your top-level Bugzilla directory. If there is a subdirectory called ".bzr", then your installation is a checkout from Bazaar. | You can tell if you have installed from a Bazaar branch by looking in your top-level Bugzilla directory. If there is a subdirectory called ".bzr", then your installation is a checkout from Bazaar. | ||
| Line 29: | Line 29: | ||
== Download Code from git == | == Download Code from git == | ||
Download a copy of your current version of Bugzilla from the git repository into a separate directory. | Download a copy of your current version of Bugzilla from the git repository into a separate directory alongside your existing Bugzilla installation. | ||
You will need a copy of the git program. All Linux installations have it; search your package manager for "git". On Windows, you can [http://www.git-scm.com/download/win download] the official build; there are also alternate packages for Windows out there. | You will need a copy of the git program. All Linux installations have it; search your package manager for "git". On Windows, you can [http://www.git-scm.com/download/win download] the official build; there are also alternate packages for Windows out there. | ||
| Line 36: | Line 36: | ||
git clone git://git.mozilla.org/bugzilla/bugzilla bugzilla-git | git clone git://git.mozilla.org/bugzilla/bugzilla bugzilla-git | ||
cd bugzilla-git | |||
git checkout X.Y | git checkout X.Y | ||
Replace X.Y with the version number of your <b>current</b> Bugzilla, e.g. 4.2. "bugzilla-git" is the name of the local directory into which the source code will be downloaded. | Replace X.Y with the version number of your <b>current</b> Bugzilla, e.g. 4.2. "bugzilla-git" is the name of the local directory into which the source code will be downloaded. The following examples presume that your existing installation is in a directory called "bugzilla" which is in the same directory as the new "bugzilla-git" directory. | ||
== Shut Down Bugzilla == | == Shut Down Bugzilla == | ||
| Line 78: | Line 79: | ||
== Swap The New Version In == | == Swap The New Version In == | ||
Rename your old Bugzilla directory to bugzilla-bzr, and rename your bugzilla directory to whatever name your Bugzilla directory had. Run checksetup.pl to confirm that all is well. | Rename your old Bugzilla directory to bugzilla-bzr, and rename your bugzilla directory to whatever name your Bugzilla directory had. Run checksetup.pl to confirm that all is well. From the directory containing the bugzilla and bugzilla-git directories, run | ||
mv bugzilla bugzilla-bzr | mv bugzilla bugzilla-bzr | ||