Bazaar

Bazaar

 




Wiki Tools

  • Find Page
  • Recent Changes
  • Page History
  • Attachments

Marius Kruger

Email: <amanic AT SPAMFREE gmail DOT com>

...

Things in bzr I need to get fixed

This is a list of issues I see as blocking bazaar's quest for global domination. I would like them all to be fixed, so I'm listing them here so that I can remember them and hopefully start fixing them. (last updated on 2009-02-25)

startup speed

unfortunately python takes time to start up.

$ time bzr --version > /dev/null
real    0m0.305s
user    0m0.230s
sys     0m0.040s

$ time svn --version > /dev/null
real    0m0.033s
user    0m0.020s
sys     0m0.010s

This is only barely noticeable, but it is noticeable and should be fixed.

proper gui tools for windows people

Currently we have tortoiseBzr, but when I actually saw it on windows, I was quite disappointed. It uses qbzr which is far behind gtk-bzr. I don't know why they switched.

  • The main missing things is the lack of a single gui tool which can do everything like olive.
  • One thing I personally miss in qannotate is the back and forward button of gannotate.

Even the stuff you can do by right-clicking on folders in tortoiseBzr, is quite limiting. This forces users to the commandline which is not acceptable for some.

third party tools

When people in the corporate world look at choosing a version control system, they look at which of their tools support it out of the box. This is a bit of a catch 22 situations, because we need more plugins for 3rd party tools so that bzr can become more mainstream so that 3rd party tools will want to support bzr.

netbeans-bzr

People think this exist but I could not find it. I imagine that it should be quite easy to just clone the hg plugin and make it work for bzr. I think if somebody does not beat me to it soon, I should just go ahead and start this off.

visual studio support

This used to exist, but I think it went stale. Somebody should revive it, but that won't be me.

I saw some google trends that indicate that bzr adoption is dragging further behind than I thought. Originally I was drawn to bzr because it is backed by canonical, and that it is being used more and more during the production of ubuntu. I think bzr should become the tool we can recommend to to more opensource projects. Hopefully the opensourcing of launchpad will help in that regard.

Howto setup Bazaar High-performance server on ubuntu

Add this line to inetd.conf

4155    stream  tcp     nowait  guest  /usr/bin/bzr /usr/bin/bzr serve --allow-writes --inet --directory=/stuph/projects

Note:

  • 4155 is the port
  • guest is the user it must run under
  • /stuph/projects is the base folder for your code.
  • I hast to give the guest user permissions to write to /root/.bzr.log , but that might not be necessary for you.

if inetd is not installed, use this command: sudo apt-get install netkit-inetd

Installing bzr and bzr-gtk on windows

bzr_gtk_win32_bundle.zip

   1. Download and Extract bzr_gtk_win32_bundle.zip
   2. install python 2.5 (python-2.5.msi)
   3. install pywin 32-209 (pywin32-209.1.win32-py2.5.exe)
   4. install bzr (bzr-0.90.0.win32-py2.5.exe)
   5. add python and bzr path to environment variable PATH eg:
          * right click on my computer
          * click on properties
          * click on the advanced tab
          * click environment variables
          * under system variables, add or create a PATH variable
          * add the following

            ;C:\Python25;C:\Python25\Scripts

                o The items are separated by ;
                o It is assumed that your python was installed in `C:\Python25`, if it is somewhere else, please adjust the variables. 
   6. Open up a new commanline console, and run the follwowing:

          python --version 

          bzr --version 

          Both of them should give proper version information before you continue. 

   7. get sftp support
         1. install pycrypto (pycrypto-2.0.1.win32-py2.5.exe)
         2. install paramiko (paramiko-1.7.1-ctypes.win32.exe)
         3. install pycairo (pycairo-1.2.6-1.win32-py2.5.exe)
         4. install pygobject (pygobject-2.12.3-1.win32-py2.5.exe) 
   8. get gtk and olive support
         1. install gtk (gtk-2.10.11-win32-1.exe)
         2. install py-gtk (pygtk-2.8.6-1.win32-py2.5.exe)
         3. install bzr-gtk (bzr-gtk-0.90.0.zip)
                * extract it somewhere
                * open a command prompt (Start -> run -> type cmd & press [ENTER]) and cd into the directory where you extracted it.
                * run the following from the commandline: 

                python setup.py install 

         4. If everything worked so far you should be able to run:

                python c:\Python25\Scripts\olive-gtk 


CategoryHomepage