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 2DAD113877A for ; Mon, 18 Aug 2014 15:11:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1DB2E091A; Mon, 18 Aug 2014 15:11:23 +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 BD152E0891 for ; Mon, 18 Aug 2014 15:11:22 +0000 (UTC) Received: from pomiot.lan (77-253-136-53.adsl.inetia.pl [77.253.136.53]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id D926433F7F8; Mon, 18 Aug 2014 15:11:20 +0000 (UTC) Date: Mon, 18 Aug 2014 17:11:56 +0200 From: =?ISO-8859-2?B?TWljaGGzIEfzcm55?= To: Chris Reffett Cc: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rfc: calling all eclass phase functions by default Message-ID: <20140818171156.182dd644@pomiot.lan> In-Reply-To: <53F1FE26.4030507@gentoo.org> References: <20140816215428.GA6773@linux1> <53F1BF3C.9060902@gentoo.org> <53F1EBE7.6090700@gentoo.org> <53F1EF49.9030503@gentoo.org> <53F1F1EB.6030601@gentoo.org> <53F1F467.80508@gentoo.org> <53F1F7E5.4000309@gentoo.org> <53F1FE26.4030507@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.24; x86_64-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-sha512; boundary="Sig_/koKY9zYDZsWgQ=Jr9LXCaES"; protocol="application/pgp-signature" X-Archives-Salt: 96385a18-b28d-4bb9-9bea-21023051c738 X-Archives-Hash: ab078d62389fe47f5b6442689aebefb1 --Sig_/koKY9zYDZsWgQ=Jr9LXCaES Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Dnia 2014-08-18, o godz. 09:22:46 Chris Reffett napisa=B3(a): > On 8/18/2014 8:56 AM, hasufell wrote: > > Almost forgot, of course this does not work if you expect > > unpacker_src_unpacker() to run: > > inherit unpacker games base > >=20 > > as well as > > inherit unpacker base games > >=20 > > however > > inherit games unpacker base > >=20 > > will work. > >=20 > > And now... guess why the games herd made it a policy to always inherit > > games.eclass last. Because of the unpredictability of eclasses and that > > they may randomly add exported phase functions. It's a bit paranoid, but > > understandable, since we don't have any real rules here. > >=20 > > So in the end 3 eclasses all tell you "inherit me last! really!". Good > > luck with figuring out how to make a gnome game with python and multilib > > support work together. I can predict the days such a review would take > > in #gentoo-sunrise. Not less than 3. > >=20 > Would it be feasible to add a repoman check for situations like this, > where the behavior of a phase is dependent on inherit order? If so, it > seems reasonable to me to require explicit calls to eclass functions in > these cases to make it clear what's being called when. Right now, we have no kind of repoman for eclasses. If you have time to work on such a thing, please do. Otherwise, all we can do is put more checks in ebuilds but that triggers the warning for the wrong people... --=20 Best regards, Micha=B3 G=F3rny --Sig_/koKY9zYDZsWgQ=Jr9LXCaES Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJT8hfBXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOo7YQAM2lyc0Zq9veNLMFNr165Uoi H0F/fD/7l0CoR3BwPIFGIf25/Hko/AFi6EnOAuvbY/o5l1XOvfhS1CbSt+HJDYB0 9hx6Aluuje7qPenS28sQcgJcsFkFAEMECPjOH9W4zdWGblozCb0JNKolbTht5gPj QYHemliXJTe9tmegvOiEvwKLyVWubp2xcVf3Bj71ErA8YKIqAs4ueuCTbc5hklAX tKEObp8TcN2ShQbTdlwzAbLRSwaEHTEDTF/X0AgWdW+ruTOvYfpS/Qitd7vhBimO uGHQxaVIrv7SbSW91BqXG0fCyH6IyJOp4U5/DW2XCTGYq+2jO6oikD4tZJt6xFOa HygdKwwWAqvQfVrv9EETVMdyDM2ShbtDDzbn55teB77V8b0Onm/mI02ehNPQI5PF UBHNZTOd7e1fg5fcyT8ZNDEhr0aZnk6QqKtweOnBmms/dVAjlqLnSYVP4D6TbZms VNcgdtH6UqkIM9Kat1C/8fSCgnRVX+KXY0h7woVknsS52DAeg/qANz4/z0axFbRZ TL9LJaQ4Uqn5AUMMtwNP6EKnvT3KGPG55XKrp2vVamY/3xF0+24nFqYrn+x+xJmw lypYaR3OZEgWKO8+zcVAmkPaaCWYgl4yZlKTXi36F/rsFo815TgiRDgHPaq0wFiD brJeO4YDNjez8maonXVN =90P5 -----END PGP SIGNATURE----- --Sig_/koKY9zYDZsWgQ=Jr9LXCaES--