aboutcode-org / aboutcode-org/dejacode

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

Đang mở
#252 3 bình luận 0 reaction 2 người được giao Được @tdruez nhận Xem trên GitHub
design needed enhancement
Ngôn ngữ chính
Python
Star
50
Fork
27
Merge trung bình
4 giờ 51 phút
Pull request đã merge (30 ngày)
11

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.