Bruno Haible via GNU coreutils General Discussion <[email protected]>
writes:

> I live reasonably well with these git-level replacement rules:
>
> git config set --global --append 
> url.git://git.git.savannah.gnu.org/.insteadOf git://git.savannah.gnu.org/
> git config set --global --append 
> url.https://https.git.savannah.gnu.org/git/.insteadOf 
> https://git.savannah.gnu.org/git/
> git config set --global --append 
> url.https://github.com/coreutils/gnulib.git.insteadOf 
> git://git.savannah.gnu.org/gnulib.git
> git config set --global --append 
> url.https://github.com/coreutils/gnulib.git.insteadOf 
> https://git.savannah.gnu.org/git/gnulib.git
> git config set --global --append 
> url.https://github.com/coreutils/coreutils.git.insteadOf 
> git://git.savannah.gnu.org/coreutils.git
> git config set --global --append 
> url.https://github.com/coreutils/coreutils.git.insteadOf 
> https://git.savannah.gnu.org/git/coreutils.git
>
> The github.com mirror is more reliable and has higher bandwidth.

I assume you use 2 remotes where one is for pushing then?

I liked:

    $ git config set --global 
url.ssh://git.savannah.gnu.org/srv/git/.pushinsteadof 
https://https.git.savannah.gnu.org/git/

Since I could use the mirror as my remote and then push to the same
remote, and have it use ssh when pushing behind the scenes.

That server now returns 502 errors when a git client tries to speak to
it. However, its web interface works which confuses me.

> This raises two questions:
>   * Pádraig, how are the mirrors of coreutils and gnulib on github set up?
>     Is it some old technique from GitHub, that is no longer available to
>     new repositories? Or is it some script / cron job of yours?
>   * Should we create mirrors of other package repositories at GitLab or
>     GitHub?

Not sure how Pádraig does it. But the maintainer of a popular GNU Emacs
extension, Magit, mirrors Emacs using a GitHub action [1]. It seems like
a reasonable idea, but I would adjust it to attempt to use the mirrors.
Let's not make the Savannah administrators lives harder.

> Re codeberg: If/when codeberg.org gets dDoS'ed by malpeople and LLMs,
> what will be their protections? An e.V. in Germany typically does not
> have the financial resources to pay a sysadmin person.

I'm not sure of the status of their staffing/funding.

Collin

[1] 
https://github.com/emacsmirror/.savannah/blob/main/.github/workflows/mirror-emacs.yml

Reply via email to