You are not logged in.

#1 2019-08-03 23:38:58

RandomBK
Member
Registered: 2019-08-03
Posts: 1

Slow clone from git.archlinux.org

Hi all,

Is there an alternate mirror for the "https://git.archlinux.org" endpoint? I often need to clone the kernel sources when updating, and the clone itself runs at ~100KB/s, which results in a multi-hour clone process.

Offline

#2 2019-08-03 23:54:45

loqs
Member
Registered: 2014-03-06
Posts: 9,276

Re: Slow clone from git.archlinux.org

Welcome to the arch linux forums RandomBK.  Are any of the following clone addresses  from [1] faster if so you could clone that,
then add the archlinux hosted kernel source as a remote which would only need to pull the arch releated commits then lastly adjust the PKGBUILD to point to the local git repository.

[1] https://git.kernel.org/pub/scm/linux/ke … linux.git/

Offline

#3 2019-08-04 00:07:54

progandy
Member
Registered: 2012-05-17
Posts: 3,599

Re: Slow clone from git.archlinux.org

In addition to the kernel.org and googlesource mirrors, gregkh has a semi-official mirror on github.
http://kroah.com/log/blog/2019/06/15/li … at-github/
https://github.com/gregkh/linux


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2019-08-04 13:47:56

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,110
Website

Re: Slow clone from git.archlinux.org

Why are you repeatedly cloning an enormous repository? The obvious remedies are:

1) Clone once, keep the repository so that updates are incremental
2) There is no #2.
3) If #1 and #2 are infeasible, do a shallow clone.
4) #3 is a lie, see #1.

Offline

Board footer

Powered by FluxBB