-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add openapi-generator/6.0.1 #13691
Add openapi-generator/6.0.1 #13691
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
path=bin_path, | ||
content=f"""\ | ||
#!/bin/bash | ||
java -jar {jar} $@ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if java is not installed 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This thought did occur to me, too. I wasn't sure if perhaps we had any other Java packages around. Would this require a java/system
package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are not openjdk or openjdk-zulu packages enough?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had no idea we had an openjdk
package. Nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say this should have a require openjdk for it to make the most sense 😉 that's a great solution
(insert some meme about C++ being better than Java -- enjoy my bad jokes)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need java for runtime? If yes, add as regular self.requires in requirements(). Otherwise, tool_requires in build_requirements().
Jenkins is waiting on a MacOS machine... RIP |
I thought adding this tool would be a nightmare due to maven dependency but being able to handle prebuilt binaries makes it awesomely simple!