Bug 760717 - pulp-admin does not have an 'info' command and no way to filter with 'list'
Summary: pulp-admin does not have an 'info' command and no way to filter with 'list'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: James Slagle
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-06 20:22 UTC by Mike McCune
Modified: 2013-09-09 16:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Mike McCune 2011-12-06 20:22:53 UTC
When you have hundreds of repositories in Pulp it becomes very difficult to view information about one repo.

Ideally we would have:


$ pulp-admin repo info --id=some-repo-id
Id                 	ACME_Corporation-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Source_ISOs_60_i386
Name               	Red Hat Enterprise Linux 6 Server Source ISOs 60 i386
Repo URL           	https://el6/pulp/repos/ACME_Corporation/Locker/Red_Hat_Enterprise_Linux_Server/Red_Hat_Enterprise_Linux_6_Server_Source_ISOs_60_i386/
Feed URL           	https://cdn.redhat.com/content/dist/rhel/server/6/6.0/i386/source/iso
Feed Type          	remote                   
Content Type       	file                     
Feed Certs         	CA:Yes   Cert:Yes
Consumer Certs     	CA:No   Cert:No
Architecture       	i386                     
Sync Schedule      	None                     
Packages           	0                        
Files              	0                        
Distributions      	None                     
Publish            	True                     
Clones             	[]                       
Groups             	[u'product:69', u'env:3', u'org:2']
Filters            	[]                       
Notes              	{}                       
Preserve Metadata  	True                     
Checksum Type      	sha256                   

Also would be great if you could do:

$ pulp-admin repo list --repoids=repoid1,repoid2
...

Comment 1 James Slagle 2011-12-15 21:53:16 UTC
I think if the first example is implemented, the goal of the second can be accomplished by just running pulp-admin multiple times.  I think this is a bit cleaner than specifying a list of repoids on the command line and having to parse that.

Comment 2 James Slagle 2011-12-20 13:13:08 UTC
Added "pulp-admin repo info --id <repoid>" subcommand.  Shows the same information "pulp-admin repo list", but for just the repo specified.

Commit a8b598214f11547191853ef78b9f9166f28e7428

Comment 3 Jeff Ortel 2012-01-04 21:48:48 UTC
build: 0.256

Comment 4 Preethi Thomas 2012-01-05 15:29:41 UTC
[root@preethi ~]# pulp-admin repo info --id=f15

Id                 	f15                      
Name               	f15                      
Repo URL           	https://preethi.usersys.redhat.com/pulp/repos/released/F-15/GOLD/Fedora/x86_64/os/
Feed URL           	http://download.devel.redhat.com/released/F-15/GOLD/Fedora/x86_64/os
Feed Type          	remote                   
Content Type       	yum                      
Feed Certs         	CA:No   Cert:No
Consumer Certs     	CA:No   Cert:No
Architecture       	noarch                   
Sync Schedule      	None                     
Packages           	2935                     
Files              	0                        
Distributions      	ks-Fedora-Fedora-15-x86_64
Publish            	True                     
Clones             	[]                       
Groups             	None                     
Filters            	[]                       
Notes              	{}                       
Preserve Metadata  	True                     
Checksum Type      	sha256                   

[root@preethi ~]# pulp-admin repo info --id=centos

Id                 	centos                   
Name               	centos                   
Repo URL           	https://preethi.usersys.redhat.com/pulp/repos/centos/6/os/x86_64/
Feed URL           	http://mirror.centos.org/centos/6/os/x86_64/
Feed Type          	remote                   
Content Type       	yum                      
Feed Certs         	CA:No   Cert:No
Consumer Certs     	CA:No   Cert:No
Architecture       	noarch                   
Sync Schedule      	None                     
Packages           	6294                     
Files              	0                        
Distributions      	ks-CentOS-None-6.2-x86_64
Publish            	True                     
Clones             	[]                       
Groups             	None                     
Filters            	[]                       
Notes              	{}                       
Preserve Metadata  	True                     
Checksum Type      	sha256

Comment 5 Preethi Thomas 2012-02-24 20:17:18 UTC
Pulp v1.0 is released
Closed Current Release.

Comment 6 Preethi Thomas 2012-02-24 20:18:22 UTC
Pulp v1.0 is released.


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