Bug 679464 - beautify package info CLI output
Summary: beautify package info CLI output
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Jason Connor
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close 673053
TreeView+ depends on / blocked
 
Reported: 2011-02-22 16:11 UTC by dgao
Modified: 2014-03-31 01:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:07:36 UTC
Embargoed:


Attachments (Terms of Use)
Screenshot (123.32 KB, image/png)
2011-06-15 18:41 UTC, Todd Sanders
no flags Details

Description dgao 2011-02-22 16:11:00 UTC
pulp-admin package info --repoid=package_test_repo -n patb

+------------------------------------------+
              Package Information
+------------------------------------------+

{u'vendor': None, u'name': u'patb', u'repo_defined': False, u'checksum': {u'sha256': u'c0ac59aa6f3dd679012bd2c64d1ee1f67d06091f13487d56abf33ddf23283dc1'}, u'requires': [u'l', u'l', u'l', u'l', u'l', u'l', u'l', u'r', u'r', u'r', u'r', u'r'], u'download_url': None, u'filename': u'patb-0.1-1.x86_64.rpm', u'epoch': u'0', u'version': u'0.1', u'provides': [u'p', u'p'], u'_ns': u'packages', u'release': u'1', u'_id': u'b83d0fd1-9e6b-47f1-90bb-36fb8ab54f8e', u'arch': u'x86_64', u'id': u'b83d0fd1-9e6b-47f1-90bb-36fb8ab54f8e', u'description': u'Simple conversation between Pinky and The Brain about taking over your OS.'}

Can this be formatted so that it's not a straight printout of the dict?

Comment 1 Sayli Karmarkar 2011-02-23 17:08:57 UTC
Not an RFE. This seems to be a regression as package info was giving formatted output.

Comment 2 Todd Sanders 2011-06-15 18:41:49 UTC
Created attachment 504925 [details]
Screenshot

Comment 3 Preethi Thomas 2011-07-06 18:06:47 UTC
verified
[root@preethi ~]# rpm -q pulp
pulp-0.0.200-1.fc14.noarch

[root@preethi ~]# pulp-admin package info --repoid=f14 -n zsh
+------------------------------------------+
             Package Information
+------------------------------------------+

Id                    	96dd90d9-d464-4beb-ab8e-0a89915e82c9
Name                  	zsh                      
Description           	The zsh shell is a command interpreter usable as an interactive login
shell and as a shell script command processor.  Zsh resembles the ksh
shell (the Korn shell), but includes many enhancements.  Zsh supports
command line editing, built-in spelling correction, programmable
command completion, shell functions (with autoloading), a history
mechanism, and more.
Arch                  	x86_64                   
Version               	4.3.10                   
Release               	5.fc14                   
Epoch                 	0                        
Checksum              	{'sha256': 'ac64b95a3c879a27c5893bf0403b5734b41bd4abf73864383ec71f39ca12ce43'}
Filename              	zsh-4.3.10-5.fc14.x86_64.rpm
Size                  	2240844                  
Repo_defined          	True                     
Download_url          	https://preethi.usersys.redhat.com//pulp/repos/f14/zsh-4.3.10-5.fc14.x86_64.rpm
Buildhost             	x86-07.phx2.fedoraproject.org
Group                 	System Environment/Shells
License               	BSD                      
Vendor                	Fedora Project           
Provides              	['zsh(x86-64)', 'zsh', 'zutil.so()(64bit)', 'zselect.so()(64bit)', 'zpty.so()(64bit)', 'zprof.so()(64bit)', 'zleparameter.so()(64bit)', 'zle.so()(64bit)', 'zftp.so()(64bit)', 'terminfo.so()(64bit)', 'termcap.so()(64bit)', 'tcp.so()(64bit)', 'system.so()(64bit)', 'stat.so()(64bit)', 'socket.so()(64bit)', 'sched.so()(64bit)', 'rlimits.so()(64bit)', 'regex.so()(64bit)', 'parameter.so()(64bit)', 'newuser.so()(64bit)', 'mathfunc.so()(64bit)', 'mapfile.so()(64bit)', 'langinfo.so()(64bit)', 'files.so()(64bit)', 'example.so()(64bit)', 'deltochar.so()(64bit)', 'datetime.so()(64bit)', 'curses.so()(64bit)', 'config(zsh)', 'computil.so()(64bit)', 'complist.so()(64bit)', 'complete.so()(64bit)', 'compctl.so()(64bit)', 'clone.so()(64bit)', 'cap.so()(64bit)', 'attr.so()(64bit)']
Requires              	['/bin/sh', 'libdl.so.2()(64bit)', 'mktemp', 'libncursesw.so.5()(64bit)', 'fileutils', 'libm.so.6(GLIBC_2.2.5)(64bit)', 'libc.so.6(GLIBC_2.3.4)(64bit)', 'libc.so.6(GLIBC_2.4)(64bit)', 'libc.so.6(GLIBC_2.3)(64bit)', 'grep', 'libc.so.6(GLIBC_2.2.5)(64bit)', 'libc.so.6()(64bit)', 'libtinfo.so.5()(64bit)', 'rtld(GNU_HASH)', 'coreutils', 'libc.so.6(GLIBC_2.7)(64bit)', '/sbin/install-info', '/bin/sh', 'libdl.so.2(GLIBC_2.2.5)(64bit)', 'libm.so.6()(64bit)', 'grep', 'libc.so.6(GLIBC_2.11)(64bit)', '/sbin/install-info']

Comment 4 Preethi Thomas 2011-08-16 12:07:36 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 5 Preethi Thomas 2011-08-16 12:21:07 UTC
Closing with Community Release 15

pulp-0.0.223-4.


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