-
Notifications
You must be signed in to change notification settings - Fork 192
Adding 'pluginRuntimeVersion' to tanzu <plugin> info
command output
#3641
Conversation
Signed-off-by: Prem Kumar Kalle <pkalle@vmware.com>
Signed-off-by: Prem Kumar Kalle <pkalle@vmware.com>
tanzu <plugin> info
command output
c0242ac
to
35d6ae5
Compare
Codecov Report
@@ Coverage Diff @@
## main #3641 +/- ##
==========================================
- Coverage 46.31% 45.33% -0.98%
==========================================
Files 400 425 +25
Lines 39583 41184 +1601
==========================================
+ Hits 18334 18672 +338
- Misses 19563 20807 +1244
- Partials 1686 1705 +19
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
I'd say the change is acceptable as long as we acknowledge and track (via a gh issue) that the plugin info contract need to be better codified. And this contract needs to be separated from the other role that PluginDescriptor is playing, which is to encapsulate a bunch of metadata used by the CLI to show plugin state to the user. |
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.
LGTM.
I would wait for @vuil @marckhouzam to review too. Thanks!
35d6ae5
to
ee7ab6d
Compare
Update PluginRuntimeVersion to v0.28.0-dev Signed-off-by: Anuj Chaudhari <anujc@vmware.com>
ee7ab6d
to
8f36775
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.
Thanks for you patience with my comments.
LGTM!
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.
lgtm, thanks for the changes.
Question:
What test(s) are we relying on to verify that the plugin's updated info
behavior works with the CLI that manages said plugin?
I have updated the unit tests around that area to validate this as part of that PR. Let me know if you are asking this question with some other thing in mind to understand more. |
I see we have manually and unit-tested that |
What this PR does / why we need it
This PR adds "PluginRuntimeVersion" to
PluinInfo
and it will be returned as part oftanzu <plugin> info
command output. This version would be used by tanzu core CLI to add version validations.Which issue(s) this PR fixes
Fixes #3547
Describe testing done for PR
Release note
Additional information
Special notes for your reviewer