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

Issue 15270004: Add step generator protocol, remove annotated_checkout, remove script. (Closed)

Created:
7 years, 7 months ago by iannucci
Modified:
7 years, 7 months ago
CC:
chromium-reviews, cmp-cc_chromium.org, ilevy-cc_chromium.org, xusydoc+watch_chromium.org, kjellander+cc_chromium.org, mkosiba (inactive)
Visibility:
Public.

Description

Add step generator protocol, remove annotated_checkout, remove script. This will enable us to support recipes which decide which steps to run at runtime and provides a testable mechanism for doing so. I also added some better docs and fixed a few miscellaneous bugs. annotated_checkout is now implemented in terms of the new generator mechanism, as is the previous 'script' key. I added coverage reporting for recipe_util, too, as I was curious. It's at a whopping 14%. Hopefully I can beef that up soon. R=agable@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=201184

Patch Set 1 #

Patch Set 2 : Fixup seed_steps for plain sequences too #

Patch Set 3 : Checkout blobs do not need to be generators #

Total comments: 14

Patch Set 4 : Address comments and change expected json output format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+612 lines, -667 lines) Patch
M scripts/common/annotator.py View 4 chunks +24 lines, -13 lines 0 comments Download
D scripts/slave/annotated_checkout.py View 1 chunk +0 lines, -269 lines 0 comments Download
M scripts/slave/annotated_run.py View 1 2 3 7 chunks +178 lines, -116 lines 0 comments Download
A scripts/slave/git_setup.py View 1 chunk +54 lines, -0 lines 0 comments Download
M scripts/slave/recipe_util.py View 1 2 6 chunks +121 lines, -11 lines 0 comments Download
M scripts/slave/recipes/gatekeeper.py View 1 chunk +5 lines, -7 lines 0 comments Download
M scripts/slave/recipes/run_presubmit.py View 2 chunks +28 lines, -31 lines 0 comments Download
M scripts/slave/recipes/toolkit.py View 1 chunk +6 lines, -9 lines 0 comments Download
M scripts/slave/recipes_test/gatekeeper.basic.expected View 1 2 3 1 chunk +2 lines, -4 lines 0 comments Download
M scripts/slave/recipes_test/run_presubmit.blink.expected View 1 2 3 1 chunk +18 lines, -39 lines 0 comments Download
M scripts/slave/recipes_test/run_presubmit.blink_bare.expected View 1 2 3 1 chunk +18 lines, -39 lines 0 comments Download
M scripts/slave/recipes_test/run_presubmit.chromium.expected View 1 2 3 1 chunk +18 lines, -39 lines 0 comments Download
M scripts/slave/recipes_test/run_presubmit.tools_build.expected View 1 2 3 1 chunk +28 lines, -74 lines 0 comments Download
M scripts/slave/recipes_test/toolkit.py View 1 chunk +5 lines, -0 lines 0 comments Download
M scripts/slave/recipes_test/toolkit.basic.expected View 1 2 3 1 chunk +37 lines, -1 line 0 comments Download
M scripts/slave/unittests/recipe_util_test.py View 9 chunks +20 lines, -10 lines 0 comments Download
M scripts/slave/unittests/recipes_test.py View 1 2 3 4 chunks +50 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
iannucci
7 years, 7 months ago (2013-05-17 09:07:56 UTC) #1
iannucci
+xusydoc
7 years, 7 months ago (2013-05-17 09:23:03 UTC) #2
Mike Stip (use stip instead)
some comments, but lgtm https://chromiumcodereview.appspot.com/15270004/diff/3002/scripts/slave/annotated_run.py File scripts/slave/annotated_run.py (right): https://chromiumcodereview.appspot.com/15270004/diff/3002/scripts/slave/annotated_run.py#newcode140 scripts/slave/annotated_run.py:140: return run_steps(stream, opts.build_properties, opts.factory_properties)[0] This ...
7 years, 7 months ago (2013-05-18 00:37:21 UTC) #3
iannucci
PTAL @ expected format now. I also moved some stuff around so hopefully it's a ...
7 years, 7 months ago (2013-05-18 04:00:36 UTC) #4
iannucci
On 2013/05/18 04:00:36, iannucci wrote: > PTAL @ expected format now. > ping :-) > ...
7 years, 7 months ago (2013-05-20 23:13:41 UTC) #5
Mike Stip (use stip instead)
lgtm
7 years, 7 months ago (2013-05-21 00:47:44 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iannucci@chromium.org/15270004/10001
7 years, 7 months ago (2013-05-21 01:00:58 UTC) #7
commit-bot: I haz the power
7 years, 7 months ago (2013-05-21 01:01:50 UTC) #8
Message was sent while issue was closed.
Change committed as 201184

Powered by Google App Engine
This is Rietveld 408576698