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

Issue 2237593002: Add support for operational arguments protobuf. (Closed)

Created:
4 years, 4 months ago by dnj
Modified:
4 years, 4 months ago
Reviewers:
iannucci, martiniss
CC:
chromium-reviews, infra-reviews+recipes-py_chromium.org
Base URL:
https://github.com/luci/recipes-py@proto3-release
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add support for operational arguments protobuf. This adds an "arguments.proto" protobuf, which is consumed by "recipes.py" for operational argument input. The "--timestamps" flag and "run" sub-command's "properties" parameter are initially implemented by this protobuf. BUG=chromium:628770 TEST=local - Ran locally w/ JSON file, works. - Wrote unit test, works locally. Committed: https://github.com/luci/recipes-py/commit/aa5141a2236738b8a3d0e0fa57e1220066df29a4

Patch Set 1 #

Patch Set 2 : Better protobuf comments. #

Total comments: 10

Patch Set 3 : Comments, add list type, small changes. #

Total comments: 2

Patch Set 4 : Comment for oneof map. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+574 lines, -4 lines) Patch
A recipe_engine/arguments.proto View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
A recipe_engine/arguments_pb2.py View 1 2 1 chunk +363 lines, -0 lines 0 comments Download
M recipes.py View 1 2 3 8 chunks +71 lines, -4 lines 0 comments Download
A unittests/recipes_py_test.py View 1 2 1 chunk +77 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
dnj
PTAL. This should impose no functionality changes, but stages this option in anticipation of additional ...
4 years, 4 months ago (2016-08-10 19:16:53 UTC) #2
martiniss
https://codereview.chromium.org/2237593002/diff/20001/recipe_engine/arguments.proto File recipe_engine/arguments.proto (right): https://codereview.chromium.org/2237593002/diff/20001/recipe_engine/arguments.proto#newcode6 recipe_engine/arguments.proto:6: // protoc -I recipe_engine recipe_engine/package.proto --python_out=recipe_engine Do we need ...
4 years, 4 months ago (2016-08-10 21:38:25 UTC) #3
dnj
https://codereview.chromium.org/2237593002/diff/20001/recipe_engine/arguments.proto File recipe_engine/arguments.proto (right): https://codereview.chromium.org/2237593002/diff/20001/recipe_engine/arguments.proto#newcode6 recipe_engine/arguments.proto:6: // protoc -I recipe_engine recipe_engine/package.proto --python_out=recipe_engine On 2016/08/10 21:38:25, ...
4 years, 4 months ago (2016-08-10 22:04:41 UTC) #4
martiniss
lgtm https://codereview.chromium.org/2237593002/diff/40001/recipes.py File recipes.py (right): https://codereview.chromium.org/2237593002/diff/40001/recipes.py#newcode245 recipes.py:245: # Map of arguments_pb2.Property "value" oneof conversion functions. ...
4 years, 4 months ago (2016-08-10 22:54:45 UTC) #5
dnj
https://codereview.chromium.org/2237593002/diff/40001/recipes.py File recipes.py (right): https://codereview.chromium.org/2237593002/diff/40001/recipes.py#newcode245 recipes.py:245: # Map of arguments_pb2.Property "value" oneof conversion functions. On ...
4 years, 4 months ago (2016-08-11 01:21:31 UTC) #6
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/2237593002/60001
4 years, 4 months ago (2016-08-11 01:21:37 UTC) #9
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 01:24:15 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://github.com/luci/recipes-py/commit/aa5141a2236738b8a3d0e0fa57e1220066d...

Powered by Google App Engine
This is Rietveld 408576698