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

Implement --color flag and respect color option #839

Open
evan-goode opened this issue Aug 25, 2023 · 1 comment · May be fixed by #1750
Open

Implement --color flag and respect color option #839

evan-goode opened this issue Aug 25, 2023 · 1 comment · May be fixed by #1750
Labels
Priority: LOW Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take

Comments

@evan-goode
Copy link
Member

Noticed by a participant in the 2023-08-11 test week: https://fedoraproject.org/wiki/Test_Day:2023-08-11_Fedora_39_DNF_5#cite_note-74.

  1. For commands that produce colorful output, such as info, search, and list, colors are currently shown iff stdout is a terminal, which is the behavior of --setopt=color=auto. color=always and color=never are not respected.
  2. The --color=auto|never|always argument to set the color configuration option is missing.

These items are probably low priority; color=auto is desired in the vast majority of cases. But some scripts may invoke dnf --color=never ... and it would be nice to not break them.

@kontura kontura added Priority: LOW Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take labels Sep 18, 2023
alimirjamali added a commit to alimirjamali/dnf5 that referenced this issue Oct 2, 2024
@alimirjamali alimirjamali linked a pull request Oct 2, 2024 that will close this issue
@alimirjamali
Copy link
Contributor

PR Submitted.
We specifically require this option for QubesOS

review priority: low

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: LOW Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

3 participants