Skip to content

Commit 3be659b

Browse files
committed
mod: add replace directive to compile tapd
Because tapd now uses a fork of the SQL migration library, which can only be used through a replace directive which isn't populated transitively to other dependent projects, we now need to copy that directive to every project.
1 parent 7e81916 commit 3be659b

File tree

2 files changed

+44
-53
lines changed

2 files changed

+44
-53
lines changed

go.mod

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0
1414
github.com/fortytw2/leaktest v1.3.0
1515
github.com/golang-migrate/migrate/v4 v4.17.0
16-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0
16+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0
1717
github.com/jackc/pgconn v1.14.3
1818
github.com/jackc/pgerrcode v0.0.0-20240316143900-6e2875d9b438
1919
github.com/jessevdk/go-flags v1.4.0
@@ -22,7 +22,7 @@ require (
2222
github.com/lightninglabs/lndclient v0.19.0-4
2323
github.com/lightninglabs/loop/looprpc v1.0.0
2424
github.com/lightninglabs/loop/swapserverrpc v1.0.13
25-
github.com/lightninglabs/taproot-assets v0.5.2-0.20250424162728-b6000498210d
25+
github.com/lightninglabs/taproot-assets v0.5.2-0.20250425085227-03cdc3be8151
2626
github.com/lightningnetwork/lnd v0.19.0-beta.rc2.0.20250423092132-a35ace7371af
2727
github.com/lightningnetwork/lnd/cert v1.2.2
2828
github.com/lightningnetwork/lnd/clock v1.1.1
@@ -47,7 +47,7 @@ require github.com/btcsuite/btclog/v2 v2.0.1-0.20250110154127-3ae4bf1cb318
4747
require (
4848
dario.cat/mergo v1.0.1 // indirect
4949
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
50-
github.com/Microsoft/go-winio v0.6.1 // indirect
50+
github.com/Microsoft/go-winio v0.6.2 // indirect
5151
github.com/NebulousLabs/fastrand v0.0.0-20181203155948-6fb6489aac4e // indirect
5252
github.com/NebulousLabs/go-upnp v0.0.0-20180202185039-29b680b06c82 // indirect
5353
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
@@ -74,7 +74,7 @@ require (
7474
github.com/decred/dcrd/lru v1.1.2 // indirect
7575
github.com/docker/cli v28.0.1+incompatible // indirect
7676
github.com/docker/docker v28.0.1+incompatible // indirect
77-
github.com/docker/go-connections v0.4.0 // indirect
77+
github.com/docker/go-connections v0.5.0 // indirect
7878
github.com/docker/go-units v0.5.0 // indirect
7979
github.com/dustin/go-humanize v1.0.1 // indirect
8080
github.com/fergusstrange/embedded-postgres v1.25.0 // indirect
@@ -138,7 +138,7 @@ require (
138138
github.com/modern-go/reflect2 v1.0.2 // indirect
139139
github.com/ncruces/go-strftime v0.1.9 // indirect
140140
github.com/opencontainers/go-digest v1.0.0 // indirect
141-
github.com/opencontainers/image-spec v1.0.2 // indirect
141+
github.com/opencontainers/image-spec v1.1.0 // indirect
142142
github.com/opencontainers/runc v1.2.0 // indirect
143143
github.com/pkg/errors v0.9.1 // indirect
144144
github.com/pmezard/go-difflib v1.0.0 // indirect
@@ -170,27 +170,27 @@ require (
170170
go.etcd.io/etcd/raft/v3 v3.5.12 // indirect
171171
go.etcd.io/etcd/server/v3 v3.5.12 // indirect
172172
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
173-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1 // indirect
173+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
174174
go.opentelemetry.io/otel v1.35.0 // indirect
175-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.20.0 // indirect
175+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.29.0 // indirect
176176
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.20.0 // indirect
177177
go.opentelemetry.io/otel/metric v1.35.0 // indirect
178178
go.opentelemetry.io/otel/sdk v1.35.0 // indirect
179179
go.opentelemetry.io/otel/trace v1.35.0 // indirect
180-
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
180+
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
181181
go.uber.org/atomic v1.10.0 // indirect
182182
go.uber.org/multierr v1.6.0 // indirect
183183
go.uber.org/zap v1.23.0 // indirect
184184
golang.org/x/crypto v0.36.0 // indirect
185185
golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 // indirect
186-
golang.org/x/mod v0.17.0 // indirect
186+
golang.org/x/mod v0.21.0 // indirect
187187
golang.org/x/sync v0.12.0 // indirect
188188
golang.org/x/sys v0.31.0 // indirect
189189
golang.org/x/term v0.30.0 // indirect
190190
golang.org/x/text v0.23.0 // indirect
191-
golang.org/x/time v0.3.0 // indirect
192-
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
193-
google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b // indirect
191+
golang.org/x/time v0.5.0 // indirect
192+
golang.org/x/tools v0.24.0 // indirect
193+
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 // indirect
194194
google.golang.org/genproto/googleapis/api v0.0.0-20240730163845-b1a4ccb954bf // indirect
195195
google.golang.org/genproto/googleapis/rpc v0.0.0-20240730163845-b1a4ccb954bf // indirect
196196
gopkg.in/errgo.v1 v1.0.1 // indirect
@@ -208,6 +208,10 @@ require (
208208
// allows us to specify that as an option.
209209
replace google.golang.org/protobuf => github.com/lightninglabs/protobuf-go-hex-display v1.34.2-hex-display
210210

211+
// We are using a fork of the migration library with custom functionality that
212+
// did not yet make it into the upstream repository.
213+
replace github.com/golang-migrate/migrate/v4 => github.com/lightninglabs/migrate/v4 v4.18.2-9023d66a-fork-pr-2
214+
211215
replace github.com/lightninglabs/loop/swapserverrpc => ./swapserverrpc
212216

213217
replace github.com/lightninglabs/loop/looprpc => ./looprpc

0 commit comments

Comments
 (0)