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

DownloadProgressBar truncates messages to terminal width #1829

Open
kontura opened this issue Nov 4, 2024 · 0 comments
Open

DownloadProgressBar truncates messages to terminal width #1829

kontura opened this issue Nov 4, 2024 · 0 comments
Labels
Priority: LOW Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take

Comments

@kontura
Copy link
Contributor

kontura commented Nov 4, 2024

Longer messages are cut short, this could be confusing for users.

For example, test scenario: Scenario: present user understandable message when there is a mismatch between available repodata and packages in metadata.feature produces output like:

      Updating and loading repositories:
       simple-base test repository            100% | 464.8 KiB/s |   2.3 KiB |  00m00s
      Repositories loaded.
      Total size of inbound packages is 6 KiB. Need to download 6 KiB.
      After this operation, 0 B extra will be used (install 0 B, remove 0 B).
      [1/1] labirinto-0:1.0-1.fc29.x86_64       0% |   0.0   B/s |   0.0   B |  00m00s
      >>> Interrupted by header callback: Inconsistent server data, reported file Cont
      >>> Interrupted by header callback: Inconsistent server data, reported file Cont
      >>> Interrupted by header callback: Inconsistent server data, reported file Cont
      >>> Interrupted by header callback: Inconsistent server data, reported file Cont
      >>> No more mirrors to try - All mirrors were already tried without success
      --------------------------------------------------------------------------------
      [1/1] Total                             100% |   0.0   B/s |   0.0   B |  00m00s
      Failed to download packages
       Librepo error: Cannot download x86_64/labirinto-1.0-1.fc29.x86_64.rpm: All mirrors were tried

I don't think this is user understandable message.

@pkratoch pkratoch added Priority: LOW Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take labels Nov 4, 2024
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
None yet
Development

No branches or pull requests

2 participants