Commit Graph

6 Commits

Author SHA1 Message Date
Brad Fitzpatrick ef8e746cb5 merge
Change-Id: I06ab89274e35bad61944e208e366cd7436381e63
2012-10-21 13:59:13 -07:00
Brad Fitzpatrick e9b5bca10e camput: start of making it more testable
Change-Id: Ie65afeaa14ea483231674433cda5a90669ca0bc7
2012-10-21 13:58:06 -07:00
mpl 159c2a5216 camput: moved/added examples, added -help as a global flag to display usage
Change-Id: I3de13057c555d68752101043f671d7694a311021
2012-10-19 17:57:17 +02:00
Brad Fitzpatrick d05a336cb0 camput: move more blob-only stuff to blobs.go
Change-Id: I967e9dc975db18088b88c00b2672353a5a72f458
2012-04-15 14:21:00 -07:00
Brad Fitzpatrick 77fc9e8abb camput: only support '-' meaning stdin for the 'blob' subcommand, not 'file'
Change-Id: I9a8923792385e232dc42c7707c1b748f82a5ac37
2012-04-15 14:01:39 -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