From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LYrlV-0004Af-FL for garchives@archives.gentoo.org; Mon, 16 Feb 2009 00:55:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0758CE04FC; Mon, 16 Feb 2009 00:54:09 +0000 (UTC) Received: from mail-fx0-f20.google.com (mail-fx0-f20.google.com [209.85.220.20]) by pigeon.gentoo.org (Postfix) with ESMTP id 9F08FE04FC for ; Mon, 16 Feb 2009 00:54:08 +0000 (UTC) Received: by fxm13 with SMTP id 13so5479855fxm.10 for ; Sun, 15 Feb 2009 16:54:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=ta5zpicLk48SWzCbIxA225TqOhhBuJOx7jTja3SxF0s=; b=pAYdppIArH+SApDHTIvcVizr8NXEmOvYz/OswGCOG/4AfzpaSvaiUMuSiz0Km4IFKe QVwLADreNy95sd2qVvRJXpqo+flWcGLFJMmIkFNJHX8MLzZoy33azHm4Swtn/nl64xcK EkgiZq0cjXMpbsXk+YhkTeTaXIWjcEEUD7KIA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=Zmb/pHaXH0G+Z8MWKvmEWbV7WHxgH97nLZrOIBPmpQzbRfb5r+oLNEHCMNA/WMiTxr rig4DdQ1Tn3i6AkCPD6kHVvj7p5eUNRZ3Kyl4lL/Rp6yqAd3XqZH1qBxM5o4WHP2cmbG VM4XOD5M0dh+k+Scu3Ul63w6Sqm/hTAAAQgDY= Received: by 10.223.107.19 with SMTP id z19mr586618fao.27.1234745647950; Sun, 15 Feb 2009 16:54:07 -0800 (PST) Received: from snowmobile (92-235-187-79.cable.ubr18.sgyl.blueyonder.co.uk [92.235.187.79]) by mx.google.com with ESMTPS id o24sm30247697ugd.27.2009.02.15.16.54.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 15 Feb 2009 16:54:07 -0800 (PST) Date: Mon, 16 Feb 2009 00:53:36 +0000 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [RFC] DIGESTS metadata variable for cache validation Message-ID: <20090216005336.7685fc0a@snowmobile> In-Reply-To: <4998B7EC.7040101@gentoo.org> References: <498758E6.5080609@gentoo.org> <1234045916.24784.1373.camel@localhost> <498E17E6.8060407@gentoo.org> <49989C5E.3020307@gentoo.org> <20090215231527.3dbc2cb6@snowcone> <4998A4B4.4050802@gentoo.org> <20090215233033.3b534f54@snowcone> <4998ABA2.20908@gentoo.org> <20090216000636.1087b1c2@snowcone> <4998B7EC.7040101@gentoo.org> X-Mailer: Claws Mail 3.6.1 (GTK+ 2.14.7; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/ZTZ+c_Znq+6EdAd.ENzHuxn"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 84fad3c1-ab0a-4f22-b24a-2caf11357609 X-Archives-Hash: 7c858508dd6e192edf34d1a616f3c7cc --Sig_/ZTZ+c_Znq+6EdAd.ENzHuxn Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 15 Feb 2009 16:48:44 -0800 Zac Medico wrote: > > It only comes into its own if you expect there to be a long time > > between an EAPI being used in the tree and an EAPI being supported > > by a package manager. And even then, it's probably easier to just > > do a minor stable release straight away with rules for "don't know > > how to use this EAPI, but do know how to read metadata cache > > entries for it" whilst keeping new EAPI support for the next major > > release. >=20 > But how will it know if it supports those cache entries? Wouldn't > the easiest way to determine that be to have a DIGESTS version > identifier? Otherwise, the only way for it to know would be to parse > it and either throw a parse error if necessary or proceed all the > way to the digest verification step (if it doesn't hit a parse error > first). You just need to give your package manager a way of dealing with EAPIs where it can verify that DIGESTS is correct, but not make use of the ebuild in question beyond that. Rather than having supported and unsupported EAPIs, have supported, partially-understood and unsupported EAPIs. --=20 Ciaran McCreesh --Sig_/ZTZ+c_Znq+6EdAd.ENzHuxn Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) iEYEARECAAYFAkmYuRIACgkQ96zL6DUtXhFRTwCg2D/+bdCi5rpoGmbk2+SdIDFg qPkAn3Egetl1Vn8ILryd3RMXka5dE8wV =qViF -----END PGP SIGNATURE----- --Sig_/ZTZ+c_Znq+6EdAd.ENzHuxn--