sf-sdd
v2.1.1
Published
SS-17
Downloads
25
Maintainers
Readme
SS-17
About The Project
The Source Delta Deploy module is going to make your salesforce deployments a lot faster, as you propably have already noticed on the saleseforce project you are working, the repository is getting bigger and bigger and as a result the time of the deployments is increasing dramaticaly. Despite the time required to make a deployment, there is also a problem that its impossible to avoid easlily, the 'too many files in zip'. So what does sf-sdd do, is deploying each time the modified files and not the whole repository. in most cases the deploy can finish in seconds.
This module is addressed to salesforce project that use classic source format repository.
In case you use SFDX format please refere to https://github.com/scolladon/sfdx-git-delta
Technologies Used
Getting Started
In Order to install these feature on your repository follow the steps below!
Prerequisites
tools required
- npm
npm install npm@latest -g
- ant migration tool
https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/meta_development.htm
- git
https://git-scm.com/downloads
Installation
- install module globally
npm i sf-sdd -g
- Add on .gitignore file the delta_deploy folder
- Modify the build.xml so that deployroot points to the delta_deploy/package folder
<target name="deployCode"> <sf:deploy username="${sf.username}" password="${sf.password}" serverurl="${sf.serverurl}" deployroot="delta_deploy/package"> </sf:deploy> </target>
- Run the command (generates package.xml + copies the files inside the deployable folder)
sf-sdd -d targetbranch
- excecute ant migration tool
Usage
Used to increase the speed of the deployments.
Contributing
In case you want to contribute to the project and extend its funcationality please be free.
- Fork the Project
- Create your Feature Branch (
git checkout -b scpdd/MyContribution
) - Commit your Changes (
git commit -m 'Added my small Contribution'
) - Push to the Branch (
git push origin scpdd/MyContribution
) - Open a Pull Request
Contact
Silvan Sholla - (https://www.linkedin.com/in/silvan-sholla-1155bb162/)
Project Link: (https://github.com/Skidrow17/salesforce-delta-deploy-source-format)