View previous topic :: View next topic |
Author |
Message |
enkil Tux's lil' helper
Joined: 27 Apr 2004 Posts: 115 Location: Bern, Switzerland
|
Posted: Thu Jun 22, 2006 9:43 am Post subject: [suggestion] emerge --veryquiet |
|
|
This is just a suggestion to maybe make portage less verbose when emerging packages. What I'd really like to see is portage behaving like this:
Code: | >>> Emerging (i of n) category/package-version to /
* Fetching package-version.tar.bz2 [OK]
* Unpacking package-version.tar.bz2 [OK]
* Applying patches [OK]
* Running configure [OK]
* Compiling category/package-version [OK]
* Merging category/package-version to / [OK]
* Unmerging old version [OK]
>>> Emerging (i+1 of n) category/package-version to /
|
Or somehow similar. I think this would have quite some advantages:
- For me as an end-user, I don't really care about the output of configure and/or make, unless a package failes to compile, so why display it in the first place? It would be a good idea, to save the output from configure and make that gets surpressed to /var/log/lastpackage.elog or something like that, so you can look through it if a package does fail to compile
- IMHO the main advantage would be, that I won't miss any warnings from portage anymore. Compile 10 packages, you got maybe 100 lines ouf output, if there are any warnings (these are the important things during emerge), they should not be surpressed but be displayed instead. So you can compile everything, scroll up a few lines and watch out for warnings - impossible if make's output is displayed
That's my suggestion, don't know if anyone cares or if someone is willing to implement it (I don't know enough about portage, so I won't implement it myself). I just think that there should be a possibility to surpress useless output and display only what really matters to the user. |
|
Back to top |
|
|
KK_r Apprentice
Joined: 17 Dec 2003 Posts: 182
|
Posted: Thu Jun 22, 2006 10:40 am Post subject: |
|
|
With latest portage you can log all messages. Emerge latest portage and look in /etc/make.conf.example.
Code: | # logging related variables:
# PORTAGE_ELOG_CLASSES: selects messages to be logged, possible values are:
# info, warn, error, log
# Warning: commenting this will disable elog
PORTAGE_ELOG_CLASSES="warn error log" |
_________________ Seamos realistas, exijamos lo imposibile |
|
Back to top |
|
|
mw007 Apprentice
Joined: 08 Nov 2004 Posts: 260
|
Posted: Thu Jun 22, 2006 10:43 am Post subject: |
|
|
There is the --quiet (-q) option. Not sure if this is exactly what you were going for or if you were building upon this option.
Here's my take on the situation. Having a --veryquiet option would be a mixed blessing.
I think that a lot of people new to gentoo would use the option while compiling say X and Gnome and think that linux has froze since they wouldn't get any output for a fair amount of time. I wouldn't use the option just for this purpose, especially on older machines (that I have had overheat and freeze during the compile process).
But for the quick emerges I probably would use it.
As long as it stays an OPTION I think it would be something to consider. Now if it was made the standard functionality.... |
|
Back to top |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Thu Jun 22, 2006 11:45 am Post subject: |
|
|
Moved from Portage & Programming to Gentoo Chat. Not a support request. |
|
Back to top |
|
|
enkil Tux's lil' helper
Joined: 27 Apr 2004 Posts: 115 Location: Bern, Switzerland
|
Posted: Thu Jun 22, 2006 3:26 pm Post subject: |
|
|
mark_alec wrote: | Moved from Portage & Programming to Gentoo Chat. Not a support request. |
Sorry about that
mw007 wrote: | There is the --quiet (-q) option. Not sure if this is exactly what you were going for or if you were building upon this option. |
I know about this option and when I first used it, I was expecting something quiet, but it's still way too verbose IMHO.
mw007 wrote: | I think that a lot of people new to gentoo would use the option while compiling say X and Gnome and think that linux has froze since they wouldn't get any output for a fair amount of time. |
I thought about that, too. Some things that could be done: Add a spinner or something like that - only purpose is to see something move. Another interesting approach comes with the Kompile-Project. They estaminate a "percentage done" value that could get displayed.
mw007 wrote: | As long as it stays an OPTION I think it would be something to consider. |
Of course... I don't think this should be default either. |
|
Back to top |
|
|
Zmyrgel Apprentice
Joined: 31 Jan 2006 Posts: 181 Location: Finland / Ireland
|
Posted: Mon Jun 26, 2006 12:19 pm Post subject: |
|
|
I too would support this kind of thing. Not too interresting to follow those endless lines of code flowing in the screen... |
|
Back to top |
|
|
johtib Tux's lil' helper
Joined: 14 Jun 2004 Posts: 128
|
Posted: Mon Jul 03, 2006 2:11 pm Post subject: |
|
|
This has my vote too, for what it's worth. |
|
Back to top |
|
|
Chaosite Guru
Joined: 13 Dec 2003 Posts: 540 Location: Right over here.
|
Posted: Mon Jul 03, 2006 2:44 pm Post subject: |
|
|
This has my vote, if only for the possibility to write:
Code: | emerge -Be --veryquiet world |
Now we just need a "--very" option ... |
|
Back to top |
|
|
|