-
Notifications
You must be signed in to change notification settings - Fork 100
fix(package): install using v58.0 PackageInstallRequest parameters #1370
fix(package): install using v58.0 PackageInstallRequest parameters #1370
Conversation
Thank you @ruslan-kurchenko for this first contribution! |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #1370 +/- ##
=======================================
Coverage 46.92% 46.92%
=======================================
Files 70 70
Lines 2653 2653
Branches 309 309
=======================================
Hits 1245 1245
Misses 1379 1379
Partials 29 29 ☔ View full report in Codecov by Sentry. |
@ruslan-kurchenko Does this have any dependency on updated packaging lib? As we do not use the cli, we need to check the compatibility |
It is based on jsforce dependency. Stack:
@azlam-abdulsalam, let me know if there is anything else I should do or if I should make it somehow backward compatible. |
no @ruslan-kurchenko just wondering why we dont have the same error in the orchestrator, is it wired differently? |
Good call, @azlam-abdulsalam. It might use different API version to create the PackageInstallRequest record. I will investigate more. |
…tible-with-latest-packageinstallrequest-tooling-sobject
Reviewpad Report
|
@ruslan-kurchenko any updates on this? |
The latest sf cli (
Is it a change only on v58 of the API? |
@azlam-abdulsalam In orchestrator default values used: I believe the changes in the MR are correct. |
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.
okie
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.
okie
Summary generated by Reviewpad on 07 Aug 23 05:10 UTC
This pull request fixes the installation of packages using the v58.0 PackageInstallRequest parameters. It updates the securitytype flag options to ['Custom', 'Full', 'None'] and the default value to 'Full'. It also updates the upgradetype flag options to ['delete-only', 'deprecate-only', 'mixed-mode'] and the default value to 'mixed-mode'.
https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_packageinstallrequest.htm
Checklist
All items have to be completed before a PR is merged