Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29515558: Issue 5496 - Use omahaproxy to get chrome-versions (Closed)

Created:
Aug. 14, 2017, 8:01 a.m. by tlucas
Modified:
Aug. 14, 2017, 2:49 p.m.
CC:
Felix Dahlke, juliandoucette
Visibility:
Public.

Description

Issue 5496 - Use omahaproxy to get chrome-versions

Patch Set 1 #

Total comments: 2

Patch Set 2 : Choose desired version in dict-comprehension #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -24 lines) Patch
M globals/get_browser_versions.py View 1 2 chunks +10 lines, -24 lines 3 comments Download

Messages

Total messages: 7
tlucas
Patch Set 1 Changed get_chrome_versions to use the recommended omahaproxy.
Aug. 14, 2017, 8:04 a.m. (2017-08-14 08:04:30 UTC) #1
Sebastian Noack
https://codereview.adblockplus.org/29515558/diff/29515559/globals/get_browser_versions.py File globals/get_browser_versions.py (right): https://codereview.adblockplus.org/29515558/diff/29515559/globals/get_browser_versions.py#newcode93 globals/get_browser_versions.py:93: channels = {x['channel']: x for x in data[0]['versions']} It ...
Aug. 14, 2017, 11:54 a.m. (2017-08-14 11:54:31 UTC) #2
tlucas
Patch Set 2 Removed "get_chrome_version" and moved the logic to the dict-comprehension https://codereview.adblockplus.org/29515558/diff/29515559/globals/get_browser_versions.py File globals/get_browser_versions.py ...
Aug. 14, 2017, 12:08 p.m. (2017-08-14 12:08:28 UTC) #3
Sebastian Noack
LGTM
Aug. 14, 2017, 12:41 p.m. (2017-08-14 12:41:28 UTC) #4
saroyanm
https://codereview.adblockplus.org/29515558/diff/29515561/globals/get_browser_versions.py File globals/get_browser_versions.py (right): https://codereview.adblockplus.org/29515558/diff/29515561/globals/get_browser_versions.py#newcode18 globals/get_browser_versions.py:18: CHROME_URL = 'https://omahaproxy.appspot.com/all.json?os=win' The URL mentioned in the Issue ...
Aug. 14, 2017, 2:26 p.m. (2017-08-14 14:26:10 UTC) #5
Sebastian Noack
https://codereview.adblockplus.org/29515558/diff/29515561/globals/get_browser_versions.py File globals/get_browser_versions.py (right): https://codereview.adblockplus.org/29515558/diff/29515561/globals/get_browser_versions.py#newcode18 globals/get_browser_versions.py:18: CHROME_URL = 'https://omahaproxy.appspot.com/all.json?os=win' On 2017/08/14 14:26:10, saroyanm wrote: > ...
Aug. 14, 2017, 2:33 p.m. (2017-08-14 14:33:30 UTC) #6
saroyanm
Aug. 14, 2017, 2:34 p.m. (2017-08-14 14:34:48 UTC) #7
LGTM

https://codereview.adblockplus.org/29515558/diff/29515561/globals/get_browser...
File globals/get_browser_versions.py (right):

https://codereview.adblockplus.org/29515558/diff/29515561/globals/get_browser...
globals/get_browser_versions.py:18: CHROME_URL =
'https://omahaproxy.appspot.com/all.json?os=win'
On 2017/08/14 14:33:30, Sebastian Noack wrote:
> On 2017/08/14 14:26:10, saroyanm wrote:
> > The URL mentioned in the Issue tracker doesn't include os=win parameter. Is
> the
> > usage intentional ?
> 
> Note that this is consistent with the old implementation, using the update
API,
> where we set <os platform="win">. Since the requirements page doesn't account
> for different Chrome version potentially being released for different
operating
> systems, we have to abstract that detail away. Using the version numbers of
> Chrome for Windows seems reasonable as this is by far the most widely used
> operating system. I've updated the issue description.

Acknowledged.

Powered by Google App Engine
This is Rietveld