github / github/gh-stack

[Feature request] add `each` mode to batch edit PRs in a stack

オープン
#441 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature request topic: reviews
主要言語
Go
スター
1.5k
フォーク
70
平均マージ
1日 8時間
マージ済み PR(30日)
7

説明

If I want to request the review of each PR to a list of collaborators, I need to loop `gh stack up && gh pr edit --add-reviewer ...` for each PR in the stack, while with:
```sh
$ gh stack each edit --add-reviewer ....
```
the `edit --add-reviewer` command could be applied to each PR of the stack automatically with a single request.

If we would like to limit the `each` scope only to the `pr edit` action, then we could simplify it as:
```sh
$ gh stack each --add-reviewer ....
```

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

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

調査の方向性

Start by tracing the existing `gh stack up` and `gh pr edit` entry points and how a stack's PR list is obtained. Compare the two proposed command forms, then define completion as applying the requested edit to every PR in the stack with one invocation, including coverage for the chosen interface.

索引モデルが issue の本文から書いたものです。

評価

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

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

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