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

Issue 156270043: Preparation work to enable isolateserver.py download to use a local cache. (Closed)

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

Description

Preparation work to enable isolateserver.py download to use a local cache. - Move many file functions from run_isolated.py to utils/file_path.py - Move DiskCache from run_isolated to isolateserver. - Move relevant tests. This is in preparation to be able to use a local cache when downloading files. It's useful for developpers not desiring to use run_isolated at all but just to use isolateserver as a mean to efficiently transfert isolated trees around. There's no functional change exception exception type change in link_file(), the rest is only moving code around. The functional change will be done as a separate change to make it more readable. R=pgervais@chromium.org BUG= Committed: https://code.google.com/p/swarming/source/detail?repo=client&r=e4ad07ed10d0af2238f19af00d8ad0101a6ff1ed

Patch Set 1 : . #

Total comments: 14
Unified diffs Side-by-side diffs Delta from patch set Stats (+855 lines, -816 lines) Patch
M isolate.py View 4 chunks +5 lines, -5 lines 0 comments Download
M isolateserver.py View 4 chunks +287 lines, -2 lines 2 comments Download
M run_isolated.py View 8 chunks +9 lines, -606 lines 0 comments Download
M tests/file_path_test.py View 5 chunks +189 lines, -51 lines 0 comments Download
M tests/isolate_format_test.py View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/isolate_test.py View 14 chunks +20 lines, -17 lines 4 comments Download
M tests/isolateserver_test.py View 2 chunks +3 lines, -2 lines 0 comments Download
M tests/run_isolated_smoke_test.py View 2 chunks +2 lines, -1 line 0 comments Download
M tests/run_isolated_test.py View 11 chunks +19 lines, -130 lines 0 comments Download
M utils/file_path.py View 2 chunks +319 lines, -0 lines 8 comments Download

Messages

Total messages: 4
M-A
A warmup CL while Vadim is sleeping. https://codereview.appspot.com/156270043/diff/20001/utils/file_path.py File utils/file_path.py (right): https://codereview.appspot.com/156270043/diff/20001/utils/file_path.py#newcode575 utils/file_path.py:575: def hardlink(source, ...
10 years, 9 months ago (2014-10-15 19:01:02 UTC) #1
pgervais
lgtm I added inline comments, they are all unrelated questions or non-constructive criticisms :-) Feel ...
10 years, 9 months ago (2014-10-15 21:52:41 UTC) #2
M-A
https://codereview.appspot.com/156270043/diff/20001/isolateserver.py File isolateserver.py (right): https://codereview.appspot.com/156270043/diff/20001/isolateserver.py#newcode1969 isolateserver.py:1969: file_path.rmtree(tempdir) On 2014/10/15 21:52:41, pgervais wrote: > Here is ...
10 years, 9 months ago (2014-10-15 23:23:04 UTC) #3
M-A
10 years, 9 months ago (2014-10-16 00:22:35 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:20001) manually as
e4ad07ed10d0af2238f19af00d8ad0101a6ff1ed (presubmit successful).
Sign in to reply to this message.

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