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

Issue 2512253002: Add name, package_repo_resource and resource support to recipe scripts. (Closed)

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

Description

Add name, package_repo_resource and resource support to recipe scripts. R=dnj@chromium.org, nodir@chromium.org BUG=662586 Committed: https://github.com/luci/recipes-py/commit/a1c2338808c1a2a02d520f4078d21f766b43df5b

Patch Set 1 #

Total comments: 8

Patch Set 2 : fix nits #

Patch Set 3 : Fix bug, add additional test #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -23 lines) Patch
M recipe_engine/config_types.py View 1 2 1 chunk +11 lines, -0 lines 1 comment Download
M recipe_engine/doc.py View 1 chunk +2 lines, -1 line 0 comments Download
M recipe_engine/loader.py View 1 2 8 chunks +39 lines, -8 lines 1 comment Download
M recipe_engine/recipe_api.py View 1 2 2 chunks +5 lines, -2 lines 1 comment Download
M recipe_engine/run.py View 1 chunk +6 lines, -3 lines 0 comments Download
M recipe_engine/simulation_test.py View 1 chunk +3 lines, -1 line 0 comments Download
M recipe_engine/util.py View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
A recipes/engine_tests/recipe_paths.py View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A recipes/engine_tests/recipe_paths.expected/basic.json View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A recipes/engine_tests/recipe_paths.resources/hello.py View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
iannucci
4 years, 1 month ago (2016-11-18 21:39:48 UTC) #1
nodir
lgtm https://codereview.chromium.org/2512253002/diff/1/recipe_engine/config_types.py File recipe_engine/config_types.py (right): https://codereview.chromium.org/2512253002/diff/1/recipe_engine/config_types.py#newcode127 recipe_engine/config_types.py:127: return 'RECIPE[%s].resources' % self.recipe_name shouldn't this be RECIPE_RESOURCES[%s] ...
4 years, 1 month ago (2016-11-18 22:42:25 UTC) #2
iannucci
https://codereview.chromium.org/2512253002/diff/1/recipe_engine/config_types.py File recipe_engine/config_types.py (right): https://codereview.chromium.org/2512253002/diff/1/recipe_engine/config_types.py#newcode127 recipe_engine/config_types.py:127: return 'RECIPE[%s].resources' % self.recipe_name On 2016/11/18 22:42:25, nodir wrote: ...
4 years, 1 month ago (2016-11-19 00:00:57 UTC) #3
nodir
lgtm
4 years, 1 month ago (2016-11-19 00:14:53 UTC) #4
iannucci
forgot to publish comments https://codereview.chromium.org/2512253002/diff/40001/recipe_engine/config_types.py File recipe_engine/config_types.py (right): https://codereview.chromium.org/2512253002/diff/40001/recipe_engine/config_types.py#newcode124 recipe_engine/config_types.py:124: return os.path.splitext(self.script_path)[0]+".resources" # pragma: no ...
4 years, 1 month ago (2016-11-19 00:15:32 UTC) #5
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/2512253002/40001
4 years, 1 month ago (2016-11-19 00:15:43 UTC) #7
commit-bot: I haz the power
4 years, 1 month ago (2016-11-19 00:20:58 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/recipes-py/commit/a1c2338808c1a2a02d520f4078d21f766b4...

Powered by Google App Engine
This is Rietveld 408576698