Commit Graph

2977 Commits

Author SHA1 Message Date
mpl 69367a7e5a Merge "devcam: do not depend on GOPATH, rebuild camget and camput" 2013-09-10 19:25:58 +00:00
mpl 50c07cf7be devcam: do not depend on GOPATH, rebuild camget and camput
http://camlistore.org/issue/218

Change-Id: I4f48fac38cad095cd6d4c4d5aea4efeb35fff306
2013-09-10 21:15:12 +02:00
Brad Fitzpatrick cdaaa2f746 Merge "serverconfig: add test for mongo indexer, fix dev mongo config" 2013-09-10 18:25:32 +00:00
Brad Fitzpatrick 00115d2bcc Merge "support thumbnailing or CR2 files" 2013-09-10 18:24:16 +00:00
Brad Fitzpatrick 08fea5ab9b Update cznic/exp/lldb to 9825efece0 (Fixes Camlistore Issue 216) 2013-09-09 15:42:12 -07:00
mpl edd7f68799 serverconfig: add test for mongo indexer, fix dev mongo config
Change-Id: Ifb7f8cef208dc93a4cf350ff197bb2af2c0e0e81
2013-09-09 22:54:32 +02:00
mpl ad84a3565e camput: check stat cache value form
Addresses last comment from
http://camlistore.org/r/606

Change-Id: I5c0eb5492fdcfeb71becdeb25c6c09a1971ac09c
2013-09-09 19:08:07 +02:00
Andrew Gerrand 7b60af2ac4 support thumbnailing or CR2 files
Change-Id: I76f102a8cd4283f6fcb54985c52a16ddb8f6a44f
2013-09-09 23:49:07 +10:00
Brad Fitzpatrick 5c83627a1f camput: add debugging for camlistore.org/issue/221
Change-Id: If0ed73cb16409ac5c1f67ffc878038075cb7e432
2013-09-08 18:19:54 -07:00
Brad Fitzpatrick 4270ec4ce5 camput: remove unnecessary parens and allocation
Change-Id: I78b22458d4bd001313d6d49c6e401bc409b953fd
2013-09-08 18:17:51 -07:00
Brad Fitzpatrick c1edf39880 Add devcam to gitignore
Change-Id: If55797b29fc4f192501c335e3a663d939c23e4b0
2013-09-08 18:08:16 -07:00
Brad Fitzpatrick abd2393c06 share: fix shares with no expiration time.
with tests.

Change-Id: I5861104c223de8b4381a69e0ab16998979ca9106
2013-09-08 18:04:54 -07:00
Brad Fitzpatrick 2cf4d68267 Let shares have expiration times.
Change-Id: Iecae106302ba43c354b6987163830cf78a70d12c
2013-09-08 17:46:40 -07:00
Brad Fitzpatrick 13a21a61df replica: allow optional readBackends config option. Default is same as write backends.
Change-Id: I8aae98f76449c41d937469cf91d6788c348807ed
2013-09-08 16:35:56 -07:00
Aaron Boodman 97fab00c71 Fix bug parsing baseURL config
Change-Id: Ia8a5698ae5e0421672bd91f9a1c1497bcd36eb7c
2013-09-08 16:31:43 -07:00
Brad Fitzpatrick acc90f184c replica: use blob.Ref as map key. add TODO comments.
Change-Id: Ie697c32b296df02134ab3aeda6defa96e3ff1aaa
2013-09-08 16:06:59 -07:00
Brad Fitzpatrick a51edb5e77 localdisk: simplify directory locking.
Tries to fix https://code.google.com/p/camlistore/issues/detail?id=177

Change-Id: I2ea089437528d39ecdb8a3a3129e03ba11a76e67
2013-09-08 14:55:41 -07:00
Hunter Freyer 019cffac5c Reorganizes the "schema" page on the website, and promotes much of the
permanode documentation to the website in its own page.

One of the goals here is to create an exhaustive list of camliTypes
and permanode attributes, and make it clear what they're used for.

Change-Id: I68a95fe5f870a9b25551b1e9c2eec805920d8931
2013-09-08 17:01:09 -04:00
Brad Fitzpatrick 00d8ff5275 index: remove now-longer-necessary blob hash check
Change-Id: Ia2a79655832a840d37666b94a1f101042861c8ff
2013-09-08 12:38:20 -07:00
Brad Fitzpatrick b80c7ca907 replica: close uploader goroutines on receive read error
Change-Id: I0f6a3013192b4d883ce6810718bb604a9a5fa46b
2013-09-08 12:37:07 -07:00
Brad Fitzpatrick ff4e491b3b devcam: fix breakage caused from envvar strconv changes.
Change-Id: Id05d00d9b82924242905ccbc7a7e8002dc4859a7
2013-09-08 12:32:13 -07:00
Brad Fitzpatrick d2d65912d9 Merge "Document environment variables usage." 2013-09-08 15:25:56 +00:00
Aaron Boodman 8dd7dd42cf Fix crash in `camput file` when configuration discovery has failed.
Change-Id: I8a7ac26e5d550f25eddf149dadde5013a1d50fe7
2013-09-07 19:15:44 -07:00
Bill Thiede 630f6ca61f Document environment variables usage.
Running 'go run dev/envvardoc/envvardoc.go' now shows:
'All environment variables are documented'

I also took the liberty of cleaning-up our mishmash of logic for handling
boolean environment variables, and cleaned up a couple other spots that didn't
seem right.

This change adds docmentation for all variables starting with (CAM|DEV|AWS).
This leaves some variables still undocumented.  If there are variables worth
documenting in the following list, maybe we should rename them to have a
CAM{LI} prefix for consistency's sake:

APPDATA                  pkg/osutil/paths.go:86
APPDATA                  pkg/osutil/paths.go:102
DISPLAY                  pkg/misc/gpgagent/gpgagent.go:126
GOPATH                   pkg/fileembed/genfileembed/genfileembed.go:321
GOPATH                   pkg/osutil/paths.go:168
GOPATH                   pkg/test/world.go:54
GOPATH                   server/appengine/build_test.go:77
GPGKEY                   cmd/camput/init.go:77
GPG_AGENT_INFO           cmd/camput/init.go:153
GPG_AGENT_INFO           pkg/misc/gpgagent/gpgagent.go:50
HOME                     pkg/jsonsign/keys.go:79
HOME                     pkg/jsonsign/signhandler/sig.go:64
HOME                     pkg/osutil/paths.go:36
HOMEPATH                 pkg/osutil/paths.go:34
PKG_CONFIG_PATH          pkg/index/sqlite/dbschema.go:59
RUN_BROKEN_TESTS         pkg/fs/fs_test.go:67
SKIP_DEP_TESTS           pkg/test/testdep.go:29
TERM                     pkg/misc/gpgagent/gpgagent.go:133
TERM                     pkg/misc/pinentry/pinentry.go:99
TESTING_PORT_WRITE_FD    pkg/webserver/webserver.go:135
TEST_GPGAGENT_LIB        pkg/misc/gpgagent/gpgagent_test.go:27
USER                     pkg/netutil/ident.go:135
USER                     pkg/osutil/paths.go:45
USERNAME                 pkg/jsonconfig/eval.go:228
USERNAME                 pkg/osutil/paths.go:43
VERBOSE_FUSE             pkg/fs/fs_test.go:133
VERBOSE_FUSE_STDERR      pkg/fs/fs_test.go:137
XDG_CONFIG_HOME          pkg/osutil/paths.go:104

Change-Id: Ief28710d3deefd1e65247cb5d3b1d8dde73e1f2d
2013-09-06 21:54:03 -07:00
Brad Fitzpatrick 85473f6849 Merge "More work on OS X launcher." 2013-09-07 00:58:43 +00:00
Nick O'Neill cb40c185f6 More work on OS X launcher.
Change-Id: Id88e5f1c26b536b4a296f25b08bb4375ea014dc5
2013-09-06 17:55:51 -07:00
Brad Fitzpatrick 7a34e5a52a Upstream bug is fixed.
http://golang.org/issue/6319

Change-Id: I9467a7727fdb4b27cb1c4b5ceb093c2b1635427f
2013-09-04 13:44:43 -07:00
Brad Fitzpatrick 501c6dcd45 Change make.go to build devcam. Update HACKING file.
Change-Id: I6938b519cc721ca23ab9c6de8e86a6a1b944010f
2013-09-03 19:56:42 -07:00
Brad Fitzpatrick dabe4355af Change how the Android camput.arm asset is built to use make.go
Change-Id: I00a6e22ef088a173f78ffca83c984d915670180c
2013-09-03 19:48:32 -07:00
Brad Fitzpatrick 83ab8a62e8 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-09-03 18:22:53 -07:00
Brad Fitzpatrick 3a5793b743 search: actually use result of SearchPermanodesWithAttr and don't leak a goroutine
Change-Id: Ia1ff8acc1d396901c6b589dbe9a972e3dd4df05f
2013-09-03 18:22:05 -07:00
Andrew Gerrand bcfeeb47f6 diskpacked: cleanups
Change-Id: I91566b120698b618ad4f83468a0cd4ea2c0ae765
2013-09-03 10:27:33 +10:00
Brad Fitzpatrick 3030e55db3 Merge "Basic code to index id3 (and other audio) tags." 2013-09-02 19:26:34 +00:00
Hunter Freyer 6940b3991f Basic code to index id3 (and other audio) tags.
Does a few things:

1) Adds gotaglib to third_party. If you'd like to review that, feel
free, though there's a bit of organization I'd like to do first.

2) Adds an "audioTag" key type.

3) Indexes wholerefs by various audio tags. Doesn't yet add a map from
wholeref to tags, but I can add that next.

Change-Id: I8e2a5bc27260086bad3351ac57973d1ac23cff44
2013-09-02 14:39:51 -04:00
Brad Fitzpatrick 18d09c2468 Merge "add diskpacked storage system" 2013-09-02 16:10:19 +00:00
Brad Fitzpatrick 4aeb310a4c devcam: fix build
Change-Id: If5f8d6e0e4e315cd8ca01aa7bf9b0f59407c52fe
2013-09-02 08:56:08 -07:00
Andrew Gerrand 4ca346f124 add diskpacked storage system
Change-Id: Ieb16459c06d596ad49bbe78b6e058955fcd6f649
2013-09-02 10:35:32 +10:00
Brad Fitzpatrick 0457e9359a Start of making QueueCreator optional for replication sources.
Change-Id: I82290991208c6e8953bdc63424760b378437674d
2013-09-01 16:19:07 -07:00
Brad Fitzpatrick 9ae1a64c38 devcam: exec child binaries when possible
Change-Id: I56d56d9f7416e3d5958e736762063a48dcd8e9f9
2013-09-01 11:37:09 -07:00
mpl 3a26c433db devcam: 'put' and 'get' commands, replace dev-camput and dev-camget
Also added -port flag, and untied the port to the
password in devcam server, always 'pass3179' now.

http://camlistore.org/issue/212

Change-Id: Iadf693951763d47907be17c53d4807a4706eb150
2013-09-01 10:25:09 -07:00
Brad Fitzpatrick f3f48eb70b Support alternate S3 hostnames
Change-Id: I9a27eb5fb9c4e5ef3b516ce9cf5a4b5bb4e1df61
2013-09-01 09:50:35 -07:00
Brad Fitzpatrick 91cdda8475 Match common Go case
Change-Id: I14606ee5ba422cf43f68dc65af2b40a096c7ca35
2013-09-01 09:13:13 -07:00
Brad Fitzpatrick afac3e1f5b s3: no need to verify hash in ReceiveBlob; handled elsewhere now
Change-Id: I91e85201555f769a8f37a00fe4c0e250a291f298
2013-09-01 09:12:17 -07:00
Brad Fitzpatrick 0805b6ce76 Merge "Working on launch." 2013-09-01 14:14:31 +00:00
Brad Fitzpatrick d99840fb03 s3: fix Stat handler to recognize ErrNotExist properly
Change-Id: Ie5afdc2a8f2a9c3bbece49963eccf8f4534228cf
2013-08-31 14:29:15 -07:00
Brad Fitzpatrick e20c7f44a8 auth: fix security problem where 'localhost' allowed all access.
Also, add tests. And remove CAMLI_ADVERTISED_PASSWORD, replacing it with explicit devauth mode.

Change-Id: I9cdfe2d537ecefcf75df0b9fb8538258703b1eb7
2013-08-31 13:44:44 -07:00
Brad Fitzpatrick 50738f4b0a Merge "schema: fix bug in AsShare, add tests." 2013-08-31 19:41:47 +00:00
Bill Thiede 76338e4d29 schema: fix bug in AsShare, add tests.
Bug in AsShare() falsely returns '{{nil}}, true' for non-share claims.

Change-Id: Ib0443082fb9ca9feaf2015771967ff4bc40ac4b9
2013-08-31 12:11:43 -07:00
Aaron Boodman a1f003c1c4 Update email address of Aaron Boodman in CONTRIBUTORS.
Is this OK without changing my committer email address?

Change-Id: Ia25ac5755f57859cb3e99493bc06a77ca6fda7ca
2013-08-31 11:59:25 -07:00
Brad Fitzpatrick 1da2e15f80 Merge "camput: have cache and stat cache based on github.com/cznic/kv" 2013-08-31 07:36:23 +00:00