Bug#812202: dose-distcheck, dose-builddebcheck: --exclude option
Hi Christoph,
On Thu, Jan 21, 2016 at 02:53:41PM +0100, Christoph Berg wrote:
> Source: dose3
> Severity: wishlist
>
> Hi,
>
> 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.
Cheers -Ralf.
Reply to: