Hello,

On Wed 03 Dec 2025 at 09:15am +01, Philip Hands wrote:

> Package: dgit
> Version: 13.17~bpo13+1
> Severity: wishlist
>
> Since dgit(1) states:
>
>   Options and arguments after sbuild will be passed on to sbuild.
>
> and sbuild(1) describes a `--force-orig-source` option, it seems reasonable to
> assume that:
>
>   dgit sbuild --force-orig-source
>
> would result in the orig source being included in the changes, but it does 
> not.
>
> BTW There is a workaround for this:
>
>   dgit --ch:-sa sbuild
>
> In case you're wondering why I want to do this, it is because I'm building
> openqa for upload to debian-fasttrack, which has no buildd, so one needs to
> build the binary package oneself, and I've generally already uploaded the
> package to unstable before I add the ~fto13-1 version, so it looks like the 
> orig
> source would have already been uploaded, but not to fasttrack, hence the need 
> to
> force it.

Thanks.  The build wrapper commands probably have other behaviours which
only make sense in the context of uploading to Debian.

We could special-case --force-orig-source easily enough, but ideally we
would come up with some overarching mode for building for something like
fasttrack.  Wanting to use 'dgit sbuild' to build binaries for uploading
there, in order to ensure the binary packages match up to Git, seems
like a legitimate use case.

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature

Reply via email to