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
-
Lid close does not lock the session on Apple Silicon (lid-close bind skips omarchy-system-lid-close)未關閉
難度 1/5 1-3 小時 新手友好度 90/100
omacom/omarchy-mac#701 · 1 則留言 ·
維護者通常 1 天內回覆
-
A 20.x release after 21.0.0 would move `latest` back to 20.x, and `next` stays on the release candidate可能已有人在做 @armando-navarro 今天認領。 未關閉comp: build/pipeline type: bug version: current (v17+)
難度 2/5 1-3 小時 新手友好度 85/100
angular/angularfire#3790 ·
維護者通常 3 天內回覆
-
ready-for-agent
難度 2/5 1-3 小時 新手友好度 85/100
LucasSantana-Dev/Lucky#2698 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
collabnix/awesome-mcp-lists#179 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 70/100