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

Re: GSoC 2009 Prospective student

From
Sitaram Chamarty <sitaramc@gmail.com>
Date
Feb 23, 2009, 00:46 UTC
Message-ID
<slrngq3sf4.fl1.sitaramc@sitaramc.homelinux.net>
In-Reply-To
<alpine.LFD.2.00.0902221709460.5511@xanadu.home>
On 2009-02-22, Nicolas Pitre <nico@cam.org> wrote:
> Restartable clone is _hard_.  Even I who has quite a bit of knowledge in 
> the affected area didn't find a satisfactory solution yet.

I'm sorry I have not followed the earlier discussion. I have a question. I know the rsync transport is not much used, and I myself have never used it. But can there not be a 'sorry, this repo is not yet open' flag that prevents local git operations while the clone is going on, and then the actual clone itself merely does an rsync of the corresponding files? Because rsync is quite restartable.

I can see that this would be a problem if the remote were to 'git repack' in between 2 attempts by the client, because the actual tree inside .git/objects would change, but that is hardly a common occurrence I would think.

I'm sorry if I'm being naive and missing a lot of important nuances -- but I was looking at it from a "if I had to do it in shell how would I do it' mindset.

Or perhaps by 'restartable clone' you also mean 'restartable fetch', etc, in which case of course you can't lock out the repo if a fetch dies partway.

It is not necessary to reply in detail; even a gmane or other link will do if this was already shot down :-)

Previous: Nicolas PitreNext: Jakub Narebski
Message 7 of 14 in “GSoC 2009 Prospective student”
  1. Rohan DhruvaFeb 22, 2009
  2. Sverre RabbelierFeb 22, 2009
  3. Rohan DhruvaFeb 22, 2009
  4. Sverre RabbelierFeb 22, 2009
  5. Miklos VajnaFeb 22, 2009
  6. Nicolas PitreFeb 22, 2009
  7. Sitaram ChamartyFeb 23, 2009
  8. Jakub NarebskiFeb 23, 2009
  9. Shawn O. PearceFeb 23, 2009
  10. Nicolas PitreFeb 23, 2009
  11. Jakub NarebskiFeb 24, 2009
  12. Shawn O. PearceFeb 24, 2009
  13. Jakub NarebskiFeb 24, 2009
  14. Nicolas PitreFeb 24, 2009

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.