Bzr

Differences between revisions 3 and 4
Revision 3 as of 2008-08-06 16:31:15
Size: 195
Editor: localhost
Comment: converted to 1.6 markup
Revision 4 as of 2008-09-17 15:36:48
Size: 2135
Editor: host200-210-dynamic
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
== Packaging in bzr == == Experimenting with Bazaar (bzr) ==
Line 5: Line 5:
The desktop team is maintaining his packages in the [[https://code.edge.launchpad.net/~ubuntu-desktop/|ubuntu-desktop bzr]] now. The desktop team is considering using Bazaar (bzr) for packaging work. Some packages have been added to bzr to evaluate the workflow, but things like editing patches are not easy enough yet so there is no requirement to update bzr when uploading a new revision of one of those packages. You are welcome to try using bzr for packaging though and let us know what you think about it and make suggestions on changes we could do there.

You need to be member of the [[https://launchpad.net/~ubuntu-desktop|ubuntu-desktop]] team on launchpad to commit. You need be a known contributor to be added to the team since it gives you commit rights. Only the debian/ directory is stored in bzr

=== List of the desktop team packages ===

You can see the list of packages available in our Bazaar repository [[https://code.launchpad.net/~ubuntu-desktop|here]].

=== Adding a package using bzr ===

(Please don't start adding all the desktop packages now, we want to try how bzr is working for us on a given set of package before switching)

You need to be member of the ubuntu-desktop team first

 * apt-get source package_name
 * cd package_name-<version>
 * bzr init
 * bzr add debian
 * bzr commit -m "initial package_name import"
 * bzr push sftp://userid@bazaar.launchpad.net/~ubuntu-desktop/package_name/ubuntu

Where "package_name" is the name of the source package and "userid" your username on launchpad. Launchpad require to use the same name as a registred product

=== Getting a package ===

 * bzr get http://bazaar.launchpad.net/~ubuntu-desktop/package_name/ubuntu package_name

=== Building a package ===

(the workflow need to be made easier)

 * bzr get http://bazaar.launchpad.net/~ubuntu-desktop/package_name/ubuntu package_name
 * cd package_name
 * create a tarballs directory and copy the orig tarball to it
 * cd debian
 * bzr-buildpackage

=== Uploads to the team archive for sponsoring ===

You can read https://help.launchpad.net/PPA about how to use the team archive; we will use this for sponsoring.

Experimenting with Bazaar (bzr)

The desktop team is considering using Bazaar (bzr) for packaging work. Some packages have been added to bzr to evaluate the workflow, but things like editing patches are not easy enough yet so there is no requirement to update bzr when uploading a new revision of one of those packages. You are welcome to try using bzr for packaging though and let us know what you think about it and make suggestions on changes we could do there.

You need to be member of the ubuntu-desktop team on launchpad to commit. You need be a known contributor to be added to the team since it gives you commit rights. Only the debian/ directory is stored in bzr

List of the desktop team packages

You can see the list of packages available in our Bazaar repository here.

Adding a package using bzr

(Please don't start adding all the desktop packages now, we want to try how bzr is working for us on a given set of package before switching)

You need to be member of the ubuntu-desktop team first

  • apt-get source package_name
  • cd package_name-<version>

  • bzr init
  • bzr add debian
  • bzr commit -m "initial package_name import"
  • bzr push sftp://userid@bazaar.launchpad.net/~ubuntu-desktop/package_name/ubuntu

Where "package_name" is the name of the source package and "userid" your username on launchpad. Launchpad require to use the same name as a registred product

Getting a package

Building a package

(the workflow need to be made easier)

Uploads to the team archive for sponsoring

You can read https://help.launchpad.net/PPA about how to use the team archive; we will use this for sponsoring.

DesktopTeam/Bzr (last edited 2010-12-07 23:38:55 by 71-208-179-99)