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

Issue 2232203002: Support additional user presubmit scripts named PRESUBMIT*.py. (Closed)

Created:
4 years, 4 months ago by Tobias Sargeant
Modified:
4 years, 4 months ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Support additional user presubmit scripts named PRESUBMIT*.py. This allows users to specify additional local presubmit tests that do not need to exist as locally maintained changes to PRESUBMIT.py files. BUG= Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/2836bcf8102969bbbe56708d3dd6690bed271d5d

Patch Set 1 #

Patch Set 2 : use os.listdir instead of globbing, fix unittests. #

Patch Set 3 : Correctly ignore PRESUBMIT_test.py and PRESUBMIT*.pyc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -34 lines) Patch
M presubmit_support.py View 1 2 7 chunks +13 lines, -11 lines 0 comments Download
M testing_support/super_mox.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/presubmit_unittest.py View 1 2 10 chunks +69 lines, -22 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Tobias Sargeant
Hi Dirk, WDYT of this? The aim is to allow something like PRESUBMIT-tobiasjs.py to exist ...
4 years, 4 months ago (2016-08-11 14:29:38 UTC) #3
Dirk Pranke
I think this isn't necessarily a bad idea, but we've managed to survive a long ...
4 years, 4 months ago (2016-08-12 23:28:25 UTC) #4
Tobias Sargeant
On 2016/08/12 23:28:25, Dirk Pranke (slow) wrote: > I think this isn't necessarily a bad ...
4 years, 4 months ago (2016-08-15 10:29:21 UTC) #5
Dirk Pranke
I guess this is fine, as I can't think of another way to easily do ...
4 years, 4 months ago (2016-08-15 23:44:20 UTC) #6
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/2232203002/40001
4 years, 4 months ago (2016-08-16 11:05:23 UTC) #8
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 11:08:19 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/tools/depot_tools/+/2836bcf8102969...

Powered by Google App Engine
This is Rietveld 408576698