Skip to content

documentation for name validation grammar - #212

Merged
stevvooe merged 1 commit into
distribution:masterfrom
stevvooe:add-documentation-name-validator
Mar 4, 2015
Merged

stevvooe merged 1 commit into
distribution:masterfrom
stevvooe:add-documentation-name-validator

Conversation

@stevvooe

Copy link
Copy Markdown
Collaborator

Signed-off-by: Stephen J Day [email protected]

@stevvooe stevvooe added this to the Registry/Beta milestone Feb 27, 2015
@stevvooe

Copy link
Copy Markdown
Collaborator Author

cc @dmcgowan

@dmcgowan

Copy link
Copy Markdown
Collaborator

I assume this is just defining the exist grammar, not necessarily what we would expect to feed into discovery. If we are going to be DNS based the first element cannot contain a "_" or begin with a number. However this change should reflect what is currently support and no what is proposed. In that case LGTM

@stevvooe

stevvooe commented Mar 2, 2015

Copy link
Copy Markdown
Collaborator Author

@dmcgowan This is supposed to capture the current constraints. I'll have to make a few edits for this be correct.

@stevvooe
stevvooe force-pushed the add-documentation-name-validator branch from 18de78b to 6add5f3 Compare March 2, 2015 18:55
@stevvooe

stevvooe commented Mar 2, 2015

Copy link
Copy Markdown
Collaborator Author

@dmcgowan Updated. This grammar should be a superset of the DNS-based one and document the current constraints.

@dmcgowan

dmcgowan commented Mar 3, 2015

Copy link
Copy Markdown
Collaborator

It is not a superset if we are allowing :<port> in the first component, however for documenting current constraints LGTM

@stevvooe

stevvooe commented Mar 3, 2015

Copy link
Copy Markdown
Collaborator Author

@dmcgowan Should we modify the specification here to include colon or will that conflict?

@dmcgowan

dmcgowan commented Mar 4, 2015

Copy link
Copy Markdown
Collaborator

This logic matches the code so I think this PR should be merged as is. The larger discussion about number of components and colons should happen in the namespace PR.

stevvooe added a commit that referenced this pull request Mar 4, 2015
@stevvooe
stevvooe merged commit 72b4881 into distribution:master Mar 4, 2015
@stevvooe
stevvooe deleted the add-documentation-name-validator branch March 4, 2015 01:33
@stevvooe stevvooe modified the milestones: Registry/2.0.0-beta, Registry/2.0 Mar 31, 2015
thaJeztah pushed a commit to thaJeztah/distribution that referenced this pull request Apr 22, 2021
…ame-validator

documentation for name validation grammar
thaJeztah pushed a commit to thaJeztah/distribution that referenced this pull request Jan 19, 2022
…ame-validator

documentation for name validation grammar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants