This repository has been archived by the owner on Oct 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
feat: improved interop with go-ipfs 0.13 #160
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This ensures cid-codec introduced in ipfs/kubo#8568 gets correctly passed (+ we maintain backward-compatibility with CIDv0)
Suggested version: Changes in diff --git a/go.mod b/go.mod
index 00600ec..ee6485d 100644
--- a/go.mod
+++ b/go.mod
@@ -2,23 +2,76 @@ module github.com/ipfs/go-ipfs-http-client
require (
github.com/ipfs/go-block-format v0.0.3
- github.com/ipfs/go-cid v0.0.7
- github.com/ipfs/go-ipfs-cmds v0.6.0
- github.com/ipfs/go-ipfs-files v0.0.8
+ github.com/ipfs/go-cid v0.1.0
+ github.com/ipfs/go-ipfs-cmds v0.7.0
+ github.com/ipfs/go-ipfs-files v0.1.1
github.com/ipfs/go-ipld-format v0.4.0
github.com/ipfs/go-merkledag v0.6.0
- github.com/ipfs/go-path v0.1.1
- github.com/ipfs/go-unixfs v0.2.5
+ github.com/ipfs/go-path v0.3.0
+ github.com/ipfs/go-unixfs v0.3.1
github.com/ipfs/interface-go-ipfs-core v0.7.0
github.com/ipfs/iptb v1.4.0
github.com/ipfs/iptb-plugins v0.3.0
github.com/libp2p/go-libp2p-core v0.8.6
github.com/mitchellh/go-homedir v1.1.0
- github.com/multiformats/go-multiaddr v0.3.3
+ github.com/multiformats/go-multiaddr v0.5.0
github.com/multiformats/go-multibase v0.0.3
github.com/multiformats/go-multicodec v0.4.1
- github.com/multiformats/go-multihash v0.0.15
+ github.com/multiformats/go-multihash v0.1.0
github.com/pkg/errors v0.9.1
)
-go 1.16
+require (
+ github.com/btcsuite/btcd v0.21.0-beta // indirect
+ github.com/crackcomm/go-gitignore v0.0.0-20170627025303-887ab5e44cc3 // indirect
+ github.com/facebookgo/atomicfile v0.0.0-20151019160806-2de1f203e7d5 // indirect
+ github.com/gogo/protobuf v1.3.2 // indirect
+ github.com/google/uuid v1.2.0 // indirect
+ github.com/hashicorp/golang-lru v0.5.4 // indirect
+ github.com/ipfs/bbloom v0.0.4 // indirect
+ github.com/ipfs/go-blockservice v0.3.0 // indirect
+ github.com/ipfs/go-datastore v0.5.0 // indirect
+ github.com/ipfs/go-ipfs-blockstore v1.2.0 // indirect
+ github.com/ipfs/go-ipfs-chunker v0.0.1 // indirect
+ github.com/ipfs/go-ipfs-config v0.5.3 // indirect
+ github.com/ipfs/go-ipfs-ds-help v1.1.0 // indirect
+ github.com/ipfs/go-ipfs-exchange-interface v0.1.0 // indirect
+ github.com/ipfs/go-ipfs-posinfo v0.0.1 // indirect
+ github.com/ipfs/go-ipfs-util v0.0.2 // indirect
+ github.com/ipfs/go-ipld-cbor v0.0.5 // indirect
+ github.com/ipfs/go-ipld-legacy v0.1.0 // indirect
+ github.com/ipfs/go-log v1.0.5 // indirect
+ github.com/ipfs/go-log/v2 v2.3.0 // indirect
+ github.com/ipfs/go-metrics-interface v0.0.1 // indirect
+ github.com/ipfs/go-verifcid v0.0.1 // indirect
+ github.com/ipld/go-codec-dagpb v1.3.0 // indirect
+ github.com/ipld/go-ipld-prime v0.11.0 // indirect
+ github.com/jbenet/goprocess v0.1.4 // indirect
+ github.com/klauspost/cpuid/v2 v2.0.9 // indirect
+ github.com/libp2p/go-buffer-pool v0.0.2 // indirect
+ github.com/libp2p/go-openssl v0.0.7 // indirect
+ github.com/mattn/go-isatty v0.0.13 // indirect
+ github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1 // indirect
+ github.com/minio/sha256-simd v1.0.0 // indirect
+ github.com/mr-tron/base58 v1.2.0 // indirect
+ github.com/multiformats/go-base32 v0.0.3 // indirect
+ github.com/multiformats/go-base36 v0.1.0 // indirect
+ github.com/multiformats/go-varint v0.0.6 // indirect
+ github.com/opentracing/opentracing-go v1.2.0 // indirect
+ github.com/polydawn/refmt v0.0.0-20201211092308-30ac6d18308e // indirect
+ github.com/rs/cors v1.7.0 // indirect
+ github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572 // indirect
+ github.com/spaolacci/murmur3 v1.1.0 // indirect
+ github.com/whyrusleeping/cbor-gen v0.0.0-20200123233031-1cdf64d27158 // indirect
+ github.com/whyrusleeping/chunker v0.0.0-20181014151217-fe64bd25879f // indirect
+ go.uber.org/atomic v1.7.0 // indirect
+ go.uber.org/multierr v1.7.0 // indirect
+ go.uber.org/zap v1.16.0 // indirect
+ golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a // indirect
+ golang.org/x/sys v0.0.0-20210514084401-e8d321eab015 // indirect
+ golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
+ google.golang.org/protobuf v1.27.1 // indirect
+ lukechampine.com/blake3 v1.1.6 // indirect
+)
+
+go 1.17
|
go-ipfs 0.13 shipped, and this is blocking at least two teams I am aware of, merging in effort to unstuck people |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR ensures
ipfs block put --cid-codec
introduced in ipfs/kubo#8568 gets correctly passed (+ we maintain backward-compatibility with--format=v0
when CIDv0 is present).It also helps with
go.mod
issue described in #159TODO
cid.CodecToStr
go test
passiptb-plugins
used in tests workCloses #159