Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH 0/4] Output rewrite for better clarify and greppability
Date: Tue, 28 Sep 2021 15:37:28
Message-Id: ff0094f2b975afd7b8756dc835a7d9e223f17d7f.camel@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH 0/4] Output rewrite for better clarify and greppability by Mike Gilbert
1 On Tue, 2021-09-28 at 11:28 -0400, Mike Gilbert wrote:
2 > On Tue, Sep 28, 2021 at 10:20 AM Michał Górny <mgorny@g.o> wrote:
3 > >
4 > > Hi,
5 > >
6 > > Ok, so it's more major than I originally intended but I think it's
7 > > a good direction (once you get used to it). Roughly:
8 > >
9 > > 1. All bash color vars are now prefixed with `PORTAGE_COLOR_` to avoid
10 > > accidental collisions with ebuild vars (e.g. ebuild setting
11 > > `GOOD=foo` broke `elog` before).
12 > > 2. There are specific color vars for all kinds of output functions,
13 > > and now `einfo` messages use distinct color (dark green) from `elog`,
14 > > and `eqawarn` (brown) from `ewarn`.
15 > > 3. Messages are now prefixed by their kind, making it possible to
16 > > distinguish them without colors and grep for specific kind of logs:
17 > > - `[--]` for einfo & ebegin
18 > > - `[II]` for elog
19 > > - `[WW]` for ewarn
20 > > - `[QA]` for eqawarn
21 > > - `[EE]` for eerror
22 > > 4. Finally, I've replaced most of `>>>` and `!!!` in Portage output with
23 > > four `>>>>` and `!!!!` to align the output again.
24 >
25 > I like it.
26 >
27 > Maybe add a reference to this bug? https://bugs.gentoo.org/728046
28 >
29
30 Oh right, I also need to work on removing redundant 'QA Notice:'
31 thingies.
32
33 --
34 Best regards,
35 Michał Górny