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

URI Scheme for git object ids?

From
EWEd Warnicke <hagbard@gmail.com>
Date
Mar 1, 2022, 17:35 UTC
Message-ID
<CAFVSqg1arVNwWMANwR6CDP++5hXAEW1a_ajekNe+TXNpSSZFPA@mail.gmail.com>

Has there been any discussion of how one might represent a git object id as a urn or uri?

It's clear that 'git:' is registered with IANA as a URI prefix for locations of git repos.

I was wondering if there was any existing use of something like:
'gitoid:${type}:${hash type}:${hash of git object}' ?
So for example:
gitoid:blob:sha1:261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64
which could be used to communicate generic git object ids.
Ed
Next: Junio C Hamano
Message 1 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.