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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pmoore, Assigned: pmoore)

References

Details

Attachments

(9 files)

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: nobody → pmoore
Comment on attachment 8658221 [details] [review] Github Pull Request taskcluster/taskcluster-base Landed...
Attachment #8658221 - Flags: review?(jopsen) → review+
Comment on attachment 8658231 [details] Github Pull Request taskcluster/aws-purge-cache merged
Attachment #8658231 - Flags: review?(jhford) → review+
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 on attachment 8658197 [details] [review] Github Pull Request taskcluster/taskcluster-index merged
Attachment #8658197 - Flags: review?(jopsen) → review+
Comment on attachment 8658181 [details] [review] Github Pull Request taskcluster/taskcluster-queue merged
Attachment #8658181 - Flags: review?(jopsen) → review+
Comment on attachment 8658177 [details] [review] Github Pull Request taskcluster/task-graph-scheduler merged
Attachment #8658177 - Flags: review?(jopsen) → review+
Comment on attachment 8658216 [details] [review] Github Pull Request taskcluster/taskcluster-auth merged
Attachment #8658216 - Flags: review?(jopsen) → review+
Attachment #8658222 - Flags: review?(winter2718) → review+
Attachment #8658203 - Flags: review?(jhford) → review+
Comment on attachment 8658231 [details] Github Pull Request taskcluster/aws-purge-cache >https://github.com/taskcluster/taskcluster-purge-cache/pull/2
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)
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.

Attachment

General

Created:
Updated:
Size: