Age | Commit message (Collapse) | Author |
|
Create a new subcommand that can call both `create` and `remove`,
as well as preparing the repo and uploading the CLs.
Also update the steps to match the latest changes in UPGRADE.md.
BUG=chromium:1112551
TEST=unittest; create an example CL
Change-Id: I225d07d3e765daabd6ce8fc29309a5f11ef9cbae
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2355193
Commit-Queue: Tiancong Wang <tcwang@google.com>
Tested-by: Tiancong Wang <tcwang@google.com>
Reviewed-by: George Burgess <gbiv@chromium.org>
|
|
With this change, a user can run `./rust_uprev.py create` or
`./rust_uprev.py remove` to create a new Rust uprev or remove old
Rust version independently. Both supports using a state file to save
the progress.
BUG=chromium:1112551
TEST=unittest;generated a CL locally
Change-Id: I8aa629cb56fb6fb79a50c08e11304d0c88515e7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2350441
Commit-Queue: Tiancong Wang <tcwang@google.com>
Tested-by: Tiancong Wang <tcwang@google.com>
Reviewed-by: George Burgess <gbiv@chromium.org>
|
|
This is the first pass to add a tool to convert rust upgrade
process into a program that can generate CLs autoamatically.
The tool is resumable, so when patches fail to apply, the user
can fix the patch, resume the tool until no problems exist.
The current tool only supports uprev from the earlier Rust ebuild
in chroot and will need future passes to add more features.
BUG=chromium:1112551
TEST=unittest;generated a CL locally
Change-Id: I77fccd14c69548824a8b235d756357aee0c42ef2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2339593
Commit-Queue: Tiancong Wang <tcwang@google.com>
Tested-by: Tiancong Wang <tcwang@google.com>
Reviewed-by: Bob Haarman <inglorion@chromium.org>
Reviewed-by: George Burgess <gbiv@chromium.org>
|
|
Apparently it's useful to watch upstream Gentoo's patches to
dev-lang/rust, and it'd be nice in general if we were pinged for new
Rust stable releases.
This CL adds a tool to handle the alerting of all of that for us.
BUG=None
TEST=Ran in a few different ways with `--skip_email`
Change-Id: Ie972872d597870c715266f88df50812b55e30c75
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2314745
Reviewed-by: Tiancong Wang <tcwang@google.com>
Tested-by: George Burgess <gbiv@chromium.org>
|