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

Re: Autodiscovery of git repositories from HTML

From
Jakub Narebski <jnareb@gmail.com>
Date
Oct 27, 2009, 13:28 UTC
Message-ID
<m3vdi1c6fw.fsf@localhost.localdomain>
In-Reply-To
<20091027130000.GX30085@Dorothy.plexq.com>
Thomas Thurman <tthurman@gnome.org> writes:
Show 10 quoted lines
> I have a web page which lives in a git repository so that it can be 
> easily mirrored.  I would like to use a "rel" link to the URL of the git 
> repository so that it can be automatically discovered, like an RSS feed:
> 
> <link rel="alternate" type="???" href="http://example.com/.git"/>
> 
> Is there any existing convention as to what the type should be?
> Note that this isn't necessarily the same question as what a git 
> repository should be served as over HTTP: the Universal Edit Button uses 
> a dummy MIME type of "application/x-wiki".

See proposal at http://joey.kitenet.net/rfc/rel-vcs/ (which use 'rel' microformat, rather than 'type' microformat).

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Thomas ThurmanNext: Jan Krüger
Message 2 of 3 in “Autodiscovery of git repositories from HTML”
  1. Thomas ThurmanOct 27, 2009
  2. Jakub NarebskiOct 27, 2009
  3. Jan KrügerOct 27, 2009

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.