Hide Forgot
Description of problem: Once pulp has more than 2-3 repositories, running a 'pulp-admin repo list' generates a fair amount of data, enough to cause some fair scrolling. If you add cloning to this for a basic live/testing/stable style workflow, it becomes nearly impossible to just get a list of repo ids and names. Version-Release number of selected component (if applicable): pulp-admin-0.0.254-8.el6.noarch cr 31 How reproducible: always Steps to Reproduce: 1. create a few repositories 2. clone them for a workflow of untested / tested / stable 3. run pulp-admin repo list Actual results: every detail about every repository. Expected results: brief list of repository ID and repository name, one line per repository. similar to 'yum repolist' Additional info: I think having a --summary (default action) option as described above, and a --verbose option that displays the current behavior would significantly enhance the console functionality for pulp.
I massively support this - I would love a --summary option to make this significantly easier to deal with. Once you have 15-20 repos it gets incredibly hard to deal with in a useful manner. I would be OK if summary showed the ID and last sync and nothing else.
Currently piping it into | grep -C 1 "Name" That gives me the --short summary I need
This was fixed long ago. Example with 5 repos: $ pulp-admin rpm repo list +----------------------------------------------------------------------+ RPM Repositories +----------------------------------------------------------------------+ Id: foreman Display Name: foreman Description: None Content Unit Counts: Rpm: 97 Srpm: 1 Id: blah Display Name: blah Description: None Content Unit Counts: Distribution: 1 Package Category: 10 Package Group: 202 Yum Repo Metadata File: 1 Id: foo Display Name: foo Description: None Content Unit Counts: Erratum: 1 Package Group: 1 Rpm: 10 Id: bug Display Name: bug Description: None Content Unit Counts: Rpm: 1 Id: zoo Display Name: zoo Description: None Content Unit Counts: Erratum: 4 Package Category: 1 Package Group: 2 Rpm: 32
That's still a bit too verbose in many instances. For 5 repos, you have over 30 lines of output. 5 repositories doesn't really even get you started in most cases. If I have 20 or 30 repositories (dev/testing/prod for epel, rhel, etc) the amount of output is simply too much. Please see the output of 'yum repolist' and compare that against the output you pasted.