Hello Brendan,

may I kindly ask for your plans on creating something like
AptPkg::Policy as a wrapper around the APT class pkgPolicy.

E.g. the implementation of wishlist bug #363104 would greatly benefit
From such a wrapper: apt-show-versions needs this information to
consider APT pinning when determining whether a package is upgradeable
or not.

Both alternatives look ugly to me:

- Calling 'apt-cache policy' internally in apt-show-versions and parsing
  its output.

- Reimplement the functionality of 'apt-cache policy' in perl (parsing
  and evaluating /etc/apt/preferences independently of AptPkg).

Regards, Andreas Hoenen
--
Andreas Hoenen <[EMAIL PROTECTED]>

GPG: 1024D/B888D2CE
     A4A6 E8B5 593A E89B 496B
     82F0 728D 8B7E B888 D2CE

Attachment: pgpWSn6ctxrgy.pgp
Description: PGP signature

Reply via email to