非 Windows 拦截:#10 剩下的三处
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Three separate spots need platform guards. Start with handleOpen in the manager UI, then shellOpen in internal/ui/window_other.go, where the non-Windows error should be unsupported rather than a plain error. Next, qemuOf swallows the process-list unsupported error in the window show|hide path on darwin and linux. Finally, TestBridgeScriptRejectsRelativeSystemRoot needs an assertion that tells a rejection apart from a launch failure. Done means non-Windows calls return unsupported without creating <root>/logs, and the test fails when the guard is removed.
由索引模型根据 Issue 内容生成。
描述
#10、#11 的 PR 审查后留下的 P2,Windows 上不受影响:
- 管理器「打开目录」:
handleOpen前面没有平台拦截,打开日志目录时会先建出<根>/logs,再调用shellOpen。非 Windows 上的shellOpen(internal/ui/window_other.go)返回的是普通错误,不是unsupported,最后被包成internal。 window <i> show|hide在 darwin / linux 上没有拦截:qemuOf把进程列表的unsupported吞掉了,把实例当成没开机,返回成功。TestBridgeScriptRejectsRelativeSystemRoot拦不住回归:把「SystemRoot为空或不是绝对路径就拒绝」这段保护整个删掉,测试在 Windows 上照样通过,因为相对路径的powershell.exe本来就起不来,走到的是同一个错误。要换一种能区分「拒绝」和「起不来」的断言。
- 主要语言
- Go
- 星标
- 0
- 派生
- 1
- 平均合并
- 2 小时 42 分钟
- 30 天内合并 PR
- 13
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ModAVD/ModAVDManager 的其他 Issue
-
bug P1 platform:windows
难度 4/5 3-5 天 新手友好度 12/100
ModAVD/ModAVDManager#32 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 15/100
ModAVD/ModAVDManager#27 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 15/100
ModAVD/ModAVDManager#25 ·
维护者通常 1 天内回复
-
开机失败或超时时,留下客体现场(logcat、dmesg 等)可能已有人在做 @qiyinxi 于 2 天前认领。 未关闭enhancement P2
ModAVD/ModAVDManager#24 · 已指派 1 人 ·
维护者通常 1 天内回复
-
bug P3 platform:windows
难度 4/5 3-5 天 新手友好度 42/100
ModAVD/ModAVDManager#23 ·
维护者通常 1 天内回复
查看 ModAVD/ModAVDManager 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
masahitojp/mariamem#108 ·
维护者通常 1 天内回复
-
[Bug] Pod detail shows CPU usage ten times too high, and throws on decimal memory suffixes可能已有人在做 @RaphaelFakhri 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 11 天内回复
-
tsuru_app_cname and tsuru_app_router don't handle removal outside terraform可能已有人在做 @lbarrosby 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
-
contributor-friendly good-first-issue lang:go
难度 2/5 1-3 小时 新手友好度 82/100
irbis-sh/zen-desktop#870 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复