libgit2 / libgit2/libgit2sharp
"remote authentication required but no callback set" in pull after upgrading from 0.28 to 0.29
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 3.5k
- フォーク
- 925
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
@bording we get the error "remote authentication required but no callback set" after upgrading from 0.28 to 0.29 when connecting to a company internal azure devops server.
This works great with the old version using windows authentication.
Reproduction steps
- connect to a company internal azure devops server via windows authentication
Signature signature = GetSignature();
PullOptions pullOptions = new()
{
MergeOptions = new() { FileConflictStrategy = CheckoutFileConflictStrategy.Theirs }
};
MergeResult mergeResult = Commands.Pull(Repository, signature, pullOptions);
Expected behavior
Success
Actual behavior
LibGit2Sharp.LibGit2SharpException
HResult=0x80131500
Message=remote authentication required but no callback set
Source=LibGit2Sharp
StackTrace:
at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) in /_/LibGit2Sharp/Core/Ensure.cs:line 154
Version of LibGit2Sharp (release number or SHA1)
0.29
Operating system(s) tested; .NET runtime tested
Windows 11, .NET 4.8
Seems to be related to #2065 and #2087
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず Core/Ensure.cs の154行目にある Pull 呼び出しとエラーパスを確認し、次にバージョン0.28と0.29の認証動作を比較します。関連する issue #2065 と #2087 を確認し、.NET 4.8 を使用して Windows 上の内部 Azure DevOps サーバーで再現します。Windows 認証を使用した表示された pull が missing-callback exception なしで成功すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- azure, csharp, git
- 領域
- authentication, backend, operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100