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

Issue 12676031: Add PresubmitPromptOrNotify helper. (Closed)

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

Description

Add PresubmitPromptOrNotify helper. PresubmitPromptOrNotify prints the message and prompts the user only if the presubmit is on upload, not commit. This is useful to provide upload-time sanity checks without blocking the CL from being landed via the commit-queue. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=190711

Patch Set 1 #

Patch Set 2 : Provide cleaner API. #

Total comments: 6

Patch Set 3 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -10 lines) Patch
M presubmit_support.py View 1 2 3 chunks +12 lines, -3 lines 0 comments Download
M tests/presubmit_unittest.py View 1 3 chunks +22 lines, -7 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Wez
PTAL
7 years, 9 months ago (2013-03-23 03:23:33 UTC) #1
Jói
LGTM
7 years, 9 months ago (2013-03-23 08:51:26 UTC) #2
Wez
Do I need to land this manually with git cl dcommit?
7 years, 9 months ago (2013-03-25 17:12:12 UTC) #3
M-A Ruel
You can use the CQ, but please fix this before. https://chromiumcodereview.appspot.com/12676031/diff/2001/presubmit_support.py File presubmit_support.py (right): https://chromiumcodereview.appspot.com/12676031/diff/2001/presubmit_support.py#newcode169 ...
7 years, 9 months ago (2013-03-25 17:32:44 UTC) #4
Wez
https://chromiumcodereview.appspot.com/12676031/diff/2001/presubmit_support.py File presubmit_support.py (right): https://chromiumcodereview.appspot.com/12676031/diff/2001/presubmit_support.py#newcode169 presubmit_support.py:169: def PresubmitPromptOrNotify(self, message, items=None, long_text=''): On 2013/03/25 17:32:44, Marc-Antoine ...
7 years, 9 months ago (2013-03-26 17:28:49 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/12676031/8001
7 years, 9 months ago (2013-03-26 17:29:35 UTC) #6
commit-bot: I haz the power
7 years, 9 months ago (2013-03-26 17:31:50 UTC) #7
Message was sent while issue was closed.
Change committed as 190711

Powered by Google App Engine
This is Rietveld 408576698