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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4AAA4139694 for ; Tue, 21 Mar 2017 10:17:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78554E0CD5; Tue, 21 Mar 2017 10:17:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 171FAE0CCD for ; Tue, 21 Mar 2017 10:17:49 +0000 (UTC) Received: from [10.100.0.22] (host-37-191-236-118.lynet.no [37.191.236.118]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: k_f) by smtp.gentoo.org (Postfix) with ESMTPSA id DAC42340AC7 for ; Tue, 21 Mar 2017 10:17:48 +0000 (UTC) Subject: Re: [gentoo-dev] Re: [PATCH] sys-devel/autoconf: Convert from eblits into an eclass, #586424 References: <20170316093806.31977-1-mgorny@gentoo.org> <20170320083544.GZ24205@vapier> <22735.42420.523393.768428@a1i15.kph.uni-mainz.de> <20170320121937.7fc31770@gentoo.org> <22735.58203.928628.654288@a1i15.kph.uni-mainz.de> <20170320180140.66dbef67@gentoo.org> <22736.11456.309687.967555@a1i15.kph.uni-mainz.de> <89c42e1b-2599-2303-63f1-071b2d17bac1@gentoo.org> <263d36db-1a1f-3570-951c-de3312756ed0@gentoo.org> <20170321101732.752c546d@gentoo.org> <7184c930-7608-bd34-55b6-d97e00f39402@gentoo.org> <20170321110044.39bfc1bf@gentoo.org> To: gentoo-dev@lists.gentoo.org From: Kristian Fiskerstrand Message-ID: <9ba3ebeb-5a3a-17d7-7a78-a56f36c39ba1@gentoo.org> Date: Tue, 21 Mar 2017 11:16:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 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 In-Reply-To: <20170321110044.39bfc1bf@gentoo.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="THmMV2TF4Rk6L9KVqsFmO48Fej3qx8bie" X-Archives-Salt: 3c2ebb74-509d-4752-bba7-4bac5d865342 X-Archives-Hash: 2baf3c191d89a70237af0c9847b837bb This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --THmMV2TF4Rk6L9KVqsFmO48Fej3qx8bie Content-Type: multipart/mixed; boundary="wuvcVj1r36AJoFd39wQDtmljuxOT6NI1W" From: Kristian Fiskerstrand Reply-To: k_f@gentoo.org To: gentoo-dev@lists.gentoo.org Message-ID: <9ba3ebeb-5a3a-17d7-7a78-a56f36c39ba1@gentoo.org> Subject: Re: [gentoo-dev] Re: [PATCH] sys-devel/autoconf: Convert from eblits into an eclass, #586424 References: <20170316093806.31977-1-mgorny@gentoo.org> <20170320083544.GZ24205@vapier> <22735.42420.523393.768428@a1i15.kph.uni-mainz.de> <20170320121937.7fc31770@gentoo.org> <22735.58203.928628.654288@a1i15.kph.uni-mainz.de> <20170320180140.66dbef67@gentoo.org> <22736.11456.309687.967555@a1i15.kph.uni-mainz.de> <89c42e1b-2599-2303-63f1-071b2d17bac1@gentoo.org> <263d36db-1a1f-3570-951c-de3312756ed0@gentoo.org> <20170321101732.752c546d@gentoo.org> <7184c930-7608-bd34-55b6-d97e00f39402@gentoo.org> <20170321110044.39bfc1bf@gentoo.org> In-Reply-To: <20170321110044.39bfc1bf@gentoo.org> --wuvcVj1r36AJoFd39wQDtmljuxOT6NI1W Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 03/21/2017 11:00 AM, Alexis Ballier wrote: > On Tue, 21 Mar 2017 10:41:58 +0100 > Kristian Fiskerstrand wrote: >=20 > yes, that's the naming i suggested in the part you cut :) Indeed >=20 > but then you'd need boilerplate duplicated code to ensure nothing but > the dedicated package can use that, and still, this doesn't rule out Or just a policy, technical solutions isn't needed for everything, and it'd make it explicit that should not be depended on by others so can't complain about breakages etc. > overlays: you can atomically change cat/pkg/*.ebuild, cat-pkg.eclass, > but then an overlay with cat/pkg and ::gentoo as master will break if > it didn't copy cat-pkg.eclass. >=20 > with eblits in e.g. $FILESDIR, $FILESDIR points to the overlay's > location so it is clear that changing it in ::gentoo wont affect the > overlay. > (that's probably something to add to the 'pros' section too actually) >=20 Interesting.. > I'm one of those that believe "if you exposed an API, then it becomes > public and you have to maintain that properly; no matter if there are > obvious consumers or not, since the possibility exists you have to > account for that", which is what happens with every eclass wrt overlays= =2E >=20 Depends on the stated policies, but in general I agree it is a good approach to plan like it is (and quite useful to ensure planning a bit instead of just rolling something out). --=20 Kristian Fiskerstrand OpenPGP keyblock reachable at hkp://pool.sks-keyservers.net fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3 --wuvcVj1r36AJoFd39wQDtmljuxOT6NI1W-- --THmMV2TF4Rk6L9KVqsFmO48Fej3qx8bie Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEtOrRIMf4mkrqRycHJQt6/tY3nYUFAljQ/YQACgkQJQt6/tY3 nYXafQf/d940XBDZ6FYxUxUQQErQ0eotfhI5w0AQvR97pS/dThE12rtuslYB3NNz HwR6g+jGjbgxFHFu3ltZVUsLaKGu1pFgyB/BGnCN8Ww8cQgp+5tq+KvMoCYNAxZS opFHEtp8vgmRpNOoUV+il3SYS1qZpiJ3CCeyiix6WGSgpXzd0ZUyxeLeihj5OsSn ILvOewfBO/Gf28DINJM/m9d4SUAUdf3cbXTIpx+FkOBslvkzSQqx1ejw8ITShDxy Qre9k9ClCxL8i+UXwkgMQrGTHlRQMv0gYJu20YIAz6oXdqtmbQ0mry/9AfOtlBOp 08YpZlBBCPTlxvCshSvYLaJWZQAY2Q== =vBZT -----END PGP SIGNATURE----- --THmMV2TF4Rk6L9KVqsFmO48Fej3qx8bie--