| commit | 28449e3cbd0c8ed8d4dd2668dca15a5fafc50811 | [log] [tgz] |
|---|---|---|
| author | George Burgess IV <gbiv@google.com> | Tue Jul 15 10:18:15 2025 -0600 |
| committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 16 12:28:34 2025 -0700 |
| tree | d7fdeecf10fa23873fce101d71049823160b5cbb | |
| parent | b375a21b2535dce76c9aa0a97b95472208985924 [diff] |
rust_tools: split gsutil stdout and stderr The gsutil parsing code was the only user of `get_command_output_unchecked`, so I made it a bit less general for now. The motivating issue here was "I got a big 'stop using boto credentials' warning printed to stderr, and json.loads tried to parse stderr+stdout combined, so the warning on stderr caused this script to crash." BUG=b:404724020 TEST=Ran the script, no more JSON parsing error Change-Id: Ieab451c0138498567db2693a79b2a80f892ea845 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/6735599 Reviewed-by: Bob Haarman <inglorion@chromium.org> Commit-Queue: George Burgess <gbiv@chromium.org> Tested-by: George Burgess <gbiv@chromium.org>
toolchain-utilsVarious utilities used by the ChromeOS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help, or refer to the header of the script for more information.