diff options
author | Jordan R Abrahams-Whitehead <ajordanr@google.com> | 2024-05-06 22:57:48 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2024-05-06 23:33:41 +0000 |
commit | 38ef118320ecd7427a207d319fa484a32e8cd3d6 (patch) | |
tree | 1ac7a40cd2ee938d7dea57856e68bc339c7b4b8c | |
parent | 373236904b062edbe1604b4c67461118db8385d8 (diff) | |
download | toolchain-utils-38ef118320ecd7427a207d319fa484a32e8cd3d6.tar.gz |
llvm_tools: Update README for get_patch.py
With the obsoleting of get_upstream_patch.py with
get_patch.py, we can update the README as well to describe
how to use get_patch.py.
BUG=b:339010069
TEST=repo upload
Change-Id: Ibb5ad37e669826c059f9e70d85303fa2828a2479
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/5519691
Reviewed-by: George Burgess <gbiv@chromium.org>
Auto-Submit: Jordan Abrahams-Whitehead <ajordanr@google.com>
Commit-Queue: George Burgess <gbiv@chromium.org>
Tested-by: Jordan Abrahams-Whitehead <ajordanr@google.com>
-rw-r--r-- | llvm_tools/README.md | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/llvm_tools/README.md b/llvm_tools/README.md index d5f6ffc0..422e7cfe 100644 --- a/llvm_tools/README.md +++ b/llvm_tools/README.md @@ -251,26 +251,23 @@ r387778 **Tip**: if you put a symlink called `git-llvm-rev` to this script somewhere on your `$PATH`, you can also use it as `git llvm-rev`. -### `get_upstream_patch.py` +### `get_patch.py` #### Usage -This script updates the proper ChromeOS packages with LLVM patches of your choosing, and -copies the patches into patch folders of the packages. This tool supports both git hash -of commits as well as differential reviews. +This script updates the proper ChromeOS packages with LLVM patches of your +choosing, and copies the patches into patch folders of the packages. This tool +supports both git hash of commits as well as differential reviews. Usage: ``` -./get_upstream_patch.py --chromeos_path /abs/path/to/chroot --start_sha llvm ---sha 174c3eb69f19ff2d6a3eeae31d04afe77e62c021 --sha 174c3eb69f19ff2d6a3eeae31d04afe77e62c021 ---differential D123456 +get_patch.py --start-ref="HEAD" 47413bb27 p:74791 ``` -It tries to autodetect a lot of things (e.g., packages changed by each sha, -their ebuild paths, the "start"/"end" revisions to set, etc.) By default the -script creates a local patch. Use --create_cl option to create a CL instead. For -more information, please see the `--help` +It tries to autodetect a lot of things. For more information, please see the +`--help`. This only pulls down the patches into the current tree, commits and +uploads must be done manually. ### `revert_checker.py` |