Re: [gentoo-portage-dev] [PATCH v4] egencache: add --stable-mtime option

2015-12-22 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 21/12/15 20:57, Zac Medico wrote: > Since the Manifest "stable mtime" behavior could have undiscovered > bugs This isn't exactly very motivating. "Since Foo could have bugs" applies to pretty much any Python code >10 lines. The patch itself

Re: [gentoo-portage-dev] emerge getting slower

2015-12-22 Thread Joakim Tjernlund
On Mon, 2015-12-21 at 12:36 -0800, Zac Medico wrote: > On 12/21/2015 12:24 PM, Joakim Tjernlund wrote: > > Lately it feels like emerge has been getting unusual slow to calculate > > dependencies. > > I did a strace while emerge was running and noticed a lot of: > > > >

Re: [gentoo-portage-dev] [PATCH] flat_hash: enable md5 validation for /var/cache/edb/dep (bug 568934)

2015-12-22 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 22/12/15 08:02, Zac Medico wrote: > For forward-compatibility, add a flat_hash.mtime_md5_database > cache module which is capable of validating cache entries > containing either mtimes or md5 digests (only mtime validation was > previously

Re: [gentoo-portage-dev] [PATCH v4] egencache: add --stable-mtime option

2015-12-22 Thread Zac Medico
On 12/22/2015 12:26 AM, Alexander Berntsen wrote: > On 21/12/15 20:57, Zac Medico wrote: >> Since the Manifest "stable mtime" behavior could have undiscovered >> bugs > This isn't exactly very motivating. "Since Foo could have bugs" > applies to pretty much any Python code >10 lines. We could

[gentoo-portage-dev] [PATCH v2] flat_hash: enable md5 validation for /var/cache/edb/dep (bug 568934)

2015-12-22 Thread Zac Medico
Since operations like `git reset --hard` (useful to implement shallow pull) will reset timestamps of all files in the tree, the status quo of using timestamps for validation of cache in /var/cache/edb/dep is sub-optimal. For forward-compatibility, add a flat_hash.mtime_md5_database cache module

Re: [gentoo-portage-dev] [PATCH v2] flat_hash: enable md5 validation for /var/cache/edb/dep (bug 568934)

2015-12-22 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Great! Thanks. Go ahead & push. - -- Alexander berna...@gentoo.org https://secure.plaimi.net/~alexander -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBCgAGBQJWeYZDAAoJENQqWdRUGk8BWy4P/jM8su6UwETWM3WeYYLQ6SwW