Re: [OE-core] [PATCH v3] meta: license: fix non-SPDX license being removed from INCOMPATIBLE_LICENSE

2019-06-11 Thread Burton, Ross
What would be really useful is a small selftest (meta/lib/oeqa/selftest/cases) to exercise this codepath. Have a test that should work but doesn't before the fix, so the bug is demonstrated and verified. Ross On Tue, 11 Jun 2019 at 09:13, Quentin Schulz wrote: > > A non-SPDX license (which is n

[OE-core] [PATCH v3] meta: license: fix non-SPDX license being removed from INCOMPATIBLE_LICENSE

2019-06-11 Thread Quentin Schulz
A non-SPDX license (which is not an alias to an SPDX license) cannot currently be marked as incompatible in INCOMPATIBLE_LICENSE. In the current state, we take all INCOMPATIBLE_LICENSE and pass them through expand_wildcard_licenses which is only adding SPDX licenses that match the glob regexp of wh