[client] Small improvements

No real functional change.

- save_isolated() doesn't return anything. This was done this way because it was
  thought that eventually it would split automatically in isolated layers as a
  performance optimization. In practice we used tarring instead.
- Make expand_symlinks() private.
- Make create_symlinks() and get_zip_compression_level() private.
- Change some tests to use package 'fs' instead of 'os'.
- Prepare the replacement of FakeItem with BufferItem in isolateserver_test.py.

Bug: 825418
Change-Id: I095ede8ae43a550848c85c3f7ea2b3a48b11503b
Reviewed-on: https://chromium-review.googlesource.com/c/1358571
Commit-Queue: Marc-Antoine Ruel <maruel@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Cr-Mirrored-From: https://chromium.googlesource.com/infra/luci/luci-py
Cr-Mirrored-Commit: ebc22e5559fe0fe0f6268baf851ad5bf5aeb7fb0
5 files changed
tree: ca3a51c8afd2816938b92922bac979c3ccc5c3cb
  1. example/
  2. libs/
  3. proto/
  4. tests/
  5. third_party/
  6. tools/
  7. utils/
  8. .gitignore
  9. auth.py
  10. cipd.py
  11. isolate.py
  12. isolate_format.py
  13. isolate_storage.py
  14. isolated_format.py
  15. isolateserver.py
  16. LICENSE
  17. local_caching.py
  18. LUCI_CONTEXT.md
  19. OWNERS
  20. PRESUBMIT.py
  21. README.md
  22. README.py
  23. run_isolated.py
  24. swarming.py
  25. trace_inputs.py
  26. WATCHLISTS
README.md

LUCI Python Client

This is the Python Client code for LUCI. It's part of the main python repo, and is also mirrored into a standalone client-py repo.

To contribute changes you need to clone the main python repo and then use git cl upload. The client-py repo mirror (which appears in Chromium's third_party directory) cannot be contributed to directly.

License

This project is licensed under Apache v2.0 license. See LICENSE for details.