[roll] Roll fuchsia [cog] Cleanup the workspace script

Add log level control for subprocess commands in workspace setup.

The Workspace class now accepts a log_level during creation. A new _run
helper method is introduced to execute subprocess commands. This method
logs the command being run and only shows the command's stdout/stderr if
the log level is set to DEBUG. All relevant subprocess.run calls are
updated to use this new _run method. The setup_cog_workspace.py script
now passes the configured log level to the Workspace instance.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1493056
Original-Revision: 7e037c2afeca2dc3ffa7dcad70131735d238be8f
GitOrigin-RevId: 47cb6e723405532274f376694a905dc120a676f2
Change-Id: I074cb7d93921a71cd0e626fd40d531d7abf28f3c
1 file changed
tree: 7b663fb03dbaf3ddffa2ec29923f88f4f34b9a46
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.