Add simple PR tests
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 领域
- testing-qa
调研方向
首先检查 SHA256 和 DownloadUrl 的现有测试,然后确定在哪里验证 pull request 元数据。为列出的 JSON 键添加有针对性的检查,并确认有效和无效的插件元数据都按预期处理。
由索引模型根据 Issue 内容生成。
描述
Some ideas:
| JSON Key | Check |
|---|---|
Name |
^.{2,}$ (2 characters or more) |
Description |
same as Name |
Owner |
^[^\s]+$ |
SupportedDriverVersion |
Must be lower than newest release, and have all 4 version subvalues (e.g. 0.6.4.0, not 0.6.4) |
PluginVersion |
^\d+(\.\d+){1,2}$ or less strict |
*Url |
must be curl'able (or similar) |
CompressionFormat |
Whatever we support, zip only for now? Can skip this check |
LicenseIdentifier |
Ideally, something from a predermined list, but otherwise same check as Owner |
Already covered in tests:
SHA256DownloadUrl
- 主要语言
- Shell
- 星标
- 8
- 派生
- 39
- 平均合并
- 2 天 13 分钟
- 30 天内合并 PR
- 4
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenTabletDriver/Plugin-Repository 的其他 Issue
-
难度 5/5 一周以上 新手友好度 28/100
查看 OpenTabletDriver/Plugin-Repository 的全部 Issue
相似的 Issue
-
area/cli
难度 2/5 1-3 小时 新手友好度 82/100
-
Remove `git-lfs`未关闭
难度 2/5 1-3 小时 新手友好度 68/100
jenkins-infra/packer-images#3114 ·
维护者通常 1 天内回复
-
[bug] Setup fails with "Cannot find matching keyid" when an older Node's corepack is on PATH可能已有人在做 @EyalPoly 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
status:needs-triage
难度 2/5 1-3 小时 新手友好度 88/100
PX4/PX4-Autopilot#29006 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
idean3885/claude-ops-agent#633 ·
维护者通常 1 天内回复