Commit Graph

87 Commits

Author SHA1 Message Date
mpl 5ce37244f5 zappy: make it pure Go so it builds on windows
Change-Id: I46c3c74db668b988c295ec3342d1b876f2b63e79
2013-09-20 19:21:55 +02:00
Brad Fitzpatrick 00115d2bcc Merge "support thumbnailing or CR2 files" 2013-09-10 18:24:16 +00:00
Brad Fitzpatrick 08fea5ab9b Update cznic/exp/lldb to 9825efece0 (Fixes Camlistore Issue 216) 2013-09-09 15:42:12 -07:00
Andrew Gerrand 7b60af2ac4 support thumbnailing or CR2 files
Change-Id: I76f102a8cd4283f6fcb54985c52a16ddb8f6a44f
2013-09-09 23:49:07 +10:00
Brad Fitzpatrick 3030e55db3 Merge "Basic code to index id3 (and other audio) tags." 2013-09-02 19:26:34 +00:00
Hunter Freyer 6940b3991f Basic code to index id3 (and other audio) tags.
Does a few things:

1) Adds gotaglib to third_party. If you'd like to review that, feel
free, though there's a bit of organization I'd like to do first.

2) Adds an "audioTag" key type.

3) Indexes wholerefs by various audio tags. Doesn't yet add a map from
wholeref to tags, but I can add that next.

Change-Id: I8e2a5bc27260086bad3351ac57973d1ac23cff44
2013-09-02 14:39:51 -04:00
mpl 2c54e30441 kv and deps: update to fix read problem on windows
github.com/cznic/kv rev: c966980e3e8456175d4407fcbb0287057d9d0862

http://camlistore.org/issue/214

Change-Id: I15d658710059c823b775db6cc6fa14c1a32b98fb
2013-08-29 20:25:42 +02:00
Brad Fitzpatrick 3c3009a270 lock: fix Windows build
Change-Id: I1bf2552ca138e57217f81bf452ffdb8071596e99
2013-08-28 12:22:01 -07:00
Brad Fitzpatrick 8b98a03709 Delete fcntl lock file on Unlock; merge common code.
(upstream: 1f0f047)

Change-Id: I731a3c4af2d9fed7795ec52c42fb6ada00a04c60
2013-08-26 21:03:00 -05:00
Brad Fitzpatrick ec5e56a578 Handle stale locks. (0b2efbb556 from github.com/camlistore/lock)
Change-Id: I31879f4f98c8a8dcc55734d35842009c2158a8e6
2013-08-26 09:06:55 -05:00
Brad Fitzpatrick c55bf01f84 Move osutil.Lock to its own package
Now in a small repo at github.com/camlistore/lock and brought into our third_party.

Change-Id: I966ca6126dde8b7c2e03f0d9fab1e36abd66c2ef
2013-08-25 19:53:01 -05:00
Brad Fitzpatrick 496b3d091f kv: import c721b822b5
Change-Id: Iff228f076abd5deacab1f8771edc9d87221a4dcc
2013-08-25 14:11:10 -05:00
Brad Fitzpatrick e9d5346eb2 Update github.com/cznic/kv to github.com/camlistore/kv fork at c7613936816
(Let lock function be pluggable.)

Change-Id: I3bd33527ab52a020d152262aeb19c8c87ac45409
2013-08-25 12:30:09 -05:00
Brad Fitzpatrick db18ff8a60 Fix Windows build.
Change-Id: I7c42165ac632a63e18d1cf6eea844b0025a4060d
2013-08-23 18:05:33 -05:00
Bill Thiede 80dfa10a62 github.com/cznic/fileutil: fix FreeBSD build.
Fixes build broken in
https://camlistore.org/gw/01ce3859291e9e012b497af13a4c2dd82d2d1d4f

Change-Id: Ieede30ab41c6896f0b9964895ca7237fa6c34b5a
2013-08-23 09:47:08 -07:00
Brad Fitzpatrick 01ce385929 Import github.com/cznic/kv to third_party at commit 65538fcfac3fcb64c15964827dfb7eb8634b3997
Change-Id: I89c53724978695cfe5457ee20aca482d8830fa00
2013-08-22 15:38:24 -05:00
mpl 071525e06c google drive: fix import example to shut rewrite-imports.sh up
Change-Id: Id699b35e9beb99f2ba84a1e427a04c892a5e7b73
2013-08-19 17:33:59 +02:00
Burcu Dogan 6e6e910af1 Adding Google Drive as a storage backend experimentally. No cheap-enough way
of enumerating Drive files, needs to be fixed once Drive supports
range queries. Allows you to sync to /sto-googledrive/, but not from.

Change-Id: I6ac5ef02c5f51a6abdab5c207a3a5693c6bb8581
2013-08-17 15:30:02 +02:00
Brad Fitzpatrick 02a95a503d goexif: fix crash observed in the wild.
Reported by ajft@ajft.org

Change-Id: I4d4ddc998bb07f75d484341b8e423151d6c1aaa0
2013-08-05 07:51:53 -07:00
Brad Fitzpatrick 40b70311d2 fuse: maybe handle opFsyncdir.
Change-Id: I899a2bd07aa60be38e10f062f3607fa9c07ac3c9
2013-07-20 22:40:19 -07:00
mpl 6c4dc821fa update closure library: automatically generate the list of required files
Also updated parseProvidesRequires to use a bufio.Scanner

http://camlistore.org/issue/149

Change-Id: I13df7f03e3482b77e71687adc2b71b8dd9eeb0db
2013-07-19 19:22:41 +02:00
Andrew Gerrand 16047a787f fuse: add Truncate method to Handle
Change-Id: I8aff0473356d1e0a95489ba9d3d0c4a0435b16eb
2013-07-11 16:51:14 +10:00
Brad Fitzpatrick dde968e763 Mark FUSE & pkg/fs files as Linux & Mac only, to fix FreeBSD build.
Also start of cross-compiling support in make.go.

Change-Id: Ic11ca2d433f135b07b3f6d7738eec9fe98590905
2013-07-05 10:41:07 -07:00
Josh Huckabee 65f3079498 Replace github.com/bmizerany/pq with github.com/lib/pq postgres driver.
Change-Id: If62fd5b489696171c8be6b42a988e1c7d0a634d0
2013-06-25 16:13:22 -07:00
Josh Huckabee 4c3b49b2cf Add github.com/lib/pq third party dependency.
Change-Id: I0c2240c1615b463adb57b618ca39a626e858dcc7
2013-06-25 14:58:04 -07:00
mpl b0118f15b1 closure: adding resources picked by updatelibrary
source: git rev 1389e13 on https://code.google.com/p/closure-library/

Change-Id: I7d5975c2801f24cbd368a8f048e9b073dee6d20d
2013-06-18 16:21:28 +02:00
mpl 0fc12f5eb3 Merge "updatelibrary: new command that will replace misc/get_closure.pl" 2013-06-18 12:45:31 +00:00
mpl 9fe8a4af10 updatelibrary: new command that will replace misc/get_closure.pl
This command allows to selectively download from the closure library
repository the resources (.js, .css files) that are required by
the ui.

Change-Id: Ie506fe5bf0e74215d91ffbfc30ae72321b91c6c9
2013-06-18 15:03:22 +02:00
Brad Fitzpatrick a82d394066 On Linux, don't assume fusermount is in /bin. Use PATH.
Change-Id: If6c59a3776dcc679e9fabaa989e35c8be38baa00
2013-06-17 07:43:44 -07:00
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