Brad Fitzpatrick
4fb9595587
netutil: add func ListenHostPort
2015-12-26 13:32:49 -08:00
Brad Fitzpatrick
b32c02fec5
pkg/blobserver/diskpacked: fix fd leak on Close
...
Fixes #655
2015-12-26 12:41:58 -08:00
Brad Fitzpatrick
fc737e7937
Merge branch 'master' of https://camlistore.googlesource.com/camlistore
2015-12-24 15:31:27 -08:00
Brad Fitzpatrick
535b2783e6
website: add log.sh tool
2015-12-24 15:31:21 -08:00
Mathieu Lonjaret
be3f4605fb
Merge "pkg/index: be verbose when fixing missing wholeRef entries"
2015-12-24 23:29:57 +00:00
Brad Fitzpatrick
5db74384c5
Merge branch 'master' of https://camlistore.googlesource.com/camlistore
2015-12-24 15:29:22 -08:00
Brad Fitzpatrick
921bf3d290
website: some more work on 0.9 release notes
2015-12-24 15:29:12 -08:00
Mathieu Lonjaret
54c5c41d07
Merge "serverinit,blobpacked: wipe blobpacked meta before reindexing"
2015-12-24 23:28:47 +00:00
Mathieu Lonjaret
d471cba23f
Merge "serverinit: enable blobPacked in default config"
2015-12-24 23:28:20 +00:00
Brad Fitzpatrick
5c3f3dcd90
website: some work on 0.9 release notes
2015-12-24 15:10:15 -08:00
Brad Fitzpatrick
f91bcffb33
Merge branch 'master' of https://camlistore.googlesource.com/camlistore
2015-12-24 14:53:35 -08:00
Brad Fitzpatrick
1ef5252da3
website: flag doc cleanup, and log before listening
2015-12-24 14:51:15 -08:00
Mathieu Lonjaret
4e8d27d81e
Merge "pkg/server/help: link to binary releases for CLI tools"
2015-12-24 19:54:22 +00:00
mpl
077a74c78b
pkg/server/help: link to binary releases for CLI tools
...
Fixes #536
Change-Id: Icfe22694548e72138510b917be1a6fbc66d5fed2
2015-12-24 20:39:50 +01:00
mpl
0223ee7272
pkg/index: be verbose when fixing missing wholeRef entries
...
Fixes #654
Change-Id: I2c4a80408eeb9ed66e547ae0f8c6c425182cf645
2015-12-24 20:12:22 +01:00
Brad Fitzpatrick
622a88da15
doc: document filename search predicate
...
Change-Id: I7ccc6dfe60dfe206ab39aa81de329b2f928fc3c3
2015-12-24 11:02:52 -08:00
Brad Fitzpatrick
322bc1b11c
search: fix the build
...
Change-Id: I5b8dbe7cd2c0923555c3293d6ed348d785995619
2015-12-24 09:28:12 -08:00
Brad Fitzpatrick
4b5403dd53
search: add filename predicate
...
Change-Id: I43397542bbb333aad6074298444376798c847c63
2015-12-24 09:22:27 -08:00
mpl
32e922ad3d
vendor: mv go4.org/cloud/gceutil go4.org/cloud/google/gceutil
...
Change-Id: I21c27b250b3a272f56b387ef07169a29da85f76c
2015-12-23 17:59:26 +01:00
mpl
74d9c71365
pkg/client: add UploadFile
...
Most of the code related to uploading a file with a client is actually
locked into the camput code. And uploading a file is something the
scanning cabinet app needs to do.
Refactoring the camput file code into pkg/client, and cleaning up
pkc/client is a lot of work. Therefore I propose with this change to
first introduce the minimum I need in pkg/client that I can use in
the scanning cabinet app.
Change-Id: Ie8690e66f0332be76a3a41fa060db410d01798e2
2015-12-18 23:05:06 +01:00
Mathieu Lonjaret
09a6ca6ef5
Merge "vendor: move pkg/images dependencies from third_party"
2015-12-18 21:17:12 +00:00
mpl
6af01f6c71
vendor: move pkg/images dependencies from third_party
...
This change is in anticipation of moving pkg/images to go4.org, where it
should not depend on packages in third_party.
So:
third_party/github.com/nf/cr2 -> vendor/github.com/nf/cr2
third_party/github.com/rwcarlsen/goexif -> vendor/github.com/rwcarlsen/goexif
third_party/golang.org/x/image/tiff -> vendor/golang.org/x/image/tiff
Note that third_party/go/pkg/image/jpeg was also a dependency of
pkg/images. We had vendored image/jpeg from tip at the time because it
offered advantages over the version from Go1.3
(https://github.com/camlistore/camlistore/issues/463 ).
Since we now depend on Go1.5, we can go back to depend on the stdlib
version, so we simply remove third_party/go/pkg/image/jpeg and adjust
the imports accordingly.
Change-Id: Ifc8ffae0551102e644a0a0c67f3ff89e04df15c7
2015-12-18 22:15:33 +01:00
Mathieu Lonjaret
68f854537c
Merge "pkg/blobserver/s3: directory & blobpacked support"
2015-12-18 21:07:56 +00:00
mpl
96d06ac2bd
camget: fix flag conflicts
...
The conflict was introduced in cea5e332ce
by linking pkg/cmdmain in, which introduced its public flags.
Change-Id: I6374c2fb1657f6fd534c1342a5947ef6db16a3e2
2015-12-18 17:08:03 +01:00
Mathieu Lonjaret
7985810be4
Merge "vendor: go4.org/fault"
2015-12-16 23:02:56 +00:00
mpl
92d5c1d045
pkg/blobserver/s3: directory & blobpacked support
...
Fixes issue #529
Change-Id: Iea7aea015b58c0325887fa07ae3a004b7822511e
2015-12-16 23:58:27 +01:00
mpl
b6520c9ebe
vendor: go4.org/fault
...
at rev 4210238a68e472c5c5c1b0e95d89a2c6bffaebdf
And remove pkg/fault
Change-Id: Ib80cbf7ad8db20c3e47b4e321e7355d9215a4ec9
2015-12-16 23:08:58 +01:00
mpl
cea5e332ce
vendor: go4.org/legal
...
At rev c3c16077b235db4c6b2a2a6121c2d429707f4ed4
And use it in new package pkg/camlegal
And remove pkg/legal
Change-Id: I5e398aa5f145a02a04d33719276fd2f8b82ab12b
2015-12-16 18:50:49 +01:00
mpl
a91a3602f1
pkg/search: rm commented code
...
Change-Id: I530e5488767ccf38ee74cfffdd392d9b715298eb
2015-12-16 16:19:09 +01:00
mpl
7b415a4e6f
pkg/index: fix context doc
...
Change-Id: I8d284cb3a582ad4a599d443ed9d90a2bff724c29
2015-12-16 15:51:23 +01:00
mpl
718c9d8b63
pkg/importer: use go4.org/ctxutil
...
side-effect: fix an unchecked type assertion, and use a conventional
key for the HTTP client associated with the context (instead of our own
string).
Change-Id: I2701de3f41f1f1c56fe3b76bbf590c0e5b39bc72
2015-12-16 15:30:09 +01:00
mpl
ec6a69f96b
vendor: go4.org/ctxutil
...
Copied at rev 2a517455a0d520adb0253788df52cadd22148899
Change-Id: I2ca47719af473974b856a2fd632adf2669811bb7
2015-12-16 01:00:13 +01:00
Mathieu Lonjaret
6061caa110
Merge "pkg/gc: fix context doc"
2015-12-15 16:27:53 +00:00
Mathieu Lonjaret
c4a777b0cd
Merge "deploy/gce: fix redundant context import"
2015-12-15 16:27:12 +00:00
mpl
8b20619cc3
pkg/gc: fix context doc
...
Change-Id: Id4b5e349707f14fe9f2502c08b5748f7f6055018
2015-12-15 16:21:15 +01:00
mpl
38fec12dd5
deploy/gce: fix redundant context import
...
Change-Id: I37117d5b5641bdc057c2ece093a602be6b8e0850
2015-12-15 16:16:51 +01:00
mpl
fa2e1103c0
blobserver/interface: fix context documentation
...
Change-Id: I2bbcb88771dd917c378b1dd660205048298dae62
2015-12-14 21:50:23 +01:00
Tamás Gulácsi
9f7e1df32b
Remove pkg/context
...
Use golang.org/x/net/context instead.
Fixes #648 .
Change-Id: I676a2f25458be97610a49d6f954f2102cbd373fa
2015-12-12 23:09:02 +01:00
Mathieu Lonjaret
0948211523
Merge "pkg/auth: change VivifyPass to *string to reflect the fact that it's optional."
2015-12-10 23:14:39 +00:00
David Jack
3eb87b9c2d
pkg/auth: change VivifyPass to *string to reflect the fact that it's
...
optional.
Previously, omitting the vivify option from the auth config would
result in VivifyPass being set to empty string (which is a valid
password for HTTP Basic authentication).
Change-Id: I51f441705af4b850ad2bdf27ac3b5a4a9dc83721
2015-12-09 22:57:18 -05:00
mpl
1ffd5895e0
camtool/googinit: use cloud/storage Client instead of googlestorage
...
Issue #652
Change-Id: I54b2041acfa8f998e1fb082c54f6c7069615d8a7
2015-12-08 00:11:42 +01:00
Mathieu Lonjaret
fc6e38804d
Merge "website: use cloud/storage Client instead of googlestorage"
2015-12-07 22:39:08 +00:00
Mathieu Lonjaret
0f4ab197d5
Merge "make.go: restore version stamping"
2015-12-07 22:04:24 +00:00
mpl
6c196c2ddb
make.go: restore version stamping
...
And use new ldflags syntax when doing so.
Also refactor buildinfo.
Context: https://camlistore-review.googlesource.com/5586
Change-Id: I811612f1638656a45f0e574ef00b8ee214187ed8
2015-12-07 22:58:19 +01:00
mpl
cf08d789f2
website: sidestep failInTests panics from osutil
...
Because camweb now depends on pkg/deploy/gce, which has global vars
initialized with calls from osutil.
And test website from devcam test
Change-Id: I233c229e96ded5bfde4e2c1fa7a18bbf757ab1fb
2015-12-07 22:48:12 +01:00
mpl
4b2b539e0c
website: use cloud/storage Client instead of googlestorage
...
Context: issue #652
Change-Id: I7f36eeeb4be015ef117704742ec8ab4e4eeea7ba
2015-12-07 19:27:28 +01:00
mpl
26ee743eae
vendor: go4.org/wkfs/gcs
...
Previously pkg/wkfs/gcs.
Copied from go4.org at rev 2871b0368b3c6fab49a8a0ed4e14cc7c3132bdf4
Change-Id: I3b6bcf720ef5ae1215b2b1fdecf1ece532a4d3a0
2015-12-04 18:23:29 +01:00
Mathieu Lonjaret
ba9f6e25fb
Merge "devcam test: build things in ./misc/docker too"
2015-12-04 14:46:32 +00:00
mpl
2715ebd067
pkg/wkfs/gcs: use google.golang.org/cloud/storage
...
Use the new Client provided by cloud/storage, instead of our own
pkg/googlestorage
Change-Id: Ic7ebf7059894c72a36a6e935a15bcda1d9dd7598
2015-12-04 01:59:08 +01:00
mpl
3e37ca9120
devcam test: build things in ./misc/docker too
...
Fixes issue #651
Change-Id: I10e4b73946dea073399bdb21888202f85a33c1b7
2015-12-03 16:49:11 +01:00