Hi, On Wed, 16 Nov 2016 10:28:28 -0500 Barry Warsaw <ba...@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
signature.asc
Description: signature