tektoncd / tektoncd/pipelines-as-code
chore: rename Go module path from openshift-pipelines to tektoncd
Open
Nobody has claimed this yet.
priority/medium
tektoncd-migration
- Dominant language
- Go
- Stars
- 214
- Forks
- 144
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 27
Description
Context
The Go module path currently uses the openshift-pipelines org. It must be renamed to tektoncd as part of the migration. This is a breaking change for any downstream consumers importing the PAC module.
Files to update
go.mod:1:github.com/openshift-pipelines/pipelines-as-code→github.com/tektoncd/pipelines-as-codedocs/go.mod:1: same renameMakefile:34: two-ldflagsoccurrences referencing the old module path (version + settings packages)config/400-controller.yaml:48:ko://github.com/openshift-pipelines/pipelines-as-code/cmd/pipelines-as-code-controllerconfig/500-watcher.yaml:48:ko://github.com/openshift-pipelines/pipelines-as-code/cmd/pipelines-as-code-watcherconfig/600-webhook.yaml:47:ko://github.com/openshift-pipelines/pipelines-as-code/cmd/pipelines-as-code-webhookpkg/test/nonoai/deployment.yaml:ko://paths referencing old module- All Go import paths in
pkg/,cmd/,test/,internal/— mass replace
Steps
- Run:
find . -type f -name '*.go' | xargs sed -i 's|github.com/openshift-pipelines/pipelines-as-code|github.com/tektoncd/pipelines-as-code|g' - Update
go.mod,docs/go.mod,Makefile, and YAML config files as listed above - Run
make vendor && make testto verify
Notes
- This is a breaking change for downstream consumers importing the Go module directly.
- The GitHub repo transfer (when it happens) will make the old import path a redirect, but Go modules are pinned by path — downstream users must update their
go.mod.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with go.mod:1, docs/go.mod:1, Makefile:34, the listed config YAML files, and Go imports under pkg/, cmd/, test/, and internal/. Apply the documented path replacement, update the remaining files, then run make vendor && make test to verify the migration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- build-system, infrastructure, tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100