Hi Francesco,

On 2013-06-10 21:00:54 +0200, Francesco Poli wrote:
> In other words, you would like to specify Boolean operations (NOT, OR,
> AND, ...) to combine simple filters and create less trivial ones.
> Something similar to what grep-aptavail implements (--not, --or, --and,
> parentheses).

It could be a solution, but as you say:

> I agree that it would be useful, but I am afraid that implementing the
> parser for such options would be somewhat of an overkill for a simple
> tool like apt-listbugs...

I think a list of filters could be both simple and sufficient.
e.g. with a syntax like:

  apt-listbugs -f s:critical,grave,serious -f s:important,T:security apt

> What about invoking apt-listbugs multiple times (once for each filter
> you would like to be in OR with other ones)?

I'll have to test in practice, but via DPkg::Pre-Install-Pkgs, I may
need to confirm twice. However perhaps this won't happen very often.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to