You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Storage: This doesn't match our existing project ID: hello-rightscale002 #4447
changed the title [-]This doesn't match our existing project ID: hello-rightscale002[/-][+]Storage: This doesn't match our existing project ID: hello-rightscale002[/+]on Nov 24, 2017
Hi @papudesi, dhermes suggested a temporary fix while I try to find the actual project id. I will leave this issue open until I can find the actual requirements.
Also running into this with an existing project id of the form my-project. The suggested solution in #4467 wouldn't work for it anyway. I will also monkey patch the regex.
The unique, user-assigned ID of the Project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited.
The current regex insists on three hyphen-separated tokens, the first two of which must be alpha-only, and the last of which must be numeric-only. A regex which fits the spec I quoted would be:
Activity
[-]This doesn't match our existing project ID: hello-rightscale002[/-][+]Storage: This doesn't match our existing project ID: hello-rightscale002[/+]chemelnucfin commentedon Nov 27, 2017
I think the project id specifications have changed. I will try to find out more about what they should be and adjust the regex accordingly.
Closes googleapis#4447: Storage: Relax project id regex due to issue
chemelnucfin commentedon Nov 28, 2017
Hi @papudesi, dhermes suggested a temporary fix while I try to find the actual project id. I will leave this issue open until I can find the actual requirements.
hrfuller commentedon Dec 6, 2017
Also running into this with an existing project id of the form
my-project. The suggested solution in #4467 wouldn't work for it anyway. I will also monkey patch the regex.tseaver commentedon Dec 6, 2017
The resource manager API docs say:
dhermes commentedon Dec 6, 2017
@tseaver Nice find! (I assume you are implicitly saying "The current regex doesn't match that.")
chemelnucfin commentedon Dec 6, 2017
tseaver commentedon Dec 6, 2017
The current regex insists on three hyphen-separated tokens, the first two of which must be alpha-only, and the last of which must be numeric-only. A regex which fits the spec I quoted would be:
tseaver commentedon Dec 6, 2017
FTR, pythex is a cool way to test / debug regexes.
chemelnucfin commentedon Dec 13, 2017
Closed via #4543