Commit Graph

2570 Commits

Author SHA1 Message Date
Hector Sanjuan
4346b0c8f4
Merge pull request #1039 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-secio-0.2.2
build(deps): bump github.com/libp2p/go-libp2p-secio from 0.2.1 to 0.2.2
2020-04-03 13:47:06 +02:00
Hector Sanjuan
4bd8b1d464
Merge pull request #1038 from ipfs/dependabot/go_modules/github.com/imdario/mergo-0.3.9
build(deps): bump github.com/imdario/mergo from 0.3.7 to 0.3.9
2020-04-03 13:46:38 +02:00
dependabot-preview[bot]
4223137c3f
build(deps): bump github.com/multiformats/go-multiaddr-net
Bumps [github.com/multiformats/go-multiaddr-net](https://github.com/multiformats/go-multiaddr-net) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/multiformats/go-multiaddr-net/releases)
- [Commits](https://github.com/multiformats/go-multiaddr-net/compare/v0.1.3...v0.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 11:34:40 +00:00
dependabot-preview[bot]
0b3eb9bf12
build(deps): bump github.com/libp2p/go-libp2p-core from 0.5.0 to 0.5.1
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/libp2p/go-libp2p-core/releases)
- [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.5.0...v0.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 09:53:26 +00:00
dependabot-preview[bot]
20978bbbdb
build(deps): bump github.com/libp2p/go-libp2p-circuit
Bumps [github.com/libp2p/go-libp2p-circuit](https://github.com/libp2p/go-libp2p-circuit) from 0.1.4 to 0.2.1.
- [Release notes](https://github.com/libp2p/go-libp2p-circuit/releases)
- [Commits](https://github.com/libp2p/go-libp2p-circuit/compare/v0.1.4...v0.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 09:45:01 +00:00
dependabot-preview[bot]
b8682049d0
build(deps): bump github.com/ipfs/go-ipfs-api from 0.0.2 to 0.0.3
Bumps [github.com/ipfs/go-ipfs-api](https://github.com/ipfs/go-ipfs-api) from 0.0.2 to 0.0.3.
- [Release notes](https://github.com/ipfs/go-ipfs-api/releases)
- [Commits](https://github.com/ipfs/go-ipfs-api/compare/v0.0.2...v0.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 09:44:37 +00:00
dependabot-preview[bot]
37faf9155d
build(deps): bump github.com/libp2p/go-libp2p-secio from 0.2.1 to 0.2.2
Bumps [github.com/libp2p/go-libp2p-secio](https://github.com/libp2p/go-libp2p-secio) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/libp2p/go-libp2p-secio/releases)
- [Commits](https://github.com/libp2p/go-libp2p-secio/compare/v0.2.1...v0.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 09:44:12 +00:00
dependabot-preview[bot]
ab0e42ae3a
build(deps): bump github.com/imdario/mergo from 0.3.7 to 0.3.9
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo) from 0.3.7 to 0.3.9.
- [Release notes](https://github.com/imdario/mergo/releases)
- [Commits](https://github.com/imdario/mergo/compare/v0.3.7...v0.3.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 09:43:39 +00:00
Hector Sanjuan
b72bf7b55d
Merge pull request #1029 from ipfs/dependabot/go_modules/github.com/ipfs/go-ds-badger-0.2.3
build(deps): bump github.com/ipfs/go-ds-badger from 0.2.2 to 0.2.3
2020-04-03 11:27:53 +02:00
Hector Sanjuan
47474a949e
Merge pull request #1031 from ipfs/dependabot/go_modules/github.com/gorilla/mux-1.7.4
build(deps): bump github.com/gorilla/mux from 1.7.3 to 1.7.4
2020-04-03 11:27:02 +02:00
Hector Sanjuan
9eb1353404
Merge pull request #1028 from ipfs/dependabot/go_modules/github.com/urfave/cli-1.22.4
build(deps): bump github.com/urfave/cli from 1.22.1 to 1.22.4
2020-04-03 11:25:42 +02:00
dependabot-preview[bot]
d769a97043
build(deps): bump github.com/ipfs/go-ds-badger from 0.2.2 to 0.2.3
Bumps [github.com/ipfs/go-ds-badger](https://github.com/ipfs/go-ds-badger) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/ipfs/go-ds-badger/releases)
- [Commits](https://github.com/ipfs/go-ds-badger/compare/v0.2.2...v0.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 09:05:30 +00:00
dependabot-preview[bot]
5cc6bc7891
build(deps): bump github.com/gorilla/mux from 1.7.3 to 1.7.4
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.7.3 to 1.7.4.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.7.3...v1.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 09:03:51 +00:00
dependabot-preview[bot]
b8f311d40f
build(deps): bump github.com/urfave/cli from 1.22.1 to 1.22.4
Bumps [github.com/urfave/cli](https://github.com/urfave/cli) from 1.22.1 to 1.22.4.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v1.22.1...v1.22.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 09:03:37 +00:00
Hector Sanjuan
77a47d066b
Merge pull request #1037 from ipfs/dependabot/go_modules/github.com/ipfs/go-fs-lock-0.0.4
build(deps): bump github.com/ipfs/go-fs-lock from 0.0.1 to 0.0.4
2020-04-03 10:55:58 +02:00
Hector Sanjuan
e1deb85a89
Merge pull request #1036 from ipfs/dependabot/go_modules/github.com/hashicorp/go-hclog-0.12.2
build(deps): bump github.com/hashicorp/go-hclog from 0.12.1 to 0.12.2
2020-04-03 10:54:40 +02:00
Hector Sanjuan
081526d0ea
Merge pull request #1035 from ipfs/dependabot/go_modules/github.com/prometheus/client_golang-1.5.1
build(deps): bump github.com/prometheus/client_golang from 1.4.0 to 1.5.1
2020-04-03 10:54:27 +02:00
Hector Sanjuan
123b51f131
Merge pull request #1034 from ipfs/dependabot/go_modules/github.com/urfave/cli/v2-2.2.0
build(deps): bump github.com/urfave/cli/v2 from 2.0.0 to 2.2.0
2020-04-03 10:54:05 +02:00
Hector Sanjuan
4aa045c216
Merge pull request #1033 from ipfs/dependabot/go_modules/contrib.go.opencensus.io/exporter/jaeger-0.2.0
build(deps): bump contrib.go.opencensus.io/exporter/jaeger from 0.1.0 to 0.2.0
2020-04-03 10:53:41 +02:00
dependabot-preview[bot]
71a967113c
build(deps): bump github.com/ipfs/go-fs-lock from 0.0.1 to 0.0.4
Bumps [github.com/ipfs/go-fs-lock](https://github.com/ipfs/go-fs-lock) from 0.0.1 to 0.0.4.
- [Release notes](https://github.com/ipfs/go-fs-lock/releases)
- [Commits](https://github.com/ipfs/go-fs-lock/compare/v0.0.1...v0.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 22:11:50 +00:00
dependabot-preview[bot]
a98a47403a
build(deps): bump github.com/hashicorp/go-hclog from 0.12.1 to 0.12.2
Bumps [github.com/hashicorp/go-hclog](https://github.com/hashicorp/go-hclog) from 0.12.1 to 0.12.2.
- [Release notes](https://github.com/hashicorp/go-hclog/releases)
- [Commits](https://github.com/hashicorp/go-hclog/compare/v0.12.1...v0.12.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 22:11:24 +00:00
dependabot-preview[bot]
065e0ec325
build(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.4.0...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 22:10:56 +00:00
dependabot-preview[bot]
9973632492
build(deps): bump github.com/urfave/cli/v2 from 2.0.0 to 2.2.0
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.0.0 to 2.2.0.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.0.0...v2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 22:10:35 +00:00
dependabot-preview[bot]
afb17314d3
build(deps): bump contrib.go.opencensus.io/exporter/jaeger
Bumps [contrib.go.opencensus.io/exporter/jaeger](https://github.com/census-ecosystem/opencensus-go-exporter-jaeger) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/census-ecosystem/opencensus-go-exporter-jaeger/releases)
- [Commits](https://github.com/census-ecosystem/opencensus-go-exporter-jaeger/compare/v0.1.0...v0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 22:10:09 +00:00
Hector Sanjuan
f2e5296191
Merge pull request #1020 from ipfs/feat/libp2p-0.6.0
Major dependency upgrade (go-libp2p, go-ds-crdt...)
2020-04-02 18:19:17 +02:00
Hector Sanjuan
f3ed4533f2 Revert "Revert to Go1.13"
This reverts commit 5bd6057bf9.
2020-04-02 18:03:58 +02:00
Hector Sanjuan
5bd6057bf9 Revert to Go1.13 2020-04-02 16:48:52 +02:00
Hector Sanjuan
65ad4bd632 cluster/daemons: Close the datastore AFTER the DHT.
Avoids panics.

This also removes the abnormality of cluster closing a datastore
that it did not create.
2020-04-02 16:29:41 +02:00
Hector Sanjuan
bebd1e168c cluster: re-add quic to defaults, but keep transport disabled
This still works.
2020-04-02 16:12:45 +02:00
Hector Sanjuan
ab74987bc8 clusterhost: place dht records in persistened DHT
With this cluster peers will start remembering provider records accross
re-starts.
2020-04-01 20:15:48 +02:00
Hector Sanjuan
b95745e0eb clusterhost: use EnableNATService() libp2p option.
The autonat-svc repository is deprecated.
2020-04-01 19:38:37 +02:00
Hector Sanjuan
9fc49b013c
Merge pull request #1027 from ipfs/feat/better-badger-defaults
badger: reduce memory footprint with better default options
2020-04-01 17:56:00 +02:00
Hector Sanjuan
69cd226922 clusterhost: Remove relay OptDiscovery
It was made a no-op.
2020-04-01 17:19:52 +02:00
Hector Sanjuan
c072682306 badger: reduce memory footprint with better default options
They are the same that go-ipfs has started using, our users can
always overwrite them though (unlike go-ipfs).
2020-04-01 13:18:41 +02:00
Hector Sanjuan
dad63ac700 Chore: update deps libp2p 0.7.2 2020-04-01 11:15:29 +02:00
deepakgarg
bcbea62efe Fixes #998 Added object expiry time to pin ls cmd. 2020-03-27 18:05:26 -07:00
deepakgarg
788ecff327 Fixes #996 pin expiry is updated if set in options 2020-03-26 20:07:23 -07:00
Hector Sanjuan
636c4ca331 Chore: upgrade go-ipfs-chunker 2020-03-27 00:18:08 +01:00
Hector Sanjuan
c9298a222c Chore: more dependency upgrades 2020-03-26 12:40:14 +01:00
Hector Sanjuan
b3853caf36 Dependency ugprade: changes needed
* Libp2p protectors no longer needed, use PSK directly
* Generate cluster 32-byte secret here (helper gone from pnet)
* Switch to go-log/v2 in all places
* DHT bootstrapping not needed. Adjust DHT options for tests.
* Do not rely on dissappeared CidToDsKey and DsKeyToCid functions fro dshelp.
* Disable QUIC (does not support private networks)
* Fix tests: autodiscovery started working properly
2020-03-22 14:50:25 +01:00
Hector Sanjuan
8ced9b16de chore: general dependency upgrade (build fixes come later) 2020-03-22 14:50:25 +01:00
Hector Sanjuan
e3e14bd15f
Merge pull request #1022 from ipfs/fix/codecov
Codevoc: adjust thresholds
2020-03-22 14:50:10 +01:00
Hector Sanjuan
d1ff4b69b3 Codevoc: adjust thresholds 2020-03-22 14:48:31 +01:00
Hector Sanjuan
19aff486c4
Merge pull request #1016 from ipfs/fix/1006-blake
Adder: fix #1006: Specify block format, hash and length when adding
2020-03-13 22:12:46 +01:00
Hector Sanjuan
6a88e8243c
Merge pull request #1019 from ipfs/fix/request-with-context
API/client: add context to http requests
2020-03-13 21:57:56 +01:00
Hector Sanjuan
ede1b89252 Adder: fix #1006: Specify block format, hash and length when adding
Currently we were only specifying the block format. When adding with
a custom hash function, even though we produced the right cids, IPFS
did not know the hash function and ended up storing them using SHA256.

Additionally, since NodeWithMeta serializes the CID, we do not need
to carry a Format parameter (which specifies the Codec): it is already
embedded.

Tests have been added and BlockPut in ipfshttp now checks that the
response's CID matches the data sent. This will catch errors like
what was happening, but also any data corruption between cluster and
IPFS during the block upload.
2020-03-13 14:43:58 +01:00
Hector Sanjuan
45ca4305d2 API/client: add context to http requests 2020-03-13 14:26:39 +01:00
Hector Sanjuan
9ad268162b
Merge pull request #1015 from ipfs/fix/1012-Makefile-trim
Fix #1012: Trim paths on Makefile builds
2020-03-13 14:23:48 +01:00
Hector Sanjuan
c80a207e41 Fix #1012: Trim paths on Makefile builds
This results in more reproduceable builds.

Additionally, sources command to list all go-files and not just those
one directory below.
2020-03-06 14:49:19 +01:00
Hector Sanjuan
5d44275d0e
Chore: Add license file with URLS (#1014)
* Chore: Add license file with URLS

Source: 59df5e58a2

* Chore: license copyright updates
2020-03-06 13:52:19 +01:00