Commit Graph

25 Commits

Author SHA1 Message Date
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
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 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
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
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 63418fe0fc webserver: use runsit's listen package, for running under runsit 2012-08-04 11:24:51 +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 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 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