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

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

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jul 19, 2014, 00:19 UTC
Message-ID
<20140719001908.GX12427@google.com>
In-Reply-To
<DC1EBA8C-1443-42DA-BA96-CB38D13502ED@gmail.com>
Kyle J. McKay wrote:
> On Jul 18, 2014, at 10:16, Jonathan Nieder wrote:
>> Kyle J. McKay wrote:
Show 14 quoted lines
>>> 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.

You mean abusing the word URL when we meant URL-shaped thing makes it into a URL?

>> What would be the interoperability advantage of making
>> them URIs?
>
> According to RFC 3968 they are already considered URIs.
I don't think you understood my question.
Show 7 quoted lines
>> 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)?

It's where the question of whether the things you pass to 'git clone' are URIs came up before.

I don't understand what you want in this side-conversation. Do you mean that I should read that RFC and be convinced that what you are saying about ports is the right thing to do? I can easily be convinced some other way, but "It's in a standard that you never intended to follow" is not particularly convincing or relevant.

The same philosophy as the git project applies to POSIX conformance issues applies here, too. We live in the real world.

Hoping that clarifies, Jonathan

Previous: Kyle J. McKayNext: Kyle J. McKay
Message 8 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.