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

Use Go 1.24 module tool directives #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
4 changes: 3 additions & 1 deletion dcrctl/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module decred.org/release/v2/dcrctl

go 1.17
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, I approved it already, but now I'm wondering if this needs to be go1.24 for the tool directive (and same with the others). It works fine with a go.work which requires go1.24, but without it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope, not needed


require decred.org/dcrctl v0.0.0-20241111214514-3d8c38ba43ab
require decred.org/dcrctl v0.0.0-20241111214514-3d8c38ba43ab // indirect

require (
decred.org/dcrwallet/v4 v4.2.0 // indirect
Expand All @@ -27,3 +27,5 @@ require (
golang.org/x/sys v0.23.0 // indirect
lukechampine.com/blake3 v1.3.0 // indirect
)

tool decred.org/dcrctl
11 changes: 0 additions & 11 deletions dcrctl/require.go

This file was deleted.

8 changes: 7 additions & 1 deletion dcrd/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module decred.org/release/v2/dcrd

go 1.19

require github.com/decred/dcrd v1.9.5
require github.com/decred/dcrd v1.9.5 // indirect

require (
decred.org/cspp/v2 v2.3.0 // indirect
Expand Down Expand Up @@ -55,3 +55,9 @@ require (
golang.org/x/text v0.17.0 // indirect
lukechampine.com/blake3 v1.3.0 // indirect
)

tool (
github.com/decred/dcrd
github.com/decred/dcrd/cmd/gencerts
github.com/decred/dcrd/cmd/promptsecret
)
13 changes: 0 additions & 13 deletions dcrd/require.go

This file was deleted.

7 changes: 6 additions & 1 deletion dcrdex/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module decred.org/release/v2/dcrdex

go 1.21

require decred.org/dcrdex v1.0.2
require decred.org/dcrdex v1.0.2 // indirect

require (
decred.org/cspp/v2 v2.3.0 // indirect
Expand Down Expand Up @@ -176,3 +176,8 @@ require (
lukechampine.com/blake3 v1.3.0 // indirect
rsc.io/tmplfunc v0.0.3 // indirect
)

tool (
decred.org/dcrdex/client/cmd/bisonw
decred.org/dcrdex/client/cmd/bwctl
)
12 changes: 0 additions & 12 deletions dcrdex/require.go

This file was deleted.

7 changes: 6 additions & 1 deletion dcrlnd/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module decred.org/release/v2/dcrlnd

go 1.20

require github.com/decred/dcrlnd v0.7.5
require github.com/decred/dcrlnd v0.7.5 // indirect

require (
decred.org/cspp/v2 v2.3.0 // indirect
Expand Down Expand Up @@ -167,3 +167,8 @@ require (
lukechampine.com/blake3 v1.3.0 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
)

tool (
github.com/decred/dcrlnd/cmd/dcrlncli
github.com/decred/dcrlnd/cmd/dcrlnd
)
12 changes: 0 additions & 12 deletions dcrlnd/require.go

This file was deleted.

4 changes: 3 additions & 1 deletion dcrwallet/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module decred.org/release/v2/dcrwallet

go 1.20

require decred.org/dcrwallet/v4 v4.2.0
require decred.org/dcrwallet/v4 v4.2.0 // indirect

require (
decred.org/cspp/v2 v2.3.0 // indirect
Expand Down Expand Up @@ -56,3 +56,5 @@ require (
google.golang.org/protobuf v1.27.1 // indirect
lukechampine.com/blake3 v1.3.0 // indirect
)

tool decred.org/dcrwallet/v4
11 changes: 0 additions & 11 deletions dcrwallet/require.go

This file was deleted.

4 changes: 3 additions & 1 deletion decred-release/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module decred.org/release/v2/decred-release

go 1.17

require github.com/decred/decred-release v1.8.2-0.20240830144532-abac5176e504
require github.com/decred/decred-release v1.8.2-0.20240830144532-abac5176e504 // indirect

require (
github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412 // indirect
Expand All @@ -22,3 +22,5 @@ require (
golang.org/x/crypto v0.0.0-20220817201139-bc19a97f63c8 // indirect
golang.org/x/sys v0.6.0 // indirect
)

tool github.com/decred/decred-release/cmd/dcrinstall
11 changes: 0 additions & 11 deletions decred-release/require.go

This file was deleted.

7 changes: 6 additions & 1 deletion politeia/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module decred.org/release/v2/politeia

go 1.17

require github.com/decred/politeia v1.5.0
require github.com/decred/politeia v1.5.0 // indirect

require (
decred.org/dcrwallet v1.7.0 // indirect
Expand Down Expand Up @@ -47,3 +47,8 @@ require (
google.golang.org/grpc v1.46.0 // indirect
google.golang.org/protobuf v1.28.0 // indirect
)

tool (
github.com/decred/politeia/politeiawww/cmd/politeiaverify
github.com/decred/politeia/politeiawww/cmd/politeiavoter
)
12 changes: 0 additions & 12 deletions politeia/require.go

This file was deleted.