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

Issue 2864803003: Minor loader improvements. (Closed)

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

Description

Minor loader improvements. This allows recipe_modules to do: from recipe_engine.recipe_api import RecipeApi class MyApi(RecipeApi): ... Without explosion. This will also raise a useful exception if a recipe script is missing GenTests and/or RunSteps. R=dnj@chromium.org, martiniss@chromium.org, phajdan.jr@chromium.org BUG= Review-Url: https://codereview.chromium.org/2864803003 Committed: https://github.com/luci/recipes-py/commit/5cdf9803d55420f3ae8d2e0dd524bc2de9c7284b

Patch Set 1 #

Patch Set 2 : alphabetize #

Total comments: 2

Patch Set 3 : fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -7 lines) Patch
M recipe_engine/loader.py View 1 2 6 chunks +22 lines, -3 lines 0 comments Download
M recipe_engine/unittests/loader_test.py View 1 2 2 chunks +8 lines, -4 lines 0 comments Download
M unittests/errors_test.py View 1 2 2 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
iannucci
3 years, 7 months ago (2017-05-06 02:25:16 UTC) #1
dnj
lgtm w/ comment https://codereview.chromium.org/2864803003/diff/20001/recipe_engine/loader.py File recipe_engine/loader.py (right): https://codereview.chromium.org/2864803003/diff/20001/recipe_engine/loader.py#newcode110 recipe_engine/loader.py:110: raise Exception('Missing or misspelled RunSteps function.') ...
3 years, 7 months ago (2017-05-06 02:37:14 UTC) #2
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/2864803003/40001
3 years, 7 months ago (2017-05-06 02:53:22 UTC) #5
iannucci
https://codereview.chromium.org/2864803003/diff/20001/recipe_engine/loader.py File recipe_engine/loader.py (right): https://codereview.chromium.org/2864803003/diff/20001/recipe_engine/loader.py#newcode110 recipe_engine/loader.py:110: raise Exception('Missing or misspelled RunSteps function.') On 2017/05/06 02:37:14, ...
3 years, 7 months ago (2017-05-06 02:54:55 UTC) #6
commit-bot: I haz the power
3 years, 7 months ago (2017-05-06 02:56:37 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/recipes-py/commit/5cdf9803d55420f3ae8d2e0dd524bc2de9c...

Powered by Google App Engine
This is Rietveld 408576698