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

Issue 12481002: Add skip_canned option to presubmit_support. (Closed)

Created:
7 years, 9 months ago by iannucci
Modified:
7 years, 9 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, Vadim Sh.
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Add skip_canned option to presubmit_support. This will replace the hack in commit-queue/verification/presubmit_shim, and will be used on the presubmit trybot. R=maruel@chromium.org BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186922

Patch Set 1 #

Total comments: 1

Patch Set 2 : Restore canned checks and add tests! #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -20 lines) Patch
M presubmit_support.py View 1 4 chunks +44 lines, -15 lines 2 comments Download
M tests/presubmit_unittest.py View 1 2 chunks +22 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
iannucci
7 years, 9 months ago (2013-03-05 21:23:36 UTC) #1
iannucci
On 2013/03/05 21:23:36, iannucci wrote: +vadimsh since he's planning on using this for the upcoming ...
7 years, 9 months ago (2013-03-05 21:27:05 UTC) #2
M-A Ruel
Need test.
7 years, 9 months ago (2013-03-06 20:39:03 UTC) #3
iannucci
On 2013/03/06 20:39:03, Marc-Antoine Ruel wrote: > Need test. I'm not sure how to test ...
7 years, 9 months ago (2013-03-06 23:13:00 UTC) #4
M-A Ruel
https://chromiumcodereview.appspot.com/12481002/diff/1/presubmit_support.py File presubmit_support.py (right): https://chromiumcodereview.appspot.com/12481002/diff/1/presubmit_support.py#newcode1248 presubmit_support.py:1248: for method_name in options.skip_canned: I'd like you to restore ...
7 years, 9 months ago (2013-03-07 15:50:32 UTC) #5
iannucci
On 2013/03/07 15:50:32, Marc-Antoine Ruel wrote: > https://chromiumcodereview.appspot.com/12481002/diff/1/presubmit_support.py > File presubmit_support.py (right): > > https://chromiumcodereview.appspot.com/12481002/diff/1/presubmit_support.py#newcode1248 ...
7 years, 9 months ago (2013-03-07 19:39:14 UTC) #6
iannucci
OK, PTAL, I think you'll like this version... It even has tests now!
7 years, 9 months ago (2013-03-07 22:47:29 UTC) #7
M-A Ruel
Impressed. lgtm https://chromiumcodereview.appspot.com/12481002/diff/7001/presubmit_support.py File presubmit_support.py (right): https://chromiumcodereview.appspot.com/12481002/diff/7001/presubmit_support.py#newcode1204 presubmit_support.py:1204: 2 lines https://chromiumcodereview.appspot.com/12481002/diff/7001/presubmit_support.py#newcode1210 presubmit_support.py:1210: if hasattr(presubmit_canned_checks, method_name): ...
7 years, 9 months ago (2013-03-08 02:09:02 UTC) #8
iannucci
Committed patchset #2 manually as r186922 (presubmit successful).
7 years, 9 months ago (2013-03-08 08:13:23 UTC) #9
M-A Ruel
On 2013/03/08 08:13:23, iannucci wrote: > Committed patchset #2 manually as r186922 (presubmit successful). You ...
7 years, 9 months ago (2013-03-08 13:30:15 UTC) #10
iannucci1
7 years, 9 months ago (2013-03-08 19:19:01 UTC) #11
Message was sent while issue was closed.
On 2013/03/08 13:30:15, Marc-Antoine Ruel wrote:
> On 2013/03/08 08:13:23, iannucci wrote:
> > Committed patchset #2 manually as r186922 (presubmit successful).
> 
> You can use the CQ BTW

Oops, I forgot depot_tools was in cq

Powered by Google App Engine
This is Rietveld 408576698