Skip to content

feat!: migrate to cozystack organization and cozystack/cozystack registry namespace#14

Merged
Aleksei Sviridkin (lexfrei) merged 4 commits into
masterfrom
chore/migrate-to-cozystack-org
Jun 11, 2026
Merged

feat!: migrate to cozystack organization and cozystack/cozystack registry namespace#14
Aleksei Sviridkin (lexfrei) merged 4 commits into
masterfrom
chore/migrate-to-cozystack-org

Conversation

@lexfrei

@lexfrei Aleksei Sviridkin (lexfrei) commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

The repository moved to the cozystack GitHub organization. This migrates the Go module path, the Terraform Registry namespace, and supporting metadata in preparation for publishing the provider under cozystack/cozystack.

Changes

  • Rename the Go module path from github.com/lexfrei/... to github.com/cozystack/... and update all internal imports.
  • Switch the provider registry namespace from lexfrei/cozystack to cozystack/cozystack across the provider Address, README, generated docs, examples, and the docs-generation dev override.
  • Point the CONTRIBUTING clone URL at the cozystack organization and remove the personal funding configuration.
  • Add a v1.4.3 CHANGELOG entry documenting the namespace change as breaking.

Testing

  • Unit tests pass locally (make test)
  • Linters pass locally (make lint)
  • Generated docs are up to date (make docs produces no diff)
  • Acceptance tests pass against a live cluster (make testacc), if applicable

Acceptance tests were not run: this is a rename/metadata migration with no behavioral change.

Documentation

  • Examples added or updated under examples/ (if a resource/data source changed)
  • Registry docs regenerated (make docs)
  • CHANGELOG updated (if user-facing)

Checklist

  • Commit messages follow semantic format (type(scope): description)
  • No secrets or credentials in code or state
  • Breaking changes documented (if any)

Additional Notes

The tracked Cozystack API module is already at v1.4.3 on master; api/apps/v1alpha1 has no schema changes over v1.4.2, so the typed-model spec-coverage guards are unaffected. After merge, the release is cut manually with GoReleaser and published to the registry under cozystack/cozystack.

Summary by CodeRabbit

  • Chores

    • Migrated provider namespace from lexfrei/cozystack to cozystack/cozystack
    • Updated module paths and registry addresses across codebase
    • Updated API version reference to apps.cozystack.io v1.4.3
  • Documentation

    • Updated provider configuration examples and development setup instructions with new registry paths
  • Breaking Changes

    • Users must update their required_providers source from lexfrei/cozystack to cozystack/cozystack

The repository moved to the cozystack GitHub organization. Update the
module path in go.mod and all internal import paths to match.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
The provider now publishes under the cozystack namespace instead of
lexfrei. Update the provider Address, documentation, examples, and the
docs-generation dev override accordingly.

BREAKING CHANGE: the provider source changes from lexfrei/cozystack to
cozystack/cozystack. Existing configurations must update the source in
their required_providers block.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
Point the clone URL in CONTRIBUTING at the cozystack organization and
drop the personal funding configuration.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
Document the move to the cozystack organization and the registry
namespace change as a breaking change.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

Pull request was closed or merged during review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ea005239-ead1-42dc-a43f-4500787505fc

📥 Commits

Reviewing files that changed from the base of the PR and between a9487e0 and c39f0a0.

📒 Files selected for processing (83)
  • .github/FUNDING.yml
  • CHANGELOG.md
  • CONTRIBUTING.md
  • README.md
  • docs/index.md
  • examples/provider/provider.tf
  • go.mod
  • internal/client/client_test.go
  • internal/client/config_test.go
  • internal/client/exec_test.go
  • internal/client/outputs_test.go
  • internal/client/secretobject_test.go
  • internal/client/uid_test.go
  • internal/provider/acc_test.go
  • internal/provider/backups_typed.go
  • internal/provider/backups_typed_test.go
  • internal/provider/bucket_data_source.go
  • internal/provider/bucket_model.go
  • internal/provider/bucket_model_test.go
  • internal/provider/bucket_resource.go
  • internal/provider/clickhouse_model.go
  • internal/provider/clickhouse_model_test.go
  • internal/provider/crud.go
  • internal/provider/ephemeral.go
  • internal/provider/foundationdb_model.go
  • internal/provider/foundationdb_model_test.go
  • internal/provider/generic_resource.go
  • internal/provider/harbor_model.go
  • internal/provider/harbor_model_test.go
  • internal/provider/httpcache_model.go
  • internal/provider/httpcache_model_test.go
  • internal/provider/kafka_model.go
  • internal/provider/kafka_model_test.go
  • internal/provider/kubernetes_model.go
  • internal/provider/kubernetes_model_test.go
  • internal/provider/mariadb_model.go
  • internal/provider/mariadb_model_test.go
  • internal/provider/marker_model.go
  • internal/provider/marker_model_test.go
  • internal/provider/mongodb_model.go
  • internal/provider/mongodb_model_test.go
  • internal/provider/nats_model.go
  • internal/provider/nats_model_test.go
  • internal/provider/openbao_model.go
  • internal/provider/openbao_model_test.go
  • internal/provider/opensearch_model.go
  • internal/provider/opensearch_model_test.go
  • internal/provider/outputs_test.go
  • internal/provider/package_model.go
  • internal/provider/package_model_test.go
  • internal/provider/postgresql_model.go
  • internal/provider/postgresql_model_test.go
  • internal/provider/provider.go
  • internal/provider/provider_test.go
  • internal/provider/qdrant_data_source.go
  • internal/provider/qdrant_model.go
  • internal/provider/qdrant_model_test.go
  • internal/provider/qdrant_resource.go
  • internal/provider/rabbitmq_model.go
  • internal/provider/rabbitmq_model_test.go
  • internal/provider/rawspec_model.go
  • internal/provider/rawspec_model_test.go
  • internal/provider/redis_data_source.go
  • internal/provider/redis_model.go
  • internal/provider/redis_model_test.go
  • internal/provider/redis_resource.go
  • internal/provider/tcpbalancer_model.go
  • internal/provider/tcpbalancer_model_test.go
  • internal/provider/tenant_data_source.go
  • internal/provider/tenant_model.go
  • internal/provider/tenant_model_test.go
  • internal/provider/tenant_resource.go
  • internal/provider/tenant_secret.go
  • internal/provider/vmdisk_model.go
  • internal/provider/vmdisk_model_test.go
  • internal/provider/vminstance_model.go
  • internal/provider/vminstance_model_test.go
  • internal/provider/vpc_model.go
  • internal/provider/vpc_model_test.go
  • internal/provider/vpn_model.go
  • internal/provider/vpn_model_test.go
  • main.go
  • scripts/gen-docs.sh
💤 Files with no reviewable changes (1)
  • .github/FUNDING.yml

📝 Walkthrough

Walkthrough

This PR migrates the Terraform provider repository namespace from lexfrei to cozystack across all Go modules, package imports, provider registry addresses, documentation examples, and build scripts. Changes are consistent namespace replacements throughout the codebase.

Changes

Repository Namespace Migration (lexfrei → cozystack)

Layer / File(s) Summary
Module declaration and provider entry point
go.mod, main.go
Module path updated from github.com/lexfrei/terraform-provider-cozystack to github.com/cozystack/terraform-provider-cozystack. Provider server registry address updated from registry.terraform.io/lexfrei/cozystack to registry.terraform.io/cozystack/cozystack.
Internal client package imports
internal/provider/*.go, internal/client/*.go
All provider models, data sources, resources, and CRUD utilities updated to import internal/client from the new cozystack module path instead of the lexfrei path.
Test file imports
internal/client/*_test.go, internal/provider/*_test.go
All test files throughout the codebase updated to import from the new module paths; test logic and assertions remain unchanged.
User documentation and examples
README.md, CONTRIBUTING.md, docs/index.md, examples/provider/provider.tf, CHANGELOG.md, .github/FUNDING.yml
README, contributing guide, and example Terraform configurations updated to use cozystack/cozystack as the provider source. CHANGELOG entry added documenting breaking change and API version. GitHub Sponsors funding entry removed.
Build and generation scripts
scripts/gen-docs.sh
Documentation generation script updated to use registry.opentofu.org/cozystack/cozystack instead of the previous lexfrei path when configuring Terraform overrides and generating provider schema.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A namespace shifts from folk to flock,
Lexfrei steps back, cozystack takes stock,
Imports rewired, one path rings true,
Registry renamed, but the magic stays new! 🌟

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The PR title clearly and concisely describes the main breaking change: migration to cozystack organization with new registry namespace.
Description check ✅ Passed The PR description comprehensively covers all required template sections: Summary, Changes, Testing status, Documentation updates, and Checklist items. All sections are complete and detailed.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/migrate-to-cozystack-org

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 Trivy (0.69.3)

Trivy execution failed: 2026-06-11T09:16:13Z FATAL Fatal error run error: fs scan error: scan error: scan failed: failed analysis: post analysis error: post analysis error: kubernetes scan error: fs filter error: fs filter error: walk error range error: stat gitleaks-report-43.json: no such file or directory: range error: stat gitleaks-report-43.json: no such file or directory


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request migrates the Terraform provider from the lexfrei namespace to the cozystack organization. This includes updating the Go module path, all internal import paths, provider registry source references in documentation, examples, and scripts, as well as updating the server address in main.go. Additionally, a changelog entry for version 1.4.3 has been added to document these breaking changes, and the funding configuration has been removed. There are no review comments, so I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@lexfrei Aleksei Sviridkin (lexfrei) merged commit c45bd97 into master Jun 11, 2026
6 of 7 checks passed
@lexfrei Aleksei Sviridkin (lexfrei) deleted the chore/migrate-to-cozystack-org branch June 11, 2026 09:26
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