Template - document exception of not-allowed license
When a license is not allowed, we have usage
field to document exceptions. But it is a free form field for humans. It can hardly be used in gating and linters.
I propose that we add a new field to TEMPLATE.toml that will accept a list of packages that are known to use a license that is otherwise prohibited.
Example:
[license]
expression = "LicenseRef-Fedora-Logos"
status = [ "not-allowed" ]
url = '''
https://pagure.io/fedora-logos/blob/master/f/COPYING
'''
usage = '''
This license can be used only in fedora-logos package.
For more info see https://gitlab.com/fedora/legal/fedora-license-data/-/issues/218
'''
packages_with_exceptions = [ "fedora-logos" ]
I am bad in naming, so I am open to ideas to name this field.
An example where it can be used is fedora-logos. Or libtpms, tss2
with LicenseRef-TCGL. I guess there will be more in the future.