Bug 679464
| Summary: | beautify package info CLI output | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | dgao | ||||
| Component: | z_other | Assignee: | Jason Connor <jconnor> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | unspecified | CC: | mmccune, skarmark, tsanders | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-08-16 12:07:36 UTC | Type: | --- | ||||
| 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: | 647488, 673053 | ||||||
| Attachments: |
|
||||||
Not an RFE. This seems to be a regression as package info was giving formatted output. Created attachment 504925 [details]
Screenshot
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']
Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |
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?