Bug 811010

Summary: API for listing all repos by ID
Product: [Retired] Pulp Reporter: Dennis Gregorovic <dgregor>
Component: user-experienceAssignee: Jay Dobies <jason.dobies>
Status: CLOSED WORKSFORME QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: MasterCC: mhrivnak, skarmark
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-27 22:05:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dennis Gregorovic 2012-04-09 20:52:12 UTC
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
509

real    5m13.160s
user    0m9.232s
sys 0m0.643s

Can we have a new API that quickly returns just the list of repo IDs?

Comment 1 Michael Hrivnak 2013-09-27 22:05:48 UTC
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
506

real	0m1.840s
user	0m1.564s
sys	0m0.153s