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

Issue 170843003: Apply patch for bot_update (Closed)

Created:
6 years, 10 months ago by Ryan Tseng
Modified:
6 years, 10 months ago
Reviewers:
agable, hinoka
CC:
chromium-reviews, stip+watch_chromium.org, cmp-cc_chromium.org, ilevy-cc_chromium.org, kjellander+cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/build.git@master
Visibility:
Public.

Description

Apply patch for bot_update Does the following: 1. Download patch 2. Strip off the a/ prefixes in the patch, if existant 3. git apply --index -p0 --3way < [patch data] BUG=339171 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=252469

Patch Set 1 #

Patch Set 2 : Rebased #

Total comments: 6

Patch Set 3 : Things fixed #

Patch Set 4 : Retry logic #

Patch Set 5 : Works! #

Patch Set 6 : Remove tempfile #

Total comments: 4

Patch Set 7 : Regex cleanup #

Patch Set 8 : pylint #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -18 lines) Patch
M scripts/master/factory/commands.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M scripts/master/factory/gclient_factory.py View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/bot_update.py View 1 2 3 4 5 6 7 11 chunks +152 lines, -16 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
hinoka
Apply patch, in like 5 lines
6 years, 10 months ago (2014-02-18 22:02:48 UTC) #1
agable
https://codereview.chromium.org/170843003/diff/40001/scripts/slave/bot_update.py File scripts/slave/bot_update.py (right): https://codereview.chromium.org/170843003/diff/40001/scripts/slave/bot_update.py#newcode345 scripts/slave/bot_update.py:345: attempts_left = 3 This should use the same RETRIES ...
6 years, 10 months ago (2014-02-18 22:36:10 UTC) #2
Ryan Tseng
Dependent on: https://codereview.chromium.org/171763003/ https://codereview.chromium.org/170843003/diff/40001/scripts/slave/bot_update.py File scripts/slave/bot_update.py (right): https://codereview.chromium.org/170843003/diff/40001/scripts/slave/bot_update.py#newcode345 scripts/slave/bot_update.py:345: attempts_left = 3 On 2014/02/18 22:36:10, ...
6 years, 10 months ago (2014-02-19 22:05:40 UTC) #3
agable
https://codereview.chromium.org/170843003/diff/190001/scripts/slave/bot_update.py File scripts/slave/bot_update.py (right): https://codereview.chromium.org/170843003/diff/190001/scripts/slave/bot_update.py#newcode308 scripts/slave/bot_update.py:308: def create_less_than_or_equal_regex(number): Nooooooooooooo. At the very least can we ...
6 years, 10 months ago (2014-02-20 00:13:05 UTC) #4
Ryan Tseng
Cleaned up the regex A number of 251718 will yield the expression: (251718|25171[0-7]|25170[0-9]|251[0-6][0-9]{2}|250[0-9]{3}|2[0-4][0-9]{4}|[0-1][0-9]{5}|[0-9]{1,5}) https://codereview.chromium.org/170843003/diff/190001/scripts/slave/bot_update.py File ...
6 years, 10 months ago (2014-02-20 01:04:37 UTC) #5
agable
On 2014/02/20 01:04:37, Ryan T. wrote: > Cleaned up the regex > > A number ...
6 years, 10 months ago (2014-02-20 04:03:37 UTC) #6
Ryan Tseng
The CQ bit was checked by hinoka@google.com
6 years, 10 months ago (2014-02-20 07:06:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hinoka@google.com/170843003/250001
6 years, 10 months ago (2014-02-20 07:06:21 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-20 07:08:12 UTC) #9
commit-bot: I haz the power
Presubmit check for 170843003-250001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 10 months ago (2014-02-20 07:08:13 UTC) #10
Ryan Tseng
The CQ bit was checked by hinoka@google.com
6 years, 10 months ago (2014-02-21 02:30:25 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hinoka@google.com/170843003/320001
6 years, 10 months ago (2014-02-21 02:30:28 UTC) #12
commit-bot: I haz the power
Change committed as 252469
6 years, 10 months ago (2014-02-21 02:31:40 UTC) #13
Ryan Tseng
6 years, 10 months ago (2014-02-21 02:49:31 UTC) #14
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/169173009/ by hinoka@google.com.

The reason for reverting is: Arg changes breaks existing bots..

Powered by Google App Engine
This is Rietveld 408576698