From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1ErH9J-0003ng-4L for garchives@archives.gentoo.org; Tue, 27 Dec 2005 15:54:05 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBRFotG8030556; Tue, 27 Dec 2005 15:50:55 GMT Received: from psmtp01.wxs.nl (psmtp01-real.wxs.nl [195.121.247.14]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBRFlOnK005165 for ; Tue, 27 Dec 2005 15:47:24 GMT Received: from pavlvs2.devrieze.net (ip5457f303.direct-adsl.nl [84.87.243.3]) by psmtp01.wxs.nl (8.12.10/8.12.10) with ESMTP id jBRFmukh006676 for ; Tue, 27 Dec 2005 16:48:56 +0100 Received: from hex.local.devrieze.net (hex.local.devrieze.net [192.168.1.7]) by pavlvs2.devrieze.net (Postfix) with ESMTP id DC51A1004C for ; Tue, 27 Dec 2005 16:48:55 +0100 (CET) From: Paul de Vrieze To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Multiple Repo Support Date: Tue, 27 Dec 2005 16:48:55 +0100 User-Agent: KMail/1.9 References: <43A235AD.6030604@leetworks.com> <200512262109.39704.carlo@gentoo.org> <20051226202833.4c5fe9f9@snowdrop.home> In-Reply-To: <20051226202833.4c5fe9f9@snowdrop.home> X-Face: #Lb+'V@sGJ;ptgo5}V"W+5OCoo{LZv;bh,s,`WKLi/J)ed1_$0;6X<=?utf-8?q?700LVV/=3BLqPhiDP=5E=0A=09=27f=5Dfnv?=@%6M8\'HR1t=aFx;ePfp{ZQoBe+e)JOQ8T5*(_;mHY+cltLGq<;@$Y,=?utf-8?q?O=5C=24=0A=09Tm=23G6M?=,g![Q62J{na*S9d;R[^8pc%u\aiLqU@`kJtYl"^6pxdW Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1185442.GNC5zOogX0"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200512271648.55694.pauldv@gentoo.org> X-Archives-Salt: 88c64f12-9591-42d8-94f8-b60bd6337522 X-Archives-Hash: cd1b834774a85aa84862d4d3685551f2 --nextPart1185442.GNC5zOogX0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 26 December 2005 21:28, Ciaran McCreesh wrote: > On Mon, 26 Dec 2005 21:09:31 +0100 Carsten Lohrke > Well, any library that changes ABI should use a different SLOT for each > revision. So SLOT depends should be able to replace the need for =3D and > ~ and < and <=3D dependencies entirely. Which is a good thing, since > those atoms make dependency resolution a general-case unsolvable > problem. Well, it shouldn't be unsolvable. Choosing can be done with the following=20 process: =2D Get the list of packages with the requested name. =2D Sort the list from the newest version, to the oldest. =2D Iterate over the packages: - Apply all restrictions on the package (including exclusions). If the package satisfies all, test it's dependencies recursively. - If all dependencies match, this package matches the dependency. Conti= nue with the next depend atom. - If no match, iterate the next package. Paul =2D-=20 Paul de Vrieze Gentoo Developer Mail: pauldv@gentoo.org Homepage: http://www.devrieze.net --nextPart1185442.GNC5zOogX0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux) iD8DBQBDsWJnbKx5DBjWFdsRAn9CAJ4vWgj0mBo9hPEz+pEEB6izZNMPqQCeM8FJ aHH/Kiuz2HicZJhmO06Mf8g= =NnZv -----END PGP SIGNATURE----- --nextPart1185442.GNC5zOogX0-- -- gentoo-dev@gentoo.org mailing list