Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

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

未關閉
#252 3 則留言 0 個 reaction 已指派 2 人 在 GitHub 檢視

維護者通常 1 天內回覆

@tdruez 已經在處理了。

開始於 2025年1月31日。

評估

這個 Issue 還沒有評估資料。

描述

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.

主要語言
Python
星號
52
分支
30
平均合併
4 小時 57 分鐘
30 天內合併 PR
21

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

aboutcode-org/dejacode 的其他 Issue

查看 aboutcode-org/dejacode 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。