Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@×××××.com>
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 10:35:22
Message-Id: 43DB49EE.8000707@gmail.com
In Reply to: [gentoo-portage-dev] [PATCH] rsync metadata cache patch (obsoletes metadata transfer on sync) by Zac Medico
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Zac Medico wrote:
5 > I was playing with the metadata cache stuff this weekend and decided to
6 > write a patch that obsoletes metadata transfers on sync.
7
8 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.
9
10 I haven't tested this much, but like the previous patch, this shouldn't cause any harm. Feedback would be appreciated.
11
12 Zac
13 -----BEGIN PGP SIGNATURE-----
14 Version: GnuPG v1.4.2 (GNU/Linux)
15
16 iD8DBQFD20nu/ejvha5XGaMRAumKAJ9iyEsxsyi59Iri+fZ3pA6bWs38xwCeI5SW
17 D3OJhsbTGr8w+BviOEpfAIA=
18 =v/bi
19 -----END PGP SIGNATURE-----

Attachments

File name MIME type
metadata_overlay.py text/x-python

Replies