Re: [gentoo-portage-dev] [PATCH] VdbMetadataDelta.applyDelta: remove replaced versions (bug 547532)

2015-05-07 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 24/04/15 18:32, Zac Medico wrote: - installed_package = installed_package[-1] + try: + self._vardb.match_unordered + except AttributeError: +

Re: [gentoo-portage-dev] [PATCH] VdbMetadataDelta.applyDelta: remove replaced versions (bug 547532)

2015-05-07 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 I see this is in master now anyway. I still wouldn't mind an explanation though, just for my own understanding's sake. - -- Alexander berna...@gentoo.org https://secure.plaimi.net/~alexander -BEGIN PGP SIGNATURE- Version: GnuPG v2

Re: [gentoo-portage-dev] [PATCH] VdbMetadataDelta.applyDelta: remove replaced versions (bug 547532)

2015-05-07 Thread Zac Medico
On 05/07/2015 01:06 AM, Alexander Berntsen wrote: On 24/04/15 18:32, Zac Medico wrote: -installed_package = installed_package[-1] +try: +self._vardb.match_unordered +except AttributeError: +

[gentoo-portage-dev] [PATCH] VdbMetadataDelta.applyDelta: remove replaced versions (bug 547532)

2015-04-24 Thread Zac Medico
Since commit d800d224ab38c0f524d3fe858ebe201cbfa903c1, emerge --search could randomly report incorrect results for the installed version due to the replaced version of a given slot remaining in the cache. Fixes: d800d224ab38 (Log changes between vdb_metadata.pickle updates) X-Gentoo-Bug: 547532