Skip to content

Switch module and import paths to cel.dev/cel-go - #1413

Merged
dmitriplotnikov merged 5 commits into
masterfrom
vanity-cel-go-import
Aug 19, 2026
Merged

Switch module and import paths to cel.dev/cel-go#1413
dmitriplotnikov merged 5 commits into
masterfrom
vanity-cel-go-import

Conversation

@dmitriplotnikov

Copy link
Copy Markdown
Collaborator

Summary

Following the repository relocation and adoption of the `cel.dev` domain (matching `cel.dev/expr`), this PR updates the module path in `go.mod` files and all internal package imports from `github.com/google/cel-go` to `cel.dev/cel-go`.

Changes

  • Updated module path to `cel.dev/cel-go` in:
    • Root `go.mod`
    • `conformance/go.mod`
    • `policy/go.mod`
    • `repl/go.mod`
    • `tools/go.mod`
    • `codelab/go.mod`
  • Updated package imports in all Go source files to `cel.dev/cel-go/...`
  • Updated `importpath` in all `BUILD.bazel` files to `cel.dev/cel-go/...`
  • Fixed `fmt.Println` redundant newlines in `codelab`

Verification

  • All 28 Bazel test targets passed (`bazel test //...`)
  • All Go package tests passed (`go test ./...`)

Fixes #1329

Following the repository relocation and adoption of the cel.dev domain,
update the module path in go.mod files from github.com/google/cel-go to
cel.dev/cel-go. Update all internal package imports and Bazel BUILD
definitions accordingly.
@TristonianJones

Copy link
Copy Markdown
Collaborator

@dmitriplotnikov have we setup redirects so that commands like to go get cel.dev/cel-go work?

@dmitriplotnikov

Copy link
Copy Markdown
Collaborator Author

@TristonianJones I was wondering about the ordering of these operations. Looks like the redirects (http://cl/964381251) need to be submitted before this change, right?

@dmitriplotnikov

Copy link
Copy Markdown
Collaborator Author

Done, please see view-source:https://cel.dev/cel-go

@TristonianJones

Copy link
Copy Markdown
Collaborator

@dmitriplotnikov the redirect seems right for the top-level module, but could we add more redirects for the sub-modules? Also, maybe add documentation to how to update the redirects?

@dmitriplotnikov
dmitriplotnikov merged commit f2039bc into master Aug 19, 2026
13 checks 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.

This repository is moving to github.com/cel-expr/cel-go

2 participants