GitPlugin Does Not Prompt to Add SSH Known Host

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
cpp, git
領域
devtools, tooling

調査の方向性

src/git_plugin.cpp の GitPlugin::_push から開始し、プラグインが invalid or unknown remote ssh hostkey エラーをどのように処理しているかを追跡します。関連する動作について、リンクされている例 #293 と #299 を確認します。完了条件は、初回の SSH 接続でプロンプトを介して未知のホストキーを解決でき、その他の基盤となるエラーはトラブルシューティングのために引き続き利用できることです。

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

説明

bug
Godot version

4.6.1.stable.official

Godot Git Plugin version

3.2.1

System information

Windows 11

Issue description

When using Git, attempting to connect to a remote via SSH gives a warning that the host is unknown and prompts the user to accept or reject the host. This is desired functionality. However, the plugin simply fails with an error, rather than popping up a window and allowing the user to resolve the issue.

Examples: #293, #299

Sometimes, users have other issues as well, but this simple step obscures whatever their underlying problem is.

I think creating a stop condition that the underlying provider (Git) handles is a core function, which is why I filed this as a bug. It would also reduce issue creation and speed up troubleshooting on real issues.

Feel free to change it to a feature request if you disagree. While I'd like this to be in-built functionality, updating the Wiki to reflect this common scenario wouldn't be the worst solution.

Steps to reproduce
  • Follow the v3 Wiki plugin instructions to install the plugin.

  • Attempt to connect to Github (or another remote provider) via SSH for the first time using the Godot plugin

  • Encounter the error: Error -17: invalid or unknown remote ssh hostkey in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_push

主要言語
C++
スター
966
フォーク
100
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

godotengine/godot-git-plugin のほかの issue

godotengine/godot-git-plugin の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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