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 ) id 1RPsFz-0004Ag-Sp for garchives@archives.gentoo.org; Mon, 14 Nov 2011 08:51:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9372E21C089; Mon, 14 Nov 2011 08:50:58 +0000 (UTC) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 05AA521C04F for ; Mon, 14 Nov 2011 08:50:34 +0000 (UTC) Received: by faan15 with SMTP id n15so5922010faa.40 for ; Mon, 14 Nov 2011 00:50:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=XK/N1HMG/uEDpJjBRkqNvQyfky8NhsuUaSfE4DerexE=; b=RTTwHOJRSRoQP2hRQW9ho8eG+S1gLc8f7dzQBvlH2AeTJAkKCXluNwzu/awTUJ5ZQ0 thpk0FMiqZGt4McEQ74lVD+L/wybuECYmgaveNIBftYQGvFHN8hGEmqwCWrMkaE/3bDx PihI2oJURJUcp3p2GX9Mv8+qF5z8J4jXiodz0= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.205.119.11 with SMTP id fs11mr18595913bkc.58.1321260634080; Mon, 14 Nov 2011 00:50:34 -0800 (PST) Received: by 10.223.156.76 with HTTP; Mon, 14 Nov 2011 00:50:33 -0800 (PST) In-Reply-To: <20111114082513.GA19456@fury> References: <4EBFBA75.3030500@gentoo.org> <1321188262-sup-4513@raeviah> <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> Date: Mon, 14 Nov 2011 03:50:33 -0500 Message-ID: Subject: Re: [gentoo-dev] have portage be quiet by default From: JD Horelick To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 84f50b7d-57c3-4c27-8a7d-d3b47b027d64 X-Archives-Hash: 24b2c0dce6915fb3167e530a98e46cb5 On 14 November 2011 03:25, 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 =3D=3D 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 mor= e. >>>> Jobs: 0 of 1 complete, 1 running =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Load a= vg: 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=3Dn' to your make.conf's EMERGE_DEFAULT_OPTS." > > I believe many users would appreciate the ability to output logs on > demand. :) > -- > Alex Alexander | wired > + Gentoo Linux Developer > ++ www.linuxized.com > IMO, that is *THE PERFECT* solution. It requires writing a significant amount of code (i'd bet), but IMO, that's perfect and i think all the rest of the detractors and most of the people in favour of --quiet-build=3Dy would be happy with that solution. Another idea I had which is also difficult to implement but would somewhat solve the "screen full of configure/make output" is to (in portage) basically parse the output of verbose buildsystems and reformat them to look like the output of say AutoMake's silent-rules or CMake. That way each line is like "CC" + filename, as opposed to a couple hundred character line full of the entire GCC command. I'd prefer Alex's suggestion though.