Bug 785168

Summary: Do not remove dots from pulp ids
Product: Red Hat Satellite Reporter: Lukas Zapletal <lzap>
Component: APIAssignee: Lukas Zapletal <lzap>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: bkearney, omaciel
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:23:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Lukas Zapletal 2012-01-27 14:09:30 UTC
Since Pulp accepts dots in pulp repo ids:

[root@ofed ~]# pulp-admin repo create --id "test.test3"
Successfully created repository [ test.test3 ]

We sould not remove them from repo names that are coming out of Katello.

Instead of 

xxxRed_Hat_Enterprise_Linux_5_Server_Beta_Source_ISOs_ia64_57

we should have

xxxRed_Hat_Enterprise_Linux_5_Server_Beta_Source_ISOs_ia64_5.7

Because possibly it could cause troubles, because:

11.1 == 1.11 -> 111 == 111

Comment 1 Lukas Zapletal 2012-01-27 14:44:46 UTC
be8521a 785168 - Do not remove dots from pulp ids

Comment 2 Lukas Zapletal 2012-01-27 15:10:06 UTC
Instead of dot the patch uses underscore. But the result is the same:

xxxRed_Hat_Enterprise_Linux_5_Server_Beta_Source_ISOs_ia64_5_7

Comment 3 Og Maciel 2012-02-24 21:34:57 UTC
# pulp-admin -u admin -p admin repo list | grep Id
Id                 	Seattle-RHN-CFTools      
Id                 	Seattle-RHEL_6_2-RHEL_6_1_x86_64
Id                 	Seattle-Dev1-RHN-CFTools 
Id                 	Seattle-QE1-RHN-CFTools  
Id                 	Seattle-GA1-RHN-CFTools  
Id                 	Seattle-SystemEngine-el6-tools
Id                 	Seattle-SystemEngine-el6-se
Id                 	Seattle-Dev1-SystemEngine-el6-tools
Id                 	Seattle-QE1-SystemEngine-el6-tools
Id                 	Seattle-Dev1-SystemEngine-el6-se
Id                 	Seattle-QE1-SystemEngine-el6-se
Id                 	Seattle-RHN-RHEL_6Server 
Id                 	Seattle-Dev1-RHN-RHEL_6Server
Id                 	Seattle-RHN-RHEL_6_2     
Id                 	Seattle-Dev1-RHN-RHEL_6_2
Id                 	Seattle-QE1-RHN-RHEL_6Server
Id                 	Seattle-QE1-RHN-RHEL_6_2 
Id                 	Seattle-GA1-RHN-RHEL_6_2 
Id                 	Seattle-GA1-RHN-RHEL_6Server

Validated:
* candlepin-0.5.22-1.el6.noarch
* candlepin-tomcat6-0.5.22-1.el6.noarch
* katello-0.1.300-1.el6.noarch
* katello-all-0.1.300-1.el6.noarch
* katello-certs-tools-1.0.2-2.el6.noarch
* katello-cli-0.1.100-2.el6.noarch
* katello-cli-common-0.1.100-2.el6.noarch
* katello-common-0.1.300-1.el6.noarch
* katello-configure-0.1.100-7.el6.noarch
* katello-glue-candlepin-0.1.300-1.el6.noarch
* katello-glue-foreman-0.1.300-1.el6.noarch
* katello-glue-pulp-0.1.300-1.el6.noarch
* katello-httpd-ssl-key-pair-1.0-1.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-repos-0.1.5-1.el6.noarch
* katello-selinux-0.1.7-1.el6.noarch
* katello-trusted-ssl-cert-1.0-1.noarch
* pulp-0.0.267-2.el6.noarch
* pulp-admin-0.0.267-2.el6.noarch
* pulp-client-lib-0.0.267-2.el6.noarch
* pulp-common-0.0.267-2.el6.noarch
* pulp-selinux-server-0.0.267-2.el6.noarch