Commit Graph

5 Commits

Author SHA1 Message Date
Brad Fitzpatrick 0983831e68 mysqlindexer: implement batch mutation
Change-Id: I7ff3c17cf082245cd11b29635079e73d9a565577
2012-03-25 16:41:31 -07:00
Brad Fitzpatrick 401f07f6cf mysqlindexer: implement Get, Set, Delete
Change-Id: I5670bfc9ac91044be663f248c034ae20c11562bb
2012-03-25 00:30:22 -07:00
Brad Fitzpatrick c8e19a90d0 mysqlindexer: connect; ping
Change-Id: Ic9a8422dc10c8514a4f10a14a878c5729068d56f
2012-03-24 23:53:35 -07:00
Brad Fitzpatrick ef7e3c2e90 make pkg/mysqlindexer and camdbinit compile again, even if not working yet
Change-Id: I3fbdfda6c456c079a3ac58ea988e43301e957f11
2012-03-24 19:45:23 -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