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 8d20c1e0b5 Link to License Allowlist
When a license validation warning is generated, link to the allowlist file for easy fixing.


Bug: 382745675
Change-Id: I4899401a687ce06e74cd18a95e1a28a2684a8027
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6076211
Reviewed-by: Jordan Brown <rop@google.com>
Commit-Queue: Jordan Brown <rop@google.com>
Reviewed-by: Rachael Newitt <renewitt@google.com>
Auto-Submit: Jordan Brown <rop@google.com>
11 months ago
..
fields Link to License Allowlist 11 months ago
tests Updating presubmit to check license is a valid spdx identifier. 11 months ago
LICENSE_OWNERS Updating presubmit to check license is a valid spdx identifier. 11 months ago
OWNERS Updating presubmit to check license is a valid spdx identifier. 11 months ago
PRESUBMIT.py
README.md
SECURITY_TEAM_OWNERS Updating presubmit to check license is a valid spdx identifier. 11 months ago
__init__.py
dependency_metadata.py metadata: allow a special "Revision: DEPS" syntax 1 year ago
discover.py metadata: sort discovered files and validation messages 2 years ago
parse.py metadata: add line number reporting 1 year ago
scan.py metadata: sort result summary 2 years ago
validate.py metadata: sort discovered files and validation messages 2 years 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