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
Ramin Halavati ab387d1ddc Add items to license allowlist.
Add the following items to the allowlsted licenses based on the
requirement of crrev.com/c/6239492 :
 - PngSuite
 - Spencer-86
 - unicode_org

Bug: 378472917
Change-Id: I6dfa79d612131eae154e5030ec22b787ebc57060
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6243133
Commit-Queue: Jordan Brown <rop@google.com>
Auto-Submit: Ramin Halavati <rhalavati@chromium.org>
Reviewed-by: Jordan Brown <rop@google.com>
3 months ago
..
fields Add items to license allowlist. 3 months ago
tests [dependency_metadata] Allow descriptions for CVEs 4 months ago
LICENSE_OWNERS Add clear documentation to license_allowlist.py 4 months ago
OWNERS Updating presubmit to check license is a valid spdx identifier. 6 months 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. 6 months ago
__init__.py Define main metadata validation functions 2 years ago
dependency_metadata.py [dependency_metadata] Allow descriptions for CVEs 4 months ago
discover.py metadata: sort discovered files and validation messages 1 year ago
parse.py [dependency_metadata] Allow descriptions for CVEs 4 months ago
scan.py metadata: sort result summary 1 year ago
validate.py Add `is_open_source_project` to metadata validation 5 months ago
validation_result.py metadata: add line number reporting 10 months 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