Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(337)

Issue 37180043: Add real variable support and split --variable in 3 different flags. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by M-A
Modified:
11 years, 7 months ago
Reviewers:
vadimsh
CC:
swarming-eng_googlegroups.com, csharp+cc_chromium.org, vadimsh+cc_chromium.org, maruel+cc_chromium.org, thakis
Base URL:
https://code.google.com/p/swarming.client@master
Visibility:
Public.

Description

Add real variable support and split --variable in 3 different flags. Standardize version number handling and bump .isolated file version to 1.1. Make valid variable names explicit. Add explicit support fo _SUFFIX variables that won't be matched for path prefix. Clarify subtle subdir behavior w.r.t. variables. This removes a lot of the internal chromium specific hacks. R=vadimsh@chromium.org BUG=chromium:324911 Committed: https://code.google.com/p/swarming/source/detail?repo=client&r=1c1edd6

Patch Set 1 : so close #

Patch Set 2 : Works #

Total comments: 12

Patch Set 3 : better #

Total comments: 1

Patch Set 4 : Remove stale line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+492 lines, -236 lines) Patch
M example/2_isolate_server.py View 1 1 chunk +1 line, -1 line 0 comments Download
M example/3_swarming_simple.py View 1 1 chunk +1 line, -1 line 0 comments Download
M example/4_swarming_two_steps.py View 1 1 chunk +1 line, -1 line 0 comments Download
M googletest/isolate_test_cases.py View 1 4 chunks +8 lines, -4 lines 0 comments Download
M googletest/tests/fix_test_cases_smoke_test.py View 1 2 chunks +2 lines, -2 lines 0 comments Download
M googletest/tests/isolate_test_cases_smoke_test.py View 1 2 chunks +2 lines, -2 lines 0 comments Download
M isolate.py View 1 2 3 38 chunks +223 lines, -130 lines 0 comments Download
M isolateserver.py View 3 chunks +8 lines, -4 lines 0 comments Download
M tests/isolate_smoke_test.py View 1 17 chunks +44 lines, -23 lines 0 comments Download
M tests/isolate_test.py View 1 2 32 chunks +201 lines, -67 lines 0 comments Download
M tests/isolateserver_test.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5
M-A
The change is relatively tricky but good code coverage helped here. The next client roll ...
11 years, 7 months ago (2013-12-04 18:49:07 UTC) #1
vadimsh
Mostly lgtm, though I'm not very familiar with isolate.py, so I could miss something... https://codereview.appspot.com/37180043/diff/60001/isolate.py ...
11 years, 7 months ago (2013-12-04 21:16:40 UTC) #2
M-A
https://codereview.appspot.com/37180043/diff/60001/isolate.py File isolate.py (right): https://codereview.appspot.com/37180043/diff/60001/isolate.py#newcode54 isolate.py:54: VALID_VARIABLE = '[A-Za-z_]+' On 2013/12/04 21:16:40, vadimsh wrote: > ...
11 years, 7 months ago (2013-12-04 21:54:56 UTC) #3
vadimsh
lgtm https://codereview.appspot.com/37180043/diff/80001/isolate.py File isolate.py (right): https://codereview.appspot.com/37180043/diff/80001/isolate.py#newcode389 isolate.py:389: value = path_variables[key] This line is not needed ...
11 years, 7 months ago (2013-12-04 22:08:38 UTC) #4
M-A
11 years, 7 months ago (2013-12-06 14:13:46 UTC) #5
Message was sent while issue was closed.
Committed patchset #4 manually as r1c1edd6 (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b