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

Issue 6461011: Modify presubmit checks to work on changed lines only. (Closed)

Created:
9 years, 10 months ago by vb
Modified:
9 years, 6 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews
Visibility:
Public.

Description

Modify presubmit checks to work on changed lines only. Unittest is being also updated. TEST=manual . run ./presubmit_unittest.py, observe success .create a CL with code style violations (long lines, traling spaces) and observe the violations reported by 'git cl presubmit' Patch contributed by Vadim Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=74378

Patch Set 1 : test #

Total comments: 10

Patch Set 2 : Address review comments. #

Total comments: 8

Patch Set 3 : Address more review comments. #

Total comments: 8

Patch Set 4 : Address more review comments. #

Patch Set 5 : Fix presubmit errors. #

Patch Set 6 : Fix more presubmit errors. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -31 lines) Patch
M presubmit_support.py View 1 2 3 4 5 7 chunks +36 lines, -7 lines 0 comments Download
M tests/presubmit_unittest.py View 1 2 3 4 9 chunks +91 lines, -24 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
vb
9 years, 10 months ago (2011-02-09 06:41:20 UTC) #1
M-A Ruel
Oh, interestingly enough your checkout wasn't automatically configured. Do *not* run "git cl config", I'll ...
9 years, 10 months ago (2011-02-09 14:16:09 UTC) #2
vb
PTAL Rebased to the latest svn revision, retested, all presubmit unittests pass. http://codereview.chromium.org/6461011/diff/10/presubmit_support.py File presubmit_support.py ...
9 years, 10 months ago (2011-02-09 18:24:41 UTC) #3
M-A Ruel
http://codereview.chromium.org/6461011/diff/7001/presubmit_support.py File presubmit_support.py (right): http://codereview.chromium.org/6461011/diff/7001/presubmit_support.py#newcode483 presubmit_support.py:483: # Return a list of tuples (line number, line ...
9 years, 10 months ago (2011-02-09 18:30:26 UTC) #4
vb
The unittests still pass. http://codereview.chromium.org/6461011/diff/7001/presubmit_support.py File presubmit_support.py (right): http://codereview.chromium.org/6461011/diff/7001/presubmit_support.py#newcode483 presubmit_support.py:483: # Return a list of ...
9 years, 10 months ago (2011-02-09 18:54:11 UTC) #5
M-A Ruel
Sorry for the back and forth, I just realized a few things. http://codereview.chromium.org/6461011/diff/2003/presubmit_support.py File presubmit_support.py ...
9 years, 10 months ago (2011-02-09 19:43:55 UTC) #6
vb
No problem with the 'back and forth' - the more thorough it is reviewed the ...
9 years, 10 months ago (2011-02-09 22:30:43 UTC) #7
M-A Ruel
9 years, 10 months ago (2011-02-09 22:39:56 UTC) #8
lgtm, just check the commit box to have the commit queue commit it for you.

Powered by Google App Engine
This is Rietveld 408576698