[buildd-tools-devel] Bug#844457: Bug#844457: sbuild: --extra-package is great, but could be better

Johannes Schauer josch at debian.org
Thu Dec 22 07:50:27 UTC 2016


Hi,

On Wed, 16 Nov 2016 10:28:28 -0500 Barry Warsaw <barry at debian.org> wrote:
> It's certainly possible, and I used to do some very similar things, but when
> my old approach broke, I started to investigate what sbuild could do natively.
> --extra-package is a nice feature, but then my first inclination was to try
> using a wildcard in the path instead of a hardcoded single file.  When that
> failed, I thought I'd request this simple enhancement.  It's not really a CLI
> API change per se since you don't really need to add a new command line
> switch, just do the globbing in sbuild.

so I was reading some docs on how to do path globbing in Perl. Unfortunately,
things can become nasty very quickly involving different interpretations of the
same globbing pattern, escape mechanisms, complex handling of cases where
matching fails and platform specific abnormalities.

So what about this alternative proposal:

If the path given to --extra-package is a directory, then sbuild will add all
files that end in ".deb" within that directory to its local repository.

Does that sound like a good compromise to you?

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20161222/d07a7f30/attachment.sig>


More information about the Buildd-tools-devel mailing list