-
Notifications
You must be signed in to change notification settings - Fork 85
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
[v3] Plugin registry field #2189
Conversation
…lic registry field Signed-off-by: jace-roell <[email protected]>
Signed-off-by: jace-roell <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #2189 +/- ##
=======================================
Coverage 91.08% 91.09%
=======================================
Files 632 632
Lines 18007 18048 +41
Branches 3802 3856 +54
=======================================
+ Hits 16402 16440 +38
- Misses 1604 1607 +3
Partials 1 1 ☔ View full report in Codecov by Sentry. |
packages/imperative/src/imperative/src/plugins/cmd/install/install.handler.ts
Fixed
Show resolved
Hide resolved
Signed-off-by: jace-roell <[email protected]>
Signed-off-by: jace-roell <[email protected]>
Signed-off-by: jace-roell <[email protected]>
packages/imperative/src/imperative/__tests__/plugins/utilities/NpmFunctions.unit.test.ts
Fixed
Show resolved
Hide resolved
Signed-off-by: jace-roell <[email protected]>
Signed-off-by: jace-roell <[email protected]>
Signed-off-by: jace-roell <[email protected]>
Signed-off-by: jace-roell <[email protected]>
Signed-off-by: jace-roell <[email protected]>
packages/imperative/src/imperative/__tests__/plugins/utilities/NpmFunctions.unit.test.ts
Fixed
Show fixed
Hide fixed
Signed-off-by: jace-roell <[email protected]>
Signed-off-by: jace-roell <[email protected]>
Signed-off-by: jace-roell <[email protected]>
Signed-off-by: jace-roell <[email protected]>
Signed-off-by: jace-roell <[email protected]>
packages/imperative/src/imperative/src/plugins/cmd/install/install.handler.ts
Outdated
Show resolved
Hide resolved
packages/imperative/src/imperative/src/plugins/cmd/install/install.handler.ts
Dismissed
Show dismissed
Hide dismissed
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.
left a small comment with the area where we may need to make changes in order to fix the last few tests 😋
packages/imperative/src/imperative/src/plugins/cmd/install/install.handler.ts
Show resolved
Hide resolved
Signed-off-by: jace-roell <[email protected]>
Signed-off-by: jace-roell <[email protected]>
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.
Looks pretty good, thanks @jace-roell!
Left a few comments that are optional, will approve after testing the changes 🙂
packages/imperative/src/imperative/__tests__/plugins/cmd/install/install.handler.unit.test.ts
Outdated
Show resolved
Hide resolved
packages/imperative/src/imperative/src/plugins/cmd/install/install.handler.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: jace-roell <[email protected]>
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.
After updating from Zowe V2 to this branch, when running zowe plugins list
I see location: undefined
for all pre-existing plug-ins.
Discussed with @zFernand0:
we could read the existing plugins.json file and if it has the
registry
property, we can print that value aslocation
in thezowe plugins list
command (with a small warning)
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.
As Timothy mentioned, we would want to make sure that these changes are backwards compatible with V2 😋
The functionality looks great though 😋
Running into the same issue with |
…ns that were carried over to v3. User will now recieve a warning in plugin list but will still display the registry value Signed-off-by: jace-roell <[email protected]>
Signed-off-by: jace-roell <[email protected]>
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.
I'm no longer seeing an undefined
registry for pre-existing plugins. Thanks for addressing that 👍
Now that I am seeing the intended behavior for pre-existing plugins, I am wondering if it would be more readable to display a single error at the bottom of the output, and add a "symbol/character" at the end of each applicable registry?
For example, this is how it looks now with a couple plugins:
Users with several Zowe plugins might be caught off guard by numerous pre-existing plugin warnings that show after upgrading to v3.
Here's how that above idea could look in the command output:
This is only a suggestion though, not requesting changes here. I think it looks ready to merge as-is 😋
LGTM, thanks @jace-roell! Will re-approve once failing integration tests are resolved
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.
Several integration tests are failing in GitHub workflows. Could you revert changes to the snapshot files in this PR? I don't believe they should have changed at all, unless there are any related to zowe plugins
commands.
I like the suggestion from @traeok to show a single warning at the end of output but agree it's not a required change. 😋
…s versions that were carried over to v3. User will now recieve a warning in plugin list but will still display the registry value" This reverts commit b1ac4ec.
Signed-off-by: jace-roell <[email protected]>
82dbb3c
to
809ba84
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.
Latest changes LGTM, thanks Jace
Signed-off-by: jace-roell <[email protected]>
Signed-off-by: jace-roell <[email protected]>
Quality Gate passedIssues Measures |
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 @jace-roell!
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.
Release succeeded for the The following packages have been published:
Powered by Octorelease 🚀 |
What It Does
Review Checklist
I certify that I have: