[ssci] add flatten files type and fix archive type file hash

The zipped file on the local disk is not named the same as the final
uploaded zip.

Flatten helps support bling. Added all appropriate tests.

Unless there's something very wrong with the CL, would appreciate auto submit.

Bug:b/356745797
Change-Id: I9aec1652e6160b321ba9d8e64d82e9ada5a1e6fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/6040972
Reviewed-by: Keybo Qian <keybo@google.com>
Commit-Queue: Keybo Qian <keybo@google.com>
Auto-Submit: Dan Le Febvre <dlf@google.com>
2 files changed
tree: aa2afd9af9a44c171b7b967b70b4ce880f3722fa
  1. hook-scripts/
  2. infra/
  3. recipes/
  4. scripts/
  5. .gitattributes
  6. .gitignore
  7. .style.yapf
  8. .vpython3
  9. .yapfignore
  10. codereview.settings
  11. DEPS
  12. LICENSE
  13. OWNERS
  14. PRESUBMIT.py
  15. PRESUBMIT_test.py
  16. README.md
README.md

Recipes

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

Style

The preferred style is PEP8 with two-space indent. Functions use lowercase_with_underscores, with the exception of the special functions RunSteps and RunTests in recipes. Use yapf (git cl format --no-clang-format) to autoformat new code.