Re: [PATCH 0/4] Output rewrite for better clarify and greppability
Mike Gilbert <[email protected]> Tue, 28 Sep 2021 11:28:05 -0400
| Newsgroups | gmane.linux.gentoo.portage.devel |
|---|---|
| Message-ID | <CAJ0EP40zk-kyfvyTBKE2VHLJkcpbfG3PMV5DOVQOcSSksNVBUQ@mail.gmail.com> |
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