[PATCH] D105578: utils: add a revert checker

George Burgess IV via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 7 11:44:30 PDT 2021


george.burgess.iv created this revision.
george.burgess.iv added a reviewer: tstellar.
george.burgess.iv requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Chrome OS and Android have found it useful to have an automated revert
checker. It was requested to upstream it, since other folks in the LLVM
community may also find value in it.

The tests depend on having a full (non-shallow) checkout of LLVM. This
seems reasonable to me, since:

      

- the tests should only be run if the user is developing on this script
- it's kind of hard to develop on this script without local git history :)

If people really want, the tests' dependency on LLVM's history can be
removed. It's mostly just effort/complexity that doesn't seem necessary.

Please see llvm/utils/revert_checker.py's docstring for more info/usage
examples.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105578

Files:
  llvm/utils/revert_checker.py
  llvm/utils/revert_checker_test.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105578.357026.patch
Type: text/x-patch
Size: 13158 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210707/b0c07c39/attachment.bin>


More information about the llvm-commits mailing list