Reimplement portdbapi.visible() so that is works without
authorZac Medico <zmedico@gentoo.org>
Sun, 30 Sep 2007 21:25:28 +0000 (21:25 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 30 Sep 2007 21:25:28 +0000 (21:25 -0000)
commitef019ad47d51df02deccb780f135d01e3314eab9
tree3a5984747d149d000877cee78e4657085124ad97
parent6eeb6fd8c40df09d0c5d462c5fa91e8e7b273b40
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.
since the current internal

svn path=/main/trunk/; revision=7892
pym/portage/dbapi/porttree.py