libgit2 / libgit2/libgit2sharp

--stateless-rpc Support

Open
#98 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
3.5k
Forks
925
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with GitTools/GitHandler.cs, focusing on ServiceRpc and GetInfoRefs, then inspect the HTTP and protocol code in libgit2 and libgit2sharp. Determine whether libgit2 exposes equivalent stateless-RPC operations and document or implement the required support, with behavior matching the referenced Git HTTP handler.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, git
Domain
backend, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.