Project

Profile

Help

Story #1588

closed

pulp-admin rpm repo list --fields should be able to return any field that is displayed with --detail

Added by kfiresmith over 8 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

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:

  1. 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/

Also available in: Atom PDF