aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Burgess IV <gbiv@google.com>2024-01-30 10:19:48 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2024-01-30 18:57:49 +0000
commit36aedb0f1bdfec7dd0b9151b321c8c60f3bdc98c (patch)
tree4eb818c1496579752e1b1efbb599cac539d7ed07
parent88ec70a9ffd0770c483bb0246b8bf49c6e627018 (diff)
downloadtoolchain-utils-36aedb0f1bdfec7dd0b9151b321c8c60f3bdc98c.tar.gz
rust_tools: link rust upgrades to the rust maintenance metabug
BUG=b:322398536 TEST=Unittests Change-Id: I3ba346dc2e23cbc2876f8f2578048b24da620fb3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/5249777 Reviewed-by: Bob Haarman <inglorion@chromium.org> Commit-Queue: George Burgess <gbiv@chromium.org> Tested-by: George Burgess <gbiv@chromium.org>
-rwxr-xr-xrust_tools/rust_watch.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/rust_tools/rust_watch.py b/rust_tools/rust_watch.py
index 68e7102e..3dbd35ed 100755
--- a/rust_tools/rust_watch.py
+++ b/rust_tools/rust_watch.py
@@ -25,6 +25,9 @@ from cros_utils import email_sender
from cros_utils import tiny_render
+RUST_MAINTENANCE_METABUG = 322195383
+
+
def gentoo_sha_to_link(sha: str) -> str:
"""Gets a URL to a webpage that shows the Gentoo commit at `sha`."""
return f"https://gitweb.gentoo.org/repo/gentoo.git/commit?id={sha}"
@@ -246,7 +249,13 @@ def file_bug(title: str, body: str) -> None:
# (bugs.WellKnownComponents.AndroidRustToolchain, None),
)
for component, assignee in targets:
- bugs.CreateNewBug(component, title, body, assignee)
+ bugs.CreateNewBug(
+ component,
+ title,
+ body,
+ assignee,
+ parent_bug=RUST_MAINTENANCE_METABUG,
+ )
def maybe_compose_bug(