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

Re: Resumable clone

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 5, 2016, 18:40 UTC
Message-ID
<xmqqk2lgvke6.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<xmqqoaasvkrt.fsf@gitster.mtv.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 20 quoted lines
> So what remains?  Here is a rough and still slushy outline:
>
>  - A new method, prime_clone(), in "struct transport" for "git
>    clone" client to first call to learn the location of the
>    "alternate resource" from the server.
>
>    ...
>    - The format of the returned "answer" needs to be designed.  It
>      must be able to express:
>
>      - the location of the resource, i.e. a URL;
>
>      - the type of resource, if we want this to be extensible.  I
>        think we should initially limit it to "a single full history
>        .pack", so from that point of view this may not be absolutely
>        necessary, but we already know that we may want to say "go
>        there and you will find an old-style bundle file" to support
>        the kernel.org CDN, and we may also want to support Jeff's
>        "split bundle" or Shawn's ".info" file.  A resource poor
>        (read: personal) machine that hosts a personal of a popular
Sorry for a typo: s/of a/fork &/;
>        project might want to name a "git clone" URL for that popular
>        project it forked from (e.g. "Clone Linus's repository from
>        kernel.org and then come back here for incremental fetch").
Previous: Junio C HamanoNext: Johannes Schindelin
Message 4 of 14 in “Resumable clone”
  1. Kevin WernMar 5, 2016
  2. Duy NguyenMar 5, 2016
  3. Junio C HamanoMar 5, 2016
  4. Junio C HamanoMar 5, 2016
  5. Johannes SchindelinMar 6, 2016
  6. Duy NguyenMar 6, 2016
  7. Duy NguyenMar 6, 2016
  8. Junio C HamanoMar 6, 2016
  9. Junio C HamanoMar 7, 2016
  10. Kevin WernMar 8, 2016
  11. Duy NguyenMar 8, 2016
  12. Junio C HamanoMar 8, 2016
  13. Junio C HamanoMar 8, 2016
  14. Kevin WernMar 9, 2016

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.