Skip to content

Rename Go module path zosbase -> zos_base (P1, breaking)#119

Merged
ashraffouda merged 1 commit into
mainfrom
rename-module-to-zos-base
Jul 9, 2026
Merged

Rename Go module path zosbase -> zos_base (P1, breaking)#119
ashraffouda merged 1 commit into
mainfrom
rename-module-to-zos-base

Conversation

@ashraffouda

Copy link
Copy Markdown
Collaborator

Renames the Go module path to match the renamed repo, removing the dependency on GitHub's non-permanent rename redirect for Go imports.

  • go.mod: module github.com/threefoldtech/zosbase -> …/zos_base
  • 665 internal import paths across 261 files rewritten
  • pkg/Makefile go:generate, scripts/qsfs/go.mod (require + replace LHS) updated; local ../../zosbasebak path unchanged
  • Docs/README links left for the P2 pass

⚠️ BREAKING — coordinated rollout

Existing consumers import github.com/threefoldtech/zosbase. After this merges, a new tag must be cut (e.g. v1.1.0) so consumers can move to github.com/threefoldtech/zos_base@v1.1.0. Until they do, they keep building on the old zosbase tags (still served by the Go proxy) — no hard break.

Consumers to update next: zos, zos_light, zos_v4, grid_agent, grid_terraform, grid_pulumi, qss_quantum_storage/quantumd.

Part of the module-path migration — see the tracking issue threefoldtech/zos#2693.

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>
@ashraffouda ashraffouda merged commit d799e22 into main Jul 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant