Using Git to move between Orgs

The Welkin Suite Forum

Using Git to move between Orgs



Using Git to move between Orgs

  • Please log in to reply

#1

Joseph

    Posted 11 Mar 2016

    Here is my senario. We have a production org, a full data org and a number of dev sandboxes. We do most of the dev work on the dev sandboxes but we also do a lot of basic work directly in production. 


    What I was hoping to do was to use Welkin to create a local project of production and then add this to Git as the Master. I would then store the sandboxes as branches. I could then periodically pull all the updates that occur in production and merge them with the sandboxes. This would keep the sandboxes up to date during development. 


    However I do not see how I can add a sandbox as a branch and have Production as the Master. I tried creating a local dev branch of the Master and then change the Salesforce credentials in that project to point to the dev sandbox. I then did a Pull from Salesforce so that it would sync the branch with the sandbox. But this failed, I just get a "Sorry we could not save your changes" message. I thought this may have something to do with changing from Prod to sandbox so I tried the same thing between two sandboxes but I still got the same message. I also tried running Welkin in Admin mode as it mentioned it could be a permissions issue. but this also did not fix it.


    So my question is, how do I do this? How do you point one branch to one sandbox and another branch of the same project to a different sandbox and the Master branch to the production org?


    Thank you.

    Kind regards,

    Joseph





    3 replies to this topic

    #2

    kate.dulko

      Posted 11 Mar 2016

      Hi Joseph,


      This is the great detailed post.

      Thank you for your suggestion and for the step by step example.


      Currently this is not implemented in TWS.

      I've added this feature request to our agenda.


      Our team will be working on the ways to implement this and I'll keep you updated when it will be possible to add this to the IDE functionality.


      Thank you,

      Kate


      Kate Dulko
      Customer Relations

      The Welkin Suite

      twitter: @KateDulko
      skype id: d_katerina
      e-mail: kate.dulko@welkinsuite.com

       

        


      #3

      Joseph

        Posted 11 Mar 2016

        Thank you Kate for the quick response.


        I am not sure I understand your answer. Are you saying that at this time it is not possible to use a TWS to work between Sandboxes? 


        Is  each TWS Project dedicated to a specific org (Sandbox or Prod) and can not be modified to work with another? Is this correct?


        If so, how do people use this as a collaboration tool? As I see it, the only option would be for all the developers to work on the same dev Sandbox. But this is surely not the recommended approach? Am I missing something? How do you recommend using TWS if you have multiple developers? Do you use some other tool to move the changes between orgs such as Changesets or ANT?


        Kind regards,

        Joseph 



        #4

        kate.dulko

          Posted 11 Mar 2016

          Hi again Joseph,


          Yes, you understand correct - every TWS project is dedicated to a specific organization.

          Currently there is no ability to set up the project for the work with another org. At the same time, you have the ability to deploy your data to another Org from your project in the IDE. You can find this functionality in the Main Menu -> Project ->  Deploy to organization.

          In the frame of the further development of The Welkin Suite we will expand these capabilities.


          During the joint work of several developers on the same project, every of them uses the Pull form Salesforce and Build/Deploy functionality. If there occur some conflicts, they will use the merge tool.


          If you have more question - we are glad to answer them.


          Regards,

          Kate


          Kate Dulko
          Customer Relations

          The Welkin Suite

          twitter: @KateDulko
          skype id: d_katerina
          e-mail: kate.dulko@welkinsuite.com

           

            





          Boost Your Productivity. Get Started Today

          Try Free Trial