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

Issue 4277003: Change gcl presubmit to only run commit hooks by default. (Closed)

Created:
10 years, 1 month ago by M-A Ruel
Modified:
9 years, 7 months ago
CC:
chromium-reviews, M-A Ruel
Visibility:
Public.

Description

Change gcl presubmit to only run commit hooks by default. Upload hook are only run with the --upload flag. Most of the time the same hook is run in both case so gcl presubmit is simply 2x slower than it could be otherwise. TEST=none BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=64779

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -13 lines) Patch
M gcl.py View 1 2 chunks +16 lines, -10 lines 0 comments Download
M tests/gcl_unittest.py View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
M-A Ruel
10 years, 1 month ago (2010-11-02 16:56:16 UTC) #1
jochen (gone - plz use gerrit)
10 years, 1 month ago (2010-11-02 18:55:51 UTC) #2
lgtm

please also fix git cl presubmit

http://codereview.chromium.org/4277003/diff/1/2
File gcl.py (right):

http://codereview.chromium.org/4277003/diff/1/2#newcode888
gcl.py:888: print('\n*** Presubmit checks for COMMIT would report: ***')
nit. the \n should be superfluous now

Powered by Google App Engine
This is Rietveld 408576698