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 5B129139694 for ; Fri, 9 Jun 2017 12:42:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B038E0C75; Fri, 9 Jun 2017 12:42:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 33A32E0C5A for ; Fri, 9 Jun 2017 12:42:24 +0000 (UTC) Received: from pomiot (d202-252.icpnet.pl [109.173.202.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id D49EC341B48; Fri, 9 Jun 2017 12:42:22 +0000 (UTC) Message-ID: <1497012138.25475.1.camel@gentoo.org> Subject: Re: [gentoo-dev] [RFC] Forced/automatic USE flag constraints (codename: ENFORCED_USE) From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Fri, 09 Jun 2017 14:42:18 +0200 In-Reply-To: References: <1496071993.31087.1.camel@gentoo.org> Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-++cknJrvTfwVkY0UUSPB" X-Mailer: Evolution 3.22.6 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 X-Archives-Salt: 27b217ed-fdb6-44cd-bdba-a19652964e01 X-Archives-Hash: 1aa06b00b05609e5c5b7afd96b17501c --=-++cknJrvTfwVkY0UUSPB Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On pi=C4=85, 2017-06-09 at 14:35 +0200, Jason A. Donenfeld wrote: > On Mon, May 29, 2017 at 5:33 PM, Micha=C5=82 G=C3=B3rny wrote: > >=20 > > Secondly, it might be reasonable to provide configurable priorities for > > solving multi-flag constraints. For example, we could use rightmost- > > preferred logic for package.use, e.g.: > >=20 > > */* PROVIDER_SSL: openssl gnutls > > dev-util/foo PROVIDER_SSL: polarssl > >=20 > > which would mean that for all packages, gnutls is preferred over openss= l > > (i.e. if ?? or ^^ applies, openssl will be disabled and gnutls will be > > used), and polarssl is additionally preferred over everything else for > > dev-util/foo. >=20 > Please, leftmost instead of rightmost? How about the following: dev-util/xxx foo dev-util/xxx bar should foo or bar be preferred? Leftmost may seem logical at first but when you have to deal with multiple entries and stacking, it occurs to you that latter entries usually override the former. --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-++cknJrvTfwVkY0UUSPB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQKmBAABCgCQFiEEbbsHzE8NrQbqCv5BsHoa6u+0Rk4FAlk6l6pfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDZE QkIwN0NDNEYwREFEMDZFQTBBRkU0MUIwN0ExQUVBRUZCNDQ2NEUSHG1nb3JueUBn ZW50b28ub3JnAAoJELB6GurvtEZO4JQP/REjkc8NJoJg7NxEy/u6HqoJ8rTnskS/ rGF6HlijAdOLnJ3m2NUAhMecyhLQ86luNuCpvkBOTx/mytJwjfndvZK7uqw0kKLJ b9iq7U+/85NG7hbtC+ti30EZktm8ZoGgjo09xJy6MCA0mX/veTluLBbM2rxRtcZs pIjTkKGyPGxXehdCUE3t3X6kuPwgMbhkAZcf7grQbTmFJYkwg6P4v4J07CBeWDL3 pc8tr3Q2S6TuFgVYCrTDxGTKyzJQL7ysZACCt0c59Y/TA/PknNzZnkzVGMsVoiMt Xd+shnjacMgq94X4QQfby8Ego9x37vlU7mb3KWfnU12RwhdZGj9UiEEgImI5GjLj IOFkWxI/saNxlTwNSgmKHAaXpsXoE7uofNiig1afGfTFULxMF6OrMIWT+n6AWGxK 1LMd4TV3UeOFYeALkPNy+ZnWs6CkbHkbf3M3t9nbjk9ho0wERq+UFMpWmMtIvFMv jMj058ArwVAu5zMobrHxnI+ygiS01uCz+ypQpkrxRySJZV9eG1gGQriLqjkV5RQi fRVzS55nyihfC/dGeR5NR95+lXcz9EX7HRTuGSA3CANbdx6eY7aX/ctl/mOllhNY 49ykeXrPW2G8dwnDpFuN2d5i/q33YERTkVe8zvPIe4stNnRiRZrCwKMzy+tonx/t i762GyZr3Vo9 =LpuV -----END PGP SIGNATURE----- --=-++cknJrvTfwVkY0UUSPB--