From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4226E158094 for ; Sat, 16 Jul 2022 19:35:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F1F2E0E7C; Sat, 16 Jul 2022 19:35:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DEDA6E0E68 for ; Sat, 16 Jul 2022 19:35:49 +0000 (UTC) Received: (nullmailer pid 19741 invoked by uid 1000); Sat, 16 Jul 2022 19:35:46 -0000 Date: Sat, 16 Jul 2022 14:35:46 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Proposal to undeprecate EGO_SUM Message-ID: Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20220613074411.341909-1-flow@gentoo.org> <1a712a66f55e241ce6b6084eb19e1f34@sinustrom.info> <20585037-1d3c-2b2d-90a3-b9ab74fa78aa@gentoo.org> <1d2db3c2-e002-4f47-ba6e-f1927a2622d8@gentoo.org> <17acb60d-4f13-fad9-702c-64cad71a3c05@gentoo.org> 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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Yvj1k7axRuMv/ez2" Content-Disposition: inline In-Reply-To: X-Archives-Salt: 69af33ee-8c5f-40be-bfeb-ab2b2e7fa83a X-Archives-Hash: 39fb86711d2b11160eda573d1e7413a4 --Yvj1k7axRuMv/ez2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 16, 2022 at 06:46:40PM +0000, Robin H. Johnson wrote: > On Sat, Jul 16, 2022 at 09:31:35PM +0300, Arthur Zamarin wrote: > > I want to give another option. Both ways are allowed by eclass, but by > > QA policy (or some other decision), it is prohibited to use EGO_SUM in > > main ::gentoo tree. > >=20 > > As a result, overlays and ::guru can use the EGO_SUM or dist distfile > > (remember, they don't have access to hosting on dev.g.o). > Yes; this is the option I was trying to propose as an intermediate step > until we have indirect Manifests that provide the best of both worlds > (not bloating the tree, and not requiring creation of dep tarballs). I could force this in the eclass with the following flow if I know how to tell if the ebuild inheriting it is in the main tree or not: # in_main_tree is a place holder for a test to see if the ebuld running # this is in the tree if [[ -n ${EGO_SUM} && in_main_tree ]]; then eqawarn "EGO_SUM is not allowed in the main tree" eqawarn "This will become a fatal error in the future" fi The only question is, is there a way to reliably tell whether or not we are in the main tree? William --Yvj1k7axRuMv/ez2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQTVeuxEZo4uUHOkQAluVBb0MMRlOAUCYtMTDQAKCRBuVBb0MMRl OAu5AJ94RV59VMvvj1tAqiyH9CyekCz3jACeI+WoSs0z/cvM1mSYQDIsxQsDt1s= =Vvz1 -----END PGP SIGNATURE----- --Yvj1k7axRuMv/ez2--