Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[suggestion] emerge --veryquiet
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
enkil
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 115
Location: Bern, Switzerland

PostPosted: Thu Jun 22, 2006 9:43 am    Post subject: [suggestion] emerge --veryquiet Reply with quote

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
View user's profile Send private message
KK_r
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 182

PostPosted: Thu Jun 22, 2006 10:40 am    Post subject: Reply with quote

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
View user's profile Send private message
mw007
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 260

PostPosted: Thu Jun 22, 2006 10:43 am    Post subject: Reply with quote

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.... :twisted:
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Thu Jun 22, 2006 11:45 am    Post subject: Reply with quote

Moved from Portage & Programming to Gentoo Chat. Not a support request.
Back to top
View user's profile Send private message
enkil
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 115
Location: Bern, Switzerland

PostPosted: Thu Jun 22, 2006 3:26 pm    Post subject: Reply with quote

mark_alec wrote:
Moved from Portage & Programming to Gentoo Chat. Not a support request.

Sorry about that :oops:

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
View user's profile Send private message
Zmyrgel
Apprentice
Apprentice


Joined: 31 Jan 2006
Posts: 181
Location: Finland / Ireland

PostPosted: Mon Jun 26, 2006 12:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
johtib
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2004
Posts: 128

PostPosted: Mon Jul 03, 2006 2:11 pm    Post subject: Reply with quote

This has my vote too, for what it's worth.
Back to top
View user's profile Send private message
Chaosite
Guru
Guru


Joined: 13 Dec 2003
Posts: 540
Location: Right over here.

PostPosted: Mon Jul 03, 2006 2:44 pm    Post subject: Reply with quote

This has my vote, if only for the possibility to write:

Code:
emerge -Be --veryquiet world


Now we just need a "--very" option ... :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum