Project

Profile

Help

Story #987

closed

As a user, I would like the repo 'list' command to behave like 'search'

Added by patrick.wirth almost 9 years ago. Updated over 3 years ago.

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

0%

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

Description

These commands give the ability to have a slightly different 'list' view of ALL your repo records.

pulp-admin rpm repo list
pulp-admin rpm repo list --details
pulp-admin rpm repo list --fields
pulp-admin rpm repo list --all
pulp-admin rpm repo list --summary

If I wish to only view a single record, I can do the following.

pulp-admin rpm repo search --str-eq="id=my-repo"

but will not show me info contained in --details

The 'pulp-admin rpm repo search' command has a rich set of filter options.
https://pulp.readthedocs.org/en/latest/user-guide/general-reference.html#criteria

As a user, I would like to apply these same filters to the detailed list information that describes the repo itself and not just the data about the rpms within the repo.

pulp-admin rpm repo list --details --str-eq="id=my-repo"
pulp-admin rpm repo list --details --str-eq="Last Publish=2015-04-22T19:58:38Z"
pulp-admin rpm repo list --details --before="Last Publish=2015-04-22T19:58:38Z"
pulp-admin rpm repo list --details --after="Last Publish=2015-04-22T19:58:38Z"
pulp-admin rpm repo list --details --fields=id,feed

Also available in: Atom PDF