From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1O32EI-0004XR-Td for garchives@archives.gentoo.org; Sat, 17 Apr 2010 07:14:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 832BDE091A; Sat, 17 Apr 2010 07:14:10 +0000 (UTC) Received: from mail-ww0-f67.google.com (mail-ww0-f67.google.com [74.125.82.67]) by pigeon.gentoo.org (Postfix) with ESMTP id DE946E08FB for ; Sat, 17 Apr 2010 07:13:53 +0000 (UTC) Received: by wwa36 with SMTP id 36so269244wwa.10 for ; Sat, 17 Apr 2010 00:13:53 -0700 (PDT) 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=zGcBSqU3gDZCQAPjm9UHvrcn4+hsKBQLiwP+O5ijHg0=; b=vcTsC6HqVUVq/Ufn6WaJXX3WJSG9+FooWRxYRKd3rup6MKO4nJoujVDa06TBipDyjh nfjhIafbgFJTvw68+b1YHqVR3TbjXUnKVuIa4gAgvmaye6mj9WeEbC7MnT45XSQJQGPc oejFBZUzvcWXBh6FOvQo5ZXu+Kw0kvpjGLtXE= 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=vDTrtuZwGAN4zWn1XUm54ClNgvB6xoLJXf3tfn9dpnLunVM2yubg0yWLtPdS/IKAe3 R4rIHVV1AsRk5891cIUXLIyaO16FjfG4IAOU8uavlOTq8qGbcm+Z7GzbiUyUqmH2i6Jl F4sraIdstVm2msHfEH0EHgVLnPUUqeDdhnvZU= Received: by 10.216.178.207 with SMTP id f57mr1479021wem.88.1271488433090; Sat, 17 Apr 2010 00:13:53 -0700 (PDT) Received: from snowmobile ([92.29.234.38]) by mx.google.com with ESMTPS id z34sm27783828wbv.14.2010.04.17.00.13.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 17 Apr 2010 00:13:52 -0700 (PDT) Date: Sat, 17 Apr 2010 08:13:41 +0100 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] perl eclass review - EAPI=3 + new helper eclass Message-ID: <20100417081341.0c117967@snowmobile> In-Reply-To: References: <20100330111154.GA28735@veller.net> <4BB536DC.8090405@gentoo.org> <4BBB7FDE.7090306@gentoo.org> <4BC3A301.3040400@gentoo.org> <20100416212806.7bc6b307@snowmobile> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.18.5; 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; micalg=PGP-SHA1; boundary="Sig_/rd5i7uo0nqJ/7AEgF/Jg.WQ"; protocol="application/pgp-signature" X-Archives-Salt: 0ffa29f3-0e4e-4ddd-8f43-6a9fb0d5e076 X-Archives-Hash: 0cec6fed6573a848dd663b239569e3b0 --Sig_/rd5i7uo0nqJ/7AEgF/Jg.WQ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 16 Apr 2010 22:30:46 -0500 Steev Klimaszewski wrote: > On Fri, Apr 16, 2010 at 3:28 PM, Ciaran McCreesh > wrote: > > On Fri, 16 Apr 2010 16:23:48 -0400 > > James Cloos wrote: > >> OK. =C2=A0Let me rephrase. =C2=A0Portage does not need to validate loc= al > >> changes. > > > > Sure it does. If it doesn't, and your local changes affect metadata, > > horrible things happen. >=20 > Why not check the mtime on the overlay, if it is older than last sync > time, not invalid. Because it can still be invalid if you do that. If you're using a repo with pregenerated cache with an eclass from a different repo than the one used do the pregenerating, the pregenerated cache is always invalid. > >> If a user uses a local eclass to override one in portage or in some > >> remote overlay s/he follows, it is his/er responsibility to update > >> it when the original undergoes major renovation. > > > > Users aren't responsible... >=20 > And doing everything we can to make them not be isn't going to teach > them anything. Which is why you design a system that just gets things right, rather than one that relies upon users getting things right. --=20 Ciaran McCreesh --Sig_/rd5i7uo0nqJ/7AEgF/Jg.WQ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAkvJX6gACgkQ96zL6DUtXhHd6wCgiOUhLdMzdiQBph/tgY+JK9e7 A0UAoN4N1FjAblr979jxi0PjGYcwqX/x =h1G9 -----END PGP SIGNATURE----- --Sig_/rd5i7uo0nqJ/7AEgF/Jg.WQ--