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

Re: [PATCH] MaintNotes: use https:// instead of git:// when possible

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 1, 2020, 19:07 UTC
Message-ID
<xmqq360pqra2.fsf@gitster.c.googlers.com>
In-Reply-To
<X8Yu5CephK3uvMeV@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 21 quoted lines
> On Tue, Dec 01, 2020 at 10:58:15AM +0100, Ævar Arnfjörð Bjarmason wrote:
>
>> Change advertised git:// links to https://. These all work as
>> arguments to "git clone", but in addition they also have friendly web
>> interfaces.
>
> This is a good idea, I think. Not only for that reason, but because
> https:// is more secure. You can verify tags from the maintainer's
> signature, of course, but if you are just fetching some refs, you are
> relying on the remote server not to lie to you. With https://, you at
> least have some assurance that it is the remote server you intended to
> talk to, and not a man-in-the-middle over the totally unauthenticated
> git:// protocol.
>
>> This leaves just git://ozlabs.org/~paulus/gitk as the only git://
>> URL. As far as I can tell there's no web interface for it. There is
>> e.g. https://git.ozlabs.org/?p=ppp.git which is a frontend for
>> git://git.ozlabs.org/~paulus/ppp.git, but even though cloning the repo
>> at git://git.ozlabs.org/~paulus/gitk.git works (not the "git" subdomain)
>
> s/not/note/ in this last line?

With or without the tweak, I couldn't figure out what the paragraph wanted to say. On the other hand, I didn't quite get why "friendly web interfaces" matters until trying to read the paragraph again to realize that it was talking about repository browser like gitweb and cgit.

I'd probably rephrase the entire proposed commit log message to something like:

	Most git:// URLs listed for the copies of the Git repository
	have working corresponding https:// URLs that can be given
	to a browser to browse the repository interactively.  List
	https:// URL instead of git:// URL for such repositories.
	The former is also more secure, even though it may be more
	expensive.
without mentioning ozlabs at all.
Thanks.
Previous: Jeff KingNext: Jeff King
Message 5 of 13 in “What's cooking in git.git (Nov 2020, #06; Mon, 30)”
  1. Junio C HamanoDec 1, 2020
  2. cook: add github.com/git-vcs/git as a URLÆvar Arnfjörð Bjarmason, Dec 1, 2020
  3. MaintNotes: use https:// instead of git:// when possibleÆvar Arnfjörð Bjarmason, Dec 1, 2020
  4. Jeff KingDec 1, 2020
  5. Junio C HamanoDec 1, 2020
  6. Jeff KingDec 2, 2020
  7. Jeff KingDec 1, 2020
  8. Junio C HamanoDec 1, 2020
  9. Jeff KingDec 2, 2020
  10. Junio C HamanoDec 1, 2020
  11. Felipe ContrerasDec 2, 2020
  12. ds/config-literal-value (was Re: What's cooking in git.git (Nov 2020, #06; Mon, 30))Derrick Stolee, Dec 2, 2020
  13. Junio C HamanoDec 2, 2020

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.