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

Remapping hostname prevents using `gh stack submit`

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
go
領域
cli

調査の方向性

gh stack submit のエントリポイントから開始し、提供された .gitconfig.ssh/config のマッピングを使ってリポジトリ検出の失敗を再現します。再マッピングされたホスト名が既知の GitHub ホストと照合される仕組みを追跡します。gh stack submit がこの設定を認識し、通常の GitHub リモート検出を壊さずに処理を続行できれば完了です。

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

説明

bug topic: cli - submit

I use a synthetic hostname mapping in ~/.gitconfig (1) in conjunction with my .ssh/config (2) to select the SSH host key and user identity. In this case, the synthetic hostname is fastalyze.github.com. When I run gh stack submit this happens:

gh stack submit
Checking stack state...
✗ failed to create GitHub client: determining repository: unable to determine current repository, none of the git remotes configured for this repository point to a known GitHub host

I suspect there is a check for stacked PR support based on the hostname, and it's not recognizing fastalyze.github.com.

(1) ~/.gitconfig stanza:

[url "git@fastalyze.github.com:fastalyze/"]
    insteadOf = git@github.com:fastalyze/

[url "git@fastalyze.github.com:fastalyze/"]
        insteadOf = https://github.com/fastalyze/

(2) .ssh/config stanza:

host fastalyze.github.com
    Hostname github.com
    User "jeff-younker"
    IdentityFile ~/.ssh/id_fastalyze
    IdentityAgent none
主要言語
Go
スター
1.5k
フォーク
73
平均マージ
1日 8時間
マージ済み PR(30日)
7

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

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

はじめの一歩

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

github/gh-stack のほかの issue

github/gh-stack の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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