Update draft PRs?
还没有人认领这个 Issue。
评估
调研方向
从 README 中对 stack-pr submit --draft 的描述开始,然后重现 issue 中描述的三次提交工作流。跟踪该命令如何在第二次提交过程中记录本地分支到 PR 的映射。完成标准是更新现有的草稿 PR,同时不创建重复的本地分支、PR 或提交。
由索引模型根据 Issue 内容生成。
描述
Hi,
I'm wondering if there is a way to update draft PRs with this tool. Let's say I have a stack of 3 commits and run stack-pr submit --draft. It will create 3 local branches and 3 draft PR's. If I then make some changes to those three commits and run stack-pr submit --draft, I now see it creates 3 new local branches (total 6 now) and 3 new draft PRs (total 6 now). From the README, it seems like the second submit command should update the existing PR's. How do I ensure stack-pr keeps local branch to PR mapping for draft PR's? I'm also wondering why new branches get created on the second submit command?
Another piece of feedback is that if the above scenario happens and the user ends up with duplicate commits in the stack/branches, the user experience is very disorienting.
- 主要语言
- Python
- 星标
- 569
- 派生
- 43
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
modular/stack-pr 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 30/100
-
难度 3/5 1-2 天 新手友好度 48/100
-
难度 2/5 1-3 小时 新手友好度 58/100
-
难度 3/5 1-2 天 新手友好度 42/100
-
难度 3/5 1-2 天 新手友好度 48/100
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 91/100
-
难度 1/5 1-3 小时 新手友好度 92/100
-
enhancement P2
难度 2/5 1-3 小时 新手友好度 78/100
Toloka/tolokaforge#1776 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
TencentCloud/Octop#1622 ·
维护者通常 1 天内回复
-
arch area:fleet priority:p3 severity:low track:hosted-product
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复