You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Adds support to report line numbers when validation fails. Change-Id: Iba94c5b3582d7e51f15d266d188909d3a82b75cb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5740963 Reviewed-by: Jordan Brown <rop@google.com> Commit-Queue: Jiewei Qian <qjw@chromium.org> Reviewed-by: Anne Redulla <aredulla@google.com> |
1 year ago | |
|---|---|---|
| .. | ||
| fields | 1 year ago | |
| tests | 1 year ago | |
| OWNERS | ||
| PRESUBMIT.py | ||
| README.md | ||
| __init__.py | ||
| dependency_metadata.py | 1 year ago | |
| discover.py | ||
| parse.py | 1 year ago | |
| scan.py | 2 years ago | |
| validate.py | ||
| validation_result.py | 1 year ago | |
README.md
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