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.
depot_tools/metadata
Jordan Brown dd6e72e968 Update the dependency sufficiency logic to allow for `Revision:DEPS`.
Change-Id: I8b54ce99829769482f356a276b3bfd3e81704708
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6773316
Commit-Queue: Jordan Brown <rop@google.com>
Reviewed-by: Rachael Newitt <renewitt@google.com>
4 months ago
..
fields Update license allowlist 4 months ago
tests Update the dependency sufficiency logic to allow for `Revision:DEPS`. 4 months ago
LICENSE_OWNERS Add clear documentation to license_allowlist.py 10 months ago
OWNERS Updating presubmit to check license is a valid spdx identifier. 1 year ago
PRESUBMIT.py [ssci] PEP8 formatting for metadata directory 2 years ago
README.md [ssci] Script to run validation on all metadata files 2 years ago
SECURITY_TEAM_OWNERS Updating presubmit to check license is a valid spdx identifier. 1 year ago
__init__.py Define main metadata validation functions 2 years ago
dependency_metadata.py Update the dependency sufficiency logic to allow for `Revision:DEPS`. 4 months ago
discover.py metadata: sort discovered files and validation messages 2 years ago
parse.py [dependency_metadata] Allow descriptions for CVEs 9 months ago
scan.py metadata: sort result summary 2 years ago
validate.py metadata: Fix metadata validator error reporting 9 months ago
validation_result.py 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