From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B2CD1138CCE for ; Fri, 8 May 2015 06:37:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 39ABAE0818; Fri, 8 May 2015 06:37:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6774BE0817 for ; Fri, 8 May 2015 06:37:45 +0000 (UTC) Received: from [192.168.0.13] (ip174-67-205-96.oc.oc.cox.net [174.67.205.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id 091AC340F2C for ; Fri, 8 May 2015 06:37:43 +0000 (UTC) Message-ID: <554C59B4.1010704@gentoo.org> Date: Thu, 07 May 2015 23:37:40 -0700 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] [PATCH] VdbMetadataDelta.applyDelta: remove replaced versions (bug 547532) References: <1429893170-7323-1-git-send-email-zmedico@gentoo.org> <554B1D17.60209@gentoo.org> <554BB24D.4050903@gentoo.org> In-Reply-To: <554BB24D.4050903@gentoo.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 70f58f5a-6daf-4967-b80b-48bb87388415 X-Archives-Hash: f3e1832fa116270d633504ea9c5514cb On 05/07/2015 11:43 AM, Zac Medico wrote: > It certainly be nicer if the data from vdb_metadata.pickle had the > packages indexed by ${CATEGORY}/${PN}, so that the sequential search > would not be necessary. We should do that later if we decide to modify > the vdb_metadata.pickle format in a backward-incompatible way. d Actually, we can add as many additional indexes as we want to the pickle, and older portage would still be able the read the existing structure if we keep it compatible. It's not terribly important to maintain this sort of backward compatibility though. The worst case is that the old version of portage has to re-read /var/db/pkg and generate a new pickle. -- Thanks, Zac