Open p0lyn0mial opened 1 year ago
generated code in github.com/kcp-dev/code-generator/examples has a dependency on github.com/kcp-dev/client-go/tree/main/third_party/k8s.io/client-go
github.com/kcp-dev/code-generator/examples
github.com/kcp-dev/client-go/tree/main/third_party/k8s.io/client-go
when changes to kcp-dev/client-go repository also require to generate some code we need a corresponding code-generator (https://github.com/kcp-dev/client-go/blob/main/Makefile#L26) which might lead to a dead end.
kcp-dev/client-go
code-generator
In my case I had made a change to kcp-dev/client-go/third_party which is required by code-generator/examples and kcp-dev/client-go/informers (kcpinformers "github.com/kcp-dev/apimachinery/third_party/informers")
kcp-dev/client-go/third_party
code-generator/examples
kcp-dev/client-go/informers
/cc @stevekuznetsov @ncdc
generated code in
github.com/kcp-dev/code-generator/examples
has a dependency ongithub.com/kcp-dev/client-go/tree/main/third_party/k8s.io/client-go
when changes to
kcp-dev/client-go
repository also require to generate some code we need a correspondingcode-generator
(https://github.com/kcp-dev/client-go/blob/main/Makefile#L26) which might lead to a dead end.In my case I had made a change to
kcp-dev/client-go/third_party
which is required bycode-generator/examples
andkcp-dev/client-go/informers
(kcpinformers "github.com/kcp-dev/apimachinery/third_party/informers")