Bug 214606

Summary: [webkitcorepy] Add an auto-installer
Product: WebKit Reporter: Jonathan Bedard <jbedard>
Component: Tools / TestsAssignee: Jonathan Bedard <jbedard>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, ews-watchlist, glenn, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 13   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=214378
https://bugs.webkit.org/show_bug.cgi?id=214950
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch none

Description Jonathan Bedard 2020-07-21 11:25:48 PDT
Add an auto-installer that uses pypi to find and download compatible packages.

Unlike the webkitpy auto-installer, the goal of the new auto-installer is that adding a new auto-installed package should be a one-line change.
Comment 1 Jonathan Bedard 2020-07-21 11:45:12 PDT
Created attachment 404844 [details]
Patch
Comment 2 Jonathan Bedard 2020-07-22 13:55:52 PDT
Created attachment 404956 [details]
Patch
Comment 3 Jonathan Bedard 2020-07-22 13:58:12 PDT
(In reply to Jonathan Bedard from comment #2)
> Created attachment 404956 [details]
> Patch

Rather than fight with the ssl configurations of various different platforms and versions, let's just include the root cert needed by PyPi and be done with it. Most https requests will end up being made through requests, so the root certificate is really just for for PyPi.
Comment 4 Jonathan Bedard 2020-07-22 14:09:05 PDT
Created attachment 404959 [details]
Patch
Comment 5 Jonathan Bedard 2020-07-22 14:24:20 PDT
Created attachment 404962 [details]
Patch
Comment 6 Jonathan Bedard 2020-07-22 14:51:55 PDT
Created attachment 404968 [details]
Patch
Comment 7 Jonathan Bedard 2020-07-22 15:00:36 PDT
Created attachment 404973 [details]
Patch
Comment 8 Jonathan Bedard 2020-07-22 15:06:05 PDT
Created attachment 404975 [details]
Patch
Comment 9 Jonathan Bedard 2020-07-22 15:18:15 PDT
Created attachment 404980 [details]
Patch
Comment 10 Jonathan Bedard 2020-07-22 15:21:03 PDT
Comment on attachment 404980 [details]
Patch

The difficulties I've had with this patch illustrate why a dedicated auto-installer would be best. We can standardize our certificate roots so we aren't relying on system certificates.
Comment 11 Radar WebKit Bug Importer 2020-07-28 11:26:18 PDT
<rdar://problem/66228103>
Comment 12 Jonathan Bedard 2020-07-29 07:16:03 PDT
Created attachment 405456 [details]
Patch
Comment 13 Jonathan Bedard 2020-07-29 11:43:46 PDT
Committed r265049: <https://trac.webkit.org/changeset/265049>
Comment 14 Jonathan Bedard 2020-07-29 14:50:04 PDT
Committed r265058: <https://trac.webkit.org/changeset/265058>
Comment 15 Jonathan Bedard 2020-07-30 20:25:35 PDT
Committed r265128: <https://trac.webkit.org/changeset/265128>