knative / knative/pkg

update-codegen.sh doesn't work outside GOPATH

Open
#1,287 8 comments 0 reactions 1 assignee Claimed by @Cynocracy View on GitHub
area/API kind/bug lifecycle/frozen
Dominant language
Go
Stars
276
Forks
343
Avg merge
1d 1h
Merged PRs (30d)
1

Description

## Expected Behavior
hack/update-codegen.sh should work outside of GOPATH

## Actual Behavior
update-codegen either does nothing or uses an incorrect pkg version.

## Steps to Reproduce the Problem

1. Move repo outside of GOPATH.
2. Make a change to the injection generators.
3. Run ./hack/update-codegen.sh
4. Observe no change to generated code.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.