On Sat, Aug 17, 2024 at 3:13 PM Miroslav Suchý <msuchy@xxxxxxxxxx> wrote: > > Dne 17. 08. 24 v 8:02 odp. Dridi Boukelmoune napsal(a): > > I ended up with the following license tag that I moved to SPDX as part > of the incoming update: > > License: GPL-2.0-only AND MIT AND (GPL-2.0-only OR MIT) > > I feel like I could technically factor it to just "GPL-2.0-only AND > MIT" because picking either license in the dual-licensed js script > will effectively result in just that, but I kept the expanded license > tag to reflect the presence of a dual-licensed piece of software (and > because I saw nothing resembling this case in the guidelines). > > What is the preferred expression here? Are they both correct? > > https://docs.fedoraproject.org/en-US/legal/license-field/#_no_effective_license_analysis > > "you should not attempt to simplify or reduce the License tag" > > So full license expression is correct. I.e. > > GPL-2.0-only AND MIT AND (GPL-2.0-only OR MIT) As noted by Ben, in this case you can optionally simplify it to: GPL-2.0-only AND MIT This rule was added because some people seemed to be bothered by the inability to reduce these pseudo-Boolean license expressions, which I understand as an aesthetic preference but generally object to because it is typically based on incorrect assumptions about what the license identifiers refer to. This was the most sensible concession I could think of, and I couldn't come up with a good argument for why it wasn't "monstrously pointless"[1] to insist on the unreduced form in this particular pattern. Although I appreciate Ben's feedback on this which makes some points I hadn't thought of. [1] This refers to a Mastodon toot by Luis Villa last year (can't find a link) expressing his horror at seeing the rather lengthy license tag for the Fedora kernel package. While I don't agree with that, I do think that it's a useful principle to apply when thinking about these license tag rules and some other things we are doing in fedora-license-data. -- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue