Bug 747027 - repos created with local repo discovery should have a better repo id.
Summary: repos created with local repo discovery should have a better repo id.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-18 15:35 UTC by Preethi Thomas
Modified: 2013-09-09 16:34 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-18 20:06:52 UTC


Attachments (Terms of Use)

Description Preethi Thomas 2011-10-18 15:35:56 UTC
Description of problem:
repos created with local repo discovery has an id with file path (url).

For example 


see the following repo id of the repo created with local discovery.


[root@preethi ~]# pulp-admin repo discovery --url=file:///var/lib/pulp//repos/repos/pulp/pulp/fedora-14/x86_64 --type=yum
Discovering urls with yum metadata, This could take some time...
Number of Urls Discovered (/): 0
+------------------------------------------+
 Repository Urls discovered @ [file:///var/lib/pulp//repos/repos/pulp/pulp/fedora-14/x86_64]
+------------------------------------------+
(-)  [1] file:///var/lib/pulp//repos/repos/pulp/pulp/fedora-14/x86_64

Select urls for which candidate repos should be created; use `y` to confirm (h for help):y
(-)  [1] file:///var/lib/pulp//repos/repos/pulp/pulp/fedora-14/x86_64

Select urls for which candidate repos should be created; use `y` to confirm (h for help):y
(-)  [1] file:///var/lib/pulp//repos/repos/pulp/pulp/fedora-14/x86_64

Select urls for which candidate repos should be created; use `y` to confirm (h for help):1
(+)  [1] file:///var/lib/pulp//repos/repos/pulp/pulp/fedora-14/x86_64

Select urls for which candidate repos should be created; use `y` to confirm (h for help):y

Creating candidate repos for selected urls..
Successfully created repo [var-lib-pulp-repos-repos-pulp-pulp-fedora-14-x86_64]
[root@preethi ~]# pulp-admin repo list
+------------------------------------------+
       List of Available Repositories
+------------------------------------------+
        

Id                 	var-lib-pulp-repos-repos-pulp-pulp-fedora-14-x86_64
Name               	var-lib-pulp-repos-repos-pulp-pulp-fedora-14-x86_64
Repo URL           	https://preethi.usersys.redhat.com/pulp/repos/var-lib-pulp-repos-repos-pulp-pulp-fedora-14-x86_64/
Feed URL           	file:///var/lib/pulp//repos/repos/pulp/pulp/fedora-14/x86_64
Feed Type          	local                    
Content Type       	yum                      
Feed Certs         	CA:No   Cert:No
Consumer Certs     	CA:No   Cert:No
Architecture       	noarch                   
Sync Schedule      	None                     
Packages           	0                        
Files              	0                        
Distributions      	None                     
Publish            	True                     
Clones             	[]                       
Groups             	None                     
Filters            	[]                       
Notes              	{}                       
Preserve Metadata  	False


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