commit | 3ae442199e9665d9a13c9f9f4b4306acefcc9b3c | [log] [tgz] |
---|---|---|
author | Denis Nikitin <denik@google.com> | Sun May 02 23:45:03 2021 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Sat May 15 03:19:38 2021 +0000 |
tree | eec4d2c4ce3eea13b4bf38fd986af05a5ee0f03c | |
parent | bc16e2fb4ddcefcfb6c16816249c4b864a2a65a7 [diff] |
afdo_tools: Improve update_kernel_afdo script By default the script now will create a commit and give a prompt on how to submit the change. Neither sync or clean-up needed to submit the change. The new workflow doesn't touch existing checkout and ignores (and keeps) any local changes. Without arguments the script tries to update metadata in all channels: canary (main), beta and stable. To update afdo metadata in specific channel run: ./update_kernel_afdo canary|beta|stable. BUG=None TEST=afdo_tools/update_kernel_afdo produces 3 commits in release-R92, release-R91 and release-R90 Change-Id: I61c8c743a4634d2ab4e4837f8a31a31a6cea2c2a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2872860 Tested-by: Denis Nikitin <denik@chromium.org> Reviewed-by: Caroline Tice <cmtice@chromium.org> Reviewed-by: George Burgess <gbiv@chromium.org> Commit-Queue: Denis Nikitin <denik@chromium.org>
toolchain-utils
Various utilities used by the Chrome OS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help
, or refer to the header of the script for more information.