Re: Accessing git.postgresql.org fails - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Accessing git.postgresql.org fails
Date
Msg-id CABUevExNfcJ0enDE-Z4raQ=cc_gXeJWTGU76K8tipXD-aCXJCQ@mail.gmail.com
Whole thread Raw
In response to Re: Accessing git.postgresql.org fails  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sun, May 1, 2022 at 4:52 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
Tatsuo Ishii <ishii@sraoss.co.jp> writes:
> This is ok:
> git clone ssh://git@gitmaster.postgresql.org/postgresql.git

That's the thing to use if you're a committer.

> But this fails:
> $ git clone ssh://git@git.postgresql.org/postgresql.git

Per [1], the recommended git URL for non-committers is

https://git.postgresql.org/git/postgresql.git

not ssh:.  I'm not sure that ssh: has ever worked --- wouldn't it
require an account on the target machine?

That's correct.

ssh works if you have committer access on the repo at git.postgresql.org. Since the main postgresql.git repo there is a mirror only, nobody has commit access there, so it doesn't work (but there are other repos hosted on the same server that does have committers). But for the postgresql.git repo, it has never worked on that server.
 
--

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Accessing git.postgresql.org fails
Next
From: Justin Pryzby
Date:
Subject: Re: testclient.exe installed under MSVC