Commit Graph

15 Commits

Author SHA1 Message Date
Brad Fitzpatrick 0bdf20884b all: delete pkg/blobref; convert all from *blobref.BlobRef to new blob.Ref
Change-Id: Id2dfb7f19452bedf4f3c9310b36227fd8117b225
2013-08-03 19:54:30 -07:00
Brad Fitzpatrick ca58d8e2e0 Remove noisy var _ = log.Printf lines.
Change-Id: Ia58b8ef5f271f542ae4fe61c7fb1497322770322
2013-06-14 12:55:55 -07:00
Brad Fitzpatrick bdfc5b0c6c client: remove debug logs
Change-Id: Iba67ff3daceb17766d17337d8b84e58ed3e96ab7
2013-02-02 22:27:54 -08:00
Brad Fitzpatrick 9e34a07b91 client: batch and split stat requests
Change-Id: I40e64cc2de58040bb67c6560a64ba108c421b18d
2013-02-02 21:51:08 -08:00
mpl 464a138a7d upload: ignore the haveCache(s) when uploading a file blob with -vivify
Change-Id: Ic365c803322f01bcf1045456d4cebe74e870a7d2
2013-01-30 16:06:03 +01:00
Brad Fitzpatrick 827feaa3ac camget, client, schema: start of camget --shared support. see flag docs.
Change-Id: I5dd43129cb0032821a5913a8f20da0ddb38c63da
2013-01-02 12:55:12 -08:00
Brad Fitzpatrick 6b466d0faa camput, client: push havecache down deeper, make it track blob sizes.
also, clean up some camput HTTP stuff.

Change-Id: I2762e5a1b83139132b5f660d306ed45584a7799a
2013-01-01 20:23:44 -08:00
Brad Fitzpatrick 9bee164972 camput: enabling client caching by default
make havecache/statcache named on disk by remote server's generation,
hide debug options in camput unless CAMLI_DEBUG=1 is set,
push havecache down into pkg/client.

Change-Id: Ic152397abc11b4ff3931468ffe93cf1eba62b438
2012-12-31 13:45:13 -08:00
Brad Fitzpatrick cefe9b42ee client: cap the number of in-flight requests to 5, for now
keeps camput and the server from running out of file descriptors. will do something
smarter in a subsequent patch.

Change-Id: Icca5027388eb838d45b443b7f2c331ba0f2c6585
2012-12-28 09:24:26 -08:00
Brad Fitzpatrick 3d64c9fd7f client: add temporary CAMLI_DEBUG_UPLOADS env option
Change-Id: Ibd6543789e944f66d0f2feaa25c295ca14f3b530
2012-12-24 12:16:03 -08:00
Brad Fitzpatrick 642f5d5679 client: minor cleanup
Change-Id: Ic61b7db69b993ed88ceda946cdcb6bf26f251538
2012-12-24 11:04:39 -08:00
mpl 6cb7ecd644 camput: Preparation for vivify.
Refactor writeFileMapRolling so we can write the chunks,
then the top level contents, separately.

Change-Id: Ib56cd4b2aa295516fafbe7072ad5b352d1aaaa89
2012-12-23 01:15:29 +01:00
Brad Fitzpatrick db55ee77d9 camput: automatic blobroot path discovery 2012-11-07 22:23:45 -06:00
Brad Fitzpatrick 63d201cdc8 client: remove some log verbosity
Change-Id: I107ebd67e2540e0477ed46ddeacc0533da38586f
2012-04-21 08:29:43 -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