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

Issue 2249983004: Add apply_gerrit_ref to bot_update api (Closed)

Created:
4 years, 4 months ago by rmistry
Modified:
4 years, 4 months ago
Reviewers:
tandrii(chromium)
CC:
chromium-reviews, 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
Visibility:
Public.

Description

Patch Set 1 : Initial upload #

Patch Set 2 : Working e2e #

Patch Set 3 : Use bot_update #

Total comments: 4

Patch Set 4 : Add new apply_gerrit_ref in bot_update api.py #

Total comments: 6

Patch Set 5 : Address comments #

Patch Set 6 : Add tests #

Total comments: 2

Patch Set 7 : Address comment #

Total comments: 2

Patch Set 8 : disable=relative-import #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -12 lines) Patch
M recipe_modules/bot_update/api.py View 1 2 3 4 5 6 1 chunk +21 lines, -0 lines 0 comments Download
M recipe_modules/bot_update/example.py View 1 2 3 4 5 2 chunks +25 lines, -12 lines 0 comments Download
A recipe_modules/bot_update/example.expected/apply_gerrit_ref.json View 1 2 3 4 5 1 chunk +26 lines, -0 lines 0 comments Download
A recipe_modules/bot_update/resources/apply_gerrit.py View 1 2 3 4 5 6 7 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (18 generated)
rmistry
No tests yet. Wanted to first see what you thought about this. https://codereview.chromium.org/2249983004/diff/40001/recipe_modules/tryserver/api.py File recipe_modules/tryserver/api.py ...
4 years, 4 months ago (2016-08-18 18:39:51 UTC) #5
tandrii(chromium)
i don't want to discourage you, but I think this is exactly what recipes was ...
4 years, 4 months ago (2016-08-18 18:54:13 UTC) #6
rmistry
On 2016/08/18 18:54:13, tandrii(chromium) wrote: > i don't want to discourage you, but I think ...
4 years, 4 months ago (2016-08-18 20:21:43 UTC) #7
rmistry
https://codereview.chromium.org/2249983004/diff/40001/recipe_modules/tryserver/api.py File recipe_modules/tryserver/api.py (right): https://codereview.chromium.org/2249983004/diff/40001/recipe_modules/tryserver/api.py#newcode19 recipe_modules/tryserver/api.py:19: import bot_update On 2016/08/18 18:54:13, tandrii(chromium) wrote: > On ...
4 years, 4 months ago (2016-08-18 20:27:50 UTC) #8
tandrii(chromium)
https://codereview.chromium.org/2249983004/diff/40001/recipe_modules/tryserver/api.py File recipe_modules/tryserver/api.py (right): https://codereview.chromium.org/2249983004/diff/40001/recipe_modules/tryserver/api.py#newcode19 recipe_modules/tryserver/api.py:19: import bot_update On 2016/08/18 20:27:50, rmistry wrote: > On ...
4 years, 4 months ago (2016-08-18 20:30:09 UTC) #9
rmistry
On 2016/08/18 20:30:09, tandrii(chromium) wrote: > https://codereview.chromium.org/2249983004/diff/40001/recipe_modules/tryserver/api.py > File recipe_modules/tryserver/api.py (right): > > https://codereview.chromium.org/2249983004/diff/40001/recipe_modules/tryserver/api.py#newcode19 > ...
4 years, 4 months ago (2016-08-18 20:42:11 UTC) #10
tandrii(chromium)
On 2016/08/18 20:42:11, rmistry wrote: > On 2016/08/18 20:30:09, tandrii(chromium) wrote: > > > https://codereview.chromium.org/2249983004/diff/40001/recipe_modules/tryserver/api.py ...
4 years, 4 months ago (2016-08-18 20:46:13 UTC) #11
rmistry
On 2016/08/18 20:46:13, tandrii(chromium) wrote: > On 2016/08/18 20:42:11, rmistry wrote: > > On 2016/08/18 ...
4 years, 4 months ago (2016-08-19 13:55:20 UTC) #13
tandrii(chromium)
yep, that's what I meant. https://codereview.chromium.org/2249983004/diff/80001/recipe_modules/bot_update/api.py File recipe_modules/bot_update/api.py (right): https://codereview.chromium.org/2249983004/diff/80001/recipe_modules/bot_update/api.py#newcode56 recipe_modules/bot_update/api.py:56: # DO NOT USE. ...
4 years, 4 months ago (2016-08-19 14:00:04 UTC) #14
rmistry
https://codereview.chromium.org/2249983004/diff/80001/recipe_modules/bot_update/api.py File recipe_modules/bot_update/api.py (right): https://codereview.chromium.org/2249983004/diff/80001/recipe_modules/bot_update/api.py#newcode56 recipe_modules/bot_update/api.py:56: # DO NOT USE. On 2016/08/19 14:00:04, tandrii(chromium) wrote: ...
4 years, 4 months ago (2016-08-19 14:36:08 UTC) #17
rmistry
Cleaned up and added tests @Patchset6. PTAL.
4 years, 4 months ago (2016-08-19 15:11:21 UTC) #18
tandrii(chromium)
lgtm https://codereview.chromium.org/2249983004/diff/160001/recipe_modules/bot_update/api.py File recipe_modules/bot_update/api.py (right): https://codereview.chromium.org/2249983004/diff/160001/recipe_modules/bot_update/api.py#newcode64 recipe_modules/bot_update/api.py:64: kwargs['env'].setdefault('PATH', '%(PATH)s') Just because I can :) kwargs.setdefault('env', ...
4 years, 4 months ago (2016-08-19 17:50:42 UTC) #21
rmistry
https://codereview.chromium.org/2249983004/diff/160001/recipe_modules/bot_update/api.py File recipe_modules/bot_update/api.py (right): https://codereview.chromium.org/2249983004/diff/160001/recipe_modules/bot_update/api.py#newcode64 recipe_modules/bot_update/api.py:64: kwargs['env'].setdefault('PATH', '%(PATH)s') On 2016/08/19 17:50:42, tandrii(chromium) wrote: > Just ...
4 years, 4 months ago (2016-08-19 18:11:19 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2249983004/180001
4 years, 4 months ago (2016-08-19 18:11:47 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: Depot Tools Presubmit on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/30bcd61670673c10)
4 years, 4 months ago (2016-08-19 18:19:18 UTC) #27
rmistry
https://codereview.chromium.org/2249983004/diff/180001/recipe_modules/bot_update/resources/apply_gerrit.py File recipe_modules/bot_update/resources/apply_gerrit.py (right): https://codereview.chromium.org/2249983004/diff/180001/recipe_modules/bot_update/resources/apply_gerrit.py#newcode9 recipe_modules/bot_update/resources/apply_gerrit.py:9: import bot_update Looks like this is giving a pylint ...
4 years, 4 months ago (2016-08-19 18:32:34 UTC) #28
rmistry
https://codereview.chromium.org/2249983004/diff/180001/recipe_modules/bot_update/resources/apply_gerrit.py File recipe_modules/bot_update/resources/apply_gerrit.py (right): https://codereview.chromium.org/2249983004/diff/180001/recipe_modules/bot_update/resources/apply_gerrit.py#newcode9 recipe_modules/bot_update/resources/apply_gerrit.py:9: import bot_update On 2016/08/19 18:32:34, rmistry wrote: > Looks ...
4 years, 4 months ago (2016-08-19 18:51:05 UTC) #29
tandrii(chromium)
LGTM
4 years, 4 months ago (2016-08-19 20:29:47 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2249983004/200001
4 years, 4 months ago (2016-08-19 20:31:09 UTC) #36
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 20:34:13 UTC) #38
Message was sent while issue was closed.
Committed patchset #8 (id:200001) as
https://chromium.googlesource.com/chromium/tools/depot_tools/+/2250d5b3b0a568...

Powered by Google App Engine
This is Rietveld 408576698