Re: [WIP 7/7] upload-pack: send part of packfile response as uri

2019-02-28 Thread Jonathan Tan
> So we process the packfile URIs one by one as we receive them from the > server? If we expect these packfiles to be large (otherwise why are we > bothering to offload them to the CDN), is there a risk that the > connection to the server might time out while we're downloading from the > CDN? You'

Re: [WIP 7/7] upload-pack: send part of packfile response as uri

2019-02-28 Thread Josh Steadmon
On 2019.02.23 15:39, Jonathan Tan wrote: > Teach upload-pack to send part of its packfile response as URIs. > > An administrator may configure a repository with one or more > "uploadpack.blobpackfileuri" lines, each line containing an OID and a > URI. A client may configure fetch.uriprotocols to b

Re: [WIP 7/7] upload-pack: send part of packfile response as uri

2019-02-25 Thread Christian Couder
Hi, On Tue, Feb 26, 2019 at 2:53 AM Jonathan Nieder wrote: > > Christian Couder wrote: > > On Sun, Feb 24, 2019 at 12:39 AM Jonathan Tan > > wrote: > > > Ok, so each URI sent in the packfile corresponds to exactly one > > object. And when the client fetches one such URI it gets a packfile > > t

Re: [WIP 7/7] upload-pack: send part of packfile response as uri

2019-02-25 Thread Jonathan Nieder
Hi, Christian Couder wrote: > On Sun, Feb 24, 2019 at 12:39 AM Jonathan Tan > wrote: >> Teach upload-pack to send part of its packfile response as URIs. >> >> An administrator may configure a repository with one or more >> "uploadpack.blobpackfileuri" lines, each line containing an OID and a >>

Re: [WIP 7/7] upload-pack: send part of packfile response as uri

2019-02-25 Thread Christian Couder
On Sun, Feb 24, 2019 at 12:39 AM Jonathan Tan wrote: > > Teach upload-pack to send part of its packfile response as URIs. > > An administrator may configure a repository with one or more > "uploadpack.blobpackfileuri" lines, each line containing an OID and a > URI. A client may configure fetch.uri

Re: [WIP 7/7] upload-pack: send part of packfile response as uri

2019-02-24 Thread Junio C Hamano
Jonathan Tan writes: > diff --git a/t/t5702-protocol-v2.sh b/t/t5702-protocol-v2.sh > index db4ae09f2f..6dbe2e9584 100755 > --- a/t/t5702-protocol-v2.sh > +++ b/t/t5702-protocol-v2.sh > @@ -656,6 +656,60 @@ test_expect_success 'when server does not send "ready", > expect FLUSH' ' > test_i1