Commit Graph

135 Commits

Author SHA1 Message Date
Brad Fitzpatrick b94cf58ee7 Update go-fuse mount.go to work with Go weekly API changes. 2011-03-19 20:14:02 -07:00
Brad Fitzpatrick 772ed95a3a third_party: import https://github.com/hanwen/go-fuse/ at 79426f97e60
commit 79426f97e60ee827aa5745e0f17e8a293e51c0c4
Author: Han-Wen Nienhuys <hanwen@google.com>
Date:   Thu Mar 17 22:21:31 2011 -0300

    Stop serializing writes - the kernel is multithreaded too.
2011-03-19 20:07:05 -07:00
Brad Fitzpatrick d4ce983b1d Start of camli third_party lib directory & maintenance script. 2011-03-19 20:05:41 -07:00
Brad Fitzpatrick a88dd30073 Start of magic sniffing tests. 2011-03-19 01:11:15 -07:00
Brad Fitzpatrick 14530584cb camli/test/asserts: missing format param 2011-03-19 01:10:56 -07:00
Brad Fitzpatrick 3bc3aa1390 Move magic sniffing to its own library, out of MySQL stuff. 2011-03-19 00:48:33 -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 ae608c6a8c Automatic go dependency inference; phase 1.
Next phaes will auto-gen makefiles.
2011-03-18 22:33:43 -07:00
Brad Fitzpatrick 010da9d9a7 Move some libraries from server/go to lib/go.
These were just in server/ before the directory structure was figured out.
2011-03-18 21:30:29 -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
Brad Fitzpatrick 386ad357b7 camli/testing path cleanup.
Break lib/go/testing into lib/go/camli/test and lib/go/camli/test/asserts

Moves TestBlob stuff and package 'testing' flags out of everybody's
command flags.

Also moves towards making the project filesystem match the import
paths.
2011-03-18 21:17:26 -07:00
Brad Fitzpatrick ce0d30eb1a Remove hard-coding of my public key; use config file. 2011-03-15 23:16:24 -07:00
Brad Fitzpatrick ae15620ea2 jsonsign: more tests 2011-03-15 18:01:04 -07:00
Brad Fitzpatrick 33e2d32f99 jsonsign: fix bugs from move to upstream go openpgp; more tests 2011-03-15 17:37:52 -07:00
Brad Fitzpatrick b00566cc6f fix enumerate_test.go; put Recorder (httptest.Recorder) in upstream Go 2011-03-15 10:26:37 -07:00
Brad Fitzpatrick 4cc2669ae2 jsonsign: more work on tests 2011-03-15 09:55:10 -07:00
Brad Fitzpatrick 866d020df1 use OpenPGP library now upstream in Go; start of jsonsign tests. 2011-03-14 22:51:36 -07:00
Brad Fitzpatrick f533c80b52 camput --add-attr and --set-attr support 2011-03-13 22:21:58 -07:00
Brad Fitzpatrick f8fca14d89 Remove fake attributes from testing. 2011-03-13 21:34:15 -07:00
Brad Fitzpatrick a33fc8f959 Search: return real attrs/content/type, not faked. 2011-03-13 20:51:58 -07:00
Brad Fitzpatrick b86c8e409d Search work. Some stuff hard-coded for Dan's Android client work. 2011-03-13 19:27:59 -07:00
Brad Fitzpatrick b2669bbbc4 Make homescreen 'empty' search work. 2011-03-13 17:14:48 -07:00
Brad Fitzpatrick 8946a88bdc Start of wiring up search to mysql to http. 2011-03-13 16:38:32 -07:00
Brad Fitzpatrick 195987bb1b Add new camli/search package and start of interface. 2011-03-13 16:10:15 -07:00
Brad Fitzpatrick f919985072 mysqlindexer: permanodes table 2011-03-13 15:33:14 -07:00
Brad Fitzpatrick bd9f5f9331 schema: include claimDate in claims 2011-03-13 12:30:13 -07:00
Brad Fitzpatrick 6dbafbe0b4 mysqlindexer: claims table 2011-03-13 12:18:00 -07:00
Brad Fitzpatrick 61e5ffa5ee gofmt schema 2011-03-13 11:39:08 -07:00
Brad Fitzpatrick b7edc4b23b Add schema.Superset; use from mysqlindexer 2011-03-13 11:38:53 -07:00
Brad Fitzpatrick 8f4116492e more mime magic for fun 2011-03-12 21:24:28 -08:00
Brad Fitzpatrick ca92bc3903 localdisk: fix enumeration bug, walking into partitions. 2011-03-12 21:11:03 -08:00
Brad Fitzpatrick 12e3730294 increase the enumeration batch size 2011-03-12 20:44:01 -08:00
Brad Fitzpatrick a87ff50a5b mysqlindexer: sniff and write mime/camli type to blobs table 2011-03-12 20:43:18 -08:00
Brad Fitzpatrick bf8f379771 camput: create permanode and claims when uploading a directory 2011-03-12 19:28:18 -08:00
Brad Fitzpatrick f14c6dd55b localdisk: return ENOENT as documented by interface; add test. 2011-03-12 18:28:05 -08:00
Brad Fitzpatrick f70cc6d2e5 Updates to latest Go language + library changes. 2011-03-12 12:32:40 -08:00
Brad Fitzpatrick 3edbfd3f26 Updates for Go release 2011-03-07 2011-03-07 08:37:27 -08:00
Brad Fitzpatrick 77e4ebe48f Epic refactoring around partition handling; MySQL indexer starting to work
The MySQL indexer storage implementation now does Receive, Enumerate,
and Stat.

So I can now just camsync from a localdisk blobserver to a
mysqlindexer blobserver and push-index stuff.
2011-03-06 20:11:36 -08:00
Brad Fitzpatrick 0a7a3bda34 Start of some mysqlindexer receive work. 2011-03-06 09:28:02 -08:00
Brad Fitzpatrick bb6a850e99 Untested mysql indexer stat support. 2011-03-06 00:16:32 -08:00
Brett Slatkin 0371e8f66f gofmt 2011-03-05 16:23:47 -08:00
Brett Slatkin 8af57171f3 enumerate-blobs working for mysql indexer 2011-03-05 16:23:12 -08:00
Brett Slatkin dfe4b27fa2 gofmt 2011-03-05 15:32:08 -08:00
Brett Slatkin e36a7679b2 mysql client pool work for indexer; temporary glue in blobserver 2011-03-05 15:10:50 -08:00
Brad Fitzpatrick e3659d3a62 Start of mysqlindexer storage library. 2011-03-05 14:14:00 -08:00
Brett Slatkin 02a3466192 adds -remove to camput 2011-03-05 13:43:24 -08:00
Brett Slatkin 16c672506b implemented go client.RemoveBlobs; no idea if it works yet 2011-03-05 12:46:28 -08:00
Brad Fitzpatrick 4de2eb4ebd Start of Client.Remove for de-queue in camsync. 2011-03-05 11:34:12 -08:00
Brad Fitzpatrick cafaec5dc8 more sync work; start of loop and queue removal 2011-03-05 09:53:51 -08:00
Brad Fitzpatrick bc7340d7e7 sync: move to library, add tests, fix merge bug 2011-03-05 09:00:56 -08:00