Commit Graph

30 Commits

Author SHA1 Message Date
Brad Fitzpatrick 2096e2b911 Use := instead; err isn't shadowed
Change-Id: I12a3ef991105a2b48fd786003491507313925ce6
2011-10-05 17:30:54 -07:00
Brad Fitzpatrick 8c72348a19 Rename Stat->StatBlobs, Remove->RemoveBlobs; add StatReceiver.
Also, return missing errors in google storage stubs.

Change-Id: I5b168bbcd8a2996e3db4ffc35d2ac06006b3a2d3
2011-09-28 19:37:28 -07:00
Brad Fitzpatrick 42792ccaa0 gofmt
Change-Id: Ia0167859e9acea25f0a2d8c8efff53bb3683add5
2011-09-27 16:02:28 -07:00
Brad Fitzpatrick d4c0490942 localdisk: ignore link race
Change-Id: If85c3dcea5fdde7c9fb9e24b4074c34230c98ed5
2011-09-20 18:28:49 -07:00
Brad Fitzpatrick 88c89757e1 gofixes for latest Go changes
Change-Id: Ib7b3aea5adff0e1683bcb421cc3549c31d9fe174
2011-08-25 19:14:47 +04:00
Amit Levy d6825c9af8 Changed all references of sort.SortStrings to sort.Strings per commit 9012 of go
Change-Id: I2af1eeea05b65db10b17bc077a8af2dd5778910d
2011-07-08 17:54:03 -04:00
Brad Fitzpatrick 024e801ca7 gofmt the whole tree
Change-Id: Ic1b3dd12a4ede83b299dcf51f342e72d4f8700da
2011-07-02 09:09:50 -07:00
Brad Fitzpatrick 9b3280ce10 Update to new Go exec API 2011-06-02 16:47:40 -07:00
Brad Fitzpatrick 5725dbaf75 Fix localdisk queue error on dup uploads. 2011-05-31 18:58:58 -07:00
Brad Fitzpatrick 5b1657a2d4 Make blob storage constructors take a blobserver.Loader 2011-05-21 13:40:17 -07:00
Brad Fitzpatrick 0e9921e6f3 Update to get dev-server working again after jsonsign & Go changes. 2011-05-21 08:51:49 -07:00
Brad Fitzpatrick c5e93ceecd Rename CorruptBlobError -> ErrCorruptBlob, per Go convention 2011-05-12 19:19:49 -07:00
Brad Fitzpatrick 76dd41e18a localdisk: use defer to reliably close the channel. missed a case on enumerate timeout before. 2011-05-11 06:55:14 -07:00
Brad Fitzpatrick 7e3c711395 localdisk: Create queue should create directory too 2011-05-11 06:30:11 -07:00
Brad Fitzpatrick 9a6b0799d2 use filepath.Join, not fmt.Sprintf 2011-05-11 06:20:35 -07:00
Brad Fitzpatrick 257e550740 use blobref.SizedBlobRef as a value, not a mutable *blobref.SizedBlobRef on heap 2011-05-10 16:13:37 -07:00
Brad Fitzpatrick 651fac6a3d put directional constraints on all the channel types 2011-05-10 11:21:28 -07:00
Brad Fitzpatrick 0d3f7305cb Remove --showimages demo flag; make it an env variable. 2011-05-09 11:16:48 -07:00
Brad Fitzpatrick 1b7aceac3f Automatic blobserver queue creation from sync Handler. 2011-05-09 11:08:14 -07:00
Brad Fitzpatrick bed26de507 Cleanup: remove partitions from interfaces. WIP but compiles.
Still need to fix up blobhub notification for localdisk
mirroring, since now localdisk can't find the notification
hub for mirrored partitions.  (and also can't be configured
yet)
2011-05-09 09:11:18 -07:00
Brad Fitzpatrick 3db60c316c camlistored: configuration + cleanup work
working on gutting partition stuff from everywhere,
and gutting the command-line mode that statically
mounted various dev handlers based on flags.

more stuff moves into the config file now
and jsonconfig is used in more places.
2011-04-15 22:25:45 -07:00
Brad Fitzpatrick df73e53494 Amazon fetch support; misc refactorings
Blobservers only need a streaming fetcher now.
2011-04-08 23:20:24 -07:00
Brad Fitzpatrick c56f82c5dd Updates for Go Open changes. 2011-04-07 10:58:29 -07:00
Brad Fitzpatrick 59901467fd Server config file support. 2011-04-03 08:07:40 -07:00
Brad Fitzpatrick 63668853d9 Make s3 storage use registry; start trimming blobserver 2011-04-01 20:45:40 -07:00
Brad Fitzpatrick 00f9ede8a6 Start of blobserver handler registry for config file work. 2011-04-01 18:20:28 -07:00
Brad Fitzpatrick 84c891a8e5 Start of s3 blobserver support + prep cleanup 2011-03-27 22:06:29 -07:00
Brad Fitzpatrick 28975e8fc3 Change EnumerateBlobs interface to close channel, not send nil. 2011-03-25 09:52:51 -07:00
Brad Fitzpatrick 184afbc2a3 Auto-generate Go Makefiles.
Dependencies are now only in one place (in source code, enforced for correctness by Go)
instead of three places.
2011-03-19 00:27:03 -07:00
Brad Fitzpatrick 2e904bd0b0 Move lib/go/ stuff around into a camli/ or camli/misc/ directory. 2011-03-18 21:24:10 -07:00