Jens Lechtenbörger <[email protected]> writes:
> on https://orgmode.org/, this wrong git command is documented:
> git clone https://https.git.savannah.gnu.org/git/emacs/org-mode.git
>
> The "https." after "//" needs to be removed.

Ihor will have to take care of that one.

> On https://orgmode.org/worg/org-contribute.html, I see these git
> commands:
> git clone https://git.sv.gnu.org/git/emacs/org-mode.git
> git clone https://git.savannah.gnu.org/cgit/emacs/org-mode.git
>
> The first one results in this:
> warning: redirecting to https://git.savannah.gnu.org/git/emacs/org-mode.git/

Confirmed. Also confirmed that the latter URL works for cloning.

I don't know the history or rationale behind the URLs used, but this one
was changed from git protocol to https in commit 87104b9f113cf5 in 2024:

-- [[https://git.savannah.gnu.org/cgit/emacs/org-mode.git][Org repository on 
Savannah]]: =git clone git://git.sv.gnu.org/emacs/org-mode.git=
+- [[https://git.savannah.gnu.org/cgit/emacs/org-mode.git][Org repository on 
Savannah]]: =git clone https://git.sv.gnu.org/git/emacs/org-mode.git=


> The second one results in an error:
> fatal: repository 'https://git.savannah.gnu.org/cgit/emacs/org-mode.git/' not 
> found

Confirmed.

This one was added in commit 7a51e3b7ab898fcb a year ago, using the same
cgit URL as for the "Org repository on Savannah" link above, rather than
the git.sv.gnu.org one suggested for cloning that repository.

Following this URL in a browser redirects to
https://cgit.git.savannah.gnu.org/cgit/emacs/org-mode.git

Ihor, at the bottom of that page there is a list titled "Clone" with the
same "https://https.git.savannah.gnu.org"; URL as above, plus one that
goes "git://git.git.savannah.gnu.org". These also need fixing.


For now, I've changed both git-clone URLs in worg/org-contribute.org to
https://git.savannah.gnu.org/git/emacs/org-mode.git/

Partly fixed (on Worg only).

Regards,
Christian

Reply via email to