From: Sam James <sam@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: "Michał Górny" <mgorny@gentoo.org>
Subject: Re: [gentoo-dev] [PATCH] metadata: Add license-mapping.conf for SPDX license mapping
Date: Sun, 13 Nov 2022 17:46:43 +0000 [thread overview]
Message-ID: <0494AB01-75DA-4438-AB13-BC2E189FDF91@gentoo.org> (raw)
In-Reply-To: <20221113115809.1025416-1-mgorny@gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 1552 bytes --]
> On 13 Nov 2022, at 11:58, Michał Górny <mgorny@gentoo.org> wrote:
>
> Add a file defining mapping of SPDX-2.0 license identifiers to Gentoo
> ebuild licenses. This was originally discussed on Gentoo Bugzilla [1],
> the submitted to the gentoo-dev ml [2].
>
> The proposed file uses the common key-value format used for
> configuration files. Currently only `spdx-to-ebuild` section is defined
> but other kinds of mapping can be added in the future. As described
> in the top comment, it provides the ability to map SPDX-2.0 license
> identifiers along with the `+` and `WITH` operators to arbitrary
> Gentoo LICENSE strings (including all-of and any-of groups).
>
> The initial list is taken from cargo-ebuild's license.rs [3],
> courtesy of Leonardo H. Neumann and Georgy Yakovlev. A parser for this
> file format is implemented in pycargoebuild [4].
>
> [1] https://bugs.gentoo.org/706472
> [2] https://archives.gentoo.org/gentoo-dev/message/01924bb71411696dce04445d85da508d
> [3] https://gitweb.gentoo.org/proj/cargo-ebuild.git/tree/src/license.rs?id=b4314edc5bb672f5e94dcbc996f443e98fdb4dba
> [4] https://github.com/projg2/pycargoebuild/
>
> Signed-off-by: Michał Górny <mgorny@gentoo.org>
> ---
> metadata/license-mapping.conf | 171 ++++++++++++++++++++++++++++++++++
> 1 file changed, 171 insertions(+)
> create mode 100644 metadata/license-mapping.conf
>
I like the idea.
If/when we do this:
- Should this be in a GLEP?
- It needs pkgcheck support for e.g. invalid entries, duplicates.
[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 358 bytes --]
next prev parent reply other threads:[~2022-11-13 17:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-13 11:58 [gentoo-dev] [PATCH] metadata: Add license-mapping.conf for SPDX license mapping Michał Górny
2022-11-13 14:54 ` Ulrich Mueller
2022-11-13 15:54 ` Michał Górny
2022-11-13 17:46 ` Sam James [this message]
2022-11-13 18:42 ` Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0494AB01-75DA-4438-AB13-BC2E189FDF91@gentoo.org \
--to=sam@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=mgorny@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox