dialect check refuses a pack that declares Core 0.5.0

未关闭 适合新手
#390 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
go
领域
cli

调研方向

找到拒绝不受支持的 specVersion 值的 dialect check 路径,以及 sdk.Load 的文档注释。先阅读现有的 dialect check 测试,然后添加一个使用 0.5.0 包的测试,其中包含一个已设置的值和一条注释。检查读取其事实和证据清单,并且注释列出受支持的版本后,即为完成。

由索引模型根据 Issue 内容生成。

描述

bug

Observed. jpack dialect check d.json --pack p.json with a pack that declares specVersion 0.5.0 answers JPS-SURFACE-SPEC-VERSION-UNSUPPORTED and names 0.1.0-draft, 0.2.0-draft and 0.3.0 only. The same pack declared 0.3.0 is checked. Ordinary validation and evaluation read 0.5.0 since v0.44.0.

Also: the doc comment on sdk.Load names 0.2.0-draft and 0.3.0 only, though it admits 0.5.0.

Ask. dialect check reads a 0.5.0 pack's fact and evidence inventory, value sets included; the comment is corrected.

Acceptance. A test with a 0.5.0 pack that uses a value set and an annotation.

主要语言
Go
星标
2
派生
6
平均合并
2 小时 1 分钟
30 天内合并 PR
69

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Judgment-Pack/judgment-pack-runtime 的其他 Issue

查看 Judgment-Pack/judgment-pack-runtime 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

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