-
Notifications
You must be signed in to change notification settings - Fork 433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide some guidance for CLI-friendly names #425
Conversation
Hey duglin! Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA. |
1 similar comment
@@ -338,6 +338,11 @@ defines a "CLI-friendly" string as a short string that MUST only use lowercase | |||
characters, numbers and hyphens, with no spaces. This will make it easier for | |||
users when they have to type it as an argument on the command line. | |||
|
|||
For backwards compatibility reasons, this specification does not preclude |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this read "CLI-unfriendly"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it can go either way, but "unfriendly" does has kind of a funny tweak to it so I'll switch it.
Closes openservicebrokerapi#305 Signed-off-by: Doug Davis <dug@us.ibm.com>
@angarg12 @mattmcneeney re-review needed |
2 similar comments
just one more needed - @vaikas-google ? @pmorie ? |
@fmui ? |
1 similar comment
LGTM |
This seems contradicting with
The issue we have is that we have many services in CF that use some other characters like
|
I was going to open up an issue for this exact situation (the underscore) because we're seeing it too. Apparently CF only verifies that its a string so I'm not sure why the spec places any restrictions at all. As for those 2 spots in the spec... they're not exactly contradictory. The 2nd one tries to constrain the set of valid characters, the 1st one tries to tell people to be smart about what words they use while using those characters. I think the example given is a good one.... while "-" is a valid character, its really odd (and not friendly) to use just "-" as the service name. Issue: #603 |
Closes #305
Signed-off-by: Doug Davis dug@us.ibm.com