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

Unified Diff: client/run_isolated.py

Issue 2060983006: luci-py/isolateserver.py: Add archive support when downloading. (Closed) Base URL: https://github.com/luci/luci-py.git@master
Patch Set: Tests now pass. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/isolateserver.py ('k') | client/tests/isolateserver_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/run_isolated.py
diff --git a/client/run_isolated.py b/client/run_isolated.py
index 68a644f33cd723a30310faf6c649ddc64dc6522a..256d44278e276672b5271d7d57497939fdd4a69d 100755
--- a/client/run_isolated.py
+++ b/client/run_isolated.py
@@ -91,6 +91,7 @@ def get_as_zip_package(executable=True):
package.add_python_file(os.path.join(BASE_DIR, 'isolateserver.py'))
package.add_python_file(os.path.join(BASE_DIR, 'auth.py'))
package.add_python_file(os.path.join(BASE_DIR, 'cipd.py'))
+ package.add_directory(os.path.join(BASE_DIR, 'libs'))
package.add_directory(os.path.join(BASE_DIR, 'third_party'))
package.add_directory(os.path.join(BASE_DIR, 'utils'))
return package
@@ -270,7 +271,7 @@ def fetch_and_measure(isolated_hash, storage, cache, outdir):
'initial_size': cache.initial_size,
'items_cold': base64.b64encode(large.pack(sorted(cache.added))),
mithro 2016/06/20 14:16:04 Are these wrong? Looking at the MemoryCache code,
'items_hot': base64.b64encode(
- large.pack(sorted(set(cache.linked) - set(cache.added)))),
+ large.pack(sorted(set(cache.used) - set(cache.added)))),
}
« no previous file with comments | « client/isolateserver.py ('k') | client/tests/isolateserver_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698