Commit Graph

58 Commits

Author SHA1 Message Date
Brad Fitzpatrick 612a421df3 Add xsrftoken to third_party
Change-Id: Ic2b8baf625d6afc70fb7eb42e9434b483024c936
2013-06-11 16:04:03 +02:00
mpl 61f0d3c691 third_party: update mymysql to d9480a7740
Fixes broken build on gotip, since
https://code.google.com/p/go/source/detail?r=ea7a6c956f6a86b68d07d31b9fb923843d661aaa

Change-Id: I93d2e7eb8ec3a1502a3fb588dbcb48b43cc48daf
2013-03-19 18:56:37 +01:00
Brad Fitzpatrick ae113632d9 Update mattn go-sqlite3 to 919cf4144a09abfd877330bbe735f3a243a84537
Change-Id: I5bbb32331fe7cb33acde1d7b78f603e25256fe2b
2013-02-17 22:09:44 -08:00
Brad Fitzpatrick 2752bfa80c fuse: minimal handling of opInterrupt
Change-Id: Idd00f531fdc63d894a41103f2c25e418c397bad5
2013-02-10 19:20:58 -08:00
mpl 932c13acb7 exif: use DateTimeOriginal if present. Added test for it.
Change-Id: Idfd75b15d7302b5c3a6fbe3464917b16bce56558
2013-01-31 22:06:45 +01:00
mpl 3d128a5191 goexif: sync with upsteam
Change-Id: Idbb4a38760132b3a782d9cf3898875472411d2f0
2013-01-24 15:25:59 +01:00
Brad Fitzpatrick 81af37988e Exclude mattn/go-sqlite3 unless sqlite3 mode is wanted
Change-Id: Ib552a68cbb558457c7290b1c008403e72fbc8a36
2013-01-20 11:59:09 -08:00
mpl 77d044f4b7 schema: add FileTime to guess the file
creation time from potential file metadata.
camput: add the -exiftime option that allows
the use of the above for -filenodes and -vivify.

Fixes: http://code.google.com/p/camlistore/issues/detail?id=77

Change-Id: I05d1af3d875bb984e47e06775fd149e5ed0ed7b1
2013-01-10 17:43:05 +01:00
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