Bug 1495518

Summary: [modularity] "dnf module info" output is very hard to read
Product: [Fedora] Fedora Reporter: Stephen Tweedie <sct>
Component: dnfAssignee: Martin Hatina <mhatina>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: dmach, igulina, jmracek, mhatina, rpm-software-management
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-13 07:59:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1478068    

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