Re: [PATCH 0/4] Output rewrite for better clarify and greppability
Michał Górny <[email protected]> Tue, 28 Sep 2021 17:37:23 +0200
| Newsgroups | gmane.linux.gentoo.portage.devel |
|---|---|
| Organization | Gentoo |
| Message-ID | <[email protected]> |
On Tue, 2021-09-28 at 11:28 -0400, Mike Gilbert wrote: > On Tue, Sep 28, 2021 at 10:20 AM Michał Górny <[email protected]> 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=foo` 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 > Oh right, I also need to work on removing redundant 'QA Notice:' thingies. -- Best regards, Michał Górny