Re: Caching Git Pull

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Note: resend with plain-text format

Hi Benson,

> On Sep 14, 2020, at 07:27, Benson Muite <benson_muite@xxxxxxxxxxxxx> wrote:
> 
> Hi,
> 
> Is there some way I can add functionality for caching git pull to allow continuation of a partially complete pull from a git repository to a local machine. 

I believe there has been some recent works toward this direction with Packfile Uri feature [1] [2] where a packfile could be uploaded to
CDN and then advertised by the hosting remote so that clients who enabled the feature can download the big part of the clone
via CDN instead.

[1]: https://github.com/git/git/blob/master/Documentation/technical/packfile-uri.txt
[2]: https://public-inbox.org/git/cover.1591821067.git.jonathantanmy@xxxxxxxxxx/

However I don't think any major Git hosting provider (Github, Bitbucket, Gitlab etc...) have started using this feature.

> As an example the command wget -c allows continuation of a partially complete download. This would be very helpful for large commits which fail with:
> 
> fatal: the remote end hung up unexpectedly
> fatal: early EOF
> 
> Regards,
> Benson

I will cc Jonathan Tan(author) to discuss more regarding path toward resumable git clone.

Cheers,
Son Luong.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux