aboutsummaryrefslogtreecommitdiff
path: root/llvm_tools/README.md
diff options
context:
space:
mode:
authorGeorge Burgess IV <gbiv@google.com>2020-04-26 13:34:21 -0700
committerGeorge Burgess <gbiv@chromium.org>2020-04-28 19:02:01 +0000
commit6acfe66ddbcd97bfd11d96781506b89dad34c2b2 (patch)
tree996e6cbca026086c6f66ba564f7db2a7ccc0723c /llvm_tools/README.md
parent1324de51897326e383c620027ffd525c7b6c747f (diff)
downloadtoolchain-utils-6acfe66ddbcd97bfd11d96781506b89dad34c2b2.tar.gz
llvm_tools: add a nightly revert checker
This CL adds a script that uses our new revert checker bits to send nightly emails about newly-discovered reverts in LLVM. It should be directly usable from a crontab. BUG=chromium:1046988 TEST=unittests; a few dry-run emails Change-Id: I361d3e214c5d563e71cc4120b76b78e5b3e63f40 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2165514 Reviewed-by: Tiancong Wang <tcwang@google.com> Tested-by: George Burgess <gbiv@chromium.org>
Diffstat (limited to 'llvm_tools/README.md')
-rw-r--r--llvm_tools/README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm_tools/README.md b/llvm_tools/README.md
index 58a7c3d6..9ede2eb5 100644
--- a/llvm_tools/README.md
+++ b/llvm_tools/README.md
@@ -534,3 +534,17 @@ Usage example:
In the above example, the tool will scan all commits between 123abc and 223abc,
and all commits between 123abc and 323abc for reverts of commits which are
parents of 123abc.
+
+### `nightly_revert_checker.py`
+
+This is an automated wrapper around `revert_checker.py`. It checks to see if any
+new reverts happened across toolchains that we're trying to ship since it was
+last run. If so, it sends emails to appropriate groups.
+
+Usage example:
+```
+PYTHONPATH=../ ./nightly_revert_checker.py \
+ --state_file state.json \
+ --llvm_dir llvm-project-copy \
+ --chromeos_dir ../../../../
+```