Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

1148556 - Validate repo-registry-id to ensure compatibility with Docker #52

Merged
merged 1 commit into from Jan 8, 2015

Conversation

asmacdo
Copy link
Contributor

@asmacdo asmacdo commented Jan 6, 2015

BZ -1148556

Docker registry id's cannot contain uppercase letters, so they should be validated. If the repo-registry-id is not specified, it defaults to repo id, so in that case, the repo-id needs to be validated differently.

This PR gives a less than ideal error back to the user. This problem is fixed in pulp/pulp#1487

Sayli Karmarkar (skarmark@redhat.com)
Austin Macdonald (amacdona@redhat.com)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are you, a librarian?

@bowlofeggs
Copy link
Contributor

I think you should make sure that one function returns a bool as it says it does. You should also unit test that one function directly, ensuring that the returned type is bool. No need for re-review once you do that, LGTM!

asmacdo added a commit that referenced this pull request Jan 8, 2015
1148556 - Validate repo-registry-id to ensure compatibility with Docker
@asmacdo asmacdo merged commit 275eb2d into pulp:master Jan 8, 2015
@asmacdo asmacdo deleted the 1148556 branch January 8, 2015 21:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants