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

Issue 74163002: Allow PRESUBMIT.py files to have old and new-style trybot specifications (as long as each file is c… (Closed)

Created:
7 years, 1 month ago by ghost stip (do not use)
Modified:
7 years ago
Reviewers:
Isaac (away), M-A Ruel
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Allow PRESUBMIT.py files to have old and new-style trybot specifications (as long as each file is consistent). BUG=278554 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=241590

Patch Set 1 #

Total comments: 5

Patch Set 2 : Rebase onto latest master. #

Patch Set 3 : Address maruel's comments. #

Total comments: 8

Patch Set 4 : Rebase onto latest master. #

Patch Set 5 : Addressed comments, added unittest. #

Total comments: 2

Patch Set 6 : Address maruel nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -26 lines) Patch
M presubmit_support.py View 1 2 3 4 5 2 chunks +32 lines, -16 lines 0 comments Download
M tests/presubmit_unittest.py View 1 2 3 4 2 chunks +8 lines, -2 lines 0 comments Download
M trychange.py View 1 2 3 4 1 chunk +8 lines, -8 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
ghost stip (do not use)
ptal This solves the issue where src/PRESUBMIT.py is in one format but src/chrome/PRESUBMIT.py is in ...
7 years, 1 month ago (2013-11-15 17:52:39 UTC) #1
M-A Ruel
https://codereview.chromium.org/74163002/diff/1/presubmit_support.py File presubmit_support.py (left): https://codereview.chromium.org/74163002/diff/1/presubmit_support.py#oldcode1084 presubmit_support.py:1084: results += executer.ExecPresubmitScript( I dislike using += on list ...
7 years, 1 month ago (2013-11-15 20:09:32 UTC) #2
ghost stip (do not use)
ptal https://codereview.chromium.org/74163002/diff/1/presubmit_support.py File presubmit_support.py (right): https://codereview.chromium.org/74163002/diff/1/presubmit_support.py#newcode1091 presubmit_support.py:1091: for filename in presubmit_files: On 2013/11/15 20:09:33, M-A ...
7 years, 1 month ago (2013-11-22 01:24:15 UTC) #3
ghost stip (do not use)
ping?
7 years ago (2013-12-03 22:03:29 UTC) #4
M-A Ruel
Did you want to write an unit test? https://chromiumcodereview.appspot.com/74163002/diff/70001/presubmit_support.py File presubmit_support.py (right): https://chromiumcodereview.appspot.com/74163002/diff/70001/presubmit_support.py#newcode1113 presubmit_support.py:1113: slaves ...
7 years ago (2013-12-04 01:02:30 UTC) #5
Isaac (away)
drive by .--. .-' `--. '-()---()--' https://chromiumcodereview.appspot.com/74163002/diff/70001/presubmit_support.py File presubmit_support.py (right): https://chromiumcodereview.appspot.com/74163002/diff/70001/presubmit_support.py#newcode1105 presubmit_support.py:1105: if you make ...
7 years ago (2013-12-04 03:47:43 UTC) #6
ghost stip (do not use)
updated, ptal https://codereview.chromium.org/74163002/diff/70001/presubmit_support.py File presubmit_support.py (right): https://codereview.chromium.org/74163002/diff/70001/presubmit_support.py#newcode1112 presubmit_support.py:1112: slave_dict.setdefault(result[0], set()).update(result[1]) On 2013/12/04 03:47:43, Isaac wrote: ...
7 years ago (2013-12-18 00:43:08 UTC) #7
M-A Ruel
lgtm. I had hoped you were a nerd. https://codereview.chromium.org/74163002/diff/70001/presubmit_support.py File presubmit_support.py (right): https://codereview.chromium.org/74163002/diff/70001/presubmit_support.py#newcode1113 presubmit_support.py:1113: slaves ...
7 years ago (2013-12-18 00:52:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stip@chromium.org/74163002/130001
7 years ago (2013-12-18 17:42:29 UTC) #9
commit-bot: I haz the power
7 years ago (2013-12-18 17:44:59 UTC) #10
Message was sent while issue was closed.
Change committed as 241590

Powered by Google App Engine
This is Rietveld 408576698