hashicorp / terraform-plugin-codegen-openapi

OpenAPI to Terraform Provider Code Generation Specification
Mozilla Public License 2.0
49 stars 9 forks source link

Add homebrew installation #75

Open remyleone opened 10 months ago

remyleone commented 10 months ago

It would be helpful to have a way to keep track of the new versions coming up using my regular package manager. Could you add support for homebrew installation ?

bflad commented 10 months ago

Cross-reference: https://github.com/hashicorp/terraform-plugin-codegen-framework/issues/67

Hi @remyleone 👋 Thanks yet again for an excellent feature request. As we get closer to general availability releases, adding this project's CLI to the existing HashiCorp homebrew tap is certainly a great idea and I think one we would want to consider to ease adoption. If the ask was for a homebrew-core formula, to be upfront I'm not sure that is something we would implement/support ourselves.

Especially with Go 1.22 and later though, Go modules will have further tooling support baked directly into the module definitions. The benefit with that sort of model is that each Go module (e.g. provider codebase) could support its own version of the tool, rather than it being globally installed at a single version. Its not clear whether that might be more or less desirable, since attempting to publish across many other package managers (e.g. APT, RPM) is a real maintenance burden, but potentially that might offer a "simpler" long-term solution for us to consider as well.

austinvalle commented 10 months ago

Thanks Remy! As with other CI/package management requests, we'll keep an eye on the overall interest via 👍🏻 on this issue