Gentoo Archives: gentoo-portage-dev

From: Andrew Gaffney <agaffney@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] rsync metadata cache patch (obsoletes metadata transfer on sync)
Date: Sat, 28 Jan 2006 17:17:56
Message-Id: 43DBA8C2.4050602@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] rsync metadata cache patch (obsoletes metadata transfer on sync) by Zac Medico
1 Zac Medico wrote:
2 > I have reimplemented the previous patch as a normal cache module that adds a writable layer on top of the pre-generated metadata. If you'd like to try this out (with portage-2.1_preX), simply copy metadata_overlay.py into /usr/lib/portage/pym/cache/ and add portdbapi.auxdbmodule = cache.metadata_overlay.database to /etc/portage/modules.
3 >
4 > I haven't tested this much, but like the previous patch, this shouldn't cause any harm. Feedback would be appreciated.
5
6 Portage didn't explode and dep calculation is pretty damn quick with an empty
7 /var/cache/edb/dep/, so I assume that it's working properly. Is it normal for
8 /var/cache/edb/dep/${PORTDIR}/ to be re-created (it's still empty) when this new
9 module is in use?
10
11 --
12 Andrew Gaffney http://dev.gentoo.org/~agaffney/
13 Gentoo Linux Developer Installer Project
14 --
15 gentoo-portage-dev@g.o mailing list

Replies