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 1FJCWC-0005Sk-Mz for garchives@archives.gentoo.org; Tue, 14 Mar 2006 16:37:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with SMTP id k2EGZkOP008898; Tue, 14 Mar 2006 16:35:46 GMT Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.198]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with ESMTP id k2EGZkHW001606 for <gentoo-portage-dev@lists.gentoo.org>; Tue, 14 Mar 2006 16:35:46 GMT Received: by nproxy.gmail.com with SMTP id y25so1119808nfb for <gentoo-portage-dev@lists.gentoo.org>; Tue, 14 Mar 2006 08:35:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QtP3ImGmfuYEFAuaqutmKBiLwYhapQazjKC6QPSMfLnV8y5XYH6HSr7C0U8x42IJeQwXABKQjv9H6XqpaZJm09e1MsPWksIGrWmb0FbRRZsnWLWTUgICjGcrrW7j1GG73EFpIpCGbc8TB+GPdYP3hxxUNJTXUVPR5EErOFxSWs4= Received: by 10.48.108.20 with SMTP id g20mr1723093nfc; Tue, 14 Mar 2006 08:35:45 -0800 (PST) Received: by 10.49.29.4 with HTTP; Tue, 14 Mar 2006 08:35:45 -0800 (PST) Message-ID: <cea53e3c0603140835q7c3c14cfr@mail.gmail.com> Date: Tue, 14 Mar 2006 18:35:45 +0200 From: tvali <qtvali@gmail.com> To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] Few things, which imho would make portage better In-Reply-To: <1142349507.27828.32.camel@onyx> Precedence: bulk List-Post: <mailto:gentoo-portage-dev@lists.gentoo.org> List-Help: <mailto:gentoo-portage-dev+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-portage-dev+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-portage-dev+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-portage-dev.gentoo.org> X-BeenThere: gentoo-portage-dev@gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <cea53e3c0603140302g4df4c72cp@mail.gmail.com> <4416A4C1.6090903@gentoo.org> <cea53e3c0603140324k691219cbo@mail.gmail.com> <cea53e3c0603140353o7f85f16bx@mail.gmail.com> <4416CA3A.5000008@gentoo.org> <1142349507.27828.32.camel@onyx> X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k2EGZkHW001606 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k2EGZkPh008898 X-Archives-Salt: 39360bbd-9268-476a-9627-c8cd0090ecdb X-Archives-Hash: 39e0ae8fcafa5b14d5e164036abd773a 2006/3/14, solar <solar@gentoo.org>: > On Tue, 2006-03-14 at 15:50 +0200, Marius Mauch wrote: > > Heh, make the dep resolver even more complex ;) > > Also don't really see a need for such a feature, pretty much no benef= it > > with a lot of additional complexity. > > agreed. Ok, but if making it layered (several "layers" or passes). To explain my thought about how they should be sorted: Layer 1 would calculate real dependencies of packages -- using current use flags. Those dependencies would also be saved into portage tree after calculating (--newuse would update them). Layer 2 would be used to make a list of all packages, which would be installed right now -- this happens when some emerge or pretend is being done. Layer 3 would only use those calculated dependencies and ready-selected list of packages and sort them. One possible sort would look like that: * Packages, which have given importance, will have this importance forever -- it will be written to world. * When sorting packages, only those, which are directly in world, will be considered -- dependancies are installed as late as possible. It should be enough: 1. Make list 2. Add all packages, starting with those, which have higher priority 3. Add their dependencies, trying to put any of them right before the first package, which needs them (more advanced sorting would use also default priorities of dependancies -- putting them before first package, which needs them, and after last package, which has bigger importance than this first package) Any other sort optimizations would be unnessecary as user can just use right priority numbers to get everything ok with this type of sorting. Sorting is good especially when user makes a long list of packages and then starts to emerge them at once. In my case i did install gentoo only at daytime, having my computer off at nights (as i dont like it's sound in my room when i sleep). It took several days -- and i started to use it right after getting it up; i started also using kde right after it included kicker, konqueror and konsole. I wanted to install graphics, toys and other such things as last thing. And i didnt want to make pauses between emerges, but had, because i wasnt always there, when one emerge was finished (as they took hours). -- tvali (e-mail: "qtvali@gmail.com"; msn: "qtvali@gmail.com"; icq: "317-492-912") =DChe eesti internetifirma lehel kohtasin tsitaati: If you don't do it excellently, dont do it at all. Because if it's not excellent, it won't be profitable or fun, and if you're not in business for fun or profit, what the hell are you doing here? Robert Townsend --=20 gentoo-portage-dev@gentoo.org mailing list