bazaar usage in ubuntu

Asked by luisgutz

Hi,

I've been tracking the progress of bazaar, and looks like a very interesting tool, somewhere in the future I would like to incorporate it into my project. From it's page I learned that ubuntu uses bazaar.

Now, bazaar seems to be very good when dealing when one proyect, but not when dealing with serveral project, each one with its own releases (source and binaries). Since handling this kind of stuff is something that you guys have to do to release ubuntu, I was wondering if you can explain a bit of how you use bazaar, and more specifically, how you use bazaar to deal with dependencies and different versions of same programs.

thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dave Walker (davewalker) said :
#1

Hi luisgutz,

bazaar (bzr) is a VCS (Version Control System). It's a way of centralising storage of a project that is commonly used for group collaboration. You normally have a 'branch' stored on a server (ie launchpad) where users can 'checkout' the source-code and authorised users can 'commit' changes. The useful about using a VCS is that it a 'commit' can be rolled back to a previous version. It doesn't deal with dependencies it itself, it's just for storing data (ie code)

To install bazar from the console:
$ sudo apt-get install bzr

Then navigate to a project you want to grab the source code, ie
https://code.launchpad.net/~ubuntu-dev/gajim/ubuntu

See the first line: "Hosted on Launchpad: http://bazaar.launchpad.net/~ubuntu-dev/gajim/ubuntu"

This means that you want to grab the source-code using:
$ bzr checkout http://bazaar.launchpad.net/~ubuntu-dev/gajim/ubuntu

A directory will then appear that hast the source-code, as you do not have write access - you cannot 'commit' any changes.

You can easily set up you're own branch for local use.

More information can be found: https://wiki.ubuntu.com/Bzr

Can you help with this problem?

Provide an answer of your own, or ask luisgutz for more information if necessary.

To post a message you must log in.