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

Issue 1418833005: [gms updater] Fixes and tests to prepare activation (Closed)

Created:
5 years, 1 month ago by dgn
Modified:
5 years, 1 month ago
Reviewers:
jbudorick
CC:
chromium-reviews, klundberg+watch_chromium.org, mikecase+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[gms updater] Fixes and tests to prepare activation - Fix broken download command on bots (uninitialized variable) - Fix the issue where logs were not displayed when is_tty returned False - Check directory permissions - ColorStreamHandler: allow forcing colorized output for non tty - Add tests BUG=541727 Committed: https://crrev.com/f04e2b29a270cd12200ffc71e35834158e32c22b Cr-Commit-Position: refs/heads/master@{#358076}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Dep on JSON cl #

Patch Set 3 : Rebase, add more fixes, update msg #

Patch Set 4 : restore sha1 #

Patch Set 5 : Added tests, moved changes to update.py from 1418573010 here #

Patch Set 6 : Remove source.properties when downloading #

Patch Set 7 : Fix merge arg declaration, fix sdk command #

Total comments: 14

Patch Set 8 : Address comments #

Total comments: 5

Patch Set 9 : Better error handling #

Patch Set 10 : Added doc about the play services paths #

Patch Set 11 : More doc, clean up naming #

Total comments: 3

Patch Set 12 : use SDK/library appropriately #

Unified diffs Side-by-side diffs Delta from patch set Stats (+596 lines, -128 lines) Patch
M build/android/PRESUBMIT.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M build/android/play_services/update.py View 1 2 3 4 5 6 7 8 9 10 11 18 chunks +170 lines, -114 lines 0 comments Download
A build/android/play_services/update_test.py View 1 2 3 4 5 6 7 8 1 chunk +414 lines, -0 lines 0 comments Download
M build/android/play_services/utils.py View 1 2 3 4 2 chunks +0 lines, -11 lines 0 comments Download
M build/android/pylib/utils/logging_utils.py View 3 chunks +11 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (6 generated)
dgn
PTAL https://codereview.chromium.org/1418833005/diff/1/build/android/play_services/update.py File build/android/play_services/update.py (right): https://codereview.chromium.org/1418833005/diff/1/build/android/play_services/update.py#newcode111 build/android/play_services/update.py:111: logging_utils.ColorStreamHandler.MakeDefault(force_color=True) Works fine with runhooks locally. Need to ...
5 years, 1 month ago (2015-11-02 14:04:14 UTC) #2
dgn
Interesting: http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/90043/steps/gclient%20runhooks%20%28with%20patch%29/logs/stdio Colors are displayed in the log files when showing as html, but when ...
5 years, 1 month ago (2015-11-02 15:41:20 UTC) #3
jbudorick
On 2015/11/02 15:41:20, dgn wrote: > Interesting: > http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/90043/steps/gclient%20runhooks%20%28with%20patch%29/logs/stdio > > Colors are displayed in ...
5 years, 1 month ago (2015-11-03 02:59:09 UTC) #4
dgn
On 2015/11/03 02:59:09, jbudorick wrote: > On 2015/11/02 15:41:20, dgn wrote: > > Interesting: > ...
5 years, 1 month ago (2015-11-03 13:43:03 UTC) #6
dgn
@jbudorick: PTAL. I believe it is now ready.
5 years, 1 month ago (2015-11-04 16:36:05 UTC) #8
jbudorick
https://codereview.chromium.org/1418833005/diff/120001/build/android/play_services/update.py File build/android/play_services/update.py (right): https://codereview.chromium.org/1418833005/diff/120001/build/android/play_services/update.py#newcode54 build/android/play_services/update.py:54: def Main(raw_args): nit: missed this before, but s/Main/main/ https://codereview.chromium.org/1418833005/diff/120001/build/android/play_services/update.py#newcode68 ...
5 years, 1 month ago (2015-11-04 16:56:32 UTC) #9
dgn
PTAL https://codereview.chromium.org/1418833005/diff/120001/build/android/play_services/update.py File build/android/play_services/update.py (right): https://codereview.chromium.org/1418833005/diff/120001/build/android/play_services/update.py#newcode54 build/android/play_services/update.py:54: def Main(raw_args): On 2015/11/04 16:56:32, jbudorick wrote: > ...
5 years, 1 month ago (2015-11-04 18:43:58 UTC) #11
jbudorick
https://codereview.chromium.org/1418833005/diff/140001/build/android/play_services/update.py File build/android/play_services/update.py (right): https://codereview.chromium.org/1418833005/diff/140001/build/android/play_services/update.py#newcode93 build/android/play_services/update.py:93: args = parser.parse_args(raw_args) parse_args() will pick up sys.argv[1:] and ...
5 years, 1 month ago (2015-11-04 18:46:07 UTC) #12
jbudorick
lgtm w/ nits (here + previous review) https://codereview.chromium.org/1418833005/diff/140001/build/android/play_services/update.py File build/android/play_services/update.py (right): https://codereview.chromium.org/1418833005/diff/140001/build/android/play_services/update.py#newcode209 build/android/play_services/update.py:209: os.makedirs(paths.lib) In ...
5 years, 1 month ago (2015-11-04 18:48:11 UTC) #13
dgn
Thanks! https://codereview.chromium.org/1418833005/diff/140001/build/android/play_services/update.py File build/android/play_services/update.py (right): https://codereview.chromium.org/1418833005/diff/140001/build/android/play_services/update.py#newcode93 build/android/play_services/update.py:93: args = parser.parse_args(raw_args) On 2015/11/04 18:46:07, jbudorick wrote: ...
5 years, 1 month ago (2015-11-05 12:15:11 UTC) #14
jbudorick
https://codereview.chromium.org/1418833005/diff/140001/build/android/play_services/update.py File build/android/play_services/update.py (right): https://codereview.chromium.org/1418833005/diff/140001/build/android/play_services/update.py#newcode93 build/android/play_services/update.py:93: args = parser.parse_args(raw_args) On 2015/11/05 12:15:10, dgn wrote: > ...
5 years, 1 month ago (2015-11-05 16:03:02 UTC) #15
dgn
https://codereview.chromium.org/1418833005/diff/200001/build/android/play_services/update.py File build/android/play_services/update.py (right): https://codereview.chromium.org/1418833005/diff/200001/build/android/play_services/update.py#newcode7 build/android/play_services/update.py:7: Script to help uploading and downloading the Google Play ...
5 years, 1 month ago (2015-11-05 16:15:05 UTC) #16
dgn
https://codereview.chromium.org/1418833005/diff/200001/build/android/play_services/update.py File build/android/play_services/update.py (right): https://codereview.chromium.org/1418833005/diff/200001/build/android/play_services/update.py#newcode7 build/android/play_services/update.py:7: Script to help uploading and downloading the Google Play ...
5 years, 1 month ago (2015-11-05 16:30:21 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1418833005/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1418833005/220001
5 years, 1 month ago (2015-11-05 16:32:48 UTC) #20
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 1 month ago (2015-11-05 17:52:01 UTC) #21
commit-bot: I haz the power
5 years, 1 month ago (2015-11-05 17:52:46 UTC) #22
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/f04e2b29a270cd12200ffc71e35834158e32c22b
Cr-Commit-Position: refs/heads/master@{#358076}

Powered by Google App Engine
This is Rietveld 408576698