Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 778860

Summary: sys-apps/portage: use [INFO], [WARN] and [ERROR] prefixes to ensure that severity of emerge messages is clearly distinguishable
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: gentoo, gentoo, greg.kubaryk, mgorny, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=472104
https://github.com/gentoo/portage/pull/759
https://bugs.gentoo.org/show_bug.cgi?id=859535
https://github.com/gentoo/portage/pull/862
Whiteboard:
Package list:
Runtime testing required: ---

Description Zac Medico gentoo-dev 2021-03-28 07:11:30 UTC
Since emerge outputs many different kinds of warning messages, it is important to clearly indicate when those messages are non-fatal, in order to ensure that they are distinguishable from fatal errors. Maybe a prefix like [WARN] would be helpful for this.
Comment 1 Zac Medico gentoo-dev 2021-03-28 07:28:13 UTC
The message from bug 472104 is one that might be displayed with an [INFO] prefix.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-09-29 09:36:06 UTC
My elog PR should be good enough for this.  It's a bit of compromise between verbosity and short output as it uses two-letter codes but this should be good enough to distinguish them.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-06 00:17:59 UTC
I'm still interested in this (see mgorny's PR and the version I rebased) but it's fair to say it's not being actively worked on right now, so back to CONFIRMED.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-04-14 00:21:23 UTC
Heh, apt seems to be adopting this kind of thing: https://www.phoronix.com/news/Debian-APT-2.9-Released.