aboutcode-org / aboutcode-org/scancode-toolkit

Support appstream licenseref-proprietary SPDX ids and other similar schemes

オープン
#2,333 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
license scan new feature
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
5

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。