aboutsummaryrefslogtreecommitdiff
path: root/rust_tools/auto_update_rust_bootstrap.py
AgeCommit message (Collapse)Author
2023-12-27rust_tools: fix bug in prebuilt autodetectionGeorge Burgess IV
`check=True` into `if not result.returncode` is weird - should've been `check=False`. While I'm in the area, neither stdout nor stderr are used, so send them to DEVNULL instead. BUG=b:316880003 TEST=Ran the script, which generated crrev.com/c/5153932 Change-Id: I005059d4278b5773f32a7f196fe5d2567eb2c781 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/5153933 Auto-Submit: George Burgess <gbiv@chromium.org> Commit-Queue: Jordan Abrahams-Whitehead <ajordanr@google.com> Reviewed-by: Jordan Abrahams-Whitehead <ajordanr@google.com> Tested-by: George Burgess <gbiv@chromium.org>
2023-12-13auto_update_rust_bootstrap: cosmetic bugfixesGeorge Burgess IV
1. The `core.hooksPath` message here was debugging code that I forgot to remove. 2. crrev.com/c/5120506's PS1 subject shouldn't have included rust's current revision number. BUG=b:309950482 TEST=Preuploads Change-Id: I03643f422d2eb963f5ac210cbb94e9206a6845db Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/5120403 Reviewed-by: Bob Haarman <inglorion@chromium.org> Tested-by: George Burgess <gbiv@chromium.org> Commit-Queue: George Burgess <gbiv@chromium.org>
2023-12-13rust_tools: add ebuild deletion to rust-bootstrap scriptGeorge Burgess IV
This should round out the automation of routine rust-bootstrap maintenance. BUG=b:309950482 TEST=Ran the script; unittests Change-Id: I86e40aebec7a2da18b7a93ade4fee17e5880a7e2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/5106438 Reviewed-by: Bob Haarman <inglorion@chromium.org> Commit-Queue: George Burgess <gbiv@chromium.org> Tested-by: George Burgess <gbiv@chromium.org>
2023-12-13rust_tools: rename auto_upload_rust_bootstrapGeorge Burgess IV
This started as a script that uploaded prebuilts, but its final (for now) form is really a more general updating script, like the module-level docstring implies. Update the name of the script to reflect this. BUG=b:309950482 TEST=Preuploads Change-Id: I172a76f9047a350e943db011b9ad37879c9f34c5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/5106437 Reviewed-by: Bob Haarman <inglorion@chromium.org> Commit-Queue: George Burgess <gbiv@chromium.org> Tested-by: George Burgess <gbiv@chromium.org>