Bug 1316081 - hammer medium list output column width too narrow by default
Summary: hammer medium list output column width too narrow by default
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.1.7
Hardware: Unspecified
OS: Unspecified
unspecified
low vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 1317008
TreeView+ depends on / blocked
 
Reported: 2016-03-09 11:38 UTC by Stuart Auchterlonie
Modified: 2020-12-11 12:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-11 23:34:03 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Stuart Auchterlonie 2016-03-09 11:38:44 UTC
Description of problem:

The default output format of `hammer medium list` has the column
width for Name and Path columns set too narrow to be of use.

The output is truncated leading to an inability to see useful
information. The Path column is the worst affected as you
can no longer see the difference between several different
mediums

Version-Release number of selected component (if applicable):

Sat 6.1.7

How reproducible:

100%

Steps to Reproduce:
1. hammer medium list
2.
3.

Actual results:

---|----------------------------------------------------------------------------------|---------------------------------------------------------------------------------
ID | NAME                                                                             | PATH                                                                            
---|----------------------------------------------------------------------------------|---------------------------------------------------------------------------------
1  | CentOS mirror                                                                    | http://mirror.centos.org/centos/$major.$minor/os/$arch                          
2  | Debian mirror                                                                    | http://ftp.debian.org/debian/                                                   
3  | Fedora mirror                                                                    | http://dl.fedoraproject.org/pub/fedora/linux/releases/$major/Fedora/$arch/os/   
4  | FreeBSD mirror                                                                   | http://ftp.freebsd.org/pub/FreeBSD/releases/$arch/$major.$minor-RELEASE/        
5  | OpenSUSE mirror                                                                  | http://download.opensuse.org/distribution/$major.$minor/repo/oss                
7  | org-stuarta/Library/Red_Hat_Server/Red_Hat_Enterprise_Linux_5_Server_Kickstar... | http://stuarta-sat6.usersys.redhat.com/pulp/repos/org-stuarta/Library/content...
8  | org-stuarta/Library/Red_Hat_Server/Red_Hat_Enterprise_Linux_6_Server_Kickstar... | http://stuarta-sat6.usersys.redhat.com/pulp/repos/org-stuarta/Library/content...
9  | org-stuarta/Library/Red_Hat_Server/Red_Hat_Enterprise_Linux_7_Server_Kickstar... | http://stuarta-sat6.usersys.redhat.com/pulp/repos/org-stuarta/Library/content...
6  | Ubuntu mirror                                                                    | http://archive.ubuntu.com/ubuntu/                                               
---|----------------------------------------------------------------------------------|---------------------------------------------------------------------------------


Expected results:

The default size of the columns should be set so that you can read
all the identifying information.

A suggestion is to identify the max length of the strings being output
and setting the column width to that

Additional info:

Comment 3 Bryan Kearney 2016-07-08 20:48:59 UTC
Per 6.3 planning, moving out non acked bugs to the backlog


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