Skip to content

Commit

Permalink
Downgraded dependencies to allow Docker-based build
Browse files Browse the repository at this point in the history
Signed-off-by: Yinuo Deng <[email protected]>
  • Loading branch information
dynos01 committed Sep 25, 2023
1 parent a39fdc4 commit 915fe60
Show file tree
Hide file tree
Showing 3,179 changed files with 175,577 additions and 296,294 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
20 changes: 10 additions & 10 deletions cmd/dist-receiver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ import (

b64 "encoding/base64"

icore "github.com/ipfs/boxo/coreiface"
icorepath "github.com/ipfs/boxo/coreiface/path"
"github.com/ipfs/boxo/files"
"github.com/libp2p/go-libp2p/core/peer"
config "github.com/ipfs/go-ipfs-config"
files "github.com/ipfs/go-ipfs-files"
icore "github.com/ipfs/interface-go-ipfs-core"
icorepath "github.com/ipfs/interface-go-ipfs-core/path"
ma "github.com/multiformats/go-multiaddr"

"github.com/ipfs/kubo/config"
"github.com/ipfs/kubo/core"
"github.com/ipfs/kubo/core/coreapi"
"github.com/ipfs/kubo/core/node/libp2p"
"github.com/ipfs/kubo/plugin/loader"
"github.com/ipfs/kubo/repo/fsrepo"
"github.com/ipfs/go-ipfs/core"
"github.com/ipfs/go-ipfs/core/coreapi"
"github.com/ipfs/go-ipfs/core/node/libp2p"
"github.com/ipfs/go-ipfs/plugin/loader"
"github.com/ipfs/go-ipfs/repo/fsrepo"
"github.com/libp2p/go-libp2p-core/peer"
)

var stageNow int
Expand Down
234 changes: 132 additions & 102 deletions go.mod

Large diffs are not rendered by default.

1,727 changes: 1,480 additions & 247 deletions go.sum

Large diffs are not rendered by default.

28 changes: 13 additions & 15 deletions pkg/imagedistributor/p2p_distributor.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,26 @@ import (
"strings"
"time"

"github.com/ipfs/boxo/coreiface/options"
"github.com/ipfs/boxo/coreiface/path"
"github.com/ipfs/boxo/files"
"github.com/ipfs/kubo/config"
"github.com/ipfs/kubo/core"
"github.com/ipfs/kubo/core/coreapi"
"github.com/ipfs/kubo/core/node/libp2p"
"github.com/ipfs/kubo/plugin/loader"
"github.com/ipfs/kubo/repo/fsrepo"
"github.com/libp2p/go-libp2p/core/host"
"github.com/libp2p/go-libp2p/core/peer"
"github.com/libp2p/go-libp2p/core/peerstore"
config "github.com/ipfs/go-ipfs-config"
files "github.com/ipfs/go-ipfs-files"
"github.com/ipfs/go-ipfs/core"
"github.com/ipfs/go-ipfs/core/coreapi"
"github.com/ipfs/go-ipfs/core/node/libp2p"
"github.com/ipfs/go-ipfs/plugin/loader"
"github.com/ipfs/go-ipfs/repo/fsrepo"
"github.com/ipfs/interface-go-ipfs-core/options"
"github.com/ipfs/interface-go-ipfs-core/path"
"github.com/libp2p/go-libp2p-core/host"
"github.com/libp2p/go-libp2p-core/peer"
"github.com/libp2p/go-libp2p-core/peerstore"
"github.com/sealerio/sealer/pkg/env"
"github.com/sealerio/sealer/pkg/infradriver"
"github.com/sirupsen/logrus"
"golang.org/x/sync/errgroup"

b64 "encoding/base64"

icore "github.com/ipfs/boxo/coreiface"
icore "github.com/ipfs/interface-go-ipfs-core"
lp2p "github.com/libp2p/go-libp2p"
sealerConfig "github.com/sealerio/sealer/pkg/config"
v1 "github.com/sealerio/sealer/types/api/v1"
Expand Down Expand Up @@ -81,8 +81,6 @@ func (p *p2pDistributor) Distribute(hosts []net.IP, dest string) error {
p.distributeImpl(hosts, info.MountDir, dest)
}

logrus.Warnf("OKAY!")

return nil
}

Expand Down
179 changes: 0 additions & 179 deletions vendor/github.com/Jorropo/jsync/LICENSE-APACHE

This file was deleted.

71 changes: 0 additions & 71 deletions vendor/github.com/Jorropo/jsync/jsync.go

This file was deleted.

21 changes: 21 additions & 0 deletions vendor/github.com/Stebalien/go-bitfield/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions vendor/github.com/Stebalien/go-bitfield/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 915fe60

Please sign in to comment.