Closed
Bug 1202573
Opened 9 years ago
Closed 9 years ago
Use more restrictive slug regex ^[A-Za-z0-9_-]{8}[Q-T][A-Za-z0-9_-][CGKOSWaeimquy26-][A-Za-z0-9_-]{10}[AQgw]$ in taskcluster schemas
Categories
(Taskcluster :: General, defect)
Taskcluster
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: pmoore, Assigned: pmoore)
References
Details
Attachments
(9 files)
59 bytes,
text/x-github-pull-request
|
jonasfj
:
review+
|
Details | Review |
56 bytes,
text/x-github-pull-request
|
jonasfj
:
review+
|
Details | Review |
55 bytes,
text/x-github-pull-request
|
jonasfj
:
review+
|
Details | Review |
59 bytes,
text/x-github-pull-request
|
jonasfj
:
review+
|
Details | Review |
54 bytes,
text/x-github-pull-request
|
jhford
:
review+
|
Details | Review |
55 bytes,
text/x-github-pull-request
|
jonasfj
:
review+
|
Details | Review |
55 bytes,
text/x-github-pull-request
|
jonasfj
:
review+
|
Details | Review |
57 bytes,
text/x-github-pull-request
|
mrrrgn
:
review+
|
Details | Review |
69 bytes,
text/plain
|
jonasfj
:
review+
|
Details |
Currently in our schemas we are using
^[a-zA-Z0-9-_]{22}$
to validate slugids in our schemas. However, this does not guarantee a v4 compliant uuid when decoded. The more restrictive regex:
^[A-Za-z0-9_-]{8}[Q-T][A-Za-z0-9_-][CGKOSWaeimquy26-][A-Za-z0-9_-]{10}[AQgw]$
does guarantees conformity. We should therefore update our schemas to use this regex instead.
This bug originated in https://bugzilla.mozilla.org/show_bug.cgi?id=1194767#c58.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8658177 -
Flags: review?(jopsen)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → pmoore
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8658181 -
Flags: review?(jopsen)
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8658197 -
Flags: review?(jopsen)
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8658200 -
Flags: review?(jopsen)
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8658203 -
Flags: review?(jhford)
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8658216 -
Flags: review?(jopsen)
Assignee | ||
Comment 7•9 years ago
|
||
Attachment #8658221 -
Flags: review?(jopsen)
Assignee | ||
Comment 8•9 years ago
|
||
Attachment #8658222 -
Flags: review?(winter2718)
Assignee | ||
Comment 9•9 years ago
|
||
Attachment #8658231 -
Flags: review?(jhford)
Comment 10•9 years ago
|
||
Comment on attachment 8658221 [details] [review]
Github Pull Request taskcluster/taskcluster-base
Landed...
Attachment #8658221 -
Flags: review?(jopsen) → review+
Comment 11•9 years ago
|
||
Comment on attachment 8658231 [details]
Github Pull Request taskcluster/aws-purge-cache
merged
Attachment #8658231 -
Flags: review?(jhford) → review+
Comment 12•9 years ago
|
||
Comment on attachment 8658200 [details] [review]
Github Pull Request taskcluster/taskcluster-scheduler
merged... might take a while to rollout, as it is low priority, so will ride the next thing..
Attachment #8658200 -
Flags: review?(jopsen) → review+
Comment 13•9 years ago
|
||
Comment on attachment 8658197 [details] [review]
Github Pull Request taskcluster/taskcluster-index
merged
Attachment #8658197 -
Flags: review?(jopsen) → review+
Comment 14•9 years ago
|
||
Comment on attachment 8658181 [details] [review]
Github Pull Request taskcluster/taskcluster-queue
merged
Attachment #8658181 -
Flags: review?(jopsen) → review+
Comment 15•9 years ago
|
||
Comment on attachment 8658177 [details] [review]
Github Pull Request taskcluster/task-graph-scheduler
merged
Attachment #8658177 -
Flags: review?(jopsen) → review+
Comment 16•9 years ago
|
||
Comment on attachment 8658216 [details] [review]
Github Pull Request taskcluster/taskcluster-auth
merged
Attachment #8658216 -
Flags: review?(jopsen) → review+
Updated•9 years ago
|
Attachment #8658222 -
Flags: review?(winter2718) → review+
Updated•9 years ago
|
Attachment #8658203 -
Flags: review?(jhford) → review+
Assignee | ||
Comment 17•9 years ago
|
||
Comment on attachment 8658231 [details]
Github Pull Request taskcluster/aws-purge-cache
>https://github.com/taskcluster/taskcluster-purge-cache/pull/2
Assignee | ||
Comment 18•9 years ago
|
||
The only thing left to do is to publish all the schemas....
I thought this was automatic, but I investigated, and the schemas have not all been (automatically) updated.
I spotted: https://github.com/taskcluster/taskcluster-auth/commit/17cff9af50f019a30e60beb0d1f81a2a9126880c#diff-354f30a63fb0907d4ad57269548329e3
What is the process for deploying our apps based on taskcluster-base into heroku? Which of them are automatic, which ones need to be deployed manually, and what is the rationale behind automatic/not-automatic for each of them? Also, do *all* apps automatically update their schemas on push to heroku, or is this a manual step for any of the apps?
Thanks!
Flags: needinfo?(jopsen)
Assignee | ||
Comment 19•9 years ago
|
||
Example of non-automatic update
===============================
https://github.com/taskcluster/taskcluster-auth/blob/master/schemas/constants.js#L12
https://github.com/taskcluster/taskcluster-auth/blob/master/schemas/client-credentials-response.yml#L11
is inconsistent with:
http://schemas.taskcluster.net/auth/v1/client-credentials-response.json (line 10)
Assignee | ||
Comment 20•9 years ago
|
||
jhford pointed me to the heroku web interface, where I could see that most of the repos did not have auto-deployment from github master branch enabled.
I did manual deployments of the components I could (I did not have access to deploy aws provisioner, but jhford told me that one is automatic, and I've asked selena for access for future) and I could not deploy taskcluster-github either - I'll ping mrrrgn.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(jopsen)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•