mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
Validate errors should be returned as errors (as warnings are ignored), not warnings Once the following CL's have been submitted there will be 0 presubmit errors or warnings. * https://crrev.com/c/6284506 * https://crrev.com/c/6296486 * https://crrev.com/c/6290266 * https://crrev.com/c/6296606 * https://crrev.com/c/6297263 * https://crrev.com/c/6296425 * https://crrev.com/c/6290667 * https://crrev.com/c/6287813 * https://crrev.com/c/6289887 * https://crrev.com/c/6290124 Bug: 285453019 Change-Id: I3448435dcb0505722a2c68476ef9d752a6614533 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6296579 Reviewed-by: Rachael Newitt <renewitt@google.com> Commit-Queue: Jordan Brown <rop@google.com> Commit-Queue: Rachael Newitt <renewitt@google.com> Auto-Submit: Jordan Brown <rop@google.com>
Validation for Chromium's Third Party Metadata Files
This directory contains the code to validate Chromium third party metadata
files, i.e. README.chromium files.
Prerequisites
- Have the Chromium source code checked out on disk
- Ensure you've run
gclient runhookson your source checkout
Run
metadata/scan.py can be used to search for and validate all Chromium third
party metadata files within a repository. For example, if your chromium/src
checkout is at ~/my/path/to/chromium/src, run the following command from the
root directory of depot_tools:
vpython3 --vpython-spec=.vpython3 metadata/scan.py ~/my/path/to/chromium/src