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.
Add support for validating licenses that aren't in the official SPDX license list but are commonly used in our codebase. These are the values output by the license classifier. This introduces a new EXTENDED_LICENSE_CLASSIFIERS set that contains these custom license identifiers, organized by restrictiveness level similar to ALLOWED_SPDX_LICENSES. Bug: 379977497 Change-Id: I18e0b38572ee4df783573ea338b55ac237d8134d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6107859 Reviewed-by: Rachael Newitt <renewitt@google.com> Commit-Queue: Jordan Brown <rop@google.com> |
6 months ago | |
---|---|---|
.. | ||
fields | 6 months ago | |
tests | 7 months ago | |
LICENSE_OWNERS | 8 months ago | |
OWNERS | 8 months ago | |
PRESUBMIT.py | 2 years ago | |
README.md | 2 years ago | |
SECURITY_TEAM_OWNERS | 8 months ago | |
__init__.py | 2 years ago | |
dependency_metadata.py | 10 months ago | |
discover.py | 1 year ago | |
parse.py | 12 months ago | |
scan.py | 1 year ago | |
validate.py | 1 year ago | |
validation_result.py | 12 months 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