license_is_metadata_license


Description:


public bool license_is_metadata_license (string license)

Check if the metadata license is suitable for mixing with other metadata and redistributing the bundled result (this means we prefer permissive licenses here, to not require people shipping catalog metadata to perform a full license review).

This method checks against a hardcoded list of permissive licenses commonly used to license metadata under.

Parameters:

license

The SPDX license string to test.

Returns:

true if the license contains only permissive licenses suitable as metadata license.


Namespace: AppStream
Package: appstream