Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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 Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@tdruez đang làm issue này rồi.

Từ ngày 31/1/2025.

Đánh giá

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

Mô tả

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.

Ngôn ngữ chính
Python
Star
52
Fork
30
Merge trung bình
4 giờ 57 phút
Pull request đã merge (30 ngày)
21

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aboutcode-org/dejacode

Tất cả issue của aboutcode-org/dejacode

Issue tương tự

Thêm issue về Python

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.