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

Re: git_inetd_server: run git-http-backend using inetd

From
Kyle J. McKay <mackyle@gmail.com>
Date
Jul 19, 2014, 00:08 UTC
Message-ID
<DC1EBA8C-1443-42DA-BA96-CB38D13502ED@gmail.com>
In-Reply-To
<20140718171635.GR12427@google.com>
On Jul 18, 2014, at 10:16, Jonathan Nieder wrote:
Show 9 quoted lines
> Kyle J. McKay wrote:
>
>> You might also want to take a look at [1] which suggests that when
>> doing SRV lookups for URLs they should be done regardless of whether
>> or not a port number is present (which then eliminates the RFC 3986
>> issue the current SRV lookup code has).
>
> "Git URLs" as described e.g. in git-clone(1) weren't intended to be
> actual URIs.

According to RFC 3968 section 1.1.3: "A URI can be further classified as a locator, a name, or both. The term "Uniform Resource Locator" (URL) refers to the subset of URIs" [...]

So actually they are URIs.
> What would be the interoperability advantage of making
> them URIs?
According to RFC 3968 they are already considered URIs.
> This has come up before, with e.g. people asking to introduce a
> git+ssh:// and git+http://

How is a discussion about changing the scheme name relevant to a discussion about treating a URL with an explicit default port the same as one without (which Git already does but stops doing with the 0010 git SRV patch)? That would seem to be an orthogonal discussion to whether or not to change the scheme name(s) used by Git more than 9 years after it first came out.

Previous: Jonathan NiederNext: Jonathan Nieder
Message 7 of 13 in “git_inetd_server: run git-http-backend using inetd”
  1. Kyle J. McKayJul 17, 2014
  2. Jonathan NiederJul 17, 2014
  3. Kyle J. McKayJul 17, 2014
  4. Jonathan NiederJul 18, 2014
  5. Kyle J. McKayJul 18, 2014
  6. Jonathan NiederJul 18, 2014
  7. Kyle J. McKayJul 19, 2014
  8. Jonathan NiederJul 19, 2014
  9. Kyle J. McKayJul 19, 2014
  10. Torsten BögershausenJul 19, 2014
  11. Jonathan NiederJul 19, 2014
  12. Torsten BögershausenJul 20, 2014
  13. Torsten BögershausenJul 20, 2014

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.