Unify the tanzu installation locations #173
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it
Unifying the installation of Tanzu
The names of the directories for the plugins, catalog cache and local
plugin discovery (<XDG_DATA_HOME>/_tanzu-cli, $HOME/.cache/_tanzu, $HOME/.config/_tanzu-plugins) are all directories prefixed with " _ " previously , so as not to conflict with their nonprefixed counterparts is changed to use the existing CLI installations directories without ' _' prefix
Which issue(s) this PR fixes
Fixes #
Describe testing done for PR
As part of testing #124
Tested the unification and coexistence by writing test using E2E framework for various use cases involving installing plugins, Core CLI commands config set,get,context.
Manual testing in a docker environment to verify the unification and coexistence of new Tanzu CLI and legacy Tanzu CLI- v0.28 are performed.
Release note
Additional information
Special notes for your reviewer