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

Issue 949273002: Add ability to specify and run post upload hooks (Closed)

Created:
5 years, 10 months ago by rmistry
Modified:
5 years, 10 months ago
Reviewers:
iannucci
CC:
chromium-reviews, cmp-cc_chromium.org, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Target Ref:
refs/heads/master
Project:
tools
Visibility:
Public.

Description

Add ability to specify and run post upload hooks. Motivation: There are a few things we want to do in Skia infrastructure that is not possible to do without this functionality. Eg1: If there is a change made to Skia's markdown then automatically include a 'DOCS_PREVIEW_URL=https://skia.org?cl=1234' in the CL's description. Eg2: Automatically add 'NOTRY=true' for changes impacting things that do not need trybot runs. Eg3: Include CL specific links to skia's perf (https://perf.skia.org/) and correctness (https://gold.skia.org/) servers. BUG=chromium:462208 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=294242

Patch Set 1 : Initial upload #

Patch Set 2 : Fix tests and cleanup #

Total comments: 4

Patch Set 3 : Call specific post upload hooks first #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -1 line) Patch
M git_cl.py View 4 chunks +17 lines, -0 lines 0 comments Download
M presubmit_support.py View 1 2 2 chunks +74 lines, -0 lines 0 comments Download
M tests/git_cl_test.py View 1 3 chunks +5 lines, -0 lines 0 comments Download
M tests/presubmit_unittest.py View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 13 (6 generated)
rmistry
Robbie, could you please review this for me?
5 years, 10 months ago (2015-02-24 19:05:31 UTC) #2
iannucci
lgtm though I wonder if doing these asynchronously post-upload (e.g. directly on the review site ...
5 years, 10 months ago (2015-02-25 22:31:04 UTC) #3
rmistry
Thanks for the review! https://codereview.chromium.org/949273002/diff/20001/presubmit_support.py File presubmit_support.py (right): https://codereview.chromium.org/949273002/diff/20001/presubmit_support.py#newcode1162 presubmit_support.py:1162: exec script_text in context On ...
5 years, 10 months ago (2015-02-26 13:28:26 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/949273002/60001
5 years, 10 months ago (2015-02-26 13:49:26 UTC) #8
commit-bot: I haz the power
Presubmit check for 949273002-60001 failed and returned exit status 1. Running presubmit commit checks ...
5 years, 10 months ago (2015-02-26 13:52:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/949273002/60001
5 years, 10 months ago (2015-02-26 14:00:29 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-26 14:03:32 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=294242

Powered by Google App Engine
This is Rietveld 408576698