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

Re: Proposal for "fetch-any-blob Git protocol" and server design

From
JTJonathan Tan <jonathantanmy@google.com>
Date
Mar 16, 2017, 22:48 UTC
Message-ID
<3c89fee5-2226-6760-f2fd-222432230612@google.com>
In-Reply-To
<xmqq7f3oc45v.fsf@gitster.mtv.corp.google.com>
On 03/16/2017 02:17 PM, Junio C Hamano wrote:
Show 10 quoted lines
> Yeah, the example was solely to see how the system was to be
> extended, as one of the selling point of the proposal was:
>
>     > === Endpoint support for forward compatibility
>     >
>     > This "server" endpoint requires that the first line be understood, but
>     > will ignore any other lines starting with words that it does not
>     > understand. This allows new "commands" to be added (distinguished by
>     > their first lines) and existing commands to be "upgraded" with
>     > backwards compatibility.
<snip>
>
> And the lack of "capability negotiation" is substituted by "assume
> the better server, fallback to lower common denominator by detecting
> errors"?

Yes. I probably should have mentioned that this "forward compatibility" is limited - it does not include any potential new feature intending to reduce the size of the request. I was thinking more of this being able to be extended to, for example, add "hint" lines that certain blobs come from certain commits, or add "have" lines to present blobs that might be good delta bases (and even if the server doesn't understand these lines, its output is still correct).

Previous: Junio C HamanoNext: Stefan Beller
Message 5 of 10 in “Proposal for "fetch-any-blob Git protocol" and server design”
  1. Jonathan TanMar 14, 2017
  2. Junio C HamanoMar 15, 2017
  3. Jonathan TanMar 16, 2017
  4. Junio C HamanoMar 16, 2017
  5. Jonathan TanMar 16, 2017
  6. Stefan BellerMar 28, 2017
  7. Kevin DavidApr 12, 2017
  8. Jonathan TanApr 13, 2017
  9. Kevin DavidApr 21, 2017
  10. Jonathan TanApr 26, 2017

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.