Bazaar for development

Harald Sitter apachelogger at ubuntu.com
Fri Dec 5 10:36:01 GMT 2008


Bonjour mes amis.

I am glad to report that all all core KDE packages are now imported into bzr.

The branches follow the naming
~kubuntu-members/UPSTREAMNAME/ubuntu

This means in order to get the kdelibs branch you would use:
    bzr branch lp:~kubuntu-members/kdelibs/ubuntu
Same applies for pushing to this branch (you will have to do at least one push 
with the complete URL, for every additional push bzr will store the push URL).

I also prepared a small utility to aid with the bzr interaction. The way 
Launchpad treats projects and the way bzr doesn't allow stable subtrees yet, 
makes it impossible to store all packaging in one joined branch (thus you 
would have to branch every package individually). Since most of us work on 
most of the packages on regular basis this is somewhat awkward.
This is where the utility gypsy comes in [1]. It is a very basic wrapper 
around bzr making it possible to do batch operations on all the packages 
available (branch, update, commit, push).

The syntax is gypsy [operation] [package|all].

To get all packages:
  gypsy branch all

This will create a KDE subdirectory in the current working directory and grab 
each branch. Further documentation is available in the README file of gypsy.

To build a package you will have to download the .orig.tar.gz (currently only 
possible via apt-get source or pull-lp-source) enter the debian directory and 
run:
  bzr-buildpackage -e
This will store the merged package source in ../build-area/. 

Future iterations of gypsy will make use of the library used by the Ninjas for 
KDE release packaging to enable automatic tarball download in the branch 
operation (eventually that should make the process more streamline ;-).

A cheat sheet (with some additional tweak information) is available at [2], I
recommend you at least read it once.

[1] bzr branch lp:~apachelogger/+junk/gypsy
[2] http://aplg.kollide.net/kubuntu/docs/BZR-HOWTO.txt

regards,
Harald



More information about the kubuntu-devel mailing list