aboutcode-org / aboutcode-org/scancode-toolkit

Support appstream licenseref-proprietary SPDX ids and other similar schemes

Abierto
#2,333 0 comentarios 0 reacciones 0 asignados Ver en GitHub
license scan new feature
Lenguaje dominante
Python
Estrellas
2.6k
Forks
791
Merge medio
1 d 12 h
PR fusionados (30 d)
5

Descripción

See @hughsie 's https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-project_license

> LicenseRef-Proprietary=https://example.com/mylicense.html
>
> A full list of recognized licenses and their identifiers can be found at the SPDX OpenSource License Registry.
>
> Custom licenses which are not in the SPDX registry, like proprietary licenses, can be denoted using the LicenseRef notation. LicenseRef-Proprietary can be used to denote a proprietary license, with an optional URL to the license text following after a = sign.
>
> Although the project_license tag is not mandatory, it is highly recommended to include it.
>
> Examples:
>
> LGPL-3.0+ OR MPL-2.0
> LGPL-3.0+ OR MPL-2.0
> GPL-3.0-or-later
> LicenseRef-proprietary=https://code.visualstudio.com/license

See also https://github.com/search?q="LicenseRef-Proprietary%3D"&type=code

And https://github.com/hughsie/appstream-glib/blob/90993582da90eb9e17601262111c0c3163e7ffb7/libappstream-glib/as-utils.c#L324 and https://github.com/fwupd/fwupd/blob/173d389fa59d8db152a5b9da7cc1171586639c97/src/fu-util-common.c#L1434 and https://github.com/GNOME/gnome-software/blob/0895082fc0b09cf977b18c072c7b3bbb43eff518/src/gs-details-page.c#L2636

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.