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

[REQ] Distribute versions on Homebrew #11816

Open
rhys-rant opened this issue Mar 7, 2022 · 3 comments
Open

[REQ] Distribute versions on Homebrew #11816

rhys-rant opened this issue Mar 7, 2022 · 3 comments

Comments

@rhys-rant
Copy link

Is your feature request related to a problem? Please describe.

I have encountered this bug in OpenAPI Generator 5.4.0, which isn't present in 5.3.1 due to the change in the JSONEncodable code. There seems to also be a bugfix in the master branch 6.0.X build. Installing openapi-generator 5.3.1 via Homebrew is a longwinded though necessary process for this bug fix.

Describe the solution you'd like

I would like to be able to install multiple versions of OpenAPI Generator through Homebrew, using the syntax brew install [email protected]

Describe alternatives you've considered

Reinstalling an old version of openapi-generator using Homebrew is an involved process that requires:

  • finding a commit before openapi-generator was updated
  • reverting Homebrew's formula list to that commit
  • potentially uninstalling dependencies if you have a more recent version installed than that version of Homebrew recognises
  • installing openapi-generator at that version
  • reverting the git changes to your local Homebrew install
  • pinning openapi-generator so that the installation doesn't again get overwritten by the updated version
@wing328
Copy link
Member

wing328 commented Mar 7, 2022

What about using https://www.npmjs.com/package/@openapitools/openapi-generator-cli to manage openapi-generator cli version instead?

@rhys-rant
Copy link
Author

What about using https://www.npmjs.com/package/@openapitools/openapi-generator-cli to manage openapi-generator cli version instead?

Wasn't aware that was a thing!
Also, I mostly try to keep my software installed using Homebrew and avoid npm where possible. But that's a me thing, so I understand that this request is either very low prio/won't do if there's already a solution available. Still would be nice to have though! 😄

@sanfordj
Copy link

sanfordj commented Apr 4, 2024

agreed, homebrew formulas for the specific versions would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants