From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PTdK4-0007M5-8J for garchives@archives.gentoo.org; Fri, 17 Dec 2010 16:38:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0837E068C; Fri, 17 Dec 2010 16:38:15 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id D1A92E0710 for ; Fri, 17 Dec 2010 16:37:44 +0000 (UTC) Received: by wyf22 with SMTP id 22so972511wyf.40 for ; Fri, 17 Dec 2010 08:37:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=Pngr/TRlNBKtA88Pj1xdry6KbYMLZu81vEc2grDKj40=; b=ebnWk6hlnnzA2eX7g1D8EysfjYQGdUbVWjoHF1rVwHZ5c5Vq5B5pHKzY/QaSzoankx JnlkWNqdVpMDnmbNGrDnKMJcyuvQ8LHuLbJK3P9AaQCLj3Gvsutb1h6mE7SvFkjtnbYU 38s7b4qPNRSo4nicv/+FB+Nl62yw6DMOnjIhU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=AB0dM0XgLDyVCgZZgkuT87LAZahRJoV9HfOKevVDHs8zBv31j/wwGaAVMWHul9zSX7 NnZ00w5ekH+ie03KYKIrw3W6K2PIFMNTAzr5RjyjePXGZknJBqrE6X1ocfmzM6SYl8Wf OakANq1Ud6ps3SZe/OJSi/PDm+/Zl9AGpGZM4= Received: by 10.227.179.77 with SMTP id bp13mr646970wbb.226.1292603863992; Fri, 17 Dec 2010 08:37:43 -0800 (PST) Received: from snowcone (cpc1-broo3-0-0-cust98.14-2.cable.virginmedia.com [86.4.208.99]) by mx.google.com with ESMTPS id 11sm389682wbi.18.2010.12.17.08.37.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 17 Dec 2010 08:37:43 -0800 (PST) Date: Fri, 17 Dec 2010 16:37:37 +0000 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] What are || ( ) dependencies? Message-ID: <20101217163737.18ecf413@snowcone> In-Reply-To: <4D0B8F59.6070700@gmx.de> References: <20101217152504.30ab8f1c@snowcone> <4D0B8F59.6070700@gmx.de> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; 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-SHA1; boundary="Sig_/9dGOakti96q/5Jui0vB9sfP"; protocol="application/pgp-signature" X-Archives-Salt: 0ead2ab5-1ac4-4fc4-847c-44c4a9aed9a1 X-Archives-Hash: cc16b9c90b94dd6ef895a7d06e5449be --Sig_/9dGOakti96q/5Jui0vB9sfP Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 17 Dec 2010 17:27:05 +0100 Sebastian Luther wrote: > Am 17.12.2010 16:25, schrieb Ciaran McCreesh: > > So would anyone be especially opposed to making "best leftmost" an > > explicit requirement, enforced by repoman where possible (at least > > for the >=3D / < case)? >=20 > Why can't the PM handle >=3D / < cases itself? Because things are almost never as simple as 'just' >=3D / <. You can add in clever trickery to deal with very specific cases, but the second someone throws things off by adding in a use dependency or a third package, things get weird. Consider a variation on the original case: || ( =3Da-2[x] ) where the user has specified -x for a. What should happen then? What about || ( =3Da-2 ) ? Should that be rewritten in the same way? What about || ( =3Da-2 b ) ) ? Should the package mangler be clever enough to figure that one out too? What if b isn't already installed there? Which is really the problem: clever heuristics get extremely complicated very quickly, and they're never enough. --=20 Ciaran McCreesh --Sig_/9dGOakti96q/5Jui0vB9sfP Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAk0LkdMACgkQ96zL6DUtXhFeYQCgoS1v6ZDvEHGnAKusCvg+lo8/ BzgAn1kkejJQJBXnLvshHoopAFHXZxal =/3vk -----END PGP SIGNATURE----- --Sig_/9dGOakti96q/5Jui0vB9sfP--