Summary: | app-portage/portage-utils: allow forcing colours for applets | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Alexander Wessel <flexx> |
Component: | Enhancement/Feature Requests | Assignee: | Fabian Groffen <grobian> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | ionen |
Priority: | Lowest | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alexander Wessel
2021-02-10 21:50:50 UTC
I actually wondered the same thing a while ago, we indeed need a global option to force colours. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=03c2d27602bc94aaa1660da7b084d40a9cf70f5d commit 03c2d27602bc94aaa1660da7b084d40a9cf70f5d Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2021-05-10 09:12:43 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2021-05-10 09:12:43 +0000 main: add global option --color to force colour output allow override for colouring to be enabled, this reorganises the code a bit because argument handling is done by the applets, and not by the main process, e.g. total colour handling can unfortunately not be done in a single place. Bug: https://bugs.gentoo.org/769929 Signed-off-by: Fabian Groffen <grobian@gentoo.org> applets.h | 10 +++++++--- main.c | 23 +++++++++-------------- 2 files changed, 16 insertions(+), 17 deletions(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65b5ac4b8140f7ff1ab5c27af5c690288ec1419b commit 65b5ac4b8140f7ff1ab5c27af5c690288ec1419b Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2021-07-06 07:03:02 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2021-07-06 07:03:15 +0000 app-portage/portage-utils-0.92: version bump + cleanup Closes: https://bugs.gentoo.org/792273 Closes: https://bugs.gentoo.org/791571 Closes: https://bugs.gentoo.org/787089 Closes: https://bugs.gentoo.org/769929 Closes: https://bugs.gentoo.org/757540 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org> app-portage/portage-utils/Manifest | 3 +- .../portage-utils/portage-utils-0.90.1.ebuild | 67 ---------------------- ...utils-0.91.ebuild => portage-utils-0.92.ebuild} | 0 3 files changed, 1 insertion(+), 69 deletions(-) |