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 1EnJo0-00004I-DY for garchives@archives.gentoo.org; Fri, 16 Dec 2005 17:55:44 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBGHsfl3022296; Fri, 16 Dec 2005 17:54:41 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBGHqlq6019665 for ; Fri, 16 Dec 2005 17:52:47 GMT Received: from 82-41-57-20.cable.ubr08.edin.blueyonder.co.uk ([82.41.57.20] helo=snowdrop.home) by smtp.gentoo.org with esmtpa (Exim 4.54) id 1EnJl8-0007Jk-L4 for gentoo-dev@lists.gentoo.org; Fri, 16 Dec 2005 17:52:46 +0000 Received: from localhost.home ([127.0.0.1] helo=snowdrop.home) by snowdrop.home with esmtp (Exim 4.54) id 1EnJl3-0008Ck-SP for gentoo-dev@lists.gentoo.org; Fri, 16 Dec 2005 17:52:41 +0000 Date: Fri, 16 Dec 2005 17:52:39 +0000 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Multiple Repo Support Message-ID: <20051216175239.22db36ef@snowdrop.home> In-Reply-To: <200512170019.42011.jstubbs@gentoo.org> References: <43A235AD.6030604@leetworks.com> <20051216054509.469b7d95@snowdrop.home> <43A25764.4020900@egr.msu.edu> <200512170019.42011.jstubbs@gentoo.org> X-Mailer: Sylpheed-Claws 2.0.0-rc1 (GTK+ 2.8.9; i686-pc-linux-gnu) 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="Sig_1N5Fn6oJMiG/q_Wv/.gEle."; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 67e00e32-6b8c-497c-a5cc-1cda7fb41532 X-Archives-Hash: 02b3337901ad369b96807f52590145ad --Sig_1N5Fn6oJMiG/q_Wv/.gEle. Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 17 Dec 2005 00:19:41 +0900 Jason Stubbs wrote: | > DEPEND=3D">=3Dfoo-bar/baz-2.1::ciaranmssekritrepo" | > | > which would add a restriction that only packages in | > ciaranmssekritrepo would be considered. This only works if the | > repository knows its own identifier, however... |=20 | I don't see the need for this. Resolution will the same repository to | satisfy a package's dependencies where possible. If you just want to | be able to state that a package from one repository needs packages | from a different repository, wouldn't something like | REPO_URI=3D"mirror://gentoo/repo" suffice just as well without making a | mess of the atom syntax? Yick. Consider the following use case (picking Vim because I know the package and can think of an easy, clear example): Fred builds a repository containing some Vim plugins that aren't in the main tree. Fred lets other people use this repository. Then, Fred tries to make an ebuild that needs Vim built with tclinterp enabled. Problem! The Gentoo ebuilds don't turn on (even via USE) tclinterp. So, Fred creates his own Vim ebuilds that do support tclinterp. Now he needs some way to DEPEND upon "my Vim ebuilds, not the Gentoo ones". Now consider the following use case for why "if a package is already installed, try to restrict future installs to packages from that repository" is less than ideal: A collection of bleeding edge users creates a repository containing updated ebuilds for unstable Gnome 2.30_alpha releases. Various people use this repository. Then, the official Gentoo ebuilds for Gnome 2.30 stable are released, and the bleeding edge users don't update their repository. Users who were previously using the 2.30_alpha ebuilds will be stuck with them. So, default behaviour should be "pick from any repository", but it should be as easy as reasonably possible for both ebuilds and users to specify a repository restriction where necessary or desired. --=20 Ciaran McCreesh : Gentoo Developer (I can kill you with my brain) Mail : ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm --Sig_1N5Fn6oJMiG/q_Wv/.gEle. Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDov7p96zL6DUtXhERAslFAJwLefFO8tC6FCuB2pV1DY04DFcNLgCgjxsz onTQ/aZZWPuPZ8aLnE64YEo= =2iZz -----END PGP SIGNATURE----- --Sig_1N5Fn6oJMiG/q_Wv/.gEle.-- -- gentoo-dev@gentoo.org mailing list