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

Re: URI Scheme for git object ids?

From
EWEd Warnicke <hagbard@gmail.com>
Date
Mar 1, 2022, 17:58 UTC
Message-ID
<CAFVSqg3i_ANc1sTmEHaxjxxdkkN9HbUEUwejV5S5V5tM2fhWWA@mail.gmail.com>
In-Reply-To
<20220301175334.ctem25nxckynnvco@meerkat.local>
Konstantin,

I suspect you read a bit more into my question than I intended :) I do appreciate the breadth of your thought about it though :)

Mostly, I'm just looking for a way to express the git object id as a uri scheme so completely outside-of-git things can refer to it clearly (ie, know to prepend the object header before hashing to see if the contents match).

Definitely not thinking of any vaguely web3 ideas :)
Ed

On Tue, Mar 1, 2022 at 11:53 AM Konstantin Ryabitsev <konstantin@linuxfoundation.org> wrote:

Show 15 quoted lines
>
> On Tue, Mar 01, 2022 at 11:35:52AM -0600, Ed Warnicke wrote:
> > Has there been any discussion of how one might represent a git object
> > id as a urn or uri?
>
> This sounds similar to what git over ipfs folks wanted to do, but they ran
> into obvious scaling problems. It works fine for small repositories with a few
> dozen commits, but once we're talking millions, the process of doing anything
> with such remote starts taking hours and days.
>
> If you're interested in a decentralized forge solution, then Radicle has the
> closest to something that is working. You just have to ignore all the crazy
> cryptoblarf web3 stuff.
>
> -K
Previous: Konstantin RyabitsevNext: Konstantin Ryabitsev
Message 5 of 7 in “URI Scheme for git object ids?”
  1. Ed WarnickeMar 1, 2022
  2. Junio C HamanoMar 1, 2022
  3. Ed WarnickeMar 1, 2022
  4. Konstantin RyabitsevMar 1, 2022
  5. Ed WarnickeMar 1, 2022
  6. Konstantin RyabitsevMar 1, 2022
  7. Ed WarnickeMar 1, 2022

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.