I did think about some priorities too, so that it could be perfect for me.<br> <br> It should be possible to add package with a priority. I will give you an use case and explanation how i would use portage.<br> <br> emerge --justadd kdebase-meta kicker --priority 10<br> emerge --justadd kdenetwork-meta kdeutils-meta kdeadmin-meta --priority 9<br> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">emerge --justadd kdeedu-meta kdetoys-meta kdegames-meta kdeartwork-meta --priority 1<br> emerge --justadd koffice-meta kdegraphics-meta kdemultimedia-meta --priority 5<br> emerge --justadd kdewebdev-meta kdevelop htmltidy kompare cervisia --priority 7<br> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="Generator" content="Kate, the KDE Advanced Text Editor">emerge --justadd kdepim-meta --priority 3<br> emerge --justadd kdeaddons-meta kde-meta --priority 20<br> emerge --changepriority kdeaddons-meta kde-meta --priority 0<br> <br> Now, when i run emerge --update, it should:<br> <br> * Sort packages in such order that packages with highest priority would be installed as soon as possible<br> * Start installing<br> * If something goes wrong, then skip this package and all, which depend on it. This should be optional, if those, which dont depend on it, but are needed by same package, will stay in their positions (go to end of same priority packages) or go to end.<br> <br> When i need to use my computer and need much resources, i will press ctrl-c, use it, then start (continue) emerge --update.<br> <br> <div><span class="gmail_quote">2006/3/14, tvali <<a href="mailto:qtvali@gmail.com">qtvali@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> 2006/3/14, Simon Stelling <<a href="mailto:blubb@gentoo.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">blubb@gentoo.org</a>>:<div><span class="q"><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> tvali wrote:<br>> * Add package to "world" checking all dependencies, but not emerging<br>> * Remove package from "world" without unmerging<br><br>Uhm, why would you want that?<br> </blockquote></span><div><br> On my computer, building takes several hours on some packages. I have used it in such way that it builds in several windows on the same time, but i guess that that's not at all the best practice, especially with some combinations of packages. So i would like to add all packages, seeing all blocks and inter dependencies, then start building when ready (and go out of home, when it builds, and be sure that it will do it's best when i'm away).<br> <br> </div><span class="q"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> * Save all important messages into file instead of beeping (i may be away <br>> from home); optionally replay them at end of update <br><br>elog can do this.</blockquote></span><div><br> Will check out.<br> <br> </div><span class="q"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> * When updating or installing new package, if something goes wrong, still <br>> emerge other packages, which havent failed packages as dependencies -- in my <br>> case, for example, when i do --update, for example, then the fact that<br>> update of first package fails does not definitely mean that i dont want to<br>> update others<br><br>--resume</blockquote></span> <div><br> I know --resume, but that's not what i meant.<br> <br> Imagine the situation:<br> emerge -p package1 package2<br> <br> part1 (needed by package1)<br> part2 (needed by part3)<br> part3 (needed by package2)<br> part4 (needed by package2)<br> part5 (needed by both package1 and package2)<br> package1<br> package2<br> </div><br> now i start "emerge package1 package2" and go to work (or sleep or party or sauna).<br> <br> part2 fails -- some bug or misconfiguration.<br> <br> currently it means that when i came back home, i see that part1 is built, but nothing more and 4-5 hours are actually just wasted.<br> <br> There should be a way to have all those built when i came home:<br> <br> part1 (needed by package1)<br> part4 (needed by package2)<br> part5 (needed by both package1 and package2)<br> package1<br> <br> There should be an error message listing all others. Also, i would add them to world and then emerge so that --update would try to emerge them again, asking me about all previously failed packages when i start it, if i want to retry this time (yes, no, all, none).<br> <br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">--<span class="q"><br>Kind Regards,<br><br>Simon Stelling<br>Gentoo/AMD64 Developer<br> --<br><a href="mailto:gentoo-portage-dev@gentoo.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> gentoo-portage-dev@gentoo.org</a> mailing list<br><br></span></blockquote></div><br><br clear="all"><div><span class="e" id="q_109f87f95319934c_9"><br>-- <br>tvali<br>(e-mail: "<a href="mailto:qtvali@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> qtvali@gmail.com</a>"; msn: "<a href="mailto:qtvali@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> qtvali@gmail.com</a>";<br>icq: "317-492-912")<br><br>Ühe eesti internetifirma lehel kohtasin tsitaati:<br>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?<br>Robert Townsend </span></div></blockquote></div><br><br clear="all"><br>-- <br>tvali<br>(e-mail: "<a href="mailto:qtvali@gmail.com">qtvali@gmail.com</a>"; msn: "<a href="mailto:qtvali@gmail.com">qtvali@gmail.com</a>"; <br>icq: "317-492-912")<br><br>Ühe eesti internetifirma lehel kohtasin tsitaati:<br>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?<br>Robert Townsend