Summary: | app-portage/gentoolkit-0.6.1-r3 (and r2, presumably all 0.6 to date) equery -N switch ignored | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Duncan <1i5t5.duncan> |
Component: | Current packages | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Duncan
2022-07-26 05:47:37 UTC
Could you bisect? (In reply to Sam James from comment #1) > Could you bisect? Bisects to (unsurprisingly given the description)... commit 84ffe42e5 (refs/git-r3/app-portage/gentoolkit/0/__old__, refs/git-r3/app-portage/gentoolkit/0/__main__) Author: Brian Dolbec <dolsen@> AuthorDate: Sat Jul 9 18:06:50 2022 -0700 Commit: Brian Dolbec <dolsen@> CommitDate: Sat Jul 9 18:06:50 2022 -0700 equery: Turn off color when piping is set Bug: https://bugs.gentoo.org/506394 Signed-off-by: Brian Dolbec <dolsen@> --- pym/gentoolkit/equery/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pym/gentoolkit/equery/__init__.py b/pym/gentoolkit/equery/__init__.py index cecb5bee3..56b2caaad 100644 --- a/pym/gentoolkit/equery/__init__.py +++ b/pym/gentoolkit/equery/__init__.py @@ -228,6 +228,8 @@ def initialize_configuration(): # set extra wide, should disable wrapping unless # there is some extra long text CONFIG["termWidth"] = 600 + # turn off color + pp.output.nocolor() CONFIG["debug"] = bool(os.getenv("DEBUG", False)) I've not looked at the larger context but apparently that's unconditional re: -N, and shouldn't be. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=9a402fba0d63240685a2326926060c3c8c523101 commit 9a402fba0d63240685a2326926060c3c8c523101 Author: Brian Dolbec <dolsen@gentoo.org> AuthorDate: 2022-07-28 15:22:55 +0000 Commit: Brian Dolbec <dolsen@gentoo.org> CommitDate: 2022-07-28 15:22:55 +0000 equery: Set nocolor for piping to after options are parsed Fixes commit 84ffe42e5 which set nocolor before options were parsed. Bug: https://bugs.gentoo.org/861116 Signed-off-by: Brian Dolbec <dolsen@gentoo.org> pym/gentoolkit/equery/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c162ce62447fec711a28ecf1434879256c8aea6a commit c162ce62447fec711a28ecf1434879256c8aea6a Author: Sam James <sam@gentoo.org> AuthorDate: 2023-10-03 15:43:51 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-10-03 15:44:35 +0000 app-portage/gentoolkit: add 0.6.2 Bug: https://bugs.gentoo.org/900224 Closes: https://bugs.gentoo.org/369581 Closes: https://bugs.gentoo.org/382009 Closes: https://bugs.gentoo.org/576224 Closes: https://bugs.gentoo.org/709816 Closes: https://bugs.gentoo.org/861116 Closes: https://bugs.gentoo.org/877519 Closes: https://bugs.gentoo.org/902551 Signed-off-by: Sam James <sam@gentoo.org> app-portage/gentoolkit/Manifest | 1 + app-portage/gentoolkit/gentoolkit-0.6.2.ebuild | 71 ++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) |