Skip to content
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

Remove deprecated imperative constants, options, and methods - Imperative #1856

Merged
merged 12 commits into from
Nov 14, 2023

Conversation

ATorrise
Copy link
Contributor

@ATorrise ATorrise commented Nov 9, 2023

What It Does
Removes the following items marked as deprecated:

Review Checklist
I certify that I have:

Note

  1. Changes were grouped into different commits to aid the review process.
  2. This PR addresses zowe/imperative PR 970 but also internally Rally US925239. Rally has task to close out any related issues that are now irrelevant because of the deprecation. My method for determining relevant issues was to search issues on github with the names of the packages I've deprecated as a keyword. Any results I investigated. This method produced no issues to close out. 

@ATorrise ATorrise changed the base branch from master to next November 9, 2023 21:24
Signed-off-by: Amber Torrise <[email protected]>
@ATorrise ATorrise force-pushed the removeDeprecatedImp branch from e56c404 to 40f2bd9 Compare November 9, 2023 21:27
Amber Torrise added 2 commits November 9, 2023 16:28
Signed-off-by: Amber Torrise <[email protected]>
Copy link

codecov bot commented Nov 9, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5181eb2) 91.04% compared to head (9de50fa) 91.03%.
Report is 2 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #1856      +/-   ##
==========================================
- Coverage   91.04%   91.03%   -0.02%     
==========================================
  Files         636      636              
  Lines       18660    18615      -45     
  Branches     3871     3861      -10     
==========================================
- Hits        16989    16946      -43     
+ Misses       1670     1668       -2     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Amber Torrise added 2 commits November 9, 2023 17:09
Signed-off-by: Amber Torrise <[email protected]>
Signed-off-by: Amber Torrise <[email protected]>
@ATorrise ATorrise marked this pull request as ready for review November 9, 2023 22:15
@ATorrise
Copy link
Contributor Author

ATorrise commented Nov 9, 2023

@zFernand0 @gejohnston @t1m0thyj should i update the different changelogs and say what's been removed?

@ATorrise ATorrise changed the title Remove deprecated imperative constants, options, and methods Remove deprecated imperative constants, options, and methods - Imperative Nov 10, 2023
@ATorrise ATorrise requested a review from adam-wolfe November 10, 2023 16:11
@t1m0thyj
Copy link
Member

t1m0thyj commented Nov 10, 2023

@zFernand0 @gejohnston @t1m0thyj should i update the different changelogs and say what's been removed?

Yes please 🙂 You can see an example of how we did it when deprecating old stuff in v1 here. We want to list the name of each deprecated method and its replacement.
image

@ATorrise ATorrise force-pushed the removeDeprecatedImp branch from f8690a0 to 0e0bfbc Compare November 13, 2023 15:20
@ATorrise ATorrise force-pushed the removeDeprecatedImp branch from 0e0bfbc to cf11751 Compare November 13, 2023 15:26
@ATorrise ATorrise self-assigned this Nov 13, 2023
@zFernand0
Copy link
Member

Since the merging order caused this, I'm happy to help with merge conflicts 😋

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

Copy link
Member

@zFernand0 zFernand0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 😋

* @type {string}
* @memberof IImperativeConfig
*/
pluginHealthCheck?: string;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that we should have a separate story to remove the use of pluginHealthCheck from our zowe-cli-sample-plugin. The pluginHealthCheck property should also be removed from any real plugins that use it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gejohnston Sounds good. In a zowe wide search for pluginHealthCheck I get results in zowe-cli-sample-plugin, zowe-cli-scs-plugin, and the api-layer. Will create PRs for each of those repos and link back to this PR

@zFernand0 zFernand0 merged commit ad2f748 into next Nov 14, 2023
20 checks passed
@zFernand0 zFernand0 deleted the removeDeprecatedImp branch November 14, 2023 17:53
@zFernand0 zFernand0 added the release-current Indicates that there is no new functionality being delivered label Nov 14, 2023
Copy link

Release succeeded for the next branch. 🎉

The following packages have been published:

Powered by Octorelease 🚀

Copy link

Release succeeded for the next branch. 🎉

The following packages have been published:

Powered by Octorelease 🚀

@t1m0thyj t1m0thyj mentioned this pull request Nov 30, 2023
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-current Indicates that there is no new functionality being delivered released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v3: Remove deprecated constants, options, and methods
4 participants