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 20ce2373dd Fix: Use f-string for validation warning message.
The warning message for missing autoroll exception link was not
correctly interpolating `self._name` because it was missing the `f`
prefix.

Bug:b/442963176
Change-Id: I0dfaf8aa3d1238ebbbd9bb097be53e18daa1916c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6915079
Auto-Submit: Jordan Brown <rop@google.com>
Reviewed-by: Andrew Mitchell <mitchella@google.com>
Commit-Queue: Andrew Mitchell <mitchella@google.com>
3 days ago
..
fields Fix: Use f-string for validation warning message. 3 days ago
tests Checking for package managers in vuln sufficiency. 3 days ago
LICENSE_OWNERS Add clear documentation to license_allowlist.py 8 months ago
OWNERS Updating presubmit to check license is a valid spdx identifier. 10 months ago
PRESUBMIT.py
README.md
SECURITY_TEAM_OWNERS
__init__.py
dependency_metadata.py Checking for package managers in vuln sufficiency. 3 days ago
discover.py
parse.py
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

  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