Commit Graph

64 Commits

Author SHA1 Message Date
Brad Fitzpatrick 3cd7f75f89 schema: introduce type Map
Change-Id: I8209930d8505a4cb74b8ea29b5b57f2cd6bd14d2
2012-08-22 03:36:36 +10:00
Brad Fitzpatrick 8fec29c974 camput: make file permanodes consistent between runs (fix claim times)
Change-Id: Idd2bbda2372802772703eaeaf6fe2e74f9bcdd83
2012-08-21 20:43:38 +10:00
Brad Fitzpatrick b815a2b758 camput: add -filenodes option for per-file content-based planned permanodes
Change-Id: Ic03b990654d860e03b4cc710de92f7d40c392df8
2012-08-21 16:11:10 +10:00
Brad Fitzpatrick 2db390d58e Add schema.NewPlannedPermanode 2012-07-28 15:41:19 -07:00
Brad Fitzpatrick 6fec55a384 simplify legacy time code
Change-Id: I643b722adddaa3bfecab6044de2c5a373e5d7dd1
2012-05-13 13:27:11 -07:00
Brad Fitzpatrick add0f80721 fs: implement fuse owner/groups
Change-Id: I3cb8fea6aa7dc572e1a77bc2bf872b8c584d1cbf
2012-04-29 10:03:07 +10:00
Brad Fitzpatrick e67e7fef50 schema: add ModTime accessor, and fix unixPermission logic error
Change-Id: Id0637f1a4ab7e9efefe1de0decb28b7965ea50eb
2012-04-28 01:34:53 -07:00
Brad Fitzpatrick 26ebfa7e3a schema: fix/optimize uid/gid lookups
Change-Id: Icc6f9b4912e0ac640af2cba9b39fd803184ceab2
2012-04-19 17:59:25 -07:00
Brad Fitzpatrick 18e53cd72f rename MapToCamliJson to Go style initialism MapToCamliJSON
Change-Id: I674944c9fafa6b78c495d22c525b9ffd0b75dbf9
2012-04-15 07:45:10 -07:00
Brad Fitzpatrick 7961187a0f schema: use filepath.Base instead of by hand, fixes bug with trailing slash
Change-Id: I0216ce084d6a68bdb1c92d85304db030d22f05fb
2012-04-14 15:26:51 -07:00
Brad Fitzpatrick 83727904a5 schema: port some pre-Go 1 schema stuff
Change-Id: Ib5081f38ba2b8997d8c0f58dfbad8e0234f18f8c
2012-04-13 18:40:59 -07:00
Brad Fitzpatrick a229abeebd camget: fix build. update dev-camget.
Change-Id: I5289801de7b50caedeabd9cc2513d768aafd424b
2012-03-05 08:04:42 -08:00
Brad Fitzpatrick 3ab1618f0b schema: generate unique permanodes.
it was using second time granularity for both the random and the signing,
leading to dup permanode creation on fast machines.

Change-Id: Id7ea50f8ce8c4c3da6964e98bb3a09dc7992cec7
2012-03-03 12:37:54 -08: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