libgit2 / libgit2/libgit2sharp
Possible In-memory repository regression?
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ả
So I'm trying to get my branch updated with master https://github.com/Zoxive/libgit2sharp/tree/zoxive/refdb/ which revives the pluggable RefDb backend (#1226)
I've gotten through all the compile issues rebasing it up to the latest with dotnet core, and the codegen stuff. (Took a while to figure out that I had to change all the NativeMethod funcs to use the new custom marshaler)
Anyways all compiles and stuff now.. but testing my changes im running into an error that appears to be coming straight from libgit2.
LibGit2SharpException: path cannot exist in repository
It happens when i have an in memory repository and an OdbBackend.
Heres a sample unit test that shows the problem.
https://github.com/Zoxive/libgit2sharp/commit/7957581353134c17deaa71714ffd24a0a6130c5e
I did see that libgit2 had a regression (https://github.com/libgit2/libgit2/pull/4263) @ethomson fixed.
I'm guessing its related?
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 bằng cách chạy unit test mẫu trong commit 7957581353134c17deaa71714ffd24a0a6130c5e với một repository trong bộ nhớ và một OdbBackend. So sánh lỗi với pull request 4263 của libgit2 và truy vết nơi exception “path cannot exist in repository” được đưa ra. Hoàn thành khi việc tái hiện chạy thành công mà không gây hồi quy cho các repository backend khác.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- csharp, git
- Lĩnh vực
- backend
- 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