-
Notifications
You must be signed in to change notification settings - Fork 93
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
Missing newlines after progress bars when stdout is non-interactive #1058
Labels
Priority: HIGH
Triaged
Someone on the DNF 5 team has read the issue and determined the next steps to take
Comments
This was referenced Dec 1, 2023
jan-kolarik
added
Triaged
Someone on the DNF 5 team has read the issue and determined the next steps to take
Priority: LOW
labels
Dec 4, 2023
I am switching to high prio as this is blocking the switch to DNF5 as the default in COPR. |
m-blaha
added a commit
that referenced
this issue
Dec 8, 2023
m-blaha
added a commit
that referenced
this issue
Dec 8, 2023
5 tasks
Related BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2254847. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Priority: HIGH
Triaged
Someone on the DNF 5 team has read the issue and determined the next steps to take
When stdout is not an interactive TTY, only the final state of a progress bar is printed, which is correct, but it's missing a newline after the progress bar. All repository updates/package downloads get jumbled into a single line.
To reproduce:
sudo dnf5 remove -y hello info && sudo dnf5 clean all && sudo dnf5 install -y hello | tee /tmp/dnf5-out
/tmp/dnf5-out
then contains:In comparison,
sudo dnf4 remove -y hello info && sudo dnf4 clean all && sudo dnf4 install -y hello | tee /tmp/dnf4-out
For fedora-copr/copr#3040
The text was updated successfully, but these errors were encountered: