Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Issue 1830253003: [Telemetry] Update the code that detect windows version to use CurrentMajorVersionNumber (Closed)

Created:
4 years, 9 months ago by nednguyen
Modified:
4 years, 9 months ago
Reviewers:
brucedawson
CC:
catapult-reviews_chromium.org
Base URL:
https://github.com/catapult-project/catapult@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[Telemetry] Update the code that detect windows version to use CurrentMajorVersionNumber Since Windows 8, platform.uname()'s third field starts with 6.2, hence to detect Windows 10, we have to use CurrentMajorVersionNumber from registry. BUG=chromium:596640 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/586fde52438f283f7bafb27e4c85ccaee593c4b0

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address Bruce comment #

Total comments: 2

Patch Set 3 : Add win8.1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -5 lines) Patch
M telemetry/telemetry/core/os_version.py View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M telemetry/telemetry/internal/platform/win_platform_backend.py View 1 2 3 chunks +20 lines, -5 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
nednguyen
4 years, 9 months ago (2016-03-24 20:26:11 UTC) #2
brucedawson
See comments below. Also note that the change description should probably acknowledge the manifest-based reason ...
4 years, 9 months ago (2016-03-24 20:37:58 UTC) #3
nednguyen
https://codereview.chromium.org/1830253003/diff/1/telemetry/telemetry/internal/platform/win_platform_backend.py File telemetry/telemetry/internal/platform/win_platform_backend.py (right): https://codereview.chromium.org/1830253003/diff/1/telemetry/telemetry/internal/platform/win_platform_backend.py#newcode39 telemetry/telemetry/internal/platform/win_platform_backend.py:39: import _winreg # pylint: disable=import-error On 2016/03/24 20:37:58, brucedawson ...
4 years, 9 months ago (2016-03-24 22:56:24 UTC) #4
nednguyen
On 2016/03/24 22:56:24, nednguyen wrote: > https://codereview.chromium.org/1830253003/diff/1/telemetry/telemetry/internal/platform/win_platform_backend.py > File telemetry/telemetry/internal/platform/win_platform_backend.py (right): > > https://codereview.chromium.org/1830253003/diff/1/telemetry/telemetry/internal/platform/win_platform_backend.py#newcode39 > ...
4 years, 9 months ago (2016-03-25 21:27:36 UTC) #5
brucedawson
Sorry for the delayed reply - for some reason I didn't see the updated version ...
4 years, 9 months ago (2016-03-25 21:50:17 UTC) #6
nednguyen
Thanks for your reviews! https://codereview.chromium.org/1830253003/diff/20001/telemetry/telemetry/internal/platform/win_platform_backend.py File telemetry/telemetry/internal/platform/win_platform_backend.py (right): https://codereview.chromium.org/1830253003/diff/20001/telemetry/telemetry/internal/platform/win_platform_backend.py#newcode255 telemetry/telemetry/internal/platform/win_platform_backend.py:255: elif os_version.startswith('6.2.'): On 2016/03/25 21:50:17, ...
4 years, 9 months ago (2016-03-25 22:18:02 UTC) #7
brucedawson
lgtm
4 years, 9 months ago (2016-03-25 22:25:36 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1830253003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1830253003/40001
4 years, 9 months ago (2016-03-25 22:26:06 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/586fde52438f283f7bafb27e4c85ccaee593c4b0
4 years, 9 months ago (2016-03-25 22:52:21 UTC) #12
Will Harris
thanks for doing this FYI - python with no manifest (i.e. the version we use) ...
4 years, 9 months ago (2016-03-26 06:09:04 UTC) #13
nednguyen
On 2016/03/26 06:09:04, Will Harris wrote: > thanks for doing this > > FYI - ...
4 years, 9 months ago (2016-03-26 12:24:33 UTC) #14
oystein (OOO til 10th of July)
4 years, 8 months ago (2016-03-28 17:51:28 UTC) #15
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1832423002/ by oysteine@chromium.org.

The reason for reverting is:
https://bugs.chromium.org/p/chromium/issues/detail?id=598359.

Powered by Google App Engine
This is Rietveld 408576698