Ramin Halavati f810dae272 Add two items to licenses allow list. 3 months ago
..
fields f810dae272 Add two items to licenses allow list. 3 months ago
tests a60883e901 metadata: Fix metadata validator error reporting 5 months ago
LICENSE_OWNERS 9748dcdb1a Add clear documentation to license_allowlist.py 7 months ago
OWNERS b5eb54d5c1 Updating presubmit to check license is a valid spdx identifier. 9 months ago
PRESUBMIT.py 6715758ed9 [ssci] PEP8 formatting for metadata directory 1 year ago
README.md 427f0f43ad [ssci] Script to run validation on all metadata files 2 years ago
SECURITY_TEAM_OWNERS b5eb54d5c1 Updating presubmit to check license is a valid spdx identifier. 9 months ago
__init__.py c7aca34c8e Define main metadata validation functions 2 years ago
dependency_metadata.py e42fac3e9c [dependency_metadata] Allow descriptions for CVEs 6 months ago
discover.py 9e7d3cec55 metadata: sort discovered files and validation messages 1 year ago
parse.py e42fac3e9c [dependency_metadata] Allow descriptions for CVEs 6 months ago
scan.py 77d30ab4f8 metadata: sort result summary 1 year ago
validate.py a60883e901 metadata: Fix metadata validator error reporting 5 months ago
validation_result.py 68c038603f metadata: add line number reporting 1 year 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

  1. Have the Chromium source code checked out on disk
  2. 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