From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-dev+bounces-48666-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RQI7V-0002SC-62
	for garchives@archives.gentoo.org; Tue, 15 Nov 2011 12:28:09 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 16A6321C030;
	Tue, 15 Nov 2011 12:27:58 +0000 (UTC)
Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id D19AF21C024
	for <gentoo-dev@lists.gentoo.org>; Tue, 15 Nov 2011 12:27:25 +0000 (UTC)
Received: by wyg19 with SMTP id 19so3829781wyg.40
        for <gentoo-dev@lists.gentoo.org>; Tue, 15 Nov 2011 04:27:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=sender:date:from:to:subject:message-id:references:mime-version
         :content-type:content-disposition:in-reply-to:user-agent;
        bh=2Xq9jiAID/rSDQj6ffWdU+Za664brMWxWekD22uZAfk=;
        b=tIRA+kQqcab4OFBJNBWAJM5/N1kWOP6rQ5+zIDOmGa2hXTp+T8gIoFJRtTiATMZv6z
         U/PYn7P6wm44ypsgPh0vaTIvStoDXxKIrKUsfFUHw63p0NmaWKCIS60cR5Jsnib7B6ND
         cLACZuOXtRnHqlcsWtVHZYmCRDICDGyFURWwU=
Received: by 10.216.137.215 with SMTP id y65mr4771206wei.66.1321360044999;
        Tue, 15 Nov 2011 04:27:24 -0800 (PST)
Received: from linuxized.com (linuxized.com. [109.74.202.219])
        by mx.google.com with ESMTPS id e13sm22007991wbh.17.2011.11.15.04.27.23
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 15 Nov 2011 04:27:24 -0800 (PST)
Sender: Alex Alexander <alex.alexander@gmail.com>
Date: Tue, 15 Nov 2011 14:27:44 +0200
From: Alex Alexander <wired@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] have portage be quiet by default
Message-ID: <20111115122744.GA29501@linuxized.com>
References: <4EBFCD5D.3080807@gentoo.org>
 <1321194595-sup-8983@raeviah>
 <4EBFE727.8000903@gentoo.org>
 <4EC02CC0.9080907@gentoo.org>
 <4EC04E11.3060500@gentoo.org>
 <4EC0559C.4020806@gentoo.org>
 <4EC06E9D.4060803@gentoo.org>
 <4EC075F9.4070801@gentoo.org>
 <20111114082513.GA19456@fury>
 <4EC13187.7010908@gentoo.org>
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh"
Content-Disposition: inline
In-Reply-To: <4EC13187.7010908@gentoo.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Archives-Salt: acab3bf3-acc4-41dc-a8c5-bb0c8a9c4c26
X-Archives-Hash: a48fe89d2f76106d4e54ec091208f4cb


--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Nov 14, 2011 at 07:19:35AM -0800, Zac Medico wrote:
> 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.
> >=20
> > What if we tried solving this problem by providing more options instead
> > of trying to guess what the users want? :)
> >=20
> > Imagine the following output (when jobs =3D=3D 1):
> >=20
> >>>> 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 m=
ore.
> >>>> Jobs: 0 of 1 complete, 1 running                Load avg: 0.23, 0.18=
, 0.10
> >=20
> > 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.
> >=20
> > Pressing L would print out a short set of instructions, something
> > like:
> >=20
> > "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=3Dn' to your make.conf's EMERGE_DEFAULT_OPTS."
> >=20
> > I believe many users would appreciate the ability to output logs on
> > demand. :)
>=20
> 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.
>=20
> 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.

As long as everything is optional, I don't think we'll have any
reasonable complaints.

The stdin raw mode would only be enabled when --quiet-build=3Dy and
--jobs=3D1. Any other combination would switch to standard mode and we
could also introduce an --allow-options=3D[y/n] (or similar) parameter for
those who want to completely disable the feature.

I'm confident many users that are currently against quiet-build would
consider it if they were provided with these options :)

Would it be difficult to implement?
--=20
Alex Alexander | wired
+ Gentoo Linux Developer
++ www.linuxized.com

--jI8keyz6grp/JLjh
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iQIcBAEBCgAGBQJOwlq9AAoJEDZF8K7rm0r6JeoQAIEWWEKm50Vi3tGEA95pTahm
2ebugGxcfd330ip10UBdN2S6WW64k1n6cMFa87TVU+XxBMzOd+X4Sp9ZiApPf49u
9a8CtjxzvAMe3iPhUnSR8TScZs9ywo/S6ig+lDulegVRzWrYSCAtzcv7wGPqyO6d
4xBbesKv1QRBHqedPcoxkba5L9dG2AO7UtNg++0lQf/5RvJvKg94Mu1IZabtDfC/
/BlE1VuDNjhd3F8ixlg5oPkFXhFyTVMOhQJ1q+GLp5shZzJ5Y7q6xE+ivNHWoJt/
4zJQABCWNSnh21ImiqNbA1u6kU1TA6Zy9YSQ+wAEraIdn6YLtJYNyPBlixO7vwHt
RXFrdsqnnQXlECaAk00YGzWBC2Ts9uF569I6XnTdbeKD0v2zpWtAl5EPkAG9zlR+
6URcckBHMcADilVQlm7/t5Givf0qlYt6ZuuzVIHO/+H0SGwY4+obNSuLe8H5O/PP
Zsax3uRu5w4+dF+M5LTZZCtPcPuwf3GELJ+6Z3MS+hw/RyMznpV5N8CGGfcch0to
5yqgAkA+W29keFo19kRwanxNbsvKefSUg36SJkacKhTxu8pie3ROpApaTLX5o4gq
NXPzYD7apw4N8JQCG0gAsaCs5DkudC38IaprNKUlVa9KpQ/awzfPXwX1TIG2y2HB
2YDlnG0ppAg2vyfhn5zX
=tU5Y
-----END PGP SIGNATURE-----

--jI8keyz6grp/JLjh--