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

Issue 23176003: Create proper wrapper scripts to decouple from swarm_client. (Closed)

Created:
7 years, 4 months ago by M-A Ruel
Modified:
7 years, 3 months ago
CC:
chromium-reviews, cmp-cc_chromium.org, ilevy-cc_chromium.org, xusydoc+watch_chromium.org, kjellander+cc_chromium.org, csharp, Vadim Sh.
Visibility:
Public.

Description

Create proper wrapper scripts to decouple from swarm_client. The wrapper script determines the swarm_client code and pass the supported flags. R=ilevy@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=219544

Patch Set 1 #

Total comments: 1

Patch Set 2 : split into multiple scripts #

Patch Set 3 : rework #

Total comments: 3

Patch Set 4 : rework #

Patch Set 5 : rework (3rd) #

Patch Set 6 : copyright #

Patch Set 7 : add docstrings #

Total comments: 14

Patch Set 8 : Major refactor #

Patch Set 9 : Getting there #

Patch Set 10 : works #

Patch Set 11 : Remove irrelevant TODO #

Patch Set 12 : Fix comment #

Total comments: 4

Patch Set 13 : Renamed scripts to _shim #

Patch Set 14 : Had forgot to append _shim to one comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -203 lines) Patch
M scripts/master/factory/swarm_commands.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +21 lines, -32 lines 0 comments Download
M scripts/slave/get_swarm_results.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M scripts/slave/swarming/get_swarm_results.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -140 lines 0 comments Download
A + scripts/slave/swarming/get_swarm_results_shim.py View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +74 lines, -28 lines 0 comments Download
M scripts/slave/swarming/swarming_utils.py View 1 2 3 4 5 6 1 chunk +6 lines, -1 line 0 comments Download
A scripts/slave/swarming/trigger_swarm_shim.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +104 lines, -0 lines 0 comments Download
M scripts/slave/unittests/get_swarm_results_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
M-A Ruel
The problem with this is that it'll break for older revisions that do not have ...
7 years, 4 months ago (2013-08-14 20:06:49 UTC) #1
Isaac (away)
https://codereview.chromium.org/23176003/diff/1/scripts/master/factory/swarm_commands.py File scripts/master/factory/swarm_commands.py (right): https://codereview.chromium.org/23176003/diff/1/scripts/master/factory/swarm_commands.py#newcode107 scripts/master/factory/swarm_commands.py:107: command.extend(('--priority', str(priority))) Is there a way to move this ...
7 years, 4 months ago (2013-08-14 20:23:18 UTC) #2
M-A Ruel
On 2013/08/14 20:23:18, Isaac wrote: > Is there a way to move this logic to ...
7 years, 4 months ago (2013-08-14 20:24:59 UTC) #3
M-A Ruel
Still untested but I'd like your opinion on this layout.
7 years, 4 months ago (2013-08-15 17:47:55 UTC) #4
Isaac (away)
Yeah this looks better. Thanks. https://chromiumcodereview.appspot.com/23176003/diff/10001/scripts/master/factory/swarm_commands.py File scripts/master/factory/swarm_commands.py (right): https://chromiumcodereview.appspot.com/23176003/diff/10001/scripts/master/factory/swarm_commands.py#newcode93 scripts/master/factory/swarm_commands.py:93: tasktype = 'ci' what's ...
7 years, 4 months ago (2013-08-15 23:27:01 UTC) #5
M-A Ruel
Changed CL description since I changed the purpose of the CL. Addressed comments. If you ...
7 years, 4 months ago (2013-08-20 16:23:06 UTC) #6
Isaac (away)
https://codereview.chromium.org/23176003/diff/24001/scripts/master/factory/chromium_commands.py File scripts/master/factory/chromium_commands.py (right): https://codereview.chromium.org/23176003/diff/24001/scripts/master/factory/chromium_commands.py#newcode1687 scripts/master/factory/chromium_commands.py:1687: 'requester', I just added this property in crrev.com/218418 -- ...
7 years, 4 months ago (2013-08-20 22:22:32 UTC) #7
M-A Ruel
I did a complete rewrite. It was a good idea to pass build properties, thanks. ...
7 years, 4 months ago (2013-08-23 02:18:32 UTC) #8
M-A Ruel
Mike, want to take a look? Isaac is overloaded these days.
7 years, 4 months ago (2013-08-25 12:29:34 UTC) #9
Isaac (away)
lgtm w/ nits. https://codereview.chromium.org/23176003/diff/24001/scripts/slave/swarming/get_swarm_results.py File scripts/slave/swarming/get_swarm_results.py (right): https://codereview.chromium.org/23176003/diff/24001/scripts/slave/swarming/get_swarm_results.py#newcode84 scripts/slave/swarming/get_swarm_results.py:84: sys.path.insert(0, client) On 2013/08/23 02:18:33, M-A ...
7 years, 3 months ago (2013-08-26 02:35:46 UTC) #10
M-A Ruel
https://codereview.chromium.org/23176003/diff/24001/scripts/slave/swarming/get_swarm_results.py File scripts/slave/swarming/get_swarm_results.py (right): https://codereview.chromium.org/23176003/diff/24001/scripts/slave/swarming/get_swarm_results.py#newcode84 scripts/slave/swarming/get_swarm_results.py:84: sys.path.insert(0, client) On 2013/08/26 02:35:46, Isaac wrote: > I ...
7 years, 3 months ago (2013-08-26 14:15:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/23176003/45001
7 years, 3 months ago (2013-08-26 14:21:35 UTC) #12
commit-bot: I haz the power
7 years, 3 months ago (2013-08-26 14:22:40 UTC) #13
Message was sent while issue was closed.
Change committed as 219544

Powered by Google App Engine
This is Rietveld 408576698