Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bring in line with latest kubo, boxo, libp2p #142

Merged
merged 1 commit into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
202 changes: 94 additions & 108 deletions go.mod

Large diffs are not rendered by default.

1,074 changes: 210 additions & 864 deletions go.sum

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions http.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ package main
import (
"context"

ipfshttp "github.com/ipfs/go-ipfs-http-client"
iface "github.com/ipfs/interface-go-ipfs-core"
iface "github.com/ipfs/boxo/coreiface"
ipfshttp "github.com/ipfs/kubo/client/rpc"
)

func http(ctx context.Context) (iface.CoreAPI, error) {
httpApi, err := ipfshttp.NewLocalApi()
httpAPI, err := ipfshttp.NewLocalApi()
if err != nil {
return nil, err
}
err = httpApi.Request("version").Exec(ctx, nil)
err = httpAPI.Request("version").Exec(ctx, nil)
if err != nil {
return nil, err
}
return httpApi, nil
return httpAPI, nil
}
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"syscall"

"github.com/cheggaaa/pb/v3"
files "github.com/ipfs/go-libipfs/files"
iface "github.com/ipfs/interface-go-ipfs-core"
ipath "github.com/ipfs/interface-go-ipfs-core/path"
iface "github.com/ipfs/boxo/coreiface"
ipath "github.com/ipfs/boxo/coreiface/path"
files "github.com/ipfs/boxo/files"
cli "github.com/urfave/cli/v2"
)

Expand Down
4 changes: 2 additions & 2 deletions node.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"os"
"path/filepath"

iface "github.com/ipfs/interface-go-ipfs-core"
"github.com/ipfs/interface-go-ipfs-core/options"
iface "github.com/ipfs/boxo/coreiface"
"github.com/ipfs/boxo/coreiface/options"
config "github.com/ipfs/kubo/config"
"github.com/ipfs/kubo/core"
"github.com/ipfs/kubo/core/coreapi"
Expand Down
224 changes: 106 additions & 118 deletions sharness/dependencies/go.mod

Large diffs are not rendered by default.

1,039 changes: 235 additions & 804 deletions sharness/dependencies/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion util.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"sync"

iface "github.com/ipfs/interface-go-ipfs-core"
iface "github.com/ipfs/boxo/coreiface"
peer "github.com/libp2p/go-libp2p/core/peer"
ma "github.com/multiformats/go-multiaddr"
)
Expand Down