Skip to content

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

Open
dmitriplotnikov wants to merge 2 commits into
masterfrom
vanity-cel-go-import
Open

Switch module and import paths to cel.dev/cel-go#1413
dmitriplotnikov wants to merge 2 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?

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