Reimplement portdbapi.visible() so that is works without
authorZac Medico <zmedico@gentoo.org>
Fri, 5 Oct 2007 01:54:54 +0000 (01:54 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 5 Oct 2007 01:54:54 +0000 (01:54 -0000)
commit16125ffdb9798c37a716f30f243439618b931c77
treef7e982d57b8f5b1290738819693fd93bd6835d4f
parent2338df45f605f74d8300baf99f806cc738578fb2
Reimplement portdbapi.visible() so that is works without
using self.xmatch(). This should be 100% compatible with
the previous implementation and have comparable
performance. By eliminating the xmatch() dependency, the
code becomes more generically usable, like for
visibility filtering of binary packages. It seems that
it will be necessary to move this code outside of the
dbapi since visiblity filtering is really a resolver
level function and to solve things like bug #88613 will
require a more flexible approach. (trunk r7892)

svn path=/main/branches/2.1.2/; revision=7925
pym/portage.py