vmware-tanzu / homebrew-tanzu

Homebrew tap and formulas for installing the Tanzu CLI
Apache License 2.0
7 stars 9 forks source link

Add post-installation notes to `brew info` output #24

Open berlin-ab opened 2 years ago

berlin-ab commented 2 years ago

Feature Request

Given I install TCE with homebrew using brew install vmware-tanzu/tanzu/tanzu-community-edition When I run brew info vmware-tanzu/tanzu/tanzu-community-edition Then I should see the same output I see after installation:

==> Thanks for installing Tanzu Community Edition!
==> The Tanzu CLI has been installed on your system
==>

==> ******************************************************************************
==> * To initialize all plugins required by Tanzu Community Edition, an additional
==> * step is required. To complete the installation, please run the following
==> * shell script:
==> *
==> * /usr/local/Cellar/tanzu-community-edition/v0.9.1/libexec/configure-tce.sh
==> *
==> ******************************************************************************
==>

==> * To cleanup and remove Tanzu Community Edition from your system, run the
==> * following script:
==> /usr/local/Cellar/tanzu-community-edition/v0.9.1/libexec/uninstall.sh
==>
karuppiah7890 commented 2 years ago

Maybe we can mention in the Caveats section like MySQL, PostgreSQL etc

https://github.com/Homebrew/homebrew-core/blob/49a025a7429cc4b216b60684b08d7b94a550a96f/Formula/postgresql.rb#L117-L127

https://github.com/Homebrew/homebrew-core/blob/49a025a7429cc4b216b60684b08d7b94a550a96f/Formula/mysql.rb#L164-L182

dvonthenen commented 2 years ago

Looks like we also need to update the version in that path to be dynamic