Bugzilla:Bzr: Difference between revisions

bzr.m.o -> bzr.b.o
(Add category)
(bzr.m.o -> bzr.b.o)
Line 1: Line 1:
'''NOTE:''' The Bugzilla Project has [[Bugzilla:Git|moved to git]].  Although changes for all supported branches are still mirrord to [http://bazaar.canonical.com/ Bazaar], eventually this system will be decommissioned.  For the time being, you can see the contents of the Bugzilla bzr repository at [http://bzr.mozilla.org/bugzilla/ http://bzr.mozilla.org/bugzilla/].
'''NOTE:''' The Bugzilla Project has [[Bugzilla:Git|moved to git]].  Although changes for all supported branches are still mirrored to bzr.bugzilla.org, eventually this system will be decommissioned.


= Bzr For Users Of Other VCSes =
= Bzr For Users Of Other VCSes =
Line 9: Line 9:
The simplest way to get the latest Bugzilla development code is:
The simplest way to get the latest Bugzilla development code is:


<pre>bzr co bzr://bzr.mozilla.org/bugzilla/trunk bugzilla</pre>
<pre>bzr co bzr://bzr.bugzilla.org/bugzilla/trunk bugzilla</pre>


That will check out the "trunk" branch into a directory called "bugzilla". (If you leave out the "bugzilla" on the end, you'll get a directory called "trunk" instead.)
That will check out the "trunk" branch into a directory called "bugzilla". (If you leave out the "bugzilla" on the end, you'll get a directory called "trunk" instead.)
Line 15: Line 15:
If you want other branches, replace "trunk" with the name of the branch. For example, to get the 4.0 branch, you'd do:
If you want other branches, replace "trunk" with the name of the branch. For example, to get the 4.0 branch, you'd do:


<pre>bzr co bzr://bzr.mozilla.org/bugzilla/4.0 bugzilla40</pre>
<pre>bzr co bzr://bzr.bugzilla.org/bugzilla/4.0 bugzilla40</pre>


That will check out the "4.0" branch into a directory called "bugzilla40".
That will check out the "4.0" branch into a directory called "bugzilla40".
Line 23: Line 23:
Every time we release a version of Bugzilla, we "tag" the bzr repository so that the point in history that matches with that release can be explicitly checked out of the repository. For example, to check out Bugzilla 4.1.3, you would do:
Every time we release a version of Bugzilla, we "tag" the bzr repository so that the point in history that matches with that release can be explicitly checked out of the repository. For example, to check out Bugzilla 4.1.3, you would do:


<pre>bzr co -r tag:bugzilla-4.1.3 bzr://bzr.mozilla.org/bugzilla/trunk bz-4.1.3</pre>
<pre>bzr co -r tag:bugzilla-4.1.3 bzr://bzr.bugzilla.org/bugzilla/trunk bz-4.1.3</pre>


That would check out Bugzilla 4.1.3 into a directory called "bz-4.1.3".
That would check out Bugzilla 4.1.3 into a directory called "bz-4.1.3".
Line 29: Line 29:
Note that you have to specify the right branch, also, for the release you want. So, for 4.0.2, you would do:
Note that you have to specify the right branch, also, for the release you want. So, for 4.0.2, you would do:


<pre>bzr co -r tag:bugzilla-4.0.2 bzr://bzr.mozilla.org/bugzilla/4.0 bugzilla-4.0.2</pre>
<pre>bzr co -r tag:bugzilla-4.0.2 bzr://bzr.bugzilla.org/bugzilla/4.0 bugzilla-4.0.2</pre>


Note that that command reads <code>bugzilla/4.0</code> instead of <code>bugzilla/trunk</code>.
Note that that command reads <code>bugzilla/4.0</code> instead of <code>bugzilla/trunk</code>.
Line 37: Line 37:
== Checking Out Over HTTP ==
== Checking Out Over HTTP ==


If for some reason you can't access port 4155 (which is what the bzr:// URLs are using) on bzr.mozilla.org (maybe you have a firewall at your company that prevents accessing unknown ports), you can check out the Bugzilla code using HTTP by just replacing "bzr://" in the above links with "http://", like this:
If for some reason you can't access port 4155 (which is what the bzr:// URLs are using) on bzr.bugzilla.org (maybe you have a firewall at your company that prevents accessing unknown ports), you can check out the Bugzilla code using HTTP by just replacing "bzr://" in the above links with "http://", like this:


<pre>bzr co http://bzr.mozilla.org/bugzilla/trunk bugzilla</pre>
<pre>bzr co http://bzr.bugzilla.org/bugzilla/trunk bugzilla</pre>


= Updating to a Newer Release =
= Updating to a Newer Release =
Confirmed users
1,927

edits