Story #1588
closedpulp-admin rpm repo list --fields should be able to return any field that is displayed with --detail
0%
Description
Currently when an admin uses "--fields" to slice output of an RPM repo listing, only "id,description,display_name,content_unit_counts" appear to be able to be used. I believe it would be very useful for pulp-admin to return any of the following fields, which are all displayed when you run the --detail switch:
Id: Display Description: Content Erratum: Package Package Package Rpm: Yum Notes: Importers: Config: Feed: Proxy Proxy SSL SSL SSL Id: Importer Last Repo Scheduled Distributors: Auto Config: Checksum Http: Https: Relative Distributor Id: Last Repo Scheduled Auto Config: Http: Https: Distributor Id: Last Repo Scheduled.
A mockup example of what would be handy follows:
- pulp-admin rpm repo list --fields="id,display_name,relative_url"
--------------------------------------------------------------------
RPM Repositories
--------------------------------------------------------------------
Id: EPEL7
Display Name: EPEL7
Relative URL: /epel/7/x86_64/
Id: EPEL6
Display Name: EPEL6
Relative URL: /pub/epel/6/x86_64/