Bug 220744

Summary: [webkitcorepy] Support alternative default pypi url on macOS
Product: WebKit Reporter: Jonathan Bedard <jbedard>
Component: Tools / TestsAssignee: Jonathan Bedard <jbedard>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, jlewis3, mcatanzaro, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 220736    
Attachments:
Description Flags
Patch
none
Patch for landing
none
Patch for landing none

Description Jonathan Bedard 2021-01-19 13:00:29 PST
A bit of a niche use-case for some of Apple's automated infrastructure.
Comment 1 Radar WebKit Bug Importer 2021-01-19 13:02:12 PST
<rdar://problem/73369338>
Comment 2 Jonathan Bedard 2021-01-19 13:52:26 PST
Created attachment 417908 [details]
Patch
Comment 3 Aakash Jain 2021-01-19 15:28:19 PST
Comment on attachment 417908 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=417908&action=review

> Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py:320
> +                parts = line.split('/')

is it reliable way to depend on the line containing certain number of slashes. Can we explicitly read index/index-url from the file?
Comment 4 Aakash Jain 2021-01-19 15:29:18 PST
maybe using a regex starting with https://
Comment 5 Jonathan Bedard 2021-01-19 15:36:16 PST
(In reply to Aakash Jain from comment #4)
> maybe using a regex starting with https://

Will replace this with a regex.
Comment 6 Jonathan Bedard 2021-01-19 15:50:24 PST
Created attachment 417919 [details]
Patch for landing
Comment 7 EWS 2021-01-19 16:34:49 PST
Committed r271630: <https://trac.webkit.org/changeset/271630>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 417919 [details].
Comment 8 Jonathan Bedard 2021-01-20 08:01:50 PST
Reopening to attach new patch.
Comment 9 Jonathan Bedard 2021-01-20 08:01:51 PST
Created attachment 417969 [details]
Patch for landing
Comment 10 Jonathan Bedard 2021-01-20 08:03:01 PST
Committed r271649: <https://trac.webkit.org/changeset/271649>