github / github/gh-stack

FR: support for cross-fork stacked PRs

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

説明

The limitation that the source and target branch need to be on the same repository is a showstopper for my project's use of stacked PRs, and I expect it will similarly be so for almost any github project of nontrivial size. It's unreasonable to expect projects to grant all potential contributors branch creation permission, and my project would similarly consider it unreasonable to restrict stacked PR support to just some subset of trusted developers -- we don't want some developers to feel "second-class" to the extent we can avoid it.

I can understand how this restriction would arise -- presumably the repository associated with a PR is always the repository of the base branch, which requires the base branch (the previous PR in the stack) to be in the target repository for a stacked PR. But please consider ways in which it could be lifted, as the current limitation is a severe blocker to usage of this functionality.

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

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

調査の方向性

Issue にはソースファイルやテストの名前が記載されていません。まず、gh-stack が pull request をベースリポジトリに関連付け、フォーク間で stacked branch を検証する方法を追跡してください。ソースブランチとターゲットブランチが異なるリポジトリにある stacked PR を、ターゲットリポジトリでブランチ作成権限を必要とせずにコントリビューターが作成して使用できれば完了です。

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

評価

技術スタック
github, go
領域
cli
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
活発
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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