Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Zac Medico <zmedico@g.o>
Subject: Re: have portage be quiet by default
Date: Mon, 14 Nov 2011 07:19:35 -0800
On 11/14/2011 12:25 AM, Alex Alexander wrote:
> On Sun, Nov 13, 2011 at 05:59:21PM -0800, Zac Medico wrote:
>> Well, it's much easier to gather interest and get feedback if we deploy
>> the change and ask questions later.
> 
> What if we tried solving this problem by providing more options instead
> of trying to guess what the users want? :)
> 
> Imagine the following output (when jobs == 1):
> 
>>>> Verifying ebuild manifests
>>>> Emerging (1 of 1) www-client/chromium-16.0.912.36
>>>> Quiet building enabled. Enable for [P]ackage or [S]ession. [L]earn more.
>>>> Jobs: 0 of 1 complete, 1 running                Load avg: 0.23, 0.18, 0.10
> 
> Pressing P would only show the log for the actively built package.
> Pressing S would show all the logs for this session, starting with the
> active one.
> 
> Pressing L would print out a short set of instructions, something
> like:
> 
> "To make portage output easier to track and understand, --quiet-build
> has been enabled by default. You may restore the old, verbose behavior
> temporarily by using the P and S commands, or permanently by adding
> '--quiet-build=n' to your make.conf's EMERGE_DEFAULT_OPTS."
> 
> I believe many users would appreciate the ability to output logs on
> demand. :)

I think that would be an interesting option. We could put stdin in raw
mode, like dispatch-conf does, in order to read single characters of
input instead of whole lines.

I can imagine that this option wouldn't be desired by some people, if
only because emerge would consume all keystrokes from the input buffer.
In the past we had a few portage releases that consumed keystrokes like
that (it was part of the support for interactive ebuilds), and I recall
someone (I think it was grobian) complaining because he had a habit of
typing his next shell command before emerge had completed.
-- 
Thanks,
Zac


Replies:
Re: have portage be quiet by default
-- Alex Alexander
References:
Re: have portage be quiet by default
-- Thomas Sachau
Re: have portage be quiet by default
-- Amadeusz Żołnowski
Re: have portage be quiet by default
-- Thomas Sachau
Re: have portage be quiet by default
-- Amadeusz Żołnowski
Re: have portage be quiet by default
-- Thomas Sachau
Re: have portage be quiet by default
-- Zac Medico
Re: have portage be quiet by default
-- Thomas Sachau
Re: have portage be quiet by default
-- Zac Medico
Re: have portage be quiet by default
-- Thomas Sachau
Re: have portage be quiet by default
-- Zac Medico
Re: have portage be quiet by default
-- Alex Alexander
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: have portage be quiet by default
Next by thread:
Re: have portage be quiet by default
Previous by date:
Re: have portage be quiet by default
Next by date:
Re: have portage be quiet by default


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.