Bug 811010 - API for listing all repos by ID
Summary: API for listing all repos by ID
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: Master
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jay Dobies
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-09 20:52 UTC by Dennis Gregorovic
Modified: 2013-09-27 22:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-27 22:05:48 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.