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.
Ideally we would track these separately but practically they fall into the same category as the restricted license. It is on the OWNERS and the reviewers to make sure that they comply with the terms of a Patent file or any license. Currently we are just generating presubmit warnings that are being ignored. This will also enable future tooling that utilises this list for auditing restricted licenses to surface Patent files. Bug: 381146326 Change-Id: I0f091bef9649d3a9f7b03940c8634e56bee9541f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6290872 Reviewed-by: Rachael Newitt <renewitt@google.com> Commit-Queue: Jordan Brown <rop@google.com> |
5 days ago | |
---|---|---|
.. | ||
fields | 5 days ago | |
tests | 5 days ago | |
LICENSE_OWNERS | ||
OWNERS | ||
PRESUBMIT.py | ||
README.md | ||
SECURITY_TEAM_OWNERS | ||
__init__.py | ||
dependency_metadata.py | 4 weeks ago | |
discover.py | ||
parse.py | 4 weeks ago | |
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