Red Hat Bugzilla – Bug 811010
API for listing all repos by ID
Last modified: 2013-09-27 18:05:48 EDT
The "pulp-admin repo list" command is a bit slow, presumably because it's fetching a good amount of info from the db for each repo.
$ time pulp-admin repo list | grep Id | wc -l
Can we have a new API that quickly returns just the list of repo IDs?
This seems to have been fixed. The command can now returns lots of repo data very quickly.
$ time pulp-admin rpm repo list | grep Id | wc -l