Revert "Write directly into the kzip in package_index.py"

This reverts commit 9de49d8cf767e970ea84d030333af497b7fa119d.

Reason for revert: Breaks the Kythe uploader

Original change's description:
> Write directly into the kzip in package_index.py
> 
> Previously we would create a temporary directory with the structure we
> wanted and then zip the whole thing up. Now we instead add files into
> the kzip directly.
> 
> This should hopefully be especially beneficial on the bots, as they run
> on GCE with remote disk which has very limited IOPS.
> 
> Bug: 873956
> Change-Id: I73aa2886282b0fce84870838bd35d5dee88a71e1
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/1659870
> Reviewed-by: Joey Scarr <jsca@chromium.org>
> Commit-Queue: Owen Rodley <orodley@chromium.org>

TBR=jsca@chromium.org,orodley@chromium.org

Change-Id: Icdbbbf6f0ebe5f00a13c9ce3f6baf0900b4ba997
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 873956
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/1663513
Reviewed-by: Joey Scarr <jsca@chromium.org>
Commit-Queue: Joey Scarr <jsca@chromium.org>
2 files changed
tree: 4b4907932932b53d1d8e4454bcba04aa6beddc31
  1. infra/
  2. masters/
  3. scripts/
  4. site_config/
  5. slave/
  6. tests/
  7. third_party/
  8. .gitattributes
  9. .gitignore
  10. .vpython
  11. codereview.settings
  12. DEPS
  13. environment.cfg.py
  14. LICENSE
  15. OWNERS
  16. PRESUBMIT.py
  17. README.md
  18. WATCHLISTS
README.md

build

Hi build contributor! If you do any change in scripts/master/ or touching any master's html/ directories, you must restart master.chromium.fyi first and ensure that it still works before restarting other masters.

Recipes

If you're here to make a change to ‘recipes’ (the code located in scripts/slave/recipes*), please take a look at the README for more information pertaining to recipes.