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.
All __future__ imports (unicode_literals, print_function) are already mandatory in py3. Also remove an outdated py2 comment in presubmit_canned_checks.py Bug: 1475402 Change-Id: I27cf6a8268f6dd1081f22af782c4c29a975376ae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4867135 Reviewed-by: Josip Sokcevic <sokcevic@chromium.org> Commit-Queue: Gavin Mak <gavinmak@google.com> |
1 year ago | |
---|---|---|
.. | ||
fields | 1 year ago | |
tests | 1 year ago | |
OWNERS | ||
PRESUBMIT.py | 2 years ago | |
README.md | 2 years ago | |
__init__.py | ||
dependency_metadata.py | 1 year ago | |
discover.py | 2 years ago | |
parse.py | 2 years ago | |
scan.py | 1 year ago | |
validate.py | 1 year ago | |
validation_result.py | 2 years 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
- Have the Chromium source code checked out on disk
- 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