Ramin Halavati f810dae272 Add two items to licenses allow list. hai 3 meses
..
fields f810dae272 Add two items to licenses allow list. hai 3 meses
tests a60883e901 metadata: Fix metadata validator error reporting hai 5 meses
LICENSE_OWNERS 9748dcdb1a Add clear documentation to license_allowlist.py hai 7 meses
OWNERS b5eb54d5c1 Updating presubmit to check license is a valid spdx identifier. hai 9 meses
PRESUBMIT.py 6715758ed9 [ssci] PEP8 formatting for metadata directory hai 1 ano
README.md 427f0f43ad [ssci] Script to run validation on all metadata files %!s(int64=2) %!d(string=hai) anos
SECURITY_TEAM_OWNERS b5eb54d5c1 Updating presubmit to check license is a valid spdx identifier. hai 9 meses
__init__.py c7aca34c8e Define main metadata validation functions %!s(int64=2) %!d(string=hai) anos
dependency_metadata.py e42fac3e9c [dependency_metadata] Allow descriptions for CVEs hai 6 meses
discover.py 9e7d3cec55 metadata: sort discovered files and validation messages hai 1 ano
parse.py e42fac3e9c [dependency_metadata] Allow descriptions for CVEs hai 6 meses
scan.py 77d30ab4f8 metadata: sort result summary hai 1 ano
validate.py a60883e901 metadata: Fix metadata validator error reporting hai 5 meses
validation_result.py 68c038603f metadata: add line number reporting hai 1 ano

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