RESOLVED FIXED 180293
download-latest-github-release.py should use existing release ANY time latest is not found
https://bugs.webkit.org/show_bug.cgi?id=180293
Summary download-latest-github-release.py should use existing release ANY time latest...
Ross Kirsling
Reported 2017-12-01 16:15:59 PST
download-latest-github-release.py should use existing release ANY time latest is not found
Attachments
Patch (4.98 KB, patch)
2017-12-01 16:23 PST, Ross Kirsling
no flags
Ross Kirsling
Comment 1 2017-12-01 16:23:43 PST
Per Arne Vollan
Comment 2 2017-12-04 14:38:54 PST
Comment on attachment 328183 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=328183&action=review R=me. > Tools/Scripts/download-latest-github-release.py:117 > + release_url, latest_version_info = find_latest_release(args) Could 'find_latest_release' still throw an exception? If so, we might want to catch that.
Ross Kirsling
Comment 3 2017-12-04 14:51:52 PST
(In reply to Per Arne Vollan from comment #2) > > Tools/Scripts/download-latest-github-release.py:117 > > + release_url, latest_version_info = find_latest_release(args) > > Could 'find_latest_release' still throw an exception? If so, we might want > to catch that. A few days ago, Basuke added an outer `try` because find_latest_release was catching just HTTPError instead of the more general URLError (which includes network errors and the like). This patch changes find_latest_release to catch URLError so that the outer `try` is unnecessary. It could still hit a TypeError when decoding the JSON response, but we probably want user intervention in such a strange case anyway.
WebKit Commit Bot
Comment 4 2017-12-04 15:05:03 PST
Comment on attachment 328183 [details] Patch Clearing flags on attachment: 328183 Committed r225498: <https://trac.webkit.org/changeset/225498>
WebKit Commit Bot
Comment 5 2017-12-04 15:05:05 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2017-12-04 15:06:14 PST
Note You need to log in before you can comment on or make changes to this bug.