Artifact e902f3a88fb4158acf54919a20798981ff95a37db5f2c6aa116cfc66f271516b:
- File
db/driver/modernc/go.mod
— part of check-in
[2de18e7747]
at
2026-07-25 01:19:03
on branch trunk
— chore: drop go.mod replace directives, unblock release (#161)
* chore: bump driver submodule requires, drop root replace directives
The db/driver submodules now have real tags under the corrected go-libfossil module path (v0.3.0 for modernc and ncruces). Root no longer needs to resolve them from local directories via replace.
go mod tidy also cleared the stale old-path (danmestas/libfossil) lines the earlier replace bridge left behind in go.sum.
* chore: drop submodule replace directives, pin root require to a pseudo-version
The three submodules required the root module (which they import directly or transitively) but no root tag has ever existed under the corrected go-libfossil path -- every prior tag (v0.1.0 through v0.6.3) still declares the old danmestas/libfossil path in its own go.mod, so pinning to any of them would reproduce the exact declares-as-X-required-as-Y failure the module rename was fixing.
Pinned each submodule's require on root to a pseudo-version of the just-pushed go.mod cleanup commit (48111c1) instead of a tag -- the standard resolution for this bootstrapping case. This is a stopgap: once the next root release tag exists, these can be bumped to point at it directly instead of the pseudo-version, but there's no functional difference in the meantime.
go mod tidy on each submodule also dropped now-unneeded indirect requires (modernc/ncruces don't actually import each other; the requires existed only to satisfy the local replace directives) and cleared the stale old-path go.sum lines.
All four go.mod files are now free of replace directives. (user: [email protected], size: 731) [annotate] [blame] [check-ins using]
module github.com/danmestas/go-libfossil/db/driver/modernc go 1.26.0 require ( github.com/danmestas/go-libfossil v0.6.4-0.20260724230440-48111c1c984d modernc.org/sqlite v1.46.1 ) require ( github.com/dustin/go-humanize v1.0.1 // indirect github.com/google/uuid v1.6.0 // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/ncruces/go-strftime v1.0.0 // indirect github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect golang.org/x/exp v0.0.0-20251023183803-a4bb9ffd2546 // indirect golang.org/x/sys v0.45.0 // indirect golang.org/x/tools v0.42.0 // indirect modernc.org/libc v1.67.6 // indirect modernc.org/mathutil v1.7.1 // indirect modernc.org/memory v1.11.0 // indirect )