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 9748dcdb1a Add clear documentation to license_allowlist.py
The documentation aims to cover how to make, and review changes to this file.

Change-Id: I887ce938df71119f5d04f7cec30350beddcdef47
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6168292
Commit-Queue: Jordan Brown <rop@google.com>
Reviewed-by: Nico Weber <thakis@google.com>
Reviewed-by: Rick Byers <rbyers@chromium.org>
7 months ago
..
fields Add clear documentation to license_allowlist.py 7 months ago
tests Presubmit error for bad delimiters 7 months ago
LICENSE_OWNERS Add clear documentation to license_allowlist.py 7 months ago
OWNERS Updating presubmit to check license is a valid spdx identifier. 10 months ago
PRESUBMIT.py
README.md
SECURITY_TEAM_OWNERS Updating presubmit to check license is a valid spdx identifier. 10 months ago
__init__.py
dependency_metadata.py Add `is_open_source_project` to metadata validation 8 months ago
discover.py
parse.py metadata: add line number reporting 1 year ago
scan.py
validate.py Add `is_open_source_project` to metadata validation 8 months 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