Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] VdbMetadataDelta.applyDelta: remove replaced versions (bug 547532)
Date: Fri, 08 May 2015 06:37:48
Message-Id: 554C59B4.1010704@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] VdbMetadataDelta.applyDelta: remove replaced versions (bug 547532) by Zac Medico
1 On 05/07/2015 11:43 AM, Zac Medico wrote:
2 > It certainly be nicer if the data from vdb_metadata.pickle had the
3 > packages indexed by ${CATEGORY}/${PN}, so that the sequential search
4 > would not be necessary. We should do that later if we decide to modify
5 > the vdb_metadata.pickle format in a backward-incompatible way.
6 d
7 Actually, we can add as many additional indexes as we want to the
8 pickle, and older portage would still be able the read the existing
9 structure if we keep it compatible. It's not terribly important to
10 maintain this sort of backward compatibility though. The worst case is
11 that the old version of portage has to re-read /var/db/pkg and generate
12 a new pickle.
13 --
14 Thanks,
15 Zac