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

Re: support git+mosh for unreliable connections

From
PPPirate Praveen <praveen@debian.org>
Date
Apr 20, 2015, 08:39 UTC
Message-ID
<5534BB5D.4000802@debian.org>
In-Reply-To
<20150415202647.GA29170@LK-Perkele-VII>
On Thursday 16 April 2015 01:56 AM, Ilari Liusvaara wrote:
Show 30 quoted lines
> On Wed, Apr 15, 2015 at 08:13:51PM +0530, Pirate Praveen wrote:
>>
>> Q: Are the mosh principles relevant to other network applications?
>>
>>     We think so. The design principles that Mosh stands for are
>> conservative: warning the user if the state being displayed is out of
>> date, serializing and checkpointing all transactions so that if there
>> are no warnings, the user knows every prior transaction has succeeded,
>> and handling expected events (like roaming from one WiFi network to
>> another) gracefully.
>>
>> Can the ideas be used to resume a pull, push or clone operation?
>> Especially serializing and checkpointing.
> 
> Well, it is possible to write a remote helper and serverside program
> that internally handles connection unreliability, so Git itself
> (upload-archive, upload-pack, receive-pack, archive, fetch-pack
> and send-pack) sees a reliable (full-duplex, half-closeable, stream)
> channel.
> 
> Suitably done, that can "resume" (from Git POV, nothing special
> happened) across things like IP address changes.
> 
> However, that is quite difficult to do in practice. Not because
> interface to Git is complicated, but because the transport problem
> itself is complicated (however, it still seems way easier than
> making Git internally be able to resume interrupted operations).
> 
> Mosh needs to solve at least most of that, it just doesn't provode
> the right kind of interface.

I have requested mosh team to fix these issues https://github.com/keithw/mosh/issues/597

Previous: Ilari Liusvaara
Message 15 of 15 in “support git+mosh for unreliable connections”
  1. Pirate PraveenApr 15, 2015
  2. Dennis KaarsemakerApr 15, 2015
  3. Michael J GruberApr 15, 2015
  4. Pirate PraveenApr 15, 2015
  5. Johannes SchindelinApr 15, 2015
  6. Trevor SaundersApr 15, 2015
  7. Johannes SchindelinApr 15, 2015
  8. Trevor SaundersApr 15, 2015
  9. Michael J GruberApr 16, 2015
  10. Dennis KaarsemakerApr 15, 2015
  11. Andreas KreyApr 22, 2015
  12. Johannes SchindelinApr 15, 2015
  13. Pirate PraveenApr 15, 2015
  14. Ilari LiusvaaraApr 15, 2015
  15. Pirate PraveenApr 20, 2015

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.