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

Issue 2332833003: Add better documentation, trigger namedtuple. (Closed)

Created:
4 years, 3 months ago by dnj
Modified:
4 years, 3 months ago
Reviewers:
iannucci, martiniss
CC:
chromium-reviews, infra-reviews+recipes-py_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add better documentation, trigger namedtuple. Follow-up to https://codereview.chromium.org/2253943003: - Add much better comments to StepConfig fields. - Add rendering logic directly to StepConfig. - Add "cmd=[]" output to simulation results. - Make "trigger_specs" a namedtuple. BUG=None TEST=expectations Committed: https://github.com/luci/recipes-py/commit/8ad49e0698f1e74e3f500fda6ca5b65a2af29fd0

Patch Set 1 #

Total comments: 7

Patch Set 2 : Update, use named arguments, clean. #

Patch Set 3 : More cleanups. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -74 lines) Patch
M recipe_engine/recipe_api.py View 1 2 8 chunks +141 lines, -53 lines 1 comment Download
M recipe_engine/run.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M recipe_engine/step_runner.py View 5 chunks +9 lines, -19 lines 0 comments Download
M recipe_engine/stream.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M recipe_modules/platform/example.expected/linux64.json View 1 chunk +1 line, -0 lines 0 comments Download
M recipe_modules/platform/example.expected/mac64.json View 1 chunk +1 line, -0 lines 0 comments Download
M recipe_modules/platform/example.expected/win32.json View 1 chunk +1 line, -0 lines 0 comments Download
M recipe_modules/step/example.expected/basic.json View 1 chunk +1 line, -0 lines 0 comments Download
M recipe_modules/step/example.expected/defer_results.json View 1 chunk +1 line, -0 lines 0 comments Download
M recipe_modules/step/example.expected/exceptional.json View 1 chunk +1 line, -0 lines 0 comments Download
M recipe_modules/step/example.expected/infra_failure.json View 1 chunk +1 line, -0 lines 0 comments Download
M recipe_modules/step/example.expected/invalid_access.json View 1 chunk +1 line, -0 lines 0 comments Download
M recipe_modules/step/example.expected/warning.json View 1 chunk +1 line, -0 lines 0 comments Download
M recipes/engine_tests/trigger.expected/basic.json View 1 chunk +1 line, -0 lines 0 comments Download
M recipes/example/nested.expected/basic.json View 3 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
dnj
PTAL, follow-up to: https://codereview.chromium.org/2337623002/
4 years, 3 months ago (2016-09-12 21:03:43 UTC) #2
iannucci
lgtm https://codereview.chromium.org/2332833003/diff/1/recipe_engine/recipe_api.py File recipe_engine/recipe_api.py (right): https://codereview.chromium.org/2332833003/diff/1/recipe_engine/recipe_api.py#newcode34 recipe_engine/recipe_api.py:34: def _make_from_api_dict(cls, trig): could we **explode this and ...
4 years, 3 months ago (2016-09-12 22:35:16 UTC) #3
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/2332833003/40001
4 years, 3 months ago (2016-09-12 23:22:12 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://github.com/luci/recipes-py/commit/8ad49e0698f1e74e3f500fda6ca5b65a2af29fd0
4 years, 3 months ago (2016-09-12 23:29:12 UTC) #8
dnj
https://codereview.chromium.org/2332833003/diff/1/recipe_engine/recipe_api.py File recipe_engine/recipe_api.py (right): https://codereview.chromium.org/2332833003/diff/1/recipe_engine/recipe_api.py#newcode41 recipe_engine/recipe_api.py:41: assert isinstance(changes, list), 'buildbot_changes must be a list' On ...
4 years, 3 months ago (2016-09-12 23:30:11 UTC) #9
martiniss
https://codereview.chromium.org/2332833003/diff/40001/recipe_engine/recipe_api.py File recipe_engine/recipe_api.py (right): https://codereview.chromium.org/2332833003/diff/40001/recipe_engine/recipe_api.py#newcode796 recipe_engine/recipe_api.py:796: self.helptext = helptext This change is breaking all sorts ...
4 years, 3 months ago (2016-09-13 17:09:16 UTC) #11
martiniss
4 years, 3 months ago (2016-09-13 17:11:50 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2340483002/ by martiniss@chromium.org.

The reason for reverting is: help -> helptext change broke roller badly..

Powered by Google App Engine
This is Rietveld 408576698