* Duncan Mac-Vicar Prett
On Wednesday 20 June 2007 11:17:29 Klaus Kaempf wrote:
Can we do reading the rpm database on demand (if changed externally) only ?
You need to read it at least once to add the resolvables in the pool.
Which seems to take more time than reading resolvables from the (sqlite) cache. So how about 'parsing' (resp. caching) the rpm database to the same database all other resolvables are ? (Together with a time stamp or whatever is needed to detect changes). This way, only the 'refresh' part of libzypp needs to distinguish between repositories with metadata and the rpm database. Applications just init the Repositories (and Pool) without knowing the difference. Klaus -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org