Artifact 77f24c72e5c75874cfd0d2e4b8f447b9f4377685c4b774077dd7a595e92a13c3:
- File
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: 1154) [annotate] [blame] [check-ins using]
module github.com/danmestas/go-libfossil go 1.26.0 require ( github.com/alecthomas/kong v1.15.0 github.com/danmestas/go-libfossil/db/driver/modernc v0.3.0 github.com/danmestas/go-libfossil/db/driver/ncruces v0.3.0 github.com/hexops/gotextdiff v1.0.3 golang.org/x/crypto v0.52.0 ) require ( github.com/danmestas/go-sqlite3-opfs v0.2.0 // indirect 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-sqlite3 v0.33.0 // indirect github.com/ncruces/go-sqlite3-wasm v1.0.1-0.20260321101821-261d0f98d39c // indirect github.com/ncruces/go-strftime v1.0.0 // indirect github.com/ncruces/julianday 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/mod v0.33.0 // indirect golang.org/x/sync v0.20.0 // indirect golang.org/x/sys v0.45.0 // indirect modernc.org/libc v1.67.6 // indirect modernc.org/mathutil v1.7.1 // indirect modernc.org/memory v1.11.0 // indirect modernc.org/sqlite v1.46.1 // indirect )