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

Johannes Schauer josch at debian.org
Wed Dec 23 03:46:52 UTC 2015


Hi,

On Fri, 13 Nov 2015 21:08:46 -0800 Dima Kogan <dima at secretsauce.net> wrote:
> 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.

Policy §5.6.26 [1] describes how to specify the branch in case of Vcs-Git. So
to fix this bug, sbuild should have:

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

Thanks to Stuart Prescott for making me aware of this!

cheers, josch

[1] https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-VCS-fields
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20151223/95d87f7f/attachment.sig>


More information about the Buildd-tools-devel mailing list