| Summary: | Sync fails if the repo was created with space in id | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> | ||||
| Component: | user-experience | Assignee: | Sayli Karmarkar <skarmark> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 1.0.0 | CC: | cperry, skarmark | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | Type: | --- | |||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Preethi Thomas
2012-02-15 14:16:15 UTC
We have decided not to allow whitespace characters in repo id and relative path
for repositories, so fix for this contains regex checking and ValidationError
when repo id, clone id or relative path contains whitespace characters in it.
commit 4bd79f12c3b609f9b150b62822d4d09cdc606581
Author: Sayli Karmarkar <skarmark>
Date: Wed Feb 15 11:59:40 2012 -0800
789083, 790838, 790791 - Added regex checking and validation error when
repo id or relative path contains whitespace characters
$ sudo pulp-admin repo create --id "test whitespace"
error: operation failed: PulpValidationError: Given ID:[test whitespace] is
invalid. ID should not contain whitespace characters.
build: 0.267 verified [root@preethi ~]# pulp-admin repo create --id="test repo" --feed=http://repos.fedorapeople.org/repos/pulp/pulp/v1/testing/fedora-16/x86_64/ error: operation failed: PulpValidationError: Given ID:[test repo] is invalid. ID should not contain whitespace characters. [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# rpm -q pulp pulp-0.0.267-1.fc15.noarch [root@preethi ~]# Pulp v1.0 is released Closed Current Release. Pulp v1.0 is released. |