Commit Graph

2635 Commits

Author SHA1 Message Date
dependabot-preview[bot]
0c43cd212a
build(deps): bump github.com/libp2p/go-libp2p-quic-transport
Bumps [github.com/libp2p/go-libp2p-quic-transport](https://github.com/libp2p/go-libp2p-quic-transport) from 0.3.5 to 0.3.7.
- [Release notes](https://github.com/libp2p/go-libp2p-quic-transport/releases)
- [Commits](https://github.com/libp2p/go-libp2p-quic-transport/compare/v0.3.5...v0.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-06 08:52:24 +00:00
Hector Sanjuan
28e92c6ad4
Merge pull request #1115 from ipfs/dependabot/go_modules/github.com/ipfs/go-log/v2-2.0.6
build(deps): bump github.com/ipfs/go-log/v2 from 2.0.5 to 2.0.6
2020-05-06 10:33:50 +02:00
Hector Sanjuan
83f7ccb531
Merge pull request #1113 from ipfs/dependabot/go_modules/github.com/golang/protobuf-1.4.1
build(deps): bump github.com/golang/protobuf from 1.4.0 to 1.4.1
2020-05-06 10:31:27 +02:00
Hector Sanjuan
aa24bdb820
Merge pull request #1110 from ipfs/dependabot/go_modules/github.com/multiformats/go-multiaddr-net-0.1.5
build(deps): bump github.com/multiformats/go-multiaddr-net from 0.1.4 to 0.1.5
2020-05-06 10:30:47 +02:00
Hector Sanjuan
47be1017d5
Merge pull request #1109 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-kad-dht-0.7.11
build(deps): bump github.com/libp2p/go-libp2p-kad-dht from 0.7.10 to 0.7.11
2020-05-06 10:30:31 +02:00
Hector Sanjuan
0d9243026a
Merge pull request #1108 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-core-0.5.3
build(deps): bump github.com/libp2p/go-libp2p-core from 0.5.2 to 0.5.3
2020-05-06 10:29:43 +02:00
dependabot-preview[bot]
9a5cf445f4
build(deps): bump github.com/ipfs/go-log/v2 from 2.0.5 to 2.0.6
Bumps [github.com/ipfs/go-log/v2](https://github.com/ipfs/go-log) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/ipfs/go-log/releases)
- [Commits](https://github.com/ipfs/go-log/compare/v2.0.5...v2.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-05 11:34:08 +00:00
dependabot-preview[bot]
82c8b3e982
build(deps): bump github.com/golang/protobuf from 1.4.0 to 1.4.1
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.4.0...v1.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-05 11:33:07 +00:00
Hector Sanjuan
91a2117848 Add autocomment configuration 2020-05-04 12:04:23 +02:00
dependabot-preview[bot]
6b4b8b4ee1
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.4 to 0.1.5.
- [Release notes](https://github.com/multiformats/go-multiaddr-net/releases)
- [Commits](https://github.com/multiformats/go-multiaddr-net/compare/v0.1.4...v0.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-30 11:35:06 +00:00
dependabot-preview[bot]
9866817b41
build(deps): bump github.com/libp2p/go-libp2p-kad-dht
Bumps [github.com/libp2p/go-libp2p-kad-dht](https://github.com/libp2p/go-libp2p-kad-dht) from 0.7.10 to 0.7.11.
- [Release notes](https://github.com/libp2p/go-libp2p-kad-dht/releases)
- [Commits](https://github.com/libp2p/go-libp2p-kad-dht/compare/v0.7.10...v0.7.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-30 11:34:38 +00:00
dependabot-preview[bot]
bab130bc25
build(deps): bump github.com/libp2p/go-libp2p-core from 0.5.2 to 0.5.3
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/libp2p/go-libp2p-core/releases)
- [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.5.2...v0.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-30 11:34:11 +00:00
Hector Sanjuan
50af36a7d5 chore: dependencies 2020-04-29 19:45:16 +02:00
Hector Sanjuan
027991bee3
Merge pull request #1104 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-0.8.3
build(deps): bump github.com/libp2p/go-libp2p from 0.8.2 to 0.8.3
2020-04-29 19:43:45 +02:00
dependabot-preview[bot]
35de7c1d97
build(deps): bump github.com/libp2p/go-libp2p from 0.8.2 to 0.8.3
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p) from 0.8.2 to 0.8.3.
- [Release notes](https://github.com/libp2p/go-libp2p/releases)
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/NEWS.md)
- [Commits](https://github.com/libp2p/go-libp2p/compare/v0.8.2...v0.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-28 15:47:58 +00:00
Hector Sanjuan
5667a1307c
Merge pull request #1106 from ipfs/dependabot/go_modules/github.com/ipfs/go-ipfs-config-0.5.3
build(deps): bump github.com/ipfs/go-ipfs-config from 0.5.2 to 0.5.3
2020-04-28 17:38:17 +02:00
Hector Sanjuan
d8a4236c4f
Merge pull request #1103 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-quic-transport-0.3.5
build(deps): bump github.com/libp2p/go-libp2p-quic-transport from 0.3.4 to 0.3.5
2020-04-28 17:38:02 +02:00
dependabot-preview[bot]
b2a225fd09
build(deps): bump github.com/libp2p/go-libp2p-quic-transport
Bumps [github.com/libp2p/go-libp2p-quic-transport](https://github.com/libp2p/go-libp2p-quic-transport) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/libp2p/go-libp2p-quic-transport/releases)
- [Commits](https://github.com/libp2p/go-libp2p-quic-transport/compare/v0.3.4...v0.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-28 13:49:15 +00:00
dependabot-preview[bot]
3379aae8d2
build(deps): bump github.com/ipfs/go-ipfs-config from 0.5.2 to 0.5.3
Bumps [github.com/ipfs/go-ipfs-config](https://github.com/ipfs/go-ipfs-config) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/ipfs/go-ipfs-config/releases)
- [Commits](https://github.com/ipfs/go-ipfs-config/compare/v0.5.2...v0.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-28 13:49:14 +00:00
Hector Sanjuan
56ff1154ce
Merge pull request #1105 from ipfs/dependabot/go_modules/github.com/prometheus/client_golang-1.6.0
build(deps): bump github.com/prometheus/client_golang from 1.5.1 to 1.6.0
2020-04-28 15:41:02 +02:00
Hector Sanjuan
806c704a97
Merge pull request #1099 from ipfs/deps/update123
chore: dependencies
2020-04-28 15:39:15 +02:00
dependabot-preview[bot]
c176b08880
build(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.5.1 to 1.6.0.
- [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.5.1...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-28 11:36:17 +00:00
Hector Sanjuan
b363dd3174 chore: dependencies 2020-04-27 20:36:08 +02:00
Hector Sanjuan
72fa0a09a2
Merge pull request #1097 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-kad-dht-0.7.10
build(deps): bump github.com/libp2p/go-libp2p-kad-dht from 0.7.7 to 0.7.10
2020-04-27 20:30:26 +02:00
Hector Sanjuan
fed488f4db
Merge pull request #1095 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-circuit-0.2.2
build(deps): bump github.com/libp2p/go-libp2p-circuit from 0.2.1 to 0.2.2
2020-04-27 20:29:14 +02:00
Hector Sanjuan
8af2d53881 Punctuation 2020-04-27 20:10:14 +02:00
Hector Sanjuan
db4a6368cd Update templates etc. 2020-04-27 19:48:31 +02:00
dependabot-preview[bot]
93b81a18fb
build(deps): bump github.com/libp2p/go-libp2p-kad-dht
Bumps [github.com/libp2p/go-libp2p-kad-dht](https://github.com/libp2p/go-libp2p-kad-dht) from 0.7.7 to 0.7.10.
- [Release notes](https://github.com/libp2p/go-libp2p-kad-dht/releases)
- [Commits](https://github.com/libp2p/go-libp2p-kad-dht/compare/v0.7.7...v0.7.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 11:41:36 +00:00
dependabot-preview[bot]
1284140d5a
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.2.1 to 0.2.2.
- [Release notes](https://github.com/libp2p/go-libp2p-circuit/releases)
- [Commits](https://github.com/libp2p/go-libp2p-circuit/compare/v0.2.1...v0.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 11:40:31 +00:00
Hector Sanjuan
76d0d27ce3 Add standard issue template 2020-04-27 11:26:26 +02:00
Hector Sanjuan
6c741eeeed
Merge pull request #1093 from ipfs/feat/fix-protocol-version
Set the RPC Protocol Version to a fixed value
2020-04-26 14:49:30 +02:00
Hector Sanjuan
c31571407e Set the RPC Protocol Version to a fixed value
The RPC endpoints no longer change much, but every minor release enforces that
all peers in a Cluster must run on the same version.

This was meant to allow greater flexibility when upgrading the RPC
endpoints. Now we should not be in a situation that releasing a minor cluster
version causes peers incompatibilities, even though nothing changes on the RPC
side of things.

Therefore we make 0.12 the RPC protocol version going forward and detach it
from the actual cluster version from this point.
2020-04-23 19:08:11 +02:00
Hector Sanjuan
964188be0a
Merge pull request #1083 from ipfs/fix/1009-pin-direct
Fix #1009: support pinning in direct mode
2020-04-23 19:00:15 +02:00
Hector Sanjuan
fe4a5b32f4 tests: improve TestClustersPinDirect mode
Check that a recursive pin cannot be repinned as direct
2020-04-23 18:28:16 +02:00
Hector Sanjuan
84eddf4ac8 Direct pins: fix add tests for direct pinning 2020-04-23 18:05:05 +02:00
Hector Sanjuan
75cc2e5be1 Add sharness test for direct pinning 2020-04-23 17:31:52 +02:00
Hector Sanjuan
37b2cc34aa
Merge pull request #1091 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-kad-dht-0.7.7
build(deps): bump github.com/libp2p/go-libp2p-kad-dht from 0.7.5 to 0.7.7
2020-04-23 12:55:36 +02:00
Hector Sanjuan
a92ca83580
Merge pull request #1092 from ipfs/dependabot/go_modules/github.com/ipfs/go-merkledag-0.3.2
build(deps): bump github.com/ipfs/go-merkledag from 0.3.1 to 0.3.2
2020-04-23 12:55:28 +02:00
dependabot-preview[bot]
1ff9787641
build(deps): bump github.com/libp2p/go-libp2p-kad-dht
Bumps [github.com/libp2p/go-libp2p-kad-dht](https://github.com/libp2p/go-libp2p-kad-dht) from 0.7.5 to 0.7.7.
- [Release notes](https://github.com/libp2p/go-libp2p-kad-dht/releases)
- [Commits](https://github.com/libp2p/go-libp2p-kad-dht/compare/v0.7.5...v0.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-23 10:14:19 +00:00
dependabot-preview[bot]
10fbd3beae
build(deps): bump github.com/ipfs/go-merkledag from 0.3.1 to 0.3.2
Bumps [github.com/ipfs/go-merkledag](https://github.com/ipfs/go-merkledag) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/ipfs/go-merkledag/releases)
- [Commits](https://github.com/ipfs/go-merkledag/compare/v0.3.1...v0.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-23 10:14:11 +00:00
Hector Sanjuan
3324663d68
Merge pull request #1090 from ipfs/dependabot/go_modules/github.com/hsanjuan/ipfs-lite-1.1.10
build(deps): bump github.com/hsanjuan/ipfs-lite from 1.1.8 to 1.1.10
2020-04-23 12:05:12 +02:00
Hector Sanjuan
61ea6a3f7c
Merge pull request #1089 from ipfs/dependabot/go_modules/github.com/libp2p/go-ws-transport-0.3.1
build(deps): bump github.com/libp2p/go-ws-transport from 0.3.0 to 0.3.1
2020-04-23 12:04:50 +02:00
Hector Sanjuan
0c38a6f5fd
Merge pull request #1088 from ipfs/dependabot/go_modules/github.com/ipfs/go-log/v2-2.0.5
build(deps): bump github.com/ipfs/go-log/v2 from 2.0.4 to 2.0.5
2020-04-23 12:04:37 +02:00
dependabot-preview[bot]
721ddac6f2
build(deps): bump github.com/hsanjuan/ipfs-lite from 1.1.8 to 1.1.10
Bumps [github.com/hsanjuan/ipfs-lite](https://github.com/hsanjuan/ipfs-lite) from 1.1.8 to 1.1.10.
- [Release notes](https://github.com/hsanjuan/ipfs-lite/releases)
- [Commits](https://github.com/hsanjuan/ipfs-lite/compare/v1.1.8...v1.1.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-23 09:49:17 +00:00
dependabot-preview[bot]
7252bd4d20
build(deps): bump github.com/libp2p/go-ws-transport from 0.3.0 to 0.3.1
Bumps [github.com/libp2p/go-ws-transport](https://github.com/libp2p/go-ws-transport) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/libp2p/go-ws-transport/releases)
- [Commits](https://github.com/libp2p/go-ws-transport/compare/v0.3.0...v0.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-23 09:48:39 +00:00
dependabot-preview[bot]
10c6ea3115
build(deps): bump github.com/ipfs/go-log/v2 from 2.0.4 to 2.0.5
Bumps [github.com/ipfs/go-log/v2](https://github.com/ipfs/go-log) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/ipfs/go-log/releases)
- [Commits](https://github.com/ipfs/go-log/compare/v2.0.4...v2.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-22 11:30:37 +00:00
Hector Sanjuan
1499107835 Cluster: update docstring for setupPin() 2020-04-21 22:59:35 +02:00
Hector Sanjuan
2a2ca2ce46 Sharding: dag service: force pin mode to Recursive
This is just a safeguard.
2020-04-21 22:59:14 +02:00
Hector Sanjuan
fa762d78cf Improve PinLsCid to check for pinned items
Receive the full pin object so that it can decide whether to check
for recursive or direct pins directly.

Additionally, unpin will not check for the pin presence anymore and
simply trigger unpins (ignoring errors)
2020-04-21 17:23:55 +02:00
Hector Sanjuan
99eb29a7d6 cluster: do not allow to repin recursive pins as something else.
i.e. a direct pin can be repinned as recursive, but a recursive
pin cannot be pinned as direct (this fails in IPFS too).

Additionally, save a couple of calls to the datastore by obtaining the
existing pin only once.
2020-04-21 17:23:55 +02:00