Skip to content

Migrate zosbase -> zos_base module (v1.1.0)#33

Closed
ashraffouda wants to merge 2 commits into
mainfrom
migrate-to-zos-base-module
Closed

Migrate zosbase -> zos_base module (v1.1.0)#33
ashraffouda wants to merge 2 commits into
mainfrom
migrate-to-zos-base-module

Conversation

@ashraffouda

Copy link
Copy Markdown
Collaborator

Moves the Go dependency from github.com/threefoldtech/zosbase to github.com/threefoldtech/zos_base@v1.1.0 (threefoldtech/zos_base#119), removing the Go-import dependency on GitHub's rename redirect.

  • go.mod: zosbase v1.0.3 -> zos_base v1.1.0
  • go.sum updated
  • import statements rewritten (44 files)
  • nested tools/zos-update-worker module does not use zosbase and is untouched

Note: version jump v1.0.3 -> v1.1.0; CI validates. Part of the P1 module-path migration — #2693.

The zosbase module was renamed to github.com/threefoldtech/zos_base. Update the
go.mod require (v1.0.3 -> zos_base v1.1.0), go.sum, and the import statements.
The nested tools/zos-update-worker module does not use zosbase and is untouched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The 'Set up Go' step (setup-go@v1) fails on the current GitHub host runner
(Node 24), blocking the build before it compiles. Bump to v5 so CI can validate
the zos_base migration. Container builders are untouched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ashraffouda

Copy link
Copy Markdown
Collaborator Author

Closing/deferring: zos_v4 is pinned to zosbase@v1.0.3, and bumping to zos_base@v1.1.0 fails to compile because the Provision interface gained ListTwins since v1.0.3 (*NativeEngine does not implement Provision). This is a version upgrade requiring code changes, not a mechanical module rename. zos_v4 keeps building on zosbase@v1.0.3 via the Go proxy for now; a proper migration needs the interface methods implemented first. Tracked in threefoldtech/zos#2693.

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