[buildd-tools-devel] Bug#836154: sbuild --no-arch-any --no-arch-all --source fails on all only dsc

Sam Hartman hartmans at debian.org
Thu Oct 13 17:36:21 UTC 2016


>>>>> "Johannes" == Johannes Schauer <josch at debian.org> writes:

    Johannes> Do you know a situation when it would be beneficial to let
    Johannes> sbuild create the source package *again* after it has
    Johannes> already been produced for sbuild?

Sbuild can take a directory as input.
I tend to use it in that way for CI-driven builds from git repositories.
Sometimes I want source uploads, sometimes I want a binary upload.
(In this case I ended up wanting a source upload because of another bug
in mini-buildd, although in other cases I'd just want a source upload).
As an example, I might want to run
gbp buildpackage --git-export-dir=somewhere --git-builder=sbuild
--source --no-arch-any --no-arch-all
to prepare an upload to debian (after testing my tree some other way).
Does sbuild add that much in that situation?
No, but it sure doesn't hurt, and consistency is nice.



More information about the Buildd-tools-devel mailing list