1 |
On Tue, Sep 28, 2021 at 10:20 AM Michał Górny <mgorny@g.o> wrote: |
2 |
> |
3 |
> Hi, |
4 |
> |
5 |
> Ok, so it's more major than I originally intended but I think it's |
6 |
> a good direction (once you get used to it). Roughly: |
7 |
> |
8 |
> 1. All bash color vars are now prefixed with `PORTAGE_COLOR_` to avoid |
9 |
> accidental collisions with ebuild vars (e.g. ebuild setting |
10 |
> `GOOD=foo` broke `elog` before). |
11 |
> 2. There are specific color vars for all kinds of output functions, |
12 |
> and now `einfo` messages use distinct color (dark green) from `elog`, |
13 |
> and `eqawarn` (brown) from `ewarn`. |
14 |
> 3. Messages are now prefixed by their kind, making it possible to |
15 |
> distinguish them without colors and grep for specific kind of logs: |
16 |
> - `[--]` for einfo & ebegin |
17 |
> - `[II]` for elog |
18 |
> - `[WW]` for ewarn |
19 |
> - `[QA]` for eqawarn |
20 |
> - `[EE]` for eerror |
21 |
> 4. Finally, I've replaced most of `>>>` and `!!!` in Portage output with |
22 |
> four `>>>>` and `!!!!` to align the output again. |
23 |
|
24 |
I like it. |
25 |
|
26 |
Maybe add a reference to this bug? https://bugs.gentoo.org/728046 |