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

Add openapi-generator/6.0.1 #13691

Merged
merged 6 commits into from
Oct 25, 2022

Conversation

MartinDelille
Copy link
Contributor

@MartinDelille MartinDelille commented Oct 23, 2022

I thought adding this tool would be a nightmare due to maven dependency but being able to handle prebuilt binaries makes it awesomely simple!


  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the conan-center hook activated.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

jwillikers
jwillikers previously approved these changes Oct 23, 2022
path=bin_path,
content=f"""\
#!/bin/bash
java -jar {jar} $@
Copy link
Contributor

@prince-chrismc prince-chrismc Oct 24, 2022

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 🤔

Copy link
Contributor

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?

Copy link
Member

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?

Copy link
Contributor

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!

Copy link
Contributor

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)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought I would need to add openjdk as a requirement but I was confused how to do it: adding a tool_requires in requirements method ?)

Since the CI pass I decide to wait for your comment.

Copy link
Member

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().

@prince-chrismc
Copy link
Contributor

Jenkins is waiting on a MacOS machine... RIP

@conan-center-bot
Copy link
Collaborator

All green in build 6 (872a6a5b192b363368551bbbdaecf27b064d555b):

  • openapi-generator/6.2.0@:
    All packages built successfully! (All logs)

  • openapi-generator/6.0.1@:
    All packages built successfully! (All logs)

  • openapi-generator/6.1.0@:
    All packages built successfully! (All logs)

@conan-center-bot conan-center-bot merged commit ce8016f into conan-io:master Oct 25, 2022
@MartinDelille MartinDelille deleted the add-openapi-generator branch October 26, 2022 06:56
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

Successfully merging this pull request may close these issues.

5 participants