libgit2 / libgit2/libgit2sharp

--stateless-rpc Support

未關閉
#98 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
C#
星號
3.5k
分支
925
PR 合併指標
30 天內沒有已合併 PR

描述

Hi again.

I am about to create a libgit2sharp Version of this Git HTTP handler and need some help: https://github.com/yysun/Git-Web-Access/blob/master/GitTools/GitHandler.cs

The two key parts are the methods ServiceRpc and GetInfoRefs which use the --stateless-rpc system to communicate with the repository. Is there an equivalent of this command in libgit2 & libgit2sharp?

I found some http and protocol stuff in the libgit2 repo but I'm not a git expert (I'm only a general git user) and don't know much technical details about the protocol backend.

Greetings
Daniel

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

從 GitTools/GitHandler.cs 開始,重點關注 ServiceRpc 和 GetInfoRefs,然後檢查 libgit2 和 libgit2sharp 中的 HTTP 與通訊協定程式碼。確認 libgit2 是否公開了等效的無狀態 RPC 操作,並記錄或實作所需的支援,使其行為與所參照的 Git HTTP 處理程式一致。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp, git
領域
backend, networking
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。