On 11/23/11 07:02 AM, Shawn Walker wrote:
* manifests shouldn't be permanently cached unless a package is
actually installed; that's why manifests are automatically removed
when a package is uninstalled
pkglint actually relies on this being the case (if I'm understanding you
correctly)
That is, pkglint uses a pair of images as it's cache, one for the
reference image, one for the image being linted, though we never install
packages to those images.
In src/modules/lint/engine.py we use api_inst.get_manifest(<PkgFmri>) to
retrieve the manifest from the image.
If a change is made such that the API never caches the manifest unless
the package is installed, then it'll have a catastrophic performance
impact on pkglint when re-running a lint job and expecting that a
previous job has populated the cache (the userland build depends on
this, in particular)
cheers,
tim
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss