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

Re: jt/fetch-cdn-offload (was What's cooking in git.git (Apr 2019, #04; Mon, 22))

From
Christian Couder <christian.couder@gmail.com>
Date
Apr 23, 2019, 06:52 UTC
Message-ID
<CAP8UFD1EwUbjSx3+q=9T8KgDz=vv5UH9ObV2z-8VRaQejera7w@mail.gmail.com>
In-Reply-To
<20190422175104.15471-1-jonathantanmy@google.com>
On Mon, Apr 22, 2019 at 7:53 PM Jonathan Tan <jonathantanmy@google.com> wrote:
Show 24 quoted lines
>
> > * jt/fetch-cdn-offload (2019-03-12) 9 commits
> >  - SQUASH???
> >  - upload-pack: send part of packfile response as uri
> >  - fetch-pack: support more than one pack lockfile
> >  - upload-pack: refactor reading of pack-objects out
> >  - Documentation: add Packfile URIs design doc
> >  - Documentation: order protocol v2 sections
> >  - http-fetch: support fetching packfiles by URL
> >  - http: improve documentation of http_pack_request
> >  - http: use --stdin when getting dumb HTTP pack
> >
> >  WIP for allowing a response to "git fetch" to instruct the bulk of
> >  the pack contents to be instead taken from elsewhere (aka CDN).
> >
> >  Waiting for the final version.
>
> Sorry for getting back to you late on this. The current status is that
> v2 (this version) looks good to me, except that not many people seems to
> be interested in this - I sent out v2 [1] with a relatively significant
> protocol change to v1 (requiring the server to also send the packfile's
> hash, meaning that a workflow that Ævar has described will no longer
> work), but nobody replied to it except for Josh Steadmon (who did give
> his Reviewed-By).
There has been no answer to my comments in:
https://public-inbox.org/git/CAP8UFD3SWNu=btPxV2vV=neYrofbgKPzz_WLvsJbv6bKjRoCpQ@mail.gmail.com/

especially the part related to the "-o avoid-cdn=badcdn.example.com" example that Jonathan Nieder gave.

[...]
> If this version is good with everyone, then this is the final version.

It is not good for me as I think the "-o avoid-cdn=badcdn.example.com", or even "-o usecdn=goodcdn.example.com" options, (that has been the only thing suggested to work around problems with CDNs that people cannot use or don't want to use,) will likely end up to be some other kind of promisor remote but not quite a real promisor remote.

In a more general way I don't understand why I was repeatedly asked (especially by Jonathen Nieder, you and Junio) to dump ODB remotes in favor of promisor remotes because promisor remotes would be more unified, and now you develop something that is not unified with promisor remote, though it could very well be. (And you haven't yet taken the time to review the multi promisor work I did following your suggestions, though it is the first item in the future work plan you wrote in Documentation/technical/partial-clone.txt)

Previous: Jeff KingNext: Jonathan Tan
Message 8 of 9 in “What's cooking in git.git (Apr 2019, #04; Mon, 22)”
  1. Junio C HamanoApr 22, 2019
  2. Santiago Torres AriasApr 22, 2019
  3. Jeff KingApr 22, 2019
  4. Santiago Torres AriasApr 22, 2019
  5. jt/fetch-cdn-offload (was What's cooking in git.git (Apr 2019, #04; Mon, 22))Jonathan Tan, Apr 22, 2019
  6. Ramsay JonesApr 22, 2019
  7. Jeff KingApr 23, 2019
  8. Christian CouderApr 23, 2019
  9. Jonathan TanMay 6, 2019

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.