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/tests/data
Jordan Brown fd65288d4a Add `is_open_source_project` to metadata validation
Reciprocal licenses can only be used in open source projects.
This change updates the presubmit validation checks to accept an
optional flag `allow_reciprocal_licenses`. When True, the allowlist is
extended to include reciprocal licenses.

Bug: 385020146
Change-Id: I0374658207bc87ffd74e033762ee4973c6e83b3b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6107863
Reviewed-by: Jordan Brown <rop@google.com>
Auto-Submit: Jordan Brown <rop@google.com>
Reviewed-by: Rachael Newitt <renewitt@google.com>
Commit-Queue: Rachael Newitt <renewitt@google.com>
1 year ago
..
src
LICENSE
README.chromium.test.multi-invalid Add `is_open_source_project` to metadata validation 1 year ago
README.chromium.test.multi-local-modifications
README.chromium.test.multi-valid Change the delimiter for license validation 1 year ago
README.chromium.test.reciprocal-license Add `is_open_source_project` to metadata validation 1 year ago
README.chromium.test.single-valid
README.chromium.test.validation-line-number

README.chromium.test.validation-line-number

Short Name: foo
URL: https://www.example.com/metadata,
     https://example.com/duplicate_url,
     i_am_not_a_url
NAME: Repeated Name

Version: N/A

License: BAD_LICENSE_VALUE
License File: DOES_NOT_EXIST

Security Critical: yes
Shipped in Chromium: DONT_KNOW