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 a912cd245b Adding WITH_PERMISSION_ONLY list to allowlist
There is a TODO to add the functionality of creating the warnings.

Change-Id: I1841007158b130a06db22647b1ba50bbaca84b57
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6168291
Reviewed-by: Rachael Newitt <renewitt@google.com>
Commit-Queue: Jordan Brown <rop@google.com>
4 months ago
..
fields Adding WITH_PERMISSION_ONLY list to allowlist 4 months ago
tests Add `is_open_source_project` to metadata validation 4 months ago
LICENSE_OWNERS Updating presubmit to check license is a valid spdx identifier. 6 months ago
OWNERS Updating presubmit to check license is a valid spdx identifier. 6 months ago
PRESUBMIT.py
README.md
SECURITY_TEAM_OWNERS Updating presubmit to check license is a valid spdx identifier. 6 months ago
__init__.py
dependency_metadata.py Add `is_open_source_project` to metadata validation 4 months ago
discover.py
parse.py metadata: add line number reporting 9 months ago
scan.py metadata: sort result summary 1 year ago
validate.py Add `is_open_source_project` to metadata validation 4 months ago
validation_result.py metadata: add line number reporting 9 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