Skip to content

Commit 104d7b1

Browse files
committed
Updated dependencies
This required a minor-tweak to the torrent sub-command.
1 parent c909b59 commit 104d7b1

File tree

3 files changed

+561
-122
lines changed

3 files changed

+561
-122
lines changed

cmd_torrent.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"strings"
77
"time"
88

9-
"github.com/anacrolix/log"
109
"github.com/anacrolix/torrent"
1110
"github.com/dustin/go-humanize"
1211
"github.com/skx/subcommands"
@@ -74,7 +73,7 @@ func (s *torrentCommand) Execute(args []string) int {
7473
// Ensure we have only a single argument.
7574
//
7675
if len(args) != 1 {
77-
fmt.Printf("You must specify a single magnet link")
76+
fmt.Printf("You must specify a magnet link to download\n")
7877
return 1
7978
}
8079

@@ -90,7 +89,6 @@ func (s *torrentCommand) Execute(args []string) int {
9089
// Create the default client-configuration.
9190
//
9291
clientConfig := torrent.NewDefaultClientConfig()
93-
clientConfig.Logger = log.Discard
9492

9593
//
9694
// Create the client.

go.mod

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,44 @@ module github.com/skx/sysbox
33
go 1.16
44

55
require (
6-
github.com/anacrolix/log v0.9.0 // indirect
7-
github.com/anacrolix/torrent v1.33.0 // indirect
8-
github.com/armon/go-metrics v0.3.9 // indirect
6+
github.com/anacrolix/dht/v2 v2.17.0 // indirect
7+
github.com/anacrolix/envpprof v1.2.1 // indirect
8+
github.com/anacrolix/log v0.13.1 // indirect
9+
github.com/anacrolix/missinggo/v2 v2.6.0 // indirect
10+
github.com/anacrolix/multiless v0.3.0 // indirect
11+
github.com/anacrolix/torrent v1.41.1-0.20220309095723-02b6ee995497
12+
github.com/armon/go-metrics v0.3.10 // indirect
13+
github.com/bits-and-blooms/bitset v1.2.2 // indirect
914
github.com/creack/pty v1.1.17
10-
github.com/dustin/go-humanize v1.0.0 // indirect
15+
github.com/dustin/go-humanize v1.0.0
16+
github.com/edsrzf/mmap-go v1.1.0 // indirect
1117
github.com/gdamore/tcell/v2 v2.4.1-0.20210905002822-f057f0a857a1
12-
github.com/google/btree v1.0.1 // indirect
1318
github.com/google/goexpect v0.0.0-20210430020637-ab937bf7fd6f
1419
github.com/google/goterm v0.0.0-20200907032337-555d40f16ae2 // indirect
20+
github.com/gorilla/websocket v1.5.0 // indirect
1521
github.com/hashicorp/errwrap v1.1.0 // indirect
1622
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
1723
github.com/hashicorp/go-msgpack v1.1.5 // indirect
1824
github.com/hashicorp/go-multierror v1.1.1 // indirect
1925
github.com/hashicorp/go-sockaddr v1.0.2 // indirect
20-
github.com/hashicorp/go-uuid v1.0.1 // indirect
21-
github.com/hashicorp/golang-lru v0.5.4 // indirect
22-
github.com/hashicorp/memberlist v0.2.4
23-
github.com/miekg/dns v1.1.43 // indirect
26+
github.com/hashicorp/memberlist v0.3.1
27+
github.com/mattn/go-isatty v0.0.14 // indirect
28+
github.com/miekg/dns v1.1.47 // indirect
2429
github.com/nightlyone/lockfile v1.0.0
25-
github.com/peterh/liner v1.2.1
26-
github.com/rivo/tview v0.0.0-20211001102648-5508f4b00266
30+
github.com/peterh/liner v1.2.2
31+
github.com/pion/webrtc/v3 v3.1.26 // indirect
32+
github.com/rivo/tview v0.0.0-20220307222120-9994674d60a8
33+
github.com/rs/dnscache v0.0.0-20211102005908-e0241e321417 // indirect
2734
github.com/skx/subcommands v0.9.2
28-
github.com/stretchr/testify v1.7.0 // indirect
29-
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
30-
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f
31-
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
32-
golang.org/x/sys v0.0.0-20211015200801-69063c4bb744 // indirect
35+
golang.org/x/crypto v0.0.0-20220321153916-2c7772ba3064 // indirect
36+
golang.org/x/net v0.0.0-20220225172249-27dd8689420f
37+
golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8 // indirect
3338
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
34-
golang.org/x/text v0.3.7 // indirect
35-
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
36-
google.golang.org/genproto v0.0.0-20211016002631-37fc39342514 // indirect
37-
google.golang.org/grpc v1.41.0 // indirect
38-
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
39+
golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 // indirect
40+
golang.org/x/tools v0.1.10 // indirect
41+
google.golang.org/genproto v0.0.0-20220322021311-435b647f9ef2 // indirect
42+
google.golang.org/protobuf v1.28.0 // indirect
3943
gopkg.in/yaml.v2 v2.4.0
44+
modernc.org/sqlite v1.15.3 // indirect
45+
zombiezen.com/go/sqlite v0.9.2 // indirect
4046
)

0 commit comments

Comments
 (0)