[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#812202: dose-distcheck, dose-builddebcheck: --exclude option



Hi Christoph,

On Fri, 22 Jan 2016 09:25:33 +0100 Ralf Treinen <treinen@free.fr> wrote:
> On Thu, Jan 21, 2016 at 02:53:41PM +0100, Christoph Berg wrote:
> > it would be nice if there was an --exclude counterpart to the existing
> > --checkonly option that excludes the named packages from being checked.
> > 
> > My use case is that in my repositories I have some packages that
> > require backports to be installed, and I would like to do this:
> > 
> > dose-(build)debcheck debian_main_binaries my_repo_binaries/sources --exclude 'a, b, c'
> > dose-(build)debcheck debian_main_binaries debian_backports_binaries my_repo_binaries/sources --checkonly 'a, b, c'
> > 
> > I'm currently working around by filtering the package lists with
> > grep-dctrl on the fly, but the tempfiles handling is annoying.
> > 
> > (--checkonly-file packagelist.txt and --exlude-file could maybe also
> > make sense to have, where packagelist.txt has one package name per
> > line.)
> 
> Sounds sensible, I'll submit it to upstream. 
> 
> Just a hint since you talk about tempfile handling in scripts: both tools
> can also read a Packages file from stdin, which is convenient precisely
> in your usecase since it allows you to use a pipe instead of a tempfile.

it seems that #817129 is very similar (if not the same - should they be
merged?) to yours. I wrote a suggestion of how to use grep-dctrl to achieve
what you want without requiring a temporary file.

Does that work for you?

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature


Reply to: