]> git.ipfire.org Git - thirdparty/libsolv.git/commit
Make POOL_FLAG_ADDFILEPROVIDESFILTERED behaviour more standard
authorMichael Schroeder <mls@suse.de>
Wed, 18 Sep 2024 12:33:20 +0000 (14:33 +0200)
committerMichael Schroeder <mls@suse.de>
Wed, 18 Sep 2024 12:33:20 +0000 (14:33 +0200)
commit2150865d616ec454375de2c3bcd244c42c56e782
treeef18d1d2d027bdb7cc437d43705b2ef4682b75c0
parente64cecfa10d08a360d0dda8ca7b48d588f92d985
Make POOL_FLAG_ADDFILEPROVIDESFILTERED behaviour more standard

Turning on POOL_FLAG_ADDFILEPROVIDESFILTERED made the lookup of
all file dependencies lazy, not only the ones required by some
dependency. This changes the way searching works and may also
slow down some use cases.

We now changed addfileprovides() to record the needed non-standard
file dependencies and only make those lazy in createwhatprovides().
src/fileprovides.c
src/pool.c
src/pool.h