Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not link NO_COLOR to isatty or TERM #1189

Conversation

zmedico
Copy link
Member

@zmedico zmedico commented Nov 26, 2023

Do not link NO_COLOR to isatty or TERM, in order to allow more explicit control. Also do not foce NO_COLOR for background jobs in AbstractEbuildProcess.

The link between NO_COLOR and the --color option is currently preserved, though it could be useful to decouple them, since the user may want to set NO_COLOR just for ebuild processes while keeping color enabled in the portage UI. However, this would drastically change the result of having NO_COLOR set to true in make.conf, so they remain coupled for now.

Bug: https://bugs.gentoo.org/918515

Do not link NO_COLOR to isatty or TERM, in order to allow
more explicit control. Also do not foce NO_COLOR for
background jobs in AbstractEbuildProcess.

The link between NO_COLOR and the --color option is currently
preserved, though it could be useful to decouple them, since
the user may want to set NO_COLOR just for ebuild processes
while keeping color enabled in the portage UI. However, this
would drastically change the result of having NO_COLOR set
to true in make.conf, so they remain coupled for now.

Bug: https://bugs.gentoo.org/918515
Signed-off-by: Zac Medico <zmedico@gentoo.org>
@zmedico zmedico force-pushed the bug_898224_do_not_link_no_color_to_isatty_or_term branch from c1d26d7 to 9b9bd6e Compare November 26, 2023 23:31
@zmedico
Copy link
Member Author

zmedico commented Nov 26, 2023

Closing this for now since I assume #1188 is more in alignment with mgorny's wishes.

@zmedico zmedico closed this Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant