Re: URI Scheme for git object ids?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ed Warnicke <hagbard@xxxxxxxxx> writes:

> 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

I do not see why the object type should be there.  Once you locate
the object whose object name (in sha1) is 261eeb..., the object
should be able to identify itself as a blob (or whatever type it
is).

Aren't there already folks who are exchanging git objects over
torrent or something?  What do they use to identify what each node
offers and what participants want?




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux