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

Issue 2442153002: Refactoring: Extract helper functions from CMDtry in git_cl.py. (Closed)

Created:
4 years, 2 months ago by qyearsley
Modified:
4 years, 1 month ago
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org, tandrii+omg_git_cl_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Refactoring: Extract helper functions from CMDtry in git_cl.py. The purpose of this change is to prepare for modifying git cl try so that builders on multiple masters can be triggered in one invocation (http://crbug.com/640740). This should not affect behavior; this CL makes several non-essential changes to formatting and comments. Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/1fdfcb63166412adae9361acf85705c5290523c6

Patch Set 1 #

Patch Set 2 : - #

Total comments: 10

Patch Set 3 : Rebase #

Patch Set 4 : Move TriggerDryRun to be a method of Changelist #

Patch Set 5 : Added a TODO to maybe reuse TriggerDryRun. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -123 lines) Patch
M git_cl.py View 1 2 3 4 7 chunks +152 lines, -123 lines 2 comments Download

Messages

Total messages: 25 (17 generated)
qyearsley
https://codereview.chromium.org/2442153002/diff/20001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/2442153002/diff/20001/git_cl.py#newcode406 git_cl.py:406: '"-m tryserver.chromium.linux".' % error_message) Note: This block is moved ...
4 years, 2 months ago (2016-10-22 19:14:31 UTC) #6
tandrii(chromium)
LGTM % suggestion, thanks for this! https://codereview.chromium.org/2442153002/diff/20001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/2442153002/diff/20001/git_cl.py#newcode363 git_cl.py:363: # Fall back ...
4 years, 2 months ago (2016-10-23 16:55:56 UTC) #7
qyearsley
https://codereview.chromium.org/2442153002/diff/20001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/2442153002/diff/20001/git_cl.py#newcode363 git_cl.py:363: # Fall back to deprecated method: get try slaves ...
4 years, 1 month ago (2016-10-24 19:09:52 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2442153002/80001
4 years, 1 month ago (2016-10-24 20:18:30 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/tools/depot_tools/+/1fdfcb63166412adae9361acf85705c5290523c6
4 years, 1 month ago (2016-10-24 20:22:06 UTC) #21
nodir
https://codereview.chromium.org/2442153002/diff/80001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/2442153002/diff/80001/git_cl.py#newcode362 git_cl.py:362: return masters this returns masters, not buckets. Caused https://bugs.chromium.org/p/chromium/issues/detail?id=661580
4 years, 1 month ago (2016-11-04 21:49:40 UTC) #23
nodir
https://codereview.chromium.org/2442153002/diff/80001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/2442153002/diff/80001/git_cl.py#newcode362 git_cl.py:362: return masters On 2016/11/04 21:49:40, nodir wrote: > this ...
4 years, 1 month ago (2016-11-04 21:55:42 UTC) #24
qyearsley
4 years, 1 month ago (2016-11-04 22:03:33 UTC) #25
Message was sent while issue was closed.
On 2016/11/04 at 21:55:42, nodir wrote:
> https://codereview.chromium.org/2442153002/diff/80001/git_cl.py
> File git_cl.py (right):
> 
> https://codereview.chromium.org/2442153002/diff/80001/git_cl.py#newcode362
> git_cl.py:362: return masters
> On 2016/11/04 21:49:40, nodir wrote:
> > this returns masters, not buckets. Caused
> > https://bugs.chromium.org/p/chromium/issues/detail?id=661580
> 
> https://codereview.chromium.org/2482523002

Ah, right -- thanks for finding this and uploading a fix.

Powered by Google App Engine
This is Rietveld 408576698