Control: tags -1 + moreinfo
On Mon, 10 Jun 2013 17:47:42 +0200 Vincent Lefevre wrote: > Package: apt-listbugs > Version: 0.1.9 > Severity: wishlist Hello Vincent, thanks for your feature request! > > According to the apt-listbugs(1) man page, apt-listbugs can filter > on severities and tags, but not on more specific combinations. For > instance, I would like to be able to list all bugs with *either* > of the following conditions: > * critical,grave,serious severity; > * security tag. > (note: *either*, not *both*). > > Combinations like > * critical,grave,serious severity; or > * important severity and security tag. > could be useful too. 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). 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... What about invoking apt-listbugs multiple times (once for each filter you would like to be in OR with other ones)? I admit that it's not an elegant or optimal solution, but: $ apt-listbugs list $PACKAGE $ apt-listbugs list -T security -s all $PACKAGE should satisfy your first example. Please note that you may also insert multiple successive DPkg::Pre-Install-Pkgs lines into /etc/apt/apt.conf.d/10apt-listbugs Please let me know whether my suggestion works for you. Bye. -- http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt New GnuPG key, see the transition document! ..................................................... Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
pgpVLEJQUOA5d.pgp
Description: PGP signature