Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#52 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github, python
領域
cli, tooling

調査の方向性

stack-pr submit フローから始め、説明されているシーケンスを再現します。stack を submit し、上から 2 番目の commit を amend してから、もう一度 submit します。変更された commit より前にある変更されていない commit の base branch がどのように更新されるかを追跡します。完了条件は、それらの no-op PRs が更新されず、変更された部分は引き続き更新されることです。

索引モデルが 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 はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modular/stack-pr のほかの issue

modular/stack-pr の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。