mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-10 18:21:28 +00:00
The previous CL changed the validation criteria, but did not update the error message we're posting on the bugs we file, which is very confusing. In the future we should try to write some tests to catch things like this. Bug: 452151523 Change-Id: I08272353a3cfada8f242355b48c4f003eec4abf4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/7153383 Auto-Submit: Rachael Newitt <renewitt@google.com> Commit-Queue: Rachael Newitt <renewitt@google.com> Reviewed-by: Jordan Brown <rop@google.com> Commit-Queue: 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