Hi,

On Fri, 13 Nov 2015 21:08:46 -0800 Dima Kogan <[email protected]> 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

Attachment: signature.asc
Description: signature

Reply via email to