Commit Graph

1397 Commits

Author SHA1 Message Date
mpl a7c4d1f03a time details
Change-Id: Ic4041956e1d7d3b50fea00ab970a68f3c4c2e80d
2012-02-21 11:01:27 +01:00
mpl 28caffab1f remove empty blob dirs in queue. fixes issue 47.
Change-Id: If07576825123be910f040f0c5a0dc6988d55de08
2012-02-20 15:07:14 +01:00
mpl 50df48d519 first pass with mgo as indexer
fixed indexer so that it builds as a package
added mgo as a third party
fixed mgoindexer
fixed (hackishly) tests so that they pass
I ignored everything memindex for now

Change-Id: I3c03ecfa859cf92b088a759239278b1c0edaf8aa
2012-02-20 14:40:24 +01: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
Brad Fitzpatrick c9ef8a1df9 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-02-06 16:14:26 -08:00
Brad Fitzpatrick e09c50f44c test of experimenting with go1 support
Change-Id: I8520c48e42de068ea12895378479ac6bef57e0ec
2012-02-06 16:14:13 -08:00
mpl c53860538d fix histogram algo
Change-Id: Ib26321785f388d0863fedf542b9bb4d8a0deb548
2012-01-02 20:35:21 +01:00
Andrew Gerrand d60d29c560 implement recursive fetch 2012-01-02 16:07:58 +11:00
Andrew Gerrand 7f6964a0d6 actually do something with -o flag 2012-01-02 15:23:39 +11:00
Andrew Gerrand 25542a9c68 BlobSniffer.Body return []byte instead of string 2012-01-02 15:21:13 +11:00
mpl e15ae7b7bf mongo index tests, details
Change-Id: I8fee05b2c7bfc8521add54ccfb56581f80158951
2012-01-01 00:00:34 +01:00
mpl a7b2879e43 mongodb indexer + dependencies (mgo, bson, gocheck).
Change-Id: I6a54ff99777b6283829f3dfcafb0295b6022d5a7
2011-12-31 23:36:16 +01:00
Brad Fitzpatrick 80fe50a29c set mime types in download
Change-Id: I65ac8467f8377a5d703d7a86dfb0ab99281510db
2011-12-10 17:52:35 -08:00
Brad Fitzpatrick 4af82166a3 Missing part of a16b1f43ca, which broke search.
Change-Id: I6d726982b9ab5d6aaaef742cb5047f84e2f22c38
2011-12-10 17:28:00 -08:00
Brad Fitzpatrick be45ed886b require auth for ui, search, jsonsign, sync handlers
Change-Id: I2fec6688af87344c09fbe9099bded230efa745c7
2011-12-10 17:18:19 -08:00
Brad Fitzpatrick b16d440543 auth: add auth.Handler, remove some leftover debug logs
Change-Id: I424984acc33e9eaff36a6b5e1e9e490ed79d71b8
2011-12-10 16:56:35 -08:00
Brad Fitzpatrick 03a90299e8 doc: clarify json-sign spec: camliSigner must be in 'O'
Thanks to Brett for pointing this out.

Change-Id: Icfcecbb83985ae4292d755af2a4cc830f05973b2
2011-12-07 15:08:34 -08:00
Brad Fitzpatrick 398e1549c6 Add camput 'rawobj' subcommand for debugging.
Change-Id: I7f7e70a3c757889e6f8f4f264ea7f0e797c41e7a
2011-12-07 14:42:16 -08:00
Brad Fitzpatrick d50f2323fd gofmt
Change-Id: I0d7a2875854ea2a5bdf91cbace6c342f4b17525f
2011-12-07 14:41:19 -08:00
Brad Fitzpatrick a16b1f43ca jsonsign: make sure armored public key ends in a newline
Change-Id: Ia0e52c6e011db295c21eb8b1b6b6534873bf6310
2011-12-07 14:39:40 -08:00
Brad Fitzpatrick 38d138c2dc pass_through on dev-camget too
Change-Id: Id619c580ffdd5a099f48566cecb2256db48ee0c3
2011-12-06 08:45:28 -08:00
Brad Fitzpatrick a580fbdec3 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2011-12-06 08:44:05 -08:00
mpl b8dd9500f8 dev-camget: mimic dev-camput to use new auth, tls, jsonconfig.
Change-Id: I51b01f4dc09added912f54490542f82a6dea636b
2011-12-06 15:26:57 +01:00
Brad Fitzpatrick 799821f69d Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2011-12-05 21:02:52 -08:00
Brad Fitzpatrick 7da91a0f28 dev-camput: stop processing opts once we see unknown ones.
This was confusing Brett yesterday and just bit  me.

Change-Id: I6ea31688b4434a27caca25662a29ab812d15c3b9
2011-12-05 21:02:44 -08:00
Brad Fitzpatrick 079dd35213 Merge "tag (and non fuzzy) search on the home page" 2011-12-04 23:30:48 +00:00
mpl b630785f3b tag (and non fuzzy) search on the home page
Change-Id: I36f48bf59dcb444455e904445e28a1da3681dc36
2011-12-05 00:23:50 +01:00
Brett Slatkin b781b3b0b1 Merge "AE: Beginning to hook up syncer; needs refactoring for background tasks" 2011-12-04 23:20:34 +00:00
Brett Slatkin 3941dec356 AE: Beginning to hook up syncer; needs refactoring for background tasks
Change-Id: I809cfbc98f7ec58aca58db82dc6ce27b28b7fd65
2011-12-04 15:19:28 -08:00
Brad Fitzpatrick 6fe63c33be remove debug logs
Change-Id: I2f34d591b86145e4a4b028c6f878a1a5f7acb121
2011-12-04 15:12:53 -08:00
Brad Fitzpatrick d1cb36da9f Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2011-12-04 14:47:17 -08:00
Brad Fitzpatrick b648a17de9 index: implement some of SearchPermanodesWithAttr (untested, fighting)
Change-Id: I703f6432dba0781e4b125f2cd959fd7fa90efedb
2011-12-04 14:47:05 -08:00
Brett Slatkin 894c3c66ae Moves sync module into lib/go/server
Change-Id: Iccf8674712f4ecb70d9eb28e8316d151a88e842f
2011-12-04 14:35:26 -08:00
Brett Slatkin db13cfe6a1 AE script: Fixing perl opt escaping
Change-Id: Ibd1825ca2dc4661d07e9dbcc6deca93b9679b709
2011-12-04 14:16:19 -08:00
Brett Slatkin 1272ff17e9 AE: Fix typo in remove.go
Change-Id: I065066b2b8d9c4c728fce150348254730d1aecd5
2011-12-04 14:10:35 -08:00
Brett Slatkin 9bad75cb95 AE blobserver working locally with dev-camput
Change-Id: I3dde1bf7fe3cb15e49f2b0ec4a99f85a24497f32
2011-12-04 14:00:38 -08:00
Brett Slatkin 21afbab992 Merge "AE blobserver: Fixes config and auth module." 2011-12-04 21:29:31 +00:00
Brett Slatkin 0d32921bb8 AE blobserver: Fixes config and auth module.
Change-Id: I198a137050516db530acecdacca117c918cb0fa6
2011-12-04 13:29:15 -08:00
Brad Fitzpatrick 8be0a3876e Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2011-12-04 13:19:21 -08:00
Brad Fitzpatrick f643adf778 search: clarify SearchPermanodesWithAttr behavior
Change-Id: I10ae57ae3632e3f40e5d3d1f7b3a7f93006847d8
2011-12-04 13:19:16 -08:00
Brett Slatkin cba9c3638e Removes the old busted GAE/Java sigserver code
Change-Id: I6f339d3e9770dd38a51b359e6011d0ab94eafcf2
2011-12-04 13:13:59 -08:00
Brad Fitzpatrick 741a59352f index: GetFileInfo
Change-Id: I9da3dd3b88d6960abfcee4fdb7406bb7d000da94
2011-12-03 13:56:05 -08:00
Brad Fitzpatrick 6b2e866693 magic: use the http's sniffer as a fallback.
Change-Id: Ic87b1224fb9401eb5f96d165162d9d1d9e11be82
2011-12-03 13:37:07 -08:00
Brad Fitzpatrick c2124b6e13 index: implement ExistingFileSchemas
Change-Id: Ia4cb6ab4fd17d71b9c49d3be14b95b8ac184d66c
2011-12-03 11:26:42 -08:00
Brad Fitzpatrick c2adabf5a7 whoops, make it compile.
Change-Id: I4ce39324d578b5010a740c69013e9237553ed4e0
2011-12-03 08:20:36 -08:00
Brad Fitzpatrick 1498bd173b Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2011-12-03 08:14:21 -08:00
Brad Fitzpatrick c9d036f475 index: bigger comment on ExistingFileSchemas
Change-Id: Id9511ea0f516306038f74e9223e867230291fe1e
2011-12-03 08:14:17 -08:00
Brad Fitzpatrick df7d19a4b7 index: move the TODO items together.
Change-Id: Iaae06d94a77dfcbf3169002bcbdcb3690a2a93e4
2011-12-03 08:05:34 -08:00
mpl 0a120f5c34 client: move auth stuff to auth package
Change-Id: Ib0cd25d48fb2ba37fb49c5c91c503aee1ab5713f
2011-12-02 23:44:26 +01:00
Brad Fitzpatrick 9b3a652868 index: PathLookup and PathsLookup
Change-Id: Ia39a828e21b0293afacdf9eacdef0ab88577444c
2011-12-01 18:06:25 -08:00