Anyone have feedback on using SDF in a multi devel...
# sdf
d
Anyone have feedback on using SDF in a multi developer environment? Assuming 2 developers, both having the full Code base, if Dev 1 makes a change to a script A and deploys, then Dev 2 makes a change to script B ... When Dev 2 deploys, it'll overwrite script A while deploying script B.
s
We had the same problem until we found out that we needed to upload one file not "Deploy to Account". I hope it's the answer to you question
j
Don’t have experience being solo but Without a dev account per developer it would be tougher but that said would both developers be in the same SDF project at the same time. If so maybe looking at the sdf project and seeing if it could be broken up further to prevent that. A sandbox license comes with three dev accounts I believe. With the dev accounts you could just have a policy not to push to sandbox or production without first merging and testing post merge on their own development account.
e
I think it ties heavily with your source control practices as well, but I typically advise only performing a full Deploy from a Release branch rather than individual Feature branch. When developers do need to do a Deploy on some Objects in a Feature branch, they can modify
deploy.xml
to only Deploy the Files/Objects/Config that they've changed to avoid overwriting any others. As much as possible, developers should be working on separate components of the project (i.e. avoid multiple developers needing to change the same file/object for different features as much as possible).
💯 3