REFACTOR: do not convert operators to lower case
还没有人认领这个 Issue。
评估
调研方向
首先跟踪 issue 中描述的标记化过程,并确定传入的运算符在哪里被转换为小写。确认后续处理如何使用这些标记,然后保留运算符原始的大小写,并验证 SPDX 表达式的行为仍然正确。
由索引模型根据 Issue 内容生成。
描述
The original javascript converted incoming operators (e.g. AND) to lower case (e.g. and) during the tokenization process. The initial translation stayed as close to the original javascript as possible and reasonable with assumptions that a later process would require the output to be in the format created in the javascript.
I do not see the need for this case conversion in later processing. Recommending a refactor to not convert operators case.
- 主要语言
- Go
- 星标
- 53
- 派生
- 16
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/go-spdx 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 3/5 1-2 天 新手友好度 65/100
-
难度 3/5 1-2 天 新手友好度 65/100
-
难度 3/5 1-2 天 新手友好度 38/100
-
难度 5/5 一周以上 新手友好度 35/100
相似的 Issue
-
security
难度 2/5 1-3 小时 新手友好度 68/100
-
cvss-severity:high devguard l3montree-cybersecurity/...ard-k8s-image-inventory pkg:oci/devguard-k8s-ima...ch=amd64&tag=main-amd64 pkg:oci/devguard-k8s-ima...ch=arm64&tag=main-arm64 risk:low state:open
难度 1/5 1 小时以内 新手友好度 76/100
l3montree-dev/devguard#3094 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 84/100
JuliusBrussee/caveman#1127 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement low priority
难度 2/5 1-3 小时 新手友好度 85/100
eugenioenko/ttt#674 ·
维护者通常 1 天内回复
-
kind/bug
难度 2/5 1-3 小时 新手友好度 86/100
gpustack/gpustack-operator#640 ·
维护者通常 1 天内回复