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

[TOPIC 1/8] Bundle URIs

From
Taylor Blau <me@ttaylorr.com>
Date
Sep 29, 2022, 19:19 UTC
Message-ID
<YzXvwv/zK5AjhVvV@nand.local>
In-Reply-To
<YzXvMRc6X60kjVeY@nand.local>
# Bundle URIs (Stolee)
- Unlike packfile URIs, includes refs, does not need to be delta-ed
	against what server sends
- Doc checked into Documentation/technical
- URI can be provided by user at CLI or advertised by server
- Most users won't experience anything if they git-clone, but it will
	only benefit the git hosting providers. It will allow them to offload
	data to CDNs, being closer to the client.
- With bundle files you can download them and start of from there and
	fetch the objects you're missing in a regular manner.
- Jrnieder: Packfile URIs and Bundle URIs are trying to achieve the same
	thing.  How can we duplicate efforts? E.g. how can we prevent the
	client from leaking information to a possibly untrusted server?
- Stolee: Are you want to provide a way to provide authentication?
- Jrnieder: Analogy to the web - you don't want to leak information to
	websites you don't trust. The security model is pretty complicated, we
	don't want to replicate things like same origin policies.
- Stolee: So, e.g. the server provides a hash of the content expected at
	the bundle URI and the client can verify? We wanted to explicitly
	avoid that because we don't want the server and bundle provider to
	need to know anything about each other.
- Jrnieder: Compare to packfile URIS - Packfile URIs are only advertised
	for the server, so the security model is mostly the same as a
		"regular" fetch/clone
- Jonathantanmy: Another difference: the objects in bundles must be
	associated with refs, you can't just have e.g. large objects.
	Packfiles can contain arbitrary objects.
- Stolee: Let's talk about the security model more on the mailing list
- Ævar: We're also open for a breakout session on this topic
Previous: Taylor BlauNext: Taylor Blau
Message 2 of 9 in “Notes from the Git Contributor's Summit, 2022”
  1. Taylor BlauSep 29, 2022
  2. 1/8 Bundle URIsTaylor Blau, Sep 29, 2022
  3. 2/8 State of SHA-256 transitionTaylor Blau, Sep 29, 2022
  4. 3/8 Merge ORT timelineTaylor Blau, Sep 29, 2022
  5. 4/8 Commit `--filter`'sTaylor Blau, Sep 29, 2022
  6. 5/8 Server side merges and rebasesTaylor Blau, Sep 29, 2022
  7. 6/8 State of sparsity workTaylor Blau, Sep 29, 2022
  8. 7/8 Speeding up the connectivity checkTaylor Blau, Sep 29, 2022
  9. 8/8 Using Git securely in shared servicesTaylor Blau, Sep 29, 2022

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.