libgit2 / libgit2/libgit2sharp
"remote authentication required but no callback set" in pull after upgrading from 0.28 to 0.29
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- C#
- Star
- 3.5k
- Fork
- 925
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
@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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với lệnh gọi Pull và đường dẫn lỗi trong Core/Ensure.cs tại dòng 154, sau đó so sánh hành vi xác thực giữa các phiên bản 0.28 và 0.29. Xem xét các issue liên quan #2065 và #2087, đồng thời tái hiện lỗi trên máy chủ Azure DevOps nội bộ trên Windows với .NET 4.8. Hoàn tất khi pull được hiển thị thực hiện thành công bằng xác thực Windows mà không có missing-callback exception.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- azure, csharp, git
- Lĩnh vực
- authentication, backend, operating-systems
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100