aboutcode-org / aboutcode-org/dejacode

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

未关闭
#252 3 条评论 0 个 reaction 已指派 2 人 已被 @tdruez 认领 在 GitHub 查看
design needed enhancement
主要语言
Python
星标
50
派生
27
平均合并
4 小时 51 分钟
30 天内合并 PR
11

描述

**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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。