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

Issue 187203005: Minor cleanup of some recipe framework code. (Closed)

Created:
6 years, 9 months ago by Vadim Sh.
Modified:
6 years, 9 months ago
Reviewers:
iannucci
CC:
chromium-reviews, kjellander-cc_chromium.org, cmp-cc_chromium.org, ilevy-cc_chromium.org, stip+watch_chromium.org
Visibility:
Public.

Description

Minor cleanup of some recipe framework code. Changes: * Use single naming convention for functions in recipe_loader.py. * Doc strings for some obscure corners. * Remove I_AM_A_CONFIG_CTX hack, promote confix_ctx from a function that carries properties to a regular object of ConfigContext class that also acts as a decorator factory. R=iannucci@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=255195

Patch Set 1 #

Total comments: 25

Patch Set 2 : #

Patch Set 3 : Rietveld >_< #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -140 lines) Patch
M scripts/slave/annotated_run.py View 2 chunks +2 lines, -2 lines 0 comments Download
M scripts/slave/recipe_api.py View 1 chunk +1 line, -1 line 0 comments Download
M scripts/slave/recipe_config.py View 5 chunks +74 lines, -66 lines 0 comments Download
M scripts/slave/recipe_loader.py View 1 6 chunks +80 lines, -61 lines 0 comments Download
M scripts/slave/recipe_modules/step/api.py View 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipe_modules/step_history/api.py View 1 chunk +3 lines, -0 lines 0 comments Download
M scripts/slave/recipe_test_api.py View 1 chunk +1 line, -1 line 0 comments Download
M scripts/slave/recipe_util.py View 1 4 chunks +27 lines, -2 lines 0 comments Download
M scripts/slave/unittests/recipes_test.py View 2 chunks +4 lines, -3 lines 0 comments Download
M scripts/tools/show_me_the_modules.py View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Vadim Sh.
I started deciphering current recipe engine code to figure out how to plug in a ...
6 years, 9 months ago (2014-03-05 06:09:29 UTC) #1
iannucci
https://chromiumcodereview.appspot.com/187203005/diff/1/scripts/slave/recipe_config.py File scripts/slave/recipe_config.py (right): https://chromiumcodereview.appspot.com/187203005/diff/1/scripts/slave/recipe_config.py#newcode321 scripts/slave/recipe_config.py:321: TEST_NAME_FORMAT: A string format (or function) for naming tests ...
6 years, 9 months ago (2014-03-05 20:43:37 UTC) #2
Vadim Sh.
Also made load_recipe always return object of RecipeScript type (former ModuleObject). It used to return ...
6 years, 9 months ago (2014-03-05 21:40:37 UTC) #3
Vadim Sh.
Also made load_recipe always return object of RecipeScript type (former ModuleObject). It used to return ...
6 years, 9 months ago (2014-03-05 21:40:37 UTC) #4
iannucci
lgtm, thanks for digging through this stuff :) https://chromiumcodereview.appspot.com/187203005/diff/1/scripts/slave/recipe_loader.py File scripts/slave/recipe_loader.py (right): https://chromiumcodereview.appspot.com/187203005/diff/1/scripts/slave/recipe_loader.py#newcode23 scripts/slave/recipe_loader.py:23: |submod| ...
6 years, 9 months ago (2014-03-05 21:58:29 UTC) #5
Vadim Sh.
The CQ bit was checked by vadimsh@chromium.org
6 years, 9 months ago (2014-03-06 01:08:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimsh@chromium.org/187203005/40001
6 years, 9 months ago (2014-03-06 01:09:03 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 01:11:20 UTC) #8
commit-bot: I haz the power
Presubmit check for 187203005-40001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 9 months ago (2014-03-06 01:11:21 UTC) #9
Vadim Sh.
The CQ bit was checked by vadimsh@chromium.org
6 years, 9 months ago (2014-03-06 01:12:28 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimsh@chromium.org/187203005/40001
6 years, 9 months ago (2014-03-06 01:12:39 UTC) #11
commit-bot: I haz the power
6 years, 9 months ago (2014-03-06 01:13:59 UTC) #12
Message was sent while issue was closed.
Change committed as 255195

Powered by Google App Engine
This is Rietveld 408576698