commit | 384bee7f9cdad4c183e7339985a26f3b9e9e31ee | [log] [tgz] |
---|---|---|
author | Jordan R Abrahams <ajordanr@google.com> | Wed Jan 12 23:37:47 2022 +0000 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 14 04:47:53 2022 +0000 |
tree | 12bbdd834e3529e98170c7766ef9c97a07002473 | |
parent | 500f764595891c07c8de9e6bfaa2b16d8628e561 [diff] |
patch_sync: Fix PatchDictSchema fields These were out of alphabetical order, and serde_json would write them in the incorrect order to the PATCHES.json file. Additionally, the `platforms` field may end up being null after some discussion with the Android team. This converts platforms to an Optional accordingly. BUG=b:209493133 TEST=patch_sync transpose <...> Change-Id: I7c0b2e984d713698a0ed53e7f36b38bef1a49d1c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3379480 Reviewed-by: George Burgess <gbiv@chromium.org> Tested-by: Jordan Abrahams-Whitehead <ajordanr@google.com> Commit-Queue: Jordan Abrahams-Whitehead <ajordanr@google.com>
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.