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 License field validation so that the warning to use the standard comma separator is only returned if processing the license value resulted in multiple license types. Bug: b:309712938 Change-Id: Ic9189b8dd76e60bc3d546dea41fdb36faae8dbb4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5003558 Auto-Submit: Anne Redulla <aredulla@google.com> Commit-Queue: Anne Redulla <aredulla@google.com> Reviewed-by: Dan Le Febvre <dlf@google.com> Commit-Queue: Dan Le Febvre <dlf@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 | ||
scan.py | 1 year ago | |
validate.py | 1 year 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