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

Issue 1785543004: Split Placeholder into InputPlaceholder and OutputPlaceholder. (Closed)

Created:
4 years, 9 months ago by stgao
Modified:
4 years, 9 months ago
Reviewers:
iannucci, martiniss
CC:
chanli, chromium-reviews, infra-reviews+recipes-py_chromium.org, Sharu Jiang, lijeffrey
Base URL:
https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Target Ref:
refs/heads/master
Project:
recipes-py
Visibility:
Public.

Description

Split Placeholder into InputPlaceholder and OutputPlaceholder. This CL is a prerequisite for https://codereview.chromium.org/1773273003/. BUG=593198 Committed: https://github.com/luci/recipes-py/commit/f66f2c7d031225091ea1fd98d993bbb4dc73cfe7

Patch Set 1 #

Patch Set 2 : Fix nits. #

Total comments: 6

Patch Set 3 : Address comments. #

Total comments: 6

Patch Set 4 : Address comments. #

Patch Set 5 : not set stdin in step_result, set stdout and stderr in step_result ONLY when there are placeholders for them #

Patch Set 6 : Simplify InputPlaceholder.cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -31 lines) Patch
M recipe_engine/recipe_test_api.py View 1 2 4 chunks +8 lines, -6 lines 0 comments Download
M recipe_engine/step_runner.py View 1 2 3 4 5 5 chunks +35 lines, -11 lines 0 comments Download
M recipe_engine/util.py View 1 2 3 4 5 3 chunks +21 lines, -8 lines 0 comments Download
M recipe_modules/json/api.py View 1 chunk +1 line, -1 line 0 comments Download
M recipe_modules/raw_io/api.py View 1 2 3 4 5 3 chunks +5 lines, -5 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (9 generated)
stgao
Hi folks, do you mind a review?
4 years, 9 months ago (2016-03-11 23:39:45 UTC) #4
iannucci
https://chromiumcodereview.appspot.com/1785543004/diff/40001/recipe_engine/recipe_test_api.py File recipe_engine/recipe_test_api.py (right): https://chromiumcodereview.appspot.com/1785543004/diff/40001/recipe_engine/recipe_test_api.py#newcode59 recipe_engine/recipe_test_api.py:59: self.input_placeholder_data = collections.defaultdict(list) I don't think there needs to ...
4 years, 9 months ago (2016-03-12 03:36:13 UTC) #5
stgao
Comments are addressed. PTAL :) https://codereview.chromium.org/1785543004/diff/40001/recipe_engine/recipe_test_api.py File recipe_engine/recipe_test_api.py (right): https://codereview.chromium.org/1785543004/diff/40001/recipe_engine/recipe_test_api.py#newcode59 recipe_engine/recipe_test_api.py:59: self.input_placeholder_data = collections.defaultdict(list) On ...
4 years, 9 months ago (2016-03-22 05:56:43 UTC) #9
iannucci
lgtm w/ comments https://chromiumcodereview.appspot.com/1785543004/diff/120001/recipe_engine/step_runner.py File recipe_engine/step_runner.py (right): https://chromiumcodereview.appspot.com/1785543004/diff/120001/recipe_engine/step_runner.py#newcode476 recipe_engine/step_runner.py:476: assert isinstance(placeholder, util.InputPlaceholder), key assertion message ...
4 years, 9 months ago (2016-03-22 22:22:48 UTC) #10
stgao
Comments are addressed. https://chromiumcodereview.appspot.com/1785543004/diff/120001/recipe_engine/step_runner.py File recipe_engine/step_runner.py (right): https://chromiumcodereview.appspot.com/1785543004/diff/120001/recipe_engine/step_runner.py#newcode476 recipe_engine/step_runner.py:476: assert isinstance(placeholder, util.InputPlaceholder), key On 2016/03/22 ...
4 years, 9 months ago (2016-03-22 23:19:17 UTC) #11
iannucci
lgtm
4 years, 9 months ago (2016-03-23 18:45:30 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1785543004/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1785543004/200001
4 years, 9 months ago (2016-03-23 18:52:44 UTC) #15
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 18:54:57 UTC) #17
Message was sent while issue was closed.
Committed patchset #6 (id:200001) as
https://github.com/luci/recipes-py/commit/f66f2c7d031225091ea1fd98d993bbb4dc7...

Powered by Google App Engine
This is Rietveld 408576698