-
Notifications
You must be signed in to change notification settings - Fork 5
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
./code-generator/generate.sh relies on "advanced" / non cross platform features of bash #335
Comments
yeah thanks for opening this & sorry for the trouble! I have a unwritten todo list that contains at least some of those:
I'll be away for a couple of days, therefore sorry in advance for slow replies.. |
relates to #335 Signed-off-by: Sebastian Hoß <[email protected]>
relates to #335 Signed-off-by: Sebastian Hoß <[email protected]>
I've pushed some changes in #339 that might work fine on Mac - would love to get some feedback whether that helped! I've used shellcheck to verify that each script is not using anything bash specific and re-wrote that one script with some rust code. |
I had to upgrade my bash version to 4.x.x to make the globstar option work.
To make
adjust-cargo-toml.sh
work (I'm on a Mac, this sed issue is classic) I had to do this:I had to set
K8S_OPENAPI_ENABLED_VERSION=1.31
for steps 3 and 4.In
create-custom-resources.sh
I had to usemkdir -p "${version_directory}"
, not--parents
.At first I was using the wrong project_name. This one is mostly user error, I didn't read at first you that you have to update catalog.rs, it would've been obvious if I had. But it'd be nice if the tool errored out if the given project name is not present rather than silently "succeed".
Related to #336.
I can open a PR later.
The text was updated successfully, but these errors were encountered: