How do I …

use svn-buildpackage with the following repository (Debichem if you want to know):

/experimental/foo/debian/

/unstable/foo/debian/
/unstable/bar/debian/

/tags/foo/0.1-1

This sort of layout doesn’t seem to be standard and *-buildpackage are confusing me. Are *-buildpackage tools really worth it? Is it easier to just export the debian/ directory into an unpacked upstream tarball?

Also, as sort of a dare, does anybody know if hg,git,bzr-buildpackage will work off of such a SVN repo?

Advertisements

2 thoughts on “How do I …

  1. Hi,

    If you have bzr-svn 0.4.10 and bzr-builddeb 0.95
    then the following should work:

    bzr builddeb svn://…/experimental/foo/debian/

    You should end up with a directory called “build-area”
    in your current working directory with the packages
    in it.

    If you already have these svn repositories checked
    out on disk then just “cd” in to one and run “bzr builddeb”.

    There’s a bug in bzr 1.5 that means it won’t like
    talking to bzr.debian.org over http. I expect the same thing
    happens if you use http to talk to svn.d.o over http. I think
    you can avoid this by installing “python-pycurl”, or using
    svn:// or svn+ssh:// transports.

    If you have any problems then please file bugs and I
    will try and fix them.

    Thanks,

    James

  2. Hi,

    Use the svn-bp:tagsUrl SVN property on debian/:
    % svn propget svn-bp:tagsUrl svn+ssh://svn.debian.org/svn/pkg-gnome/desktop/unstable/gedit/debian
    svn+ssh://svn.debian.org/svn/pkg-gnome/tags/gedit

    Unfortunately, this requires hardcoding your svn root; I filed a bug a while ago to request substitutions vars. :-/

    Cheers,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s