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 3DB02139694 for ; Tue, 21 Mar 2017 09:43:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A64E21C127; Tue, 21 Mar 2017 09:43:13 +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 1BFE021C10A for ; Tue, 21 Mar 2017 09:43:13 +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 7849333D3C7 for ; Tue, 21 Mar 2017 09:43:11 +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> To: gentoo-dev@lists.gentoo.org From: Kristian Fiskerstrand Message-ID: <7184c930-7608-bd34-55b6-d97e00f39402@gentoo.org> Date: Tue, 21 Mar 2017 10:41:58 +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: <20170321101732.752c546d@gentoo.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="borHNw3V8gPrjTEtsDRjeoqhF96EU6Mh2" X-Archives-Salt: e8a1e697-8f30-4b69-9506-b1a9902220ad X-Archives-Hash: 0b1b489791b651a2bb3e2bf9ac93335f This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --borHNw3V8gPrjTEtsDRjeoqhF96EU6Mh2 Content-Type: multipart/mixed; boundary="mNpEUBikU8M0FCab420BaHeuGER2WltS6" From: Kristian Fiskerstrand Reply-To: k_f@gentoo.org To: gentoo-dev@lists.gentoo.org Message-ID: <7184c930-7608-bd34-55b6-d97e00f39402@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> In-Reply-To: <20170321101732.752c546d@gentoo.org> --mNpEUBikU8M0FCab420BaHeuGER2WltS6 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 03/21/2017 10:17 AM, Alexis Ballier wrote: > On Tue, 21 Mar 2017 09:43:37 +0100 > Kristian Fiskerstrand wrote: > (up to discussion ofc) >=20 > Pros for eblits vs the above eclasses: > - Let eclass/, which is a toplevel directory, be a place for code > useful to several packages, not a random dump of whatever people want= > to share between ebuilds of the same package (yes, I'm looking at > you toolchain or apache2.eclass :) ). > - Eblits being in package directory, repoman checks can be extended to > look there. > - Have a guarantee that eblits are specific to a single package and > cannot "leak" to others by mistake: It greatly simplifies changing > and updating them. > - Eblits can be versionned, just the same as ebuilds or eclasses, but > old versions have a life expectancy more of the order of an ebuild > than that of an eclass. "Newborn" eblits would be expected to be > much more frequent than eclasses but less frequent than ebuilds. > - Eblits being per-package they'd obey to package rules, not eclass > rules wrt additions, removals, api-preservation, etc. This would be a policy question more than a technical one; we could decide e.g on a package-namespace[a] for eclasses following similar laxer rules[b]. >=20 > Cons: > - Need a new, somewhat redundant, mechanism. > - Can be done without new EAPI but is then restricted to src_* phases. > - Very few consumers at the moment (though, considering the current > crusade that's not really a relevant metric to me). >=20 Endnotes: [a] without changing any PMS (since review requirement is gentoo specific) it could be done by namespacing using hyphen or whatnot instead of separate directory. [b] to the extent more review isn't becoming the de-facto way forwards for all ebuilds anyways (we'd need better tooling) --=20 Kristian Fiskerstrand OpenPGP keyblock reachable at hkp://pool.sks-keyservers.net fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3 --mNpEUBikU8M0FCab420BaHeuGER2WltS6-- --borHNw3V8gPrjTEtsDRjeoqhF96EU6Mh2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEtOrRIMf4mkrqRycHJQt6/tY3nYUFAljQ9WcACgkQJQt6/tY3 nYWy+gf8CY8Z6rOxwS7MjahfvGnenJYCoihYSQQ/gpVPYuwlzcKD7KWvxZo5Sowh 8dVdvlXMoIlwjJg9PlHuu6ty8EYGYdh9oJWpKHvplOOpnuW+Rq9L7uS7x0EwN+M8 XCO0UdjFr27tFqxx1D3I2wlwczD5tRDsjlOwXKdSMMhvRsqbzBmbKNXPz+9PfS0V mnIj9Ghd3x77zSISEUtln1h0DQR+JhXE6WvlAEZ6FIu10/n346FshaVfNnnCCegC vPBaDTeG/abBoe6zVFtQz5/bUxAfUt69k8L5tEA7I/qalQtMhKW4hhoCUOsv3haB 5qRGxWm3jv1GQMffI5o1ICIrsM0ftQ== =iqdL -----END PGP SIGNATURE----- --borHNw3V8gPrjTEtsDRjeoqhF96EU6Mh2--