perkeep/pkg/serverinit
Brad Fitzpatrick 194d4f9443 blobserver, all: add contexts to ReceiveBlob, Fetch & million resulting deps
I had intended for this to be a small change.

I was going to just add context.Context to the BlobReceiver interface,
but then I saw blob.Fetcher could also use one, so I decided to do two
in one CL.

And then it got a bit infectious and ended up touching everything.

I ended up doing SubFetch in the process by necessity.

At a certain point I finally started using context.TODO() in a few
spots, but not too many. But removing context.TODO() will come in the
future. There are more blob storage interfaces lacking context, too,
like RemoveBlobs.

Updates #733

Change-Id: Idf273180b3f8e397ac5929c6d7f520ccc5cdce08
2018-01-18 16:22:16 -08:00
..
testdata pkg/serverinit: remove DBNames and provide consistent default instead 2018-01-04 04:01:34 +01:00
devmode.go blobserver, all: add contexts to ReceiveBlob, Fetch & million resulting deps 2018-01-18 16:22:16 -08:00
env.go pkg/serverinit: keep DBNames compatibility for existing GCE instances 2018-01-05 21:52:42 +01:00
export_test.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
genconfig.go all, testhooks: use sha224 by default, add hook for some tests to use sha-1 2018-01-09 20:03:38 -08:00
genconfig_test.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
serverinit.go blobserver, all: add contexts to ReceiveBlob, Fetch & million resulting deps 2018-01-18 16:22:16 -08:00
serverinit_test.go all, testhooks: use sha224 by default, add hook for some tests to use sha-1 2018-01-09 20:03:38 -08:00