public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-portage-dev] [PATCH 0/4] Output rewrite for better clarify and greppability
  @ 2021-09-28 15:28 99% ` Mike Gilbert
  0 siblings, 0 replies; 1+ results
From: Mike Gilbert @ 2021-09-28 15:28 UTC (permalink / raw
  To: gentoo-portage-dev

On Tue, Sep 28, 2021 at 10:20 AM Michał Górny <mgorny@gentoo.org> 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


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-09-28 14:20     [gentoo-portage-dev] [PATCH 0/4] Output rewrite for better clarify and greppability Michał Górny
2021-09-28 15:28 99% ` Mike Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox