git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [feature request] resume capability for users in enemies of Internet countries

From
Michal Suchánek <msuchanek@suse.de>
Date
Oct 7, 2022, 07:14 UTC
Message-ID
<20221007071459.GM28810@kitsune.suse.cz>
In-Reply-To
<83814bcb-1d72-07bf-32d1-d05db6cc6481@gmail.com>
On Fri, Oct 07, 2022 at 08:44:09AM +0700, Bagas Sanjaya wrote:
Show 6 quoted lines
> On 10/7/22 01:01, m wrote:
> > In my country government make connections unstable on purpose. Please add resume capability for commands like git clone
> > 
> 
> Bandwidth issue?
> 

Bandwidth is one thing but the other thing is that git network operations require that the whole operation succeeds in one go.

If your connectivity is bad to the point that the TCP connection breaks you have downloaded a bunch of data that is AFAIK just thrown away when you retry.

It is difficult to know if that data would be useful in the future, and you cannot meaningfully 'resume' because the remote state might have changed in the meantine as well.

Further, this whole fetch operation is using a heuristic to fetch some data in the hope that it will be enough to reconstruct the history that is requested, and this has been wrong in some cases, too. Not very precise and reproducible hence hard to 'resume' as well.

Let's say that the git networking has been developed at and tuned for the 'first world' Internet, and may be problematic to use in net-wise backwater areas. And it would require non-trivial effort to change.

Thanks
Michal
Previous: Bagas SanjayaNext: Eric Wong
Message 3 of 6 in “[feature request] resume capability for users in enemies of Internet countries”
  1. mOct 6, 2022
  2. Bagas SanjayaOct 7, 2022
  3. Michal SuchánekOct 7, 2022
  4. Eric WongOct 7, 2022
  5. Philip OakleyOct 7, 2022
  6. Derrick StoleeOct 7, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.