[Core] Rename module path to sigs.k8s.io/ome#620
Merged
Conversation
heymrbox
approved these changes
May 20, 2026
YouNeedCryDear
approved these changes
May 20, 2026
slin1237
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
Renames the Go module path from
github.com/sgl-project/ometosigs.k8s.io/ome, a stable vanity import path following the kubernetes-sigs convention. GitHub-hosted references (release URLs, sigstore certificate identity, helm repo URL, issue templates, docs) are updated github.com/ome-projects/ometo reflect the new GitHub org.Changes touch:
go.modfiles (root +hack/internal/tools,site,web-console/backend)cmd/,pkg/,internal/,tests/zz_generated.deepcopy.go,pkg/openapi/openapi_generated.go,pkg/openapi/swagger.json, all ofpkg/client/{clientset,informers,listers}Makefileand 4 Dockerfiles (pkg/versionldflags)hack/update-codegen.sh,hack/update-openapigen.sh,hack/genref/config.yaml, violation exception lists.github/workflows/release.yaml,openvex.yamlPROJECTmetadata, README, CONTRIBUTING, Hugo site config, web-console frontendIntentionally not touched: SGLang upstream link,
ghcr.io/sgl-project/genai-benchbenchmark image references, OME container registry path (registry migration is a separate decision).Why we need it
The repo was moved from
github.com/sgl-project/ometogithub.zerozr99.workers.dev/ome-projects/ome, so the Go module declaration and all import paths needed updating. Rather than pin imports to the new GitHub org name, we adopt the kubernetes-sigs vanity pathsigs.k8s.io/ome— the same convention used by other Kubernetes ecosystem projects (sigs.k8s.io/controller-runtime,sigs.k8s.io/gateway-api, etc.). This decouples Go imports from where the repo lives on GitHub, so future moves don't require another mass-rename across the codebase.The K8s API group (
ome.io) andPROJECTrepo:metadata reflect that this is a Kubernetes-native operator naturally suited to the kubernetes-sigs convention.Caveat — external resolution requires follow-up:
go get sigs.k8s.io/omewill return 404 from external consumers until (a) the repo moves github.com/kubernetes-sigs/omevia Kubernetes SIG adoption, and (b) a PR tokubernetes/k8s.ioadds the vanity mapping. These are tracked as separate workstreams. In the interim, the module is internally consistent and consumable via areplacedirective.Fixes #
How to test
Verify the rename is internally consistent