Skip to content

Commit ed59259

Browse files
ashraffoudaclaude
andcommitted
Rename Go module path zosbase -> zos_base to match repo
The repo was renamed zosbase -> zos_base. This renames the module directive and all 665 internal import paths (261 files) so the module no longer depends on GitHub's non-permanent rename redirect. Also updates pkg/Makefile go:generate and scripts/qsfs/go.mod (require + replace LHS; the local ../../zosbasebak path is unchanged). BREAKING: consumers importing github.com/threefoldtech/zosbase must switch to github.com/threefoldtech/zos_base and bump to a new tag cut after this merges. Consumers: zos, zos_light, zos_v4, grid_agent, grid_terraform, grid_pulumi, qss_quantum_storage. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 5a59c81 commit ed59259

261 files changed

Lines changed: 665 additions & 665 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

client/_http/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/lestrrat-go/jwx/jwt"
1414
"github.com/pkg/errors"
1515
"github.com/rs/zerolog/log"
16-
zoscrypt "github.com/threefoldtech/zosbase/pkg/crypto"
16+
zoscrypt "github.com/threefoldtech/zos_base/pkg/crypto"
1717
"github.com/yggdrasil-network/yggdrasil-go/src/address"
1818
"github.com/yggdrasil-network/yggdrasil-go/src/crypto"
1919
)

client/_http/node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
"github.com/hashicorp/go-retryablehttp"
1313
"github.com/pkg/errors"
14-
"github.com/threefoldtech/zosbase/pkg/gridtypes"
14+
"github.com/threefoldtech/zos_base/pkg/gridtypes"
1515
)
1616

1717
var (

client/node.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import (
55
"net"
66

77
"github.com/threefoldtech/tfgrid-sdk-go/rmb-sdk-go"
8-
"github.com/threefoldtech/zosbase/pkg"
9-
"github.com/threefoldtech/zosbase/pkg/capacity/dmi"
10-
"github.com/threefoldtech/zosbase/pkg/diagnostics"
11-
"github.com/threefoldtech/zosbase/pkg/gridtypes"
8+
"github.com/threefoldtech/zos_base/pkg"
9+
"github.com/threefoldtech/zos_base/pkg/capacity/dmi"
10+
"github.com/threefoldtech/zos_base/pkg/diagnostics"
11+
"github.com/threefoldtech/zos_base/pkg/gridtypes"
1212
)
1313

1414
// NodeClient struct

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/threefoldtech/zosbase
1+
module github.com/threefoldtech/zos_base
22

33
go 1.25.0
44

pkg/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ testrace: lint build
2424

2525
generate:
2626
@echo "Generating modules client stubs"
27-
go generate github.com/threefoldtech/zosbase/pkg
27+
go generate github.com/threefoldtech/zos_base/pkg
2828

2929
build:
3030
@CGO_ENABLED=0 go build -v ./...

pkg/api_gateway.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
substrate "github.com/threefoldtech/tfchain/clients/tfchain-client-go"
88
)
99

10-
//go:generate zbusc -module api-gateway -version 0.0.1 -name api-gateway -package stubs github.com/threefoldtech/zosbase/pkg+SubstrateGateway stubs/api_gateway_stub.go
10+
//go:generate zbusc -module api-gateway -version 0.0.1 -name api-gateway -package stubs github.com/threefoldtech/zos_base/pkg+SubstrateGateway stubs/api_gateway_stub.go
1111

1212
type SubstrateGateway interface {
1313
UpdateSubstrateGatewayConnection(manager substrate.Manager) (err error)

pkg/app/boot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"path/filepath"
55

66
"github.com/pkg/errors"
7-
"github.com/threefoldtech/zosbase/pkg"
7+
"github.com/threefoldtech/zos_base/pkg"
88
)
99

1010
// defaultBootedPath is the path where to store the booted flag

pkg/app/boot_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"time"
1010

1111
"github.com/stretchr/testify/require"
12-
"github.com/threefoldtech/zosbase/pkg"
12+
"github.com/threefoldtech/zos_base/pkg"
1313
)
1414

1515
type readCloser struct {

pkg/app/flag.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"path/filepath"
77

88
"github.com/pkg/errors"
9-
"github.com/threefoldtech/zosbase/pkg"
9+
"github.com/threefoldtech/zos_base/pkg"
1010
)
1111

1212
const (

pkg/app/flag_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"testing"
88

99
"github.com/stretchr/testify/require"
10-
"github.com/threefoldtech/zosbase/pkg"
10+
"github.com/threefoldtech/zos_base/pkg"
1111
)
1212

1313
// TestSetFlag tests the setFlag function against multiple scenarios.

0 commit comments

Comments
 (0)