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

Issue 6623074: add changes to presubmit needed for OWNERS support (Closed)

Created:
9 years, 9 months ago by Dirk Pranke
Modified:
9 years, 7 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, M-A Ruel
Visibility:
Public.

Description

add PresubmitAddText() result class to indicate that text needs to be passed back to git cl / gcl. Also, this properly wires up the presubmit code to the owners code and adds unit tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=77523

Patch Set 1 #

Total comments: 9

Patch Set 2 : update w/ review feedback from maruel; still needs tests #

Total comments: 1

Patch Set 3 : fun with rebase #

Patch Set 4 : split out git-cl changes into a separate patch, add unit tests for presubmit changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -7 lines) Patch
M presubmit_canned_checks.py View 1 2 3 1 chunk +4 lines, -5 lines 0 comments Download
M presubmit_support.py View 1 1 chunk +6 lines, -0 lines 0 comments Download
M tests/presubmit_unittest.py View 1 2 3 4 chunks +66 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Dirk Pranke
9 years, 9 months ago (2011-03-08 04:13:11 UTC) #1
M-A Ruel
Need some testing though http://codereview.chromium.org/6623074/diff/1/git_cl/git_cl.py File git_cl/git_cl.py (right): http://codereview.chromium.org/6623074/diff/1/git_cl/git_cl.py#newcode56 git_cl/git_cl.py:56: def RunCommand(cmd, error_ok=False, error_message=None, I ...
9 years, 9 months ago (2011-03-08 19:58:32 UTC) #2
Dirk Pranke
http://codereview.chromium.org/6623074/diff/1/git_cl/git_cl.py File git_cl/git_cl.py (right): http://codereview.chromium.org/6623074/diff/1/git_cl/git_cl.py#newcode56 git_cl/git_cl.py:56: def RunCommand(cmd, error_ok=False, error_message=None, On 2011/03/08 19:58:32, Marc-Antoine Ruel ...
9 years, 9 months ago (2011-03-08 22:26:03 UTC) #3
M-A Ruel
http://codereview.chromium.org/6623074/diff/8001/git_cl/git_cl.py File git_cl/git_cl.py (right): http://codereview.chromium.org/6623074/diff/8001/git_cl/git_cl.py#newcode501 git_cl/git_cl.py:501: def print_output(self): Is this function useful? I don't see ...
9 years, 9 months ago (2011-03-08 22:40:59 UTC) #4
Dirk Pranke
removed PrintOutput, rebased, still needs tests.
9 years, 9 months ago (2011-03-08 23:42:44 UTC) #5
Dirk Pranke
Okay, to simplify things I'm splitting the git cl changes out into a separate patch, ...
9 years, 9 months ago (2011-03-09 02:24:16 UTC) #6
M-A Ruel
9 years, 9 months ago (2011-03-09 02:33:23 UTC) #7
lgtm

Powered by Google App Engine
This is Rietveld 408576698