Bug 630977 - Repo list output is showing a dictionary for the feed values
Summary: Repo list output is showing a dictionary for the feed values
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks: pulp-verified
TreeView+ depends on / blocked
 
Reported: 2010-09-07 14:27 UTC by Jay Dobies
Modified: 2011-08-16 13:59 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-08-16 13:59:35 UTC
Embargoed:


Attachments (Terms of Use)

Description Jay Dobies 2010-09-07 14:27:54 UTC
Not sure when this changed, but we now output a dict with feed values instead of a user-formatted output:

Label              	repo3                    
Name               	repo3                    
Feed               	{u'url': u'http://mmccune.fedorapeople.org/pulp/', u'type': u'yum', u'supported_types': [u'yum', u'local', u'rhn']}
Arch               	noarch                   
Sync Schedule      	None                     
Packages           	/pulp/api/repositories/repo3/packages/


We should parse this and show it better in the output.

Comment 1 Jay Dobies 2010-09-07 14:28:21 UTC
This is in HEAD as of Sep 7, which I'm about to cut for the 0.2 community release, so consider that the version.

Comment 2 Pradeep Kilambi 2010-10-27 19:48:48 UTC
fixed!

feedurl and type should now be separate fields

$ sudo pulp-admin repo list
+------------------------------------------+
       List of Available Repositories
+------------------------------------------+
Label              	fless                    
Name               	fless                    
FeedURL            	None                     
FeedType           	None                     
Arch               	noarch                   
Sync Schedule      	None                     
Packages           	0                        
Files              	0                        
Publish            	True                     
Clones             	[]                       


Label              	f13                      
Name               	f13                      
FeedURL            	http://download.fedora.redhat.com/pub/fedora/linux/updates/13/x86_64
FeedType           	yum                      
Arch               	noarch                   
Sync Schedule      	None                     
Packages           	7308                     
Files              	0                        
Publish            	True                     
Clones             	[]

Comment 3 Jay Dobies 2010-10-29 16:58:27 UTC
Fixed in 0.77.

Comment 4 Jay Dobies 2010-11-03 19:35:28 UTC
Fixed in build 0.78.

Comment 5 Preethi Thomas 2010-11-10 13:25:04 UTC
verified

[root@preethi ~]# pulp-admin -u admin -p redhat repo list
+------------------------------------------+
       List of Available Repositories
+------------------------------------------+

Label              	f13_test_relative        
Name               	f13_test_relative        
FeedURL            	http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-13/x86_64/
FeedType           	yum                      
Arch               	noarch                   
Sync Schedule      	*/5 * * * *              
Packages           	9                        
Files              	0                        
Publish            	True                     
Clones             	[]                       


Label              	f14                      
Name               	f14                      
FeedURL            	http://download.fedora.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/
FeedType           	yum                      
Arch               	x86_64                   
Sync Schedule      	None                     
Packages           	2766                     
Files              	6                        
Publish            	True                     
Clones             	[]                       


Label              	f13                      
Name               	f13                      
FeedURL            	http://download.devel.redhat.com/released/F-13/GOLD/Fedora/x86_64/os/
FeedType           	yum                      
Arch               	x86_64                   
Sync Schedule      	None                     
Packages           	3102                     
Files              	8                        
Publish            	True                     
Clones             	[]                       


Label              	f13-updates              
Name               	f13-updates              
FeedURL            	http://download.fedora.redhat.com/pub/fedora/linux/updates/13/x86_64/
FeedType           	yum                      
Arch               	x86_64                   
Sync Schedule      	None                     
Packages           	7604                     
Files              	0                        
Publish            	True                     
Clones             	[]

Comment 6 Preethi Thomas 2011-08-16 13:59:35 UTC
Closing with Community Release 15

pulp-0.0.223-4.


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