mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
This CL changes what is considered valid versioning info. Instead of both Date and Revision being required if Version was unknown, now only one of Date or Revision has to be specified. Bug: b:277147404 Change-Id: Iedb06e2d55f0cd0ef0a2931013a2a52b15befd75 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4852699 Reviewed-by: Gavin Mak <gavinmak@google.com> Commit-Queue: Anne Redulla <aredulla@google.com> Reviewed-by: Rachael Newitt <renewitt@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