Commit Graph

1421 Commits

Author SHA1 Message Date
Brad Fitzpatrick 00be809cde add WIP notes on modeling a blog
Change-Id: I4d659c6eeb23d4fd4009576e7233e8b5aa724947
2012-02-28 19:43:33 -08:00
Brad Fitzpatrick 768af3d368 move clients/go/camgsinit to clients/camgsinit
Change-Id: I662b3b1ff4cf36a03f736533d3405737820f511f
2012-02-28 19:42:38 -08:00
Brad Fitzpatrick 350491ef7a fix import
Change-Id: I1943db2ab1913345ef05b3987d96e63a5600d39d
2012-02-28 19:42:04 -08:00
Brad Fitzpatrick 1a40867811 add target to generate zembed files 2012-02-28 14:51:42 +11:00
Brad Fitzpatrick f4dd857477 checking in auto-generated zembed_*.go files 2012-02-28 14:51:21 +11:00
Brad Fitzpatrick 552b768eeb add genfileembed tool, to embed html/css/js/etc into zembed_*.go files 2012-02-28 14:50:17 +11:00
Brad Fitzpatrick 61c9d1998e update header's date 2012-02-28 12:45:58 +11:00
Brad Fitzpatrick 64bbffc3b5 move fileembed from misc 2012-02-28 12:45:46 +11:00
mpl f9d0ad487e index packages reorganization
Change-Id: Ie91c4bb5ea02a49e59ad093ac972d84b17a046d4
2012-02-26 13:50:14 +01:00
ranveer d1e1f2bcb1 Add path/filepath
Fixes broken build.

Change-Id: Ia691b76b9a4d3c92f310223166f53d65f1286ec1
2012-02-22 10:52:21 -02:00
Brad Fitzpatrick af57ae8ae1 don't fail if mongo isn't available
Change-Id: I60754c1f0ec6a942c77ae9618c9a9ee12071ddb4
2012-02-22 01:23:23 -08:00
Brad Fitzpatrick fde0650a90 rewrite launchpad.net imports to be under camlistore.org/third_party
Change-Id: If683b9bb000b8c9aabce2d4bf0e37ae808e25c92
2012-02-22 01:18:46 -08:00
mpl 5a2c060409 mongo tests now actually fail when no mongodb running
Change-Id: I470c2184c620fa0bba02001ea6877a95cf53d9d6
2012-02-21 15:25:29 +01:00
mpl d40c9dce1d update memindex: use default for db r/w options,
update secring path in test,
-> all tests in index now pass

Change-Id: I8fdd99aad1d0d009cf99c773801a9ae875b56137
2012-02-21 11:51:54 +01:00
Brad Fitzpatrick c825acde06 move camdebug to cmd; it compiles as Go 1 already.
Change-Id: Ic9aa1112a504da96738b7ec3fc224df54b92cdc8
2012-02-21 02:14:34 -08:00
Brad Fitzpatrick 1cbadb5d6f Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-02-21 02:11:44 -08:00
Brad Fitzpatrick 525060ce06 update camweb to Go 1
Change-Id: Id4a5ecec68587b0c35b30bb710f681c19315ee11
2012-02-21 02:11:28 -08:00
Brad Fitzpatrick a971132127 Merge "time details" 2012-02-21 10:02:19 +00:00
mpl a7c4d1f03a time details
Change-Id: Ic4041956e1d7d3b50fea00ab970a68f3c4c2e80d
2012-02-21 11:01:27 +01:00
Brad Fitzpatrick b035b8f164 remove dummy testlib packages, used just during go get demo.
Change-Id: I5e0afbc7d3cb07ee65f43b46961d81f3abcefd7b
2012-02-21 01:58:12 -08:00
Brad Fitzpatrick a2a5374c0f remove build directory
Change-Id: I4ea4162461811c55c07c982232d64748e0946f46
2012-02-21 01:57:25 -08:00
Brad Fitzpatrick 38a62f2e7d import snappy-go and leveldb-go
Change-Id: I591cb8f818af0f9d8fc493075eeaba1ddc435ef6
2012-02-21 01:55:20 -08:00
Brad Fitzpatrick 77ac4173ae fix rewrite-imports.sh destination path
Change-Id: If6bab560e80593d4f032fa9b19e10b43b365d551
2012-02-21 01:55:03 -08:00
Brad Fitzpatrick 74eec6d6b4 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-02-21 01:48:58 -08:00
Brad Fitzpatrick ed4fb4ba3c add a dummy gopath directory, if the user's GOPATH isn't setup.
Change-Id: I06bb778b271d6a3cdc28d2060d1a2e9c91c2f414
2012-02-21 01:48:39 -08: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