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 1ea94929dc [metadata] Add restrictive_license_approval.proto
Adds the protobuf schema for per-use restrictive license approvals,
needed for license compliance automation and presubmit validation.

Bug: b/504850951
Change-Id: I940d71281b32c01c9bc36c7be9c8f075f3479cce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/7781485
Commit-Queue: Jordan Brown <rop@google.com>
Reviewed-by: Rachael Newitt <renewitt@google.com>
1 day ago
..
fields Add various licenses to allowlist 4 weeks ago
tests
LICENSE_OWNERS
OWNERS
PRESUBMIT.py
README.md
SECURITY_TEAM_OWNERS
__init__.py
dependency_metadata.py
discover.py
parse.py
restrictive_license_approval.proto [metadata] Add restrictive_license_approval.proto 1 day ago
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