Bug 1495518 - [modularity] "dnf module info" output is very hard to read
Summary: [modularity] "dnf module info" output is very hard to read
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Hatina
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1478068
TreeView+ depends on / blocked
 
Reported: 2017-09-26 08:51 UTC by Stephen Tweedie
Modified: 2018-03-13 07:59 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-03-13 07:59:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Stephen Tweedie 2017-09-26 08:51:57 UTC
Description of problem:
"dnf module info" line-wraps without folding at whitespace, so line-breaks occur randomly in the middle of words.

This makes it very hard to read the output.  In particular the Artifacts: list is a long wall of characters if the module is large.

It would be much better to fold lines at whitespace when a line overflows.

See "dnf module info perl" (in eg. a current jamesantill/boltron-27 docker image) as an example.



Version-Release number of selected component (if applicable):
dnf-2.6.3-11.module_34d7b7ed.modularity.1.cc067f9.noarch

Comment 1 Irina Gulina 2017-10-03 21:07:25 UTC
@Martin, can we fix it asap please? a lot of my tests depend on parsing `dnf module list`

Comment 2 Martin Hatina 2017-10-04 11:03:50 UTC
Fixed by https://github.com/rpm-software-management/dnf/pull/936


Note You need to log in before you can comment on or make changes to this bug.