[ Prev ] [ Index ] [ Next ]

bazaar

Created 16/7/2009

Todo: Rename to bzr

Bazaar is distributed source control system (also known as a distributed version control system). In FC linux, the bazaar client is called bzr and can be installed with yum (e.g., yum install bzr).

1. Identify yourself to bazaar

The bazaar server requires that each client identify themselves by a string, which typically includes a user name and mail address. E.g.,

bash $ bzr whoami "Foo <foo@bund.com.au>"

2. launchpad

Launchpad is a free vcs hosting for opensource. Seems heavily integrated into bzr. Need to open an account, which is email based. As an example, the zim project is hosted at https://launchpad.net/zim

2.B Launchpad login

A read-only copy of a bzr project can be checked out, however to writeback to the repository requires that a launchpad login. In order to be able to login to launchpad via bzr, be sure to generate an ssh keypair and to register the public key against your lauchpad user. Once the public key is registered, a login can effected by:

bash $ bzr launchpad-login foo

Warning: Be sure to use your launchpad id and not your launchpad name. For example, your launchpad name might be Foo but your login might be Foo-bar

The above issue can readily be identified if, after launchpad-login (and assuming an ssh public key is registered with launchpad), an error message, such as the following occurs:

bash $ bzr launchpad-login foo
bzr: ERROR: https://launchpad.net/%7Efoo%2Bsshkeys is permanently redirected to https://launchpad.net/~foo/+sshkeys

2.C Branch checkout

To check-out a branch copy of a repository, be sure to login to launchpad with bzr and then issue:

bash $ bzr branch lp:someproject

Stuart Moorfoot © 16 July 2009 foo@bund.com.au


Backlinks: