Bug 783406

Summary: Better formatting for package_group info
Product: [Retired] Katello Reporter: Tomas Strachota <tstrachota>
Component: ClientAssignee: Tomas Strachota <tstrachota>
Status: CLOSED UPSTREAM QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.XCC: sghai
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: katello-cli-0.2.7-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-17 13:09:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tomas Strachota 2012-01-20 10:25:03 UTC
Description of problem:
CLI command 'package_group info' doesn't format all it's output properly.

  
Actual results:
Id:                        birds
Name:                      birds
Description:               
Mandatory Package Names:   [u'stork', u'cockateel', u'penguin', u'duck']
Default Package Names:     []
Optional Package Names:    []
Conditional Package Names: {}

Expected results:
Better formatting, not only printed python lists and hashes.

Comment 1 Sachin Ghai 2012-05-15 06:45:27 UTC
Verified with following katello build:

katello-cli-0.2.33-1.el6.noarch
katello-0.2.35-1.el6.noarch

Now formatting looks good. 

--
katello> package_group info --repo_id 775 --id birds
--------------------------------------------------------------------------------
                          Package Group Information
--------------------------------------------------------------------------------

Id:                        birds
Name:                      birds
Description:
    None
Mandatory Package Names:
    stork
    cockateel
    penguin
    duck
Default Package Names:
    None
Optional Package Names:
    None
Conditional Package Names:
    None

--

Comment 2 Bryan Kearney 2012-07-17 13:09:40 UTC
Moving all community bugs with fixes to closed.