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 updates the third party metadata field License File, so that missing license filepaths are reported as relative to the repo root, instead of the absolute filepath. Bug: b:277147404 Change-Id: I16ac23d86b0ef12ab6020d8e81525965489888ac Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4876394 Auto-Submit: Anne Redulla <aredulla@google.com> Reviewed-by: Rachael Newitt <renewitt@google.com> Commit-Queue: Anne Redulla <aredulla@google.com> |
2 years ago | |
---|---|---|
.. | ||
fields | 2 years ago | |
tests | 2 years ago | |
OWNERS | 2 years ago | |
PRESUBMIT.py | 2 years ago | |
README.md | 2 years ago | |
__init__.py | 2 years ago | |
dependency_metadata.py | 2 years ago | |
discover.py | 2 years ago | |
parse.py | 2 years ago | |
scan.py | 2 years ago | |
validate.py | 2 years ago | |
validation_result.py | 2 years 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 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