-
Notifications
You must be signed in to change notification settings - Fork 87
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
Identical member names - PDS enhancement #2427
Conversation
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
packages/cli/__tests__/zosfiles/__unit__/copy/ds/Ds.handler.unit.test.ts
Dismissed
Show dismissed
Hide dismissed
packages/cli/__tests__/zosfiles/__unit__/copy/ds/Ds.handler.unit.test.ts
Dismissed
Show dismissed
Hide dismissed
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2427 +/- ##
=======================================
Coverage 91.49% 91.50%
=======================================
Files 641 641
Lines 18360 18376 +16
Branches 3869 3946 +77
=======================================
+ Hits 16799 16815 +16
Misses 1559 1559
Partials 2 2 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
📅 Suggested merge-by date: 2/18/2025 |
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
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 some comments, please review.
packages/cli/__tests__/zosfiles/__unit__/copy/ds/Ds.handler.unit.test.ts
Outdated
Show resolved
Hide resolved
packages/cli/__tests__/zosfiles/__unit__/copy/ds/Ds.handler.unit.test.ts
Outdated
Show resolved
Hide resolved
packages/cli/__tests__/zosfiles/__unit__/copy/ds/Ds.handler.unit.test.ts
Outdated
Show resolved
Hide resolved
packages/cli/__tests__/zosfiles/__unit__/copy/ds/Ds.handler.unit.test.ts
Outdated
Show resolved
Hide resolved
packages/cli/__tests__/zosfiles/__unit__/copy/ds/Ds.handler.unit.test.ts
Outdated
Show resolved
Hide resolved
packages/cli/__tests__/zosfiles/__unit__/copy/ds/Ds.handler.unit.test.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
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 did leave some comments for possible improvements, but I do like the code as-is and works as expected 🙏
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
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.
Changes LGTM, thanks @pujal0909 for enhancing the copy PDS command!
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
packages/zosfiles/__tests__/__system__/methods/copy/Copy.system.test.ts
Dismissed
Show dismissed
Hide dismissed
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
Reminder: This pull request has a merge-by date coming up within the next 24 hours. Please review this PR as soon as possible. |
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 @pujal0909! Left a few comments
packages/zosfiles/__tests__/__system__/methods/copy/Copy.system.test.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
133a470
to
349e3fe
Compare
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
3991e23
to
ee0a485
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.
LGTM, thanks @pujal0909!
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 PR looks good, but there is a duplicate import in the system test that needs to be addressed.
packages/zosfiles/__tests__/__system__/methods/copy/Copy.system.test.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
a6936bc
to
c87e957
Compare
Signed-off-by: Pujal Gandhi <71276682+pujal0909@users.noreply.github.com>
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 good to me, thanks @pujal0909!
Signed-off-by: Pujal Gandhi <71276682+pujal0909@users.noreply.github.com>
|
What It Does
When copying PDSs, if the source and target have identical member names, the default behavior now is to prompt the user to confirm before overwriting the members contents (when the safe-replace option is not set to true). If the user uses the
replace
flag, it bypasses the prompt.How to Test
replace
option.Review Checklist
I certify that I have:
Additional Comments