Enhancement request: Preserve parentheses in a license expression defined in "License choices"

Geschlossen
#252 3 Kommentare 0 Reaktionen 2 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@tdruez arbeitet bereits daran.

Seit 31.1.2025.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

design needed enhancement

Problem
The DejaCode "License choices" model was originally constructed before the introduction of the WITH operator. In order to align with emerging SPDX standards, we deprecated licenses that were actually a compound of a standard license and an exception; for example, we deprecated gpl-2.0-classpath and introduced classpath-exception-2.0 and now favor gpl-2.0 WITH classpath-exception-2.0 over the simple gpl-2.0-classpath. Consequently, the license expression cddl-1.1 OR (gpl-2.0 WITH classpath-exception-2.0) is much preferred over the older cddl-1.1 or gpl-2.0-classpath. DejaCode generally handles that new convention, but the parentheses are ignored in the "License choices" table.

What are the benefits of the requested enhancement?
Clarify and improve license choices in DejaCode.

Describe the solution you would like
Preserve the license expression as entered with parentheses.

Vorherrschende Sprache
Python
Sterne
53
Forks
31
Ø Merge
9 Std. 43 Min.
Gemergte PRs (30 T.)
16

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus aboutcode-org/dejacode

Alle Issues in aboutcode-org/dejacode

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.