sfpowerscripts icon indicating copy to clipboard operation
sfpowerscripts copied to clipboard

Optional mode for deploying only changed components when installing a source package

Open azlam-abdulsalam opened this issue 3 years ago • 1 comments

Deployment of source packages can be optimized by only doing a deployment of changed components. These components should be recorded in the artifact by basis of version history (like ancestors in managed packages). This provides an optimal deployment and negates any issues with an artifact created by using git-based delta.

During deployment, depending on the version that is installed in the target org, an aggregation of changed components will be computed and deployed to the org. In case of any issues in computing the changed component, it should fall back to the full package deployment.

azlam-abdulsalam avatar Feb 25 '22 05:02 azlam-abdulsalam

In an ideal situation, the source packages would be smaller and the delta deployments would not make a big difference in timings. For new adopters for modular development that have 300+ metadata in their packages, this would be a good feature to have as they continue to re-factor and reduce the volume of metadata in the source package.

vuha-acn avatar Mar 30 '22 07:03 vuha-acn

Closing this issue, as its not worth the engineering efforts at this stage, One can use diff packages while they refactor to small source packages .

azlam-abdulsalam avatar Jul 18 '23 23:07 azlam-abdulsalam