Commit Graph

68 Commits

Author SHA1 Message Date
Filippo Valsorda e8b9df32af blobserver/b2: add new Storage based on Backblaze B2
github.com/FiloSottile/b2: c32038dd691290351948e8fbe956b0ade65e70ea

Change-Id: I0fb5ed3a622ed541170a9fb946b6781defef96fe
2016-10-23 18:04:48 +01:00
Mathieu Lonjaret fe05d113c1 Merge changes I53052992,Ief8e0ad3
* changes:
  server/camnetdns: make it work
  make.go: optionally build camnetdns
2016-10-14 13:15:18 +00:00
mpl 55d309838c vendor: add golang.org/x/crypto/acme
Something went wrong with 9bba338a79
where it should have been added.

Change-Id: Icbf83c1ea907811136a6cf59314a1940172f46d7
2016-10-14 01:26:01 +02:00
mpl 9bba338a79 website: use golang.org/x/crypto/acme for Lets Encrypt
vendor: add golang.org/x/crypto/acme/{autocert}
at 8e06e8ddd9629eb88639aba897641bff8031f1d3

remove rsc.io/letsencrypt and its deps.

Issue #859

Change-Id: I292543e88476bd4658846496f96a2a07bb25a186
2016-10-14 01:17:21 +02:00
mpl 2c4332ada2 make.go: optionally build camnetdns
server/camnetdns: update to cloud.google.com/go imports.

vendor: add github.com/miekg/dns at rev
3f1f7c8ec9ead89493df11f2c3d8bec353a2c2c0 as a dep of server/camnetdns

Change-Id: Ief8e0ad3e09a6c3511c72a7991309808f855d3df
2016-10-04 01:58:50 +02:00
mpl 6297d0d570 website: update google cloud dependencies
This change follows the changes at
ab06dbd80d

google.golang.org/genproto/googleapis/datastore updated to
44808ed2d86e258615bb701d395cbbfe6686a3e6

As a consequence:
google.golang.org/genproto/protobuf added at
44808ed2d86e258615bb701d395cbbfe6686a3e6
google.golang.org/genproto/googleapis/api/{label, metric, monitoredres,
serviceconfig} added/updated to 44808ed2d86e258615bb701d395cbbfe6686a3e6
github.com/golang/protobuf/ptypes{any, struct, timestamp, wrappers}
added/updated to 1f49d83d9aa00e6ce4fc8258c71cc7786aec968a

Test locally, and in "pseudo-production", i.e. with -cloudlaunch but with
a different projectID (hence with some of the hard-coded stuff changed).

Change-Id: Iad0caa78b19619bf153bf05870e6cb3a2ab669dd
2016-09-30 18:08:44 +02:00
mpl 27b2442475 vendor: add google.golang.org/api/internal
at rev 63cb68f1e3834e44683ca062ddf06cb9a889380a

Forgot to add it to the commit at
ab06dbd80d

Fixes #854

Change-Id: Ic8a9a3d0fd279b2bcf20c1dd77bee56512ae3f39
2016-09-09 12:34:45 +02:00
mpl ab06dbd80d vendor: rename google.golang.org/cloud to cloud.google.com/go
rm google.golang.org/cloud
add cloud.google.com/go at a47b182e769f5e75f5fc927ff6ee2678f7f552cf
update google.golang.org/api to 63cb68f1e3834e44683ca062ddf06cb9a889380a
update google.golang.org/grpc to
0e6ec3a4501ee9ee2d023abe92e436fd04ed4081
update go4.org to f5283521d7365fb2875408726e9cbf349f173767

fix in cmd/ pkg/ server/

TODO(mpl): fix misc/docker tools as well. next CL.

Fixes #832

Change-Id: I842b968a0afea8a5822913bd614d67cdbe50ee63
2016-09-08 15:14:12 +02:00
mpl 5bc0864f81 Switch to Go1.7
vendoring: update gopherjs to rev
45518c130e5bd1525f20110830a4986365a153de

Patch on upstream to remove fsnotify dep added (for reference) as:
vendor/github.com/gopherjs/gopherjs/nofsnotify.diff

make.go: make Go1.7 the required version

Fixes #838

Change-Id: I2013ee4832a26f8be3a8b42f02e40a347674ec9a
2016-08-30 16:46:07 +02:00
Attila Tajti 8c30e24b77 vendor/github.com/spf13/cobra: remove mousetrap dep
This fixes building gopherjs on Windows.

Fixes #844

Change-Id: Ibb4dee707bcf565a36fd7d90e92198ca952df435
2016-08-29 17:51:28 +02:00
mpl d76959dd7c vendor: update bazil.org/fuse
To rev b3d5a5514a27076c63844bde6d60703a7aea4adc

Fixes #821

Change-Id: I3d492cd743a293ffa3e78a042ea28060c9840bb6
2016-07-20 16:09:08 +02:00
Mathieu Lonjaret bae6855ade Merge "make.go: build and run gopherjs for publisher" 2016-07-13 13:31:34 +00:00
mpl 3b2ec3af0f make.go: build and run gopherjs for publisher
Run gopherjs to generate trivial javascript code that is used by the
publisher app.

Context:
https://github.com/camlistore/camlistore/issues/798#issuecomment-226902924

github.com/gopherjs vendored in at rev
f3c437955da554f2643747a598b0cc772a749f3f

PLEASE NOTE that this copy of gopherjs has been modified to avoid
depending on fsnotify. Hence the -w flag and the gopherjs serve command
are most likely broken.
Diff for that modification:
https://gist.github.com/mpl/ac9033bb28207401b7cedc3d74e6c096

Dependencies for building gopherjs:

kardianos/osext 29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc
neelance/sourcemap 8c68805598ab8d5637b1a72b5f7d381ea0f39c31
spf13/cobra c678ff029ee250b65714e518f4f5c5cb934955de
spf13/pflag 7f60f83a2c81bc3c3c0d5297f61ddfa68da9d3b7
golang.org/x/crypto/ssh/terminal
c197bcf24cde29d3f73c7b4ac6fd41f4384e8af6
golang.org/x/tools/go/types/typeutil
ac02106e04bdb66a2db0413d931012bea165d7e0

github.com/gopherjs/jquery vendored in at
fbbfc4bbe29a29cb05788b66be44e0ac7f43cac7

jquery vendored in at 2.2.3

Change-Id: I7ff2d8e43e8a963f5ac1d13a2c936f263f7c53fc
2016-07-13 00:06:20 +02:00
mpl 1ab6ff4176 website: use Let's Encrypt
rsc.io/letsencrypt vendored at rev
a019c9e6fce0c7132679dea13bd8df7c86ffe26c

vendor/github.com/xenolf/lego was vendored within rsc.io/letsencrypt

vendor/gopkg.in/square/go-jose.v1/ was vendored within
rsc.io/letsencrypt

golang.org/x/crypto at rev 77f4136a99ffb5ecdbdd0226bd5cb146cf56bc0e for
github.com/xenolf/lego

golang.org/x/time/rate at rev a4bde12657593d5e90d0533a3e4fd95e635124cb
for rsc.io/letsencrypt

Fixes #805

Change-Id: I4ccdee328d8832e361fa5a39e5b94edc7c90ec34
2016-06-10 17:55:16 +02:00
mpl b1f49a2548 vendor: update go4.org/lock
rev 15c19124e43b90eba9aa27b4341e38365254a84a

Change-Id: Ibf38bcc38f94df11cfd0f605608ec8f8b6171c70
2016-06-04 01:27:53 +02:00
Eric Drechsel 74503f15f4 upgrade less.js to 2.6.1, so CSS loads via http/2
b550b2081f/dist/less.js

Fixes #780

Change-Id: I562003ec4eddc16de2b9501411f435fd6345fb6b
2016-05-21 14:46:40 -07:00
mpl ae17126a44 vendor: update github.com/cznic/fileutil
rev 1c9c88fbf552b3737c7b97e1f243860359687976

Fixes #763

Change-Id: Ie1073de7d23179c33f387ef3477fa7ccea0c3952
2016-05-11 15:25:33 +02:00
mpl 637c0571b7 vendor: fix more website (protobuf) deps
Fixes #747

Change-Id: I2baec20e730bee9d902dc57cf08acb599744e984
2016-04-30 17:07:13 -07:00
Brad Fitzpatrick b8b310ac14 Merge "Fix permissions for files" 2016-04-30 21:28:02 +00:00
Will Norris 5dd8671051 vendor: update cloud,grpc,protobuf libraries
update additional supporting libraries needed with
219f966a95

github.com/golang/protobuf @ 7cc19b78d562895b13596ddce7aafb59dd789318
google.golang.org/grpc @ b062a3c003c22bfef58fa99d689e6a892b408f9d
google.golang.org/cloud @ 36e3752134d445180a77cd40c922c48850b6fe9c
 - same as before, just added missing 'internal' package

Tests:
 - go run make.go succeeds
 - camweb builds and runs
 - go test ./pkg/... has a couple of failures, but nothing that wasn't
 already failing before this change

Fixes #743

Change-Id: I0a81f471f79255fcb4e0d615630eecce1c5cd966
2016-04-29 19:42:33 -07:00
Tilman Dilo d208b531c9 Fix permissions for files
Use mode 0644 instead of 0755 for non-vendored files.

Change-Id: Ifbe1d5e21f24814531248a8a6c84d6f0a72c071c
2016-04-28 21:15:09 +02:00
mpl 219f966a95 vendor: update google.golang.org/cloud
to rev 36e3752134d445180a77cd40c922c48850b6fe9c

So we get ErrObjectNotExist on ObjectHandle.Delete

And update google.golang.org/api to rev
9737cc9e103c00d06a8f3993361dec083df3d252
for consistency.

Change-Id: I58c706d1d71a98ad01f4fef8929eac52338c1bbe
2016-04-27 11:04:47 -07:00
Will Norris e3777187be vendor: update github.com/russross/blackfriday
rev 151efb040f183f3b968215a236c71a2614b62879

Change-Id: I2f5a2231ce07d9fd3f64d13a6965e06c60738b51
2016-04-26 10:41:00 -07:00
mpl 135f0373d2 vendor: add golang.org/x/sys/unix
Needed by bazil.org/fuse , it should have been added with
e0a9699c63

rev 8fdfb00a6a1add0f7a145480e3729a5427a74375

Fixes #730

Change-Id: I2f9c7aa21a5ead82d7043392e4a55baf3cecffe6
2016-04-26 08:57:58 -07:00
mpl 63d6e384bb path fixes for third_party move
A few more left in in misc/docker that I'll do separately

Related: 75d60962f6

Change-Id: Id5f6a3729e33aca97f8664ca8ef91afc64461891
2016-04-21 12:25:17 -07:00
Brad Fitzpatrick 75d60962f6 Move remaining stuff in third_party/* to vendor/*
Change-Id: Ifbcc02817083cba68d8c1acec3e6ec50e8f61149
2016-04-20 16:49:15 -07:00
Eric Drechsel e0a9699c63
Update bazil.org/fuse
move to vendor
fix (lots) of breakages due to API changes

bazil.org/fuse: 37bfa8be929171feec943f3496bc4befdeaf10db

Change-Id: Ic92faf7585371027f3c521f7a24ae56d70d18547
2016-04-09 12:40:02 -07:00
mpl 749e693bd2 vendor: update golang.org/x/oauth2
rev 2897dcade18a126645f1368de827f1e613a60049

Change-Id: Iadfe929304564e2b6f0ff421a19295abd83ffd78
2016-03-25 18:25:26 +01:00
Mathieu Lonjaret 87b12ad6f4 Merge "vendor/goexif: unvendor old import path" 2016-03-03 14:28:20 +00:00
mpl f6c9604b1c vendor: update http2
rev 6acef71eb69611914f7a30939ea9f6e194c78172

Context: Issue #686

Change-Id: I6f0ccb5c64e647aae2893450a952c2abb7cfe0a4
2016-03-01 15:36:15 +01:00
mpl 8d5d761ff5 vendor/future/mime/multipart: remove
revert changes afe28ebf90 and
666d525530 because Go 1.6 is out.

Issues #642 and #644

Change-Id: Ide422b5164576c77d72061bb05ea0984c68d55e4
2016-02-24 18:11:20 +01:00
mpl 9a16f566fd vendor/goexif: unvendor old import path
Change-Id: I4e17629bfa7965f1fc68dd3b47be834459bb7e9f
2016-02-15 16:07:59 +01:00
mpl 1a90fe806d vendor: update go4.org
rev 40a0492aa096a3be30c750c4e2216de52a6cf2e3

adds writerutil package

Change-Id: Ia771e38283afb9750a8dad0cd462ca12ce42dd15
2016-02-08 21:30:09 +01:00
mpl 9afc57ced5 vendor: update go4.org
rev d7e10a7752d55a1f81e384fe49a6a5b417a9a6dd

new readerutil and types packages

Change-Id: I6a96819f7cfd67267f372cdf7a9bc1a16c206587
2016-02-05 15:10:17 +01:00
mpl f4c5839f8c vendor: update go4.org/lock
To rev 9ba773eba85ab9e258ff516630f7f6474bc4535b

Change-Id: I32ac9fdc825e178548aaa5efc7ad219b2ec68465
2016-01-27 15:40:30 +01:00
mpl 74aa3fa163 vendor: go4.org/lock
imported at rev 96a2350179b917865057073eb6dd6e4488913ba2

Change-Id: Icae1af8b0e78779e9b462f71abf779387ab695b9
2016-01-20 17:22:59 +01:00
mpl 606cfcb635 vendor: update cloud/storage
To 392f2aeac3d98ee75147c8cd8f92e4f65104b0bb

Mainly so we can use the new Reader.

Change-Id: I61d88ba2bae4e8732d3426b5ae66b7ff2d89e89b
2016-01-15 00:03:27 +01:00
mpl 3b91e403e4 vendor: update http2
From golang.org/x/net/http2 at 415f1917e1dbc946ec834288a8a1e5ff6eee2900

Change-Id: If03d7d2eb3080628fc04110f927d8c7b80612508
2016-01-08 15:45:30 +01:00
Brad Fitzpatrick 8c2c601317 vendor: add google.golang.org/cloud/datastore at 6fdcab49
Change-Id: Ide2a5b66fd5a80c850fd89691a51bded826835a6
2015-12-28 20:39:55 -08:00
Brad Fitzpatrick 6abb512bae vendor: update golang.org/x/net/http2 to 5d0a0f8cd48
Change-Id: Ie7fe8c346ef23f9faeb46a41015bd964ff7d90ca
2015-12-28 17:21:14 -08:00
Brad Fitzpatrick 2cfe160e3f vendor: update go4.org to 3b6feb5c
Change-Id: Ief1ad254d746a28129f994d7d969661f7daf9553
2015-12-28 17:20:28 -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 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 7985810be4 Merge "vendor: go4.org/fault" 2015-12-16 23:02:56 +00: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 ec6a69f96b vendor: go4.org/ctxutil
Copied at rev 2a517455a0d520adb0253788df52cadd22148899

Change-Id: I2ca47719af473974b856a2fd632adf2669811bb7
2015-12-16 01:00:13 +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
mpl d9a3bbc73a pkg/vendor: update google.golang.org/cloud/storage
rev 2375e186ca77be721a7c9c7b13a659738a8511d2

This is so we can use storage.Client in pkg/wkfs/gcs (and later in
other places) instead of pkg/googlestorage

Change-Id: I1d0eafbffd40e0326c41214692754f6671ec1d5d
2015-12-03 00:55:53 +01:00