Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[go1.20] tool doesn't recurse into sub-directories #61

Open
dprotaso opened this issue Feb 27, 2023 · 2 comments
Open

[go1.20] tool doesn't recurse into sub-directories #61

dprotaso opened this issue Feb 27, 2023 · 2 comments

Comments

@dprotaso
Copy link

Unsure why but with go1.20 the tool doesn't recurse into sub-directories anymore.

Script is invoked the following way
https://github.com/knative/eventing/blob/main/hack/update-reference-docs.sh

Output is

I0227 10:51:28.226464   96710 main.go:132] parsing go packages in directory knative.dev/eventing/pkg/apis
F0227 10:51:28.242770   96710 main.go:135] no loaded build package for knative.dev/eventing/pkg/apis
exit status 255
@dprotaso
Copy link
Author

dprotaso commented Mar 8, 2023

gengo - issue - kubernetes/gengo#241

@dprotaso
Copy link
Author

dprotaso commented Mar 8, 2023

Workaround is to place an empty go file into the empty directory so that there is always code

dprotaso added a commit to dprotaso/eventing that referenced this issue Mar 10, 2023
dprotaso added a commit to dprotaso/eventing that referenced this issue Mar 10, 2023
knative-prow bot pushed a commit to knative/eventing that referenced this issue Mar 14, 2023
Context ahmetb/gen-crd-api-reference-docs#61

This fixes the `knative/pkg` downstream tests (which is using go1.20)
vishal-chdhry pushed a commit to vishal-chdhry/eventing that referenced this issue Mar 14, 2023
Context ahmetb/gen-crd-api-reference-docs#61

This fixes the `knative/pkg` downstream tests (which is using go1.20)
vishal-chdhry pushed a commit to vishal-chdhry/eventing that referenced this issue Apr 25, 2023
Context ahmetb/gen-crd-api-reference-docs#61

This fixes the `knative/pkg` downstream tests (which is using go1.20)
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

No branches or pull requests

1 participant