Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Base branch change on 'no change' part of the stack

未关闭
#52 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
github, python
领域
cli, tooling

调研方向

从 stack-pr submit 流程开始,复现所描述的顺序:提交一个 stack,修改从顶部数第二个 commit,然后再次提交。跟踪在被修改的 commit 之前,未发生变化的 commit 对应的 base branch 是如何更新的;完成标准是这些 no-op PR 不会被更新,而修改的部分仍会更新。

由索引模型根据 Issue 内容生成。

描述

Hey! Thanks for releasing stack-pr, I'm really enjoying it ❤️

I do have a question/comment – when I amend a local commit in the middle of the stack and then run stack-pr submit, I'd expect that unchanged commits/PRs (at least those coming before the amended one) shouldn't have to be updated on GH. Is this fair?

Right now this doesn't seem to be the case. Details below re: the "base branch" part, but I think this is a part of a more general topic of checking if something's no-op and reducing the noise in PRs.

Details:

I have the following stack: https://github.com/artempyanykh/marksman/pull/366

The sequence of steps is:
1] stack-pr submit
2] amend the local commit corresponding to 2nd from the top #368

Screenshot 2024-11-23 at 11 12 18
  1. stack-pr submit

I see that 2nd from the bottom got its base branch updated
Screenshot 2024-11-23 at 11 12 28

主要语言
Python
星标
569
派生
43
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

modular/stack-pr 的其他 Issue

查看 modular/stack-pr 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。