-
Notifications
You must be signed in to change notification settings - Fork 23
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
List plugins deactivated for context unset and context delete #483
List plugins deactivated for context unset and context delete #483
Conversation
c19075a
to
217064b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good and addresses the original request of adding the list of plugins that are being deactivated when doing context unset
and context delete
.
However, with this improvement we probably want to be consistent and do something similar in other cases. Specifically:
tanzu context use
andtanzu context create
do not list the plugins that become active, if they are already installed- so if I do
tanzu context unset mycontext
I now get the list of plugin that are deactivated, but if I do immediately aftertanzu context use mycontext
I only see[i] All required plugins are already installed and up-to-date
- so if I do
- similarly, when for those same
tanzu context use
andtanzu context create
, if there was another active context before, we do not show the plugins that are being deactivated from the old context and replaced by the plugins from the new context.
That second point should be discussed as it may be showing too much information
de7ab19
to
a723780
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs a rebase.
Also, could you add a release note in the PR description? This change is an improvment to end-users and should be mentioned.
After that, LGTM
Thanks!
a723780
to
96e9acd
Compare
As discussed created a separate issue #509 to handle context create and use, use cases. |
d6bcf29
to
3c96640
Compare
What this PR does / why we need it
This pull request enhances the user experience for the
tanzu context delete
andtanzu context unset
commands by listing all installed plugins as deactivated.Which issue(s) this PR fixes
Fixes #
Describe testing done for PR
Release note
Additional information
Special notes for your reviewer