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

Issue 181063021: Fix presubmit checks when --trybot-json flag is specified. (Closed)

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

Description

Fix presubmit checks when --trybot-json flag is specified. Must change current working directory to the presubmit file's directory to follow the contract of the presubmit scripts. BUG=348691 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=254618

Patch Set 1 #

Patch Set 2 : Retry failed upload. #

Patch Set 3 : Retry failed upload again. #

Patch Set 4 : restore main-path in finally #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M presubmit_support.py View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
alokp
Mike, Pawel: please review this fix. Thanks.
6 years, 9 months ago (2014-03-03 20:24:27 UTC) #1
alokp
Please also note that you need to view the unified diffs. The side-by-side diffs either ...
6 years, 9 months ago (2014-03-03 20:24:55 UTC) #2
Ken Russell (switch to Gerrit)
6 years, 9 months ago (2014-03-03 20:39:03 UTC) #3
Paweł Hajdan Jr.
Looks like this'd need a chdir back to original in "finally", right?
6 years, 9 months ago (2014-03-03 22:13:39 UTC) #4
Ken Russell (switch to Gerrit)
On 2014/03/03 22:13:39, Paweł Hajdan Jr. wrote: > Looks like this'd need a chdir back ...
6 years, 9 months ago (2014-03-03 22:14:54 UTC) #5
alokp
Moved the restore to finally. PTAL.
6 years, 9 months ago (2014-03-03 23:16:30 UTC) #6
ghost stip (do not use)
this lgtm, but it'd be nice to have a unit test somewhere for this
6 years, 9 months ago (2014-03-04 00:06:54 UTC) #7
Ken Russell (switch to Gerrit)
The CQ bit was checked by kbr@chromium.org
6 years, 9 months ago (2014-03-04 00:31:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alokp@chromium.org/181063021/60001
6 years, 9 months ago (2014-03-04 00:31:56 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-04 00:33:35 UTC) #10
commit-bot: I haz the power
Presubmit check for 181063021-60001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 9 months ago (2014-03-04 00:33:35 UTC) #11
Ken Russell (switch to Gerrit)
The CQ bit was checked by kbr@chromium.org
6 years, 9 months ago (2014-03-04 00:49:56 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alokp@chromium.org/181063021/60001
6 years, 9 months ago (2014-03-04 00:50:05 UTC) #13
commit-bot: I haz the power
6 years, 9 months ago (2014-03-04 00:52:19 UTC) #14
Message was sent while issue was closed.
Change committed as 254618

Powered by Google App Engine
This is Rietveld 408576698