fixing tar.py script for the tar recipe_module

* Setting the invocation to verbose to ensure that the user sees what
  items are included of the tar.
* Passing all items to-be-tarred directly in the list of arguments
  instead of stdin.
* Adding print messages for some additional logging.
* Ensuring -f option added at the end such that the output file is
  passed correctly.

Change-Id: Ic6ef512d414132b3035315ba149e11d91e28dcb6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2402145
Reviewed-by: Garrett Beaty <gbeaty@chromium.org>
Commit-Queue: Jeff Yoon <jeffyoon@chromium.org>
1 file changed
tree: 6d6fd54adfb903a2d4d158901021eb953fdb3622
  1. infra/
  2. recipes/
  3. scripts/
  4. site_config/
  5. third_party/
  6. .gitattributes
  7. .gitignore
  8. .style.yapf
  9. .vpython
  10. .yapfignore
  11. codereview.settings
  12. CROS_OWNERS
  13. DEPS
  14. environment.cfg.py
  15. LICENSE
  16. OWNERS
  17. PRESUBMIT.py
  18. README.md
  19. WATCHLISTS
README.md

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.

Style

The preferred style is PEP8 with two-space indent; that is, the Chromium Python style. 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.