[Rpm-ecosystem] hawkey query performance
mls at suse.de
Fri Sep 11 16:26:37 UTC 2015
On Fri, Sep 11, 2015 at 12:13:04PM -0400, Honza ??ilhan wrote:
> Thanks for the audit, Michael. Michael Mraka also came with list solution.
> It could be possible to run FOR_PKG_SOLVABLES just once in hy_query_apply
> and append to the result list only packages that passes through all filters.
You don't have to run FOR_PKG_SOLVABLES at all unless you don't have any
filter set and want to return all packages.
You'd just work on the lists returned by the filter steps.
> Hawkey queries performance is the issue but Dan was more likely to ask what
> tools release engineers from SUSE are using. Do they use libsolv depsolver
> directly? Or do they also make queries above packages? Maybe they can share
> their efforts for the similar use case.
AFAIK the package lists for the enterprice products are pretty much
written manually by the release managers. They use the 'installcheck'
program that comes with libsolv to make sure that all packages
are installable, though. (Fedora has it in the libsolv-tools package.)
Michael Schroeder mls at suse.de
SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
More information about the Rpm-ecosystem