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

Issue 11421050: Add presubmit check for dcommitted / CQed CLs (Closed)

Created:
8 years, 1 month ago by Isaac (away)
Modified:
8 years ago
Reviewers:
Dirk Pranke, M-A Ruel
CC:
chromium-reviews, Dirk Pranke, cmp+cc_chromium.org, M-A Ruel
Visibility:
Public.

Description

Add presubmit check for dcommitted / CQed CLs We use the fact the dcommit adds a "Committed:" link to the description. If we wanted to be more strict, we could make git cl dcommit post a comment on the CL (which would be nice since it would notify reviewers that the CL was committed). Note that this is untested as written, because it doesn't appear that we have either git-cl integration tests, nor a test for git cl dcommit adding the word "Committed:" so as written, this presubmit check is prone to failure. Would like suggestions to improve. Also adding DoNotSubmit checks and a couple others to PanPresubmitChecks. R=maruel@chromium.org,dpranke@chromium.org BUG=161702 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=171158

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Patch Set 3 : Tweaked regex to match real world result #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -6 lines) Patch
M presubmit_canned_checks.py View 1 2 5 chunks +27 lines, -6 lines 0 comments Download
M tests/presubmit_unittest.py View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Isaac (away)
8 years, 1 month ago (2012-11-22 08:59:28 UTC) #1
M-A Ruel
https://codereview.chromium.org/11421050/diff/1/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/11421050/diff/1/presubmit_canned_checks.py#newcode8 presubmit_canned_checks.py:8: import re why not input_api.re? https://codereview.chromium.org/11421050/diff/1/presubmit_canned_checks.py#newcode51 presubmit_canned_checks.py:51: """Checks that ...
8 years, 1 month ago (2012-11-22 15:47:06 UTC) #2
Isaac (away)
some responses to comments, no new patch yet. https://codereview.chromium.org/11421050/diff/1/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/11421050/diff/1/presubmit_canned_checks.py#newcode8 presubmit_canned_checks.py:8: import ...
8 years, 1 month ago (2012-11-22 18:50:51 UTC) #3
Dirk Pranke
https://codereview.chromium.org/11421050/diff/1/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/11421050/diff/1/presubmit_canned_checks.py#newcode8 presubmit_canned_checks.py:8: import re On 2012/11/22 18:50:52, Isaac wrote: > On ...
8 years, 1 month ago (2012-11-22 18:54:07 UTC) #4
Isaac (away)
ptal https://chromiumcodereview.appspot.com/11421050/diff/1/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://chromiumcodereview.appspot.com/11421050/diff/1/presubmit_canned_checks.py#newcode8 presubmit_canned_checks.py:8: import re OK, fixed. https://chromiumcodereview.appspot.com/11421050/diff/1/presubmit_canned_checks.py#newcode51 presubmit_canned_checks.py:51: """Checks that ...
8 years ago (2012-11-25 02:12:44 UTC) #5
Isaac (away)
Still waiting for review for this one too. Sorry for the barrage of CLs this ...
8 years ago (2012-11-28 22:29:21 UTC) #6
Isaac (away)
ping?
8 years ago (2012-12-04 00:27:04 UTC) #7
M-A Ruel
Thanks, it looks good. Note that you may want to alert on chromium-dev@ because there ...
8 years ago (2012-12-04 11:47:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ilevy@chromium.org/11421050/11001
8 years ago (2012-12-05 04:22:38 UTC) #9
commit-bot: I haz the power
8 years ago (2012-12-05 04:25:16 UTC) #10
Message was sent while issue was closed.
Change committed as 171158

Powered by Google App Engine
This is Rietveld 408576698