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

Bug#817129: dose-distcheck: provide option to ignore certain packages



Hi,

On Tue, 08 Mar 2016 11:18:35 +0100 Michael Prokop <mika@debian.org> wrote:
> it would be great if there'd be an option like --ignore=VPKGLIST similar to
> the existing --checkonly=VPKGLIST option, but having the opposite behaviour:
> do not consider the provided arguments in the package report. This would
> allow usage of dose-distcheck with known-to-be-broken package(s), which is
> something you might e.g.  have to deal with when introducing dose-distcheck
> in a new environment where you have known problems on existing (custom)
> repositories.

for the time being you can use grep-dctrl to filter your input Packages file
like this:

grep-dctrl --not --eregex --field Package '^(foo|bar|baz)$' ./Packages | distcheck ...

This will give you all packages except those named foo, bar and baz.

This works since distcheck is able to read the input Packages file from
standard input, so you don't even need a temporary file.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature


Reply to: