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 af68505dfe Add an open source only licenses set.
This is a list of licenses classified as 'reciprocal'. Due to the requirements of licenses of this type we can only allow their use in open source projects. This change introduces the variable 'OPEN_SOURCE_SPDX_LICENSES' with an initial set of reciprocal licenses currently used in chromium.

Change-Id: I376a7623e3685d67edd63ceb3088ca68c9d2fb7e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6107860
Reviewed-by: Rachael Newitt <renewitt@google.com>
Commit-Queue: Jordan Brown <rop@google.com>
5 months ago
..
fields Add an open source only licenses set. 5 months ago
tests Change the delimiter for license validation 6 months ago
LICENSE_OWNERS Updating presubmit to check license is a valid spdx identifier. 7 months ago
OWNERS Updating presubmit to check license is a valid spdx identifier. 7 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. 7 months ago
__init__.py Define main metadata validation functions 2 years ago
dependency_metadata.py metadata: allow a special "Revision: DEPS" syntax 8 months ago
discover.py metadata: sort discovered files and validation messages 1 year ago
parse.py metadata: add line number reporting 10 months ago
scan.py metadata: sort result summary 1 year ago
validate.py metadata: sort discovered files and validation messages 1 year 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