From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6B88158017 for ; Tue, 28 Sep 2021 15:28:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F6B7E0898; Tue, 28 Sep 2021 15:28:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ED7BCE0898 for ; Tue, 28 Sep 2021 15:28:19 +0000 (UTC) Received: by mail-yb1-f172.google.com with SMTP id h2so32581089ybi.13 for ; Tue, 28 Sep 2021 08:28:19 -0700 (PDT) X-Gm-Message-State: AOAM532EssgyYL8o+IKhJGHOTcI+yLLAMRHpenaB8uR+PrTNzl9aMMFw CldDCww92oegZ1r3H42tDi3nnxZiDgqJZyNGloI= X-Google-Smtp-Source: ABdhPJw+Z9aD/lu0zmaJdMYJXjx6k99fedj+6etyMn3t1JuzRdGT2TgeOiW/RAzMVoDvKRMTJjXEbuPaP8bZ7Bj7qfc= X-Received: by 2002:a25:1609:: with SMTP id 9mr7076542ybw.423.1632842896602; Tue, 28 Sep 2021 08:28:16 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <20210928142004.1375262-1-mgorny@gentoo.org> In-Reply-To: <20210928142004.1375262-1-mgorny@gentoo.org> From: Mike Gilbert Date: Tue, 28 Sep 2021 11:28:05 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-portage-dev] [PATCH 0/4] Output rewrite for better clarify and greppability To: gentoo-portage-dev@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Archives-Salt: ea037261-c1e0-4861-8794-d777f4bd1959 X-Archives-Hash: c8099b70dffd940231ce3a778682d806 On Tue, Sep 28, 2021 at 10:20 AM Micha=C5=82 G=C3=B3rny = wrote: > > Hi, > > Ok, so it's more major than I originally intended but I think it's > a good direction (once you get used to it). Roughly: > > 1. All bash color vars are now prefixed with `PORTAGE_COLOR_` to avoid > accidental collisions with ebuild vars (e.g. ebuild setting > `GOOD=3Dfoo` broke `elog` before). > 2. There are specific color vars for all kinds of output functions, > and now `einfo` messages use distinct color (dark green) from `elog`, > and `eqawarn` (brown) from `ewarn`. > 3. Messages are now prefixed by their kind, making it possible to > distinguish them without colors and grep for specific kind of logs: > - `[--]` for einfo & ebegin > - `[II]` for elog > - `[WW]` for ewarn > - `[QA]` for eqawarn > - `[EE]` for eerror > 4. Finally, I've replaced most of `>>>` and `!!!` in Portage output with > four `>>>>` and `!!!!` to align the output again. I like it. Maybe add a reference to this bug? https://bugs.gentoo.org/728046