git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Get tree of remote repository using custom ssh library.

From
SBStef Bon <stefbon@gmail.com>
Date
Aug 25, 2021, 06:54 UTC
Message-ID
<CANXojcyVGp0aXySZswzFtmWL=q17bP5Zz4Si-Gxb0rgx4TNjAg@mail.gmail.com>
In-Reply-To
<YSXY4WoB+Z1aayz4@alpha>
Op wo 25 aug. 2021 om 07:45 schreef Kevin Daudt <me@ikke.info>:
>
Hello Kevin,
Show 9 quoted lines
> >
>
> Hello Stef,
>
> Git has no way of knowing what repositories might exist on a
> given server. They might live everywhere, and git does not keep track of
> what repositories are created on a central location, so there is not
> central directory to query.
>
Ok.
> Besides that, services like github do not let you remotely browse
> repositories over SSH, they only allow you to run git-upload-pack /
> git-receive-pack or equivalent to handle the git protocol.
>

That is exactly what I want. I know git works with the git-upload-pack and git-receive-pack methods. I think I had to be more precisely. Now my issue is how do I have to call these, with what parameters to achieve the listing of entries? (git_tree and git_tree_entry for example?? I do not know)

Stef
Previous: Kevin Daudt
Message 4 of 4 in “Get tree of remote repository using custom ssh library.”
  1. Stef BonAug 22, 2021
  2. Stef BonAug 24, 2021
  3. Kevin DaudtAug 25, 2021
  4. Stef BonAug 25, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.