Bug 175972 - [WinCairo] Use GitHub releases for WinCairoRequirements
Summary: [WinCairo] Use GitHub releases for WinCairoRequirements
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Don Olmstead
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-08-24 18:48 PDT by Don Olmstead
Modified: 2017-08-25 10:24 PDT (History)
10 users (show)

See Also:


Attachments
Patch (6.27 KB, patch)
2017-08-24 18:58 PDT, Don Olmstead
no flags Details | Formatted Diff | Diff
Patch (6.38 KB, patch)
2017-08-24 19:33 PDT, Don Olmstead
no flags Details | Formatted Diff | Diff
Patch (6.31 KB, patch)
2017-08-24 19:40 PDT, Don Olmstead
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Don Olmstead 2017-08-24 18:48:09 PDT
Now that there is a script which will download a GitHub release package it should be used instead of the original perl script.
Comment 1 Don Olmstead 2017-08-24 18:58:25 PDT
Created attachment 319053 [details]
Patch

This uses download-latest-github-release.py to get the latest WinCairoRequirements.
Comment 2 Build Bot 2017-08-24 18:59:33 PDT
Attachment 319053 [details] did not pass style-queue:


ERROR: Tools/Scripts/download-latest-github-release.py:48:  expected 2 blank lines, found 1  [pep8/E302] [5]
ERROR: Tools/Scripts/download-latest-github-release.py:106:  [main] Undefined variable 'ERROR'  [pylint/E0602] [5]
ERROR: Tools/Scripts/download-latest-github-release.py:129:  Undefined variable 'ERROR'  [pylint/E0602] [5]
Total errors found: 3 in 4 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Don Olmstead 2017-08-24 19:33:08 PDT
Created attachment 319058 [details]
Patch

Fix style
Comment 4 Build Bot 2017-08-24 19:35:08 PDT
Attachment 319058 [details] did not pass style-queue:


ERROR: Tools/Scripts/download-latest-github-release.py:44:  expected 2 blank lines, found 1  [pep8/E302] [5]
Total errors found: 1 in 4 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Don Olmstead 2017-08-24 19:40:30 PDT
Created attachment 319060 [details]
Patch

Fix logic error
Comment 6 Don Olmstead 2017-08-24 19:45:25 PDT
Comment on attachment 319060 [details]
Patch

Modified download-latest-github-release.py so it can be imported and used from the script directly. This means the update-webkit-wincairo-libs doesn't have to keep track of whether the file was updated.

Also Removed the old perl implementation.
Comment 7 Don Olmstead 2017-08-24 19:47:23 PDT
This should fix the WinCairo builds as the referenced repository has the sqlite files staged so CMake will pick them up.
Comment 8 Brent Fulgham 2017-08-25 09:25:56 PDT
Comment on attachment 319060 [details]
Patch

Nice! r=me.
Comment 9 WebKit Commit Bot 2017-08-25 10:23:24 PDT
Comment on attachment 319060 [details]
Patch

Clearing flags on attachment: 319060

Committed r221191: <http://trac.webkit.org/changeset/221191>
Comment 10 WebKit Commit Bot 2017-08-25 10:23:25 PDT
All reviewed patches have been landed.  Closing bug.
Comment 11 Radar WebKit Bug Importer 2017-08-25 10:24:34 PDT
<rdar://problem/34083805>