On Fri, 27 Aug 2010 20:54:49 +1000
Ivan Lazar Miljenovic <[email protected]> wrote:
> > The search index becomes invalid after you change *anything*. If you
> > sync, it's invalid. If you install, upgrade, reinstall or uninstall
> > something, it's invalid. If you change any of your configuration
> > files, it's invalid.
> 
> How "invalid" are we talking?  Not mentioning available new versions
> of a package?  Not recognising which packages are installed (and which
> version)?  Not knowing which USE-flags, etc. were used?

We're talking barfing with a very ugly error message, or missing
packages.

The 'find-candidates' part of the task provides a list of candidate
uniquely-identifying package dep specs to the 'match' part, which then
checks them and sends them on to 'show'. If 'find-candidates' is using
an index that's out of date, it can:

* Not give 'match' certain candidates that it should, leading to
  missing results.

* Have the wrong idea of which the 'best visible' version of a package
  is, leading to weird results if metadata changes between package
  versions.

* Give 'match' a uniquely-identifying package dep spec for a package
  that no longer exists, which will make 'match' fail with a not very
  pretty error when it expects that spec to exist.

> How exactly does eix do this?  A DB of available packages but looking
> up installed packages, configurations, etc. whenever you ask it
> anything?

eix does it by generating the information centrally and then giving you
incorrect answers that don't match up with what's on your system.

-- 
Ciaran McCreesh

Attachment: signature.asc
Description: PGP signature

_______________________________________________
paludis-user mailing list
[email protected]
http://lists.pioto.org/mailman/listinfo/paludis-user

Reply via email to