[buildd-tools-devel] Bug#805063: sbuild: Vcs-... tags refer to the upstream branch, not the debianized branch

Dima Kogan dima at secretsauce.net
Sat Nov 14 05:08:46 UTC 2015


Package: sbuild
Version: 0.66.0-5
Severity: normal

Hi. debian/control contains this:

    Vcs-Browser: https://anonscm.debian.org/cgit/buildd-tools/sbuild.git
    Vcs-Git: git://anonscm.debian.org/buildd-tools/sbuild

These refer to the master branch, which doesn't have a full
debianization. Thus you can't 'debcheckout sbuild' and then run a build.
It also makes it difficult for a user (me!) to build packages from git,
since the correct branch to use isn't documented. The Vcs-Browser can be
pointed to the debianization branch with this:

    Vcs-Browser: https://anonscm.debian.org/cgit/buildd-tools/sbuild.git?h=debian/unstable

For Vcs-Git I don't know how to do this. Instead the server can be
adjusted to point HEAD to the debian/unstable branch, and then the tree
doesn't have to be changed at all, I think. This can be done with

    local:~$ ssh git.debian.org
    git.debian.org:~$ cd /git/buildd-tools/sbuild.git
    git.debian.org:/git/buildd-tools/sbuild.git$ echo refs/heads/debian/unstable > HEAD

I can't test this myself, but I THINK this should make changes to
Vcs-Git unnecessary. Possibly changes to Vcs-Browser would be
unnecessary too.

Thanks!



More information about the Buildd-tools-devel mailing list