Commit Graph

50 Commits

Author SHA1 Message Date
mpl dbc6bc6b0d goexif fixes
Change-Id: Ia7a2cca52db464d3e25aa2b8b36e86a9dc5c9d1c
2012-12-06 18:24:55 +01:00
Brad Fitzpatrick 43e240f0f6 Fix mymysql for Go 1.1; see https://code.google.com/p/go/issues/detail?id=4476
Change-Id: I6b5d66b68715f7d71ce665dbf90dfc0d4eefab5a
2012-11-30 22:09:51 -08:00
mpl 174e4da790 goexif: synced with upstream
Change-Id: I6198e6c7501d3c3c15671389c0065ee613d1486e
2012-11-23 11:10:43 +01:00
mpl fa1269da45 import github.com/camlistore/goexif as a third party
Change-Id: I34842677f4d9335df2478692e0b0d169d00d0942
2012-11-19 23:04:04 +01:00
mpl 295cbade1b Add postgres support
Also added the -short option for make presubmit
because postgres test is too slow.

Change-Id: I6be21c4d4cd67671eb44ab65333fc32c1e261bbd
2012-11-03 19:59:22 +01:00
Brad Fitzpatrick 22495f8bfd schema: adjust rollsum splitting algorithm, make it the default
We might tweak the parameters yet, and I want to add a bunch more
tests, but this is a major relief for me.  I've been reluctant to
put too much data into my personal Camlistore instance until I
figured out how I wanted the file chunks to split.

This also simplifies (deletes) a fair bit of code.

Change-Id: I35c38cc5d39a8a43e3f62445434f8d7fd5de5d17
2012-10-29 02:03:05 +01:00
mpl c2b746a086 pre-commit hook: warn about broken third party imports
Change-Id: Ib1315af2833a757093b36127b62d64abbd055963
2012-10-24 13:09:06 +02:00
Brad Fitzpatrick 9ee913f875 third_party: fix imports
Change-Id: I4cd0167dcfbfe2bda3eedc80b7bd534a30216908
2012-10-19 13:33:44 -07:00
Brad Fitzpatrick 04d600f974 Update third_party runsit from tip.
Change-Id: Ic376f582abd741307caa68834ff8cba0f75a56cb
2012-10-19 13:24:06 -07:00
Brad Fitzpatrick 9ae9707971 Update ziutek/mymysql to ccdd9e594f2
Change-Id: I1ab983f31cd10752104c24f1a613b38818a43396
2012-10-19 13:06:12 -07:00
Brad Fitzpatrick 8c6f36b5d3 Remove unused third_party dep
Change-Id: I5c0ae35f743ca95c44b19135da5c6dd1bbd72a02
2012-10-19 13:03:07 -07:00
Brad Fitzpatrick 63418fe0fc webserver: use runsit's listen package, for running under runsit 2012-08-04 11:24:51 +10:00
Brad Fitzpatrick 51e88cac65 Support for "planned permanodes" in pkg/jsonsign, pkg/schema and cmd/camput.
A planned permanode involves setting the contents of the permanode
(instead of a random string) as well as the OpenPGP signing time so
the resultant bytes of the blob (and thus its blobref) is deterministic.

This allows multiple independent devices (my laptops) to create the
same permanodes for the same files (photos backed up from my phone)
when offline (airplane) and then when they sync later, still only have
one permanode per unique file.  This means that tagging and other
metadata applied to permanodes on one laptop merge cleanly with
metadata from the other.
2012-07-28 16:32:31 -07:00
mpl 8a642172ce update mongo
Change-Id: I1fb9c657c799560f030b35203c952745919d02ef
2012-07-02 10:50:09 +02:00
Brad Fitzpatrick 2fa7812557 remove more debug 2012-05-08 14:54:15 +10:00
Brad Fitzpatrick 793237b2e8 fuse: remove debugging 2012-05-08 14:52:09 +10:00
Brad Fitzpatrick c3ae8077b2 add github.com/mattn/go-sqlite3 to third_party
Change-Id: If2465ccb3128f2a03b0432197a00a447a40723b4
2012-04-08 11:11:51 -07:00
Brad Fitzpatrick cc75c449cf remove/move remnants of pkg/third_party
Change-Id: Id86dc22bf3a870fee41bbc139872f549df278073
2012-03-25 00:24:13 -07:00
Brad Fitzpatrick 26e8171f40 move third_party README
Change-Id: Ia8ac7c601ca75d3fd51be3ac8bb462bd96b58c89
2012-03-25 00:20:00 -07:00
Brad Fitzpatrick 1a8875c87a remove third_party ziukek/mymysql/examples; don't build with go cmd
Change-Id: If1d2bb7af095b818869a40f57a8b8c8cd3747d0d
2012-03-25 00:01:28 -07:00
Brad Fitzpatrick c80b84c214 update gomemcache in third_party
Change-Id: Ib7e39ebeed1a80351b90b6d9ee583952d0a255e6
2012-03-25 00:00:43 -07:00
Brad Fitzpatrick 590c168ecf Update rewrite-imports.sh for github files; update ziutek/mymysql
Change-Id: I32dbcd1c0f6ada53f0da696c228805e68b6e8f39
2012-03-22 18:33:24 -07:00
Brad Fitzpatrick 1986823784 add github.com/ziutek/mymysql to third_party
Change-Id: I43b02120a23892fa08f9d011e10998d1930e01bf
2012-03-22 18:32:25 -07:00
Brad Fitzpatrick ad5df4d614 fuse: remove 1 second pause during testing.
Change-Id: I6a708907ae5881b5225c0ef944b7cda7aed0cfba
2012-03-18 18:29:41 -07:00
Brad Fitzpatrick 9b9b837148 fuse: add fsync support
Change-Id: Ia7351e70437df32b16648793dfc47d11ad8fdbea
2012-03-18 18:25:09 -07:00
Brad Fitzpatrick 1ea7c0c8c9 fuse: use os.FileMode everywhere instead of uint32
Change-Id: I227990c86172c7b28ad2823badaaa3a1ce852f9a
2012-03-18 17:38:51 -07:00
Brad Fitzpatrick b2d09ed669 fuse: mknod support
Change-Id: If52bba5b9d67ac68378c26068edf437b17986788
2012-03-18 17:30:45 -07:00
Brad Fitzpatrick 7423bd6d44 fuse: add Link support
Change-Id: I263fe6ec57fdf1bbbca4e1896d2485aa0f40fd56
2012-03-18 14:53:56 -07:00
Brad Fitzpatrick 3a36a0fff9 fuse: implement Rename
this is different from how Russ documented it, so we might change it yet.

Change-Id: I992b95c5087201b5c99f8ced5e5764834bd3f664
2012-03-18 13:20:43 -07:00
Brad Fitzpatrick 22495fb473 fuse: handle RemoveRequest in serve.
Change-Id: I9d4f89340b62a60f903e64b9be04a9da4b4f4de3
2012-03-18 11:43:59 -07:00
Brad Fitzpatrick 3b690b659d fuse: readlink support
Change-Id: I81e325057bf8e6cc38a0a499ab9a8ad91ad92bcb
2012-03-18 10:16:25 -07:00
Brad Fitzpatrick 3702e2b9b5 fuse: add symlink support.
Change-Id: I42f04e1962e37c6117431046762080e3fefef650
2012-03-18 09:46:31 -07:00
Brad Fitzpatrick 9acdff1cce fuse: fix BUG. Linux works. Only FreeBSD remains.
Change-Id: Ie76906188ec797a386a77c0d32318bb14299d66c
2012-03-17 16:34:47 -07:00
Brad Fitzpatrick d1aef52044 fuse: all tests pass on Linux and OS X now.
when truncating nodes without the Handle valid bit set, seek out
all open handles for that Node.

requires maintaining mapping info between nodes and handles.

Change-Id: I27955a60dda2ca354d66e87e34b31f3894615c41
2012-03-17 16:07:42 -07:00
Brad Fitzpatrick aa65743b58 fuse: remove dead code, implemented already elsewhere.
Change-Id: I177ac8338aba45a798abfd08964f8184b19224d5
2012-03-17 16:03:22 -07:00
Brad Fitzpatrick f70c2e12c0 fuse: import time on darwin
Change-Id: Ifd43921e6f26eb3e5959732a224afb05fff8517f
2012-03-14 11:30:39 -07:00
Brad Fitzpatrick 32dab2e9ea fix write test
Change-Id: I9a9c1947024518e551a8eba3b7b0d6c08deb3516
2012-03-14 10:58:05 -07:00
Brad Fitzpatrick 93ec5aa9a8 fuse: add fuse_kernel_linux.go, forgotten earlier.
Change-Id: If3e5333ee670b6a6fce2689649c68053974abe84
2012-03-14 10:50:28 -07:00
Brad Fitzpatrick 7f722b4cd9 fuse: flag to run specific tests.
Change-Id: I53f156619ef6381f70f0af741b63b85281c71239
2012-03-14 10:49:52 -07:00
Brad Fitzpatrick d20e0504f0 fuse: get further on linux, still fails in Write.
Change-Id: I83c9651808898e7b28823a15f7c29d1f07852c52
2012-03-14 09:13:47 -07:00
Brad Fitzpatrick f6791051cc fuse: start of per-OS struct separation
Change-Id: I6b247122d9cfc43acd3c0a4ee0a07f582745955b
2012-03-13 10:30:32 -07:00
Brad Fitzpatrick d5d24f19d6 Update from rsc fuse tree.
Change-Id: Id49849c024f63afaf1d16dc1d389f3c4dabd5c78
2012-03-12 13:38:06 -07:00
Brad Fitzpatrick 935cde8b82 fuse mount code for linux (now mounts, but doesn't work)
Change-Id: Ief67800306434a9892fa2820d363e898c95157ae
2012-03-09 09:56:42 -08:00
Brad Fitzpatrick c77f1d6aa5 add mount_linux.go stub file, so at least things will compile on Linux
Change-Id: I0c6ab098ed7c2657c69fd8a0b6f3fe5336a63e0b
2012-03-06 08:48:30 -08:00
Brad Fitzpatrick 0df1fe0434 third_party: add rsc fuse library
Change-Id: I1b0514c9ae4df149340713a55bc4c961e4ef3edb
2012-03-06 08:45:50 -08:00
Brad Fitzpatrick fde0650a90 rewrite launchpad.net imports to be under camlistore.org/third_party
Change-Id: If683b9bb000b8c9aabce2d4bf0e37ae808e25c92
2012-02-22 01:18:46 -08:00
Brad Fitzpatrick 38a62f2e7d import snappy-go and leveldb-go
Change-Id: I591cb8f818af0f9d8fc493075eeaba1ddc435ef6
2012-02-21 01:55:20 -08:00
Brad Fitzpatrick 77ac4173ae fix rewrite-imports.sh destination path
Change-Id: If6bab560e80593d4f032fa9b19e10b43b365d551
2012-02-21 01:55:03 -08:00
mpl 50df48d519 first pass with mgo as indexer
fixed indexer so that it builds as a package
added mgo as a third party
fixed mgoindexer
fixed (hackishly) tests so that they pass
I ignored everything memindex for now

Change-Id: I3c03ecfa859cf92b088a759239278b1c0edaf8aa
2012-02-20 14:40:24 +01:00
Brad Fitzpatrick 0714a463c9 Update from r60 to [almost] Go 1.
A lot is still broken, but most stuff at least compiles now.

The directory tree has been rearranged now too.  Go libraries are now
under "pkg".  Fully qualified, they are e.g. "camlistore.org/pkg/jsonsign".

The go tool cannot yet fetch from arbitrary domains, but discussion is
happening now on which mechanism to use to allow that.

For now, put the camlistore root under $GOPATH/src.  Typically $GOPATH
is $HOME, so Camlistore should be at $HOME/src/camlistore.org.

Then you can:

$ go build ./server/camlistored

... etc

The build.pl script is currently disabled.  It'll be resurrected at
some point, but with a very different role (helping create a fake
GOPATH and running the go build command, if things are installed at
the wrong place, and/or running fileembed generators).

Many things are certainly broken.

Many things are disabled.  (MySQL, all indexing, etc).

Many things need to be moved into
camlistore.org/third_party/{code.google.com,github.com} and updated
from their r60 to Go 1 versions, where applicable.

The GoMySQL stuff should be updated to use database/sql and the ziutek
library implementing database/sql/driver.

Help wanted.

Change-Id: If71217dc5c8f0e70dbe46e9504ca5131c6eeacde
2012-02-18 21:53:06 -08:00