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
Anne Redulla 693e0b3121 [ssci] Check CPE metadata field for both 2.3 and 2.2 formats
Bug: b:277147404
Change-Id: Ib817f374b8a33ab7463d93ccef7ad852b16dd9d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4834898
Reviewed-by: Rachael Newitt <renewitt@google.com>
Commit-Queue: Anne Redulla <aredulla@google.com>
2 years ago
..
fields [ssci] Check CPE metadata field for both 2.3 and 2.2 formats 2 years ago
tests [ssci] Check CPE metadata field for both 2.3 and 2.2 formats 2 years ago
OWNERS
PRESUBMIT.py
README.md [ssci] Script to run validation on all metadata files 2 years ago
__init__.py
dependency_metadata.py [ssci] Script to run validation on all metadata files 2 years ago
discover.py [ssci] Script to run validation on all metadata files 2 years ago
parse.py
scan.py [ssci] Script to run validation on all metadata files 2 years ago
validate.py [ssci] Script to run validation on all metadata files 2 years ago
validation_result.py [ssci] Script to run validation on all metadata files 2 years 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