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.
This CL changes CPEPrefix field to return None for the validate field accessor. There's little reason to return a special "unknown" string in property accessor (which is used for tooling automation). We still allow specifying "unknown" in that field. Bug: b/321154076 Change-Id: Ib4cbc017d6b6df179ccfb008bd5ec9477913764b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5465016 Reviewed-by: Anne Redulla <aredulla@google.com> Commit-Queue: Jiewei Qian <qjw@chromium.org> |
10 months ago | |
---|---|---|
.. | ||
fields | 10 months ago | |
tests | 10 months ago | |
OWNERS | ||
PRESUBMIT.py | ||
README.md | ||
__init__.py | ||
dependency_metadata.py | 11 months ago | |
discover.py | ||
parse.py | ||
scan.py | ||
validate.py | ||
validation_result.py |
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 runhooks
on 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