vmware-tanzu / tanzu-framework

Tanzu Framework provides a set of building blocks to build atop of the Tanzu platform and leverages Carvel packaging and plugins to provide users with a much stronger, more integrated experience than the loose coupling and stand-alone commands of the previous generation of tools.
Apache License 2.0
195 stars 192 forks source link

Distribute the CLI binary through package managers #3

Open zjs opened 3 years ago

zjs commented 3 years ago

Describe the feature request

Currently, the process for installing the CLI is a little cumbersome. Consumers can work around this, but that's not ideal.

It would be better to distribute the core of the CLI through package managers (including support for things like homebrew, rpm, and deb).

Especially when combined with #2, this seems to allow for a much smoother user experience: install the CLI, login to a cluster, everything auto-magically appears.

Describe alternatives you've considered

One alternative would be to have a standard install.sh-style pattern that all consumers can rely on.

Affected product area (please put an X in all that apply)

Additional context

joshrosso commented 3 years ago

It would be better to distribute the core of the CLI through package managers (including support for things like homebrew, rpm, and deb).

Full support, we were planning to tackle this right when we open source TCE.

question: What would we expect brew install tanzu to install? Just the CLI with tanuz-framework plugins? TCE? From a community UX, I'd advocate it installs TCE, but this seems like an important conversation for PM and tech leads.

stmcginnis commented 3 years ago

:+1: It might be nice to have both brew install tanzu and brew install tanzu-ce (or something like that).

zjs commented 3 years ago

Ideally, I think we'd just distribute the core CLI binary and use API-driven discovery of the relevant CLI plugins (#74) based on the cluster it was being used with.

heyjcollins commented 1 year ago

brew build script? @marckhouzam

marckhouzam commented 1 year ago

brew build script? @marckhouzam

@heyjcollins So Brew works differently: it needs a formula as part of a dedicated git repository. The solution is currently available in my fork and will be made official once we have a release to make public. You can see the details here: https://github.com/marckhouzam/homebrew-tanzu/pull/1