Repo checker: the copied fix prompt tells the agent to confirm with a command that has no --index-url when private packages went unchecked
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- javascript
- 领域
- frontend
调研方向
从 site/check/check-logic.mjs 中约第 623 行的 fixPrompt 开始,将其“confirm with”行与 renderNext 使用 notCheckedCount(r) 构建的页面命令进行比较。将未检查数量传入 fixPrompt,当其大于 0 时,追加 --index-url YOUR_INDEX_URL,并附上一句简短说明,提示使用项目的索引 URL。在 tests/site/check-logic.test.mjs 中为未检查和全部已检查两种路径添加测试用例。完成标准是:未检查的用例与页面一致,且无未检查项时的输出保持不变。
由索引模型根据 Issue 内容生成。
描述
After #248, the page's CLI command gets --index-url YOUR_INDEX_URL when a private index's packages weren't checked. The fix prompt's "confirm with" line (fixPrompt in site/check/check-logic.mjs, around line 623) still uses the plain cliCommand. When gaps and unchecked private packages show together, the copied prompt tells the coding agent to confirm with a command that looks the private names up on PyPI, which the privateText comment says to avoid, and the page's command and the prompt's disagree.
Done when
fixPrompttakes the unchecked count (asrenderNextdoes withnotCheckedCount(r)) and, when it's above 0, appends--index-url YOUR_INDEX_URLto the confirm command, plus a few words saying to put the project's index URL there. Never a real URL.- With no unchecked packages the prompt is byte-for-byte as today.
- Tests in
tests/site/check-logic.test.mjsfor both cases, failing on main.
- 主要语言
- JavaScript
- 星标
- 0
- 派生
- 0
- 平均合并
- 1 小时 38 分钟
- 30 天内合并 PR
- 132
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
wheelgap/tracker 的其他 Issue
-
bug
难度 3/5 半天 新手友好度 42/100
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 38/100
维护者通常 1 天内回复
-
bug good first issue
难度 3/5 1-2 天 新手友好度 55/100
维护者通常 1 天内回复
-
bug help wanted
难度 4/5 3-5 天 新手友好度 32/100
维护者通常 1 天内回复
-
enhancement help wanted high impact
难度 4/5 3-5 天 新手友好度 25/100
wheelgap/tracker#208 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
content
难度 1/5 1 小时以内 新手友好度 88/100
StudentSuite/awesome-study-resources#545 · 1 条评论 ·
维护者通常 1 天内回复
-
marketing
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
刪除對於電話號碼與停車編號的限定未关闭
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 80/100
Fei2411/DeepSeek-Bot#2148 ·
-
feature request
难度 2/5 1-3 小时 新手友好度 62/100
linuxmint/cinnamon-spices-desklets#1964 ·
维护者通常 1 天内回复