The Welkin Suite Forum

Migrate to Welkin from forceIDE with preserving GIT history?



Migrate to Welkin from forceIDE with preserving GIT history?

  • Please log in to reply

#1
mac version welkinsuite

stw
    stw
  • Member

  • Singapore
  • 7 posts

    Posted 14 Dec 2017 and edited 18 Feb 2018

    Hi there,

    I have a project checked out with the Force IDE and want to move it to The Welkin Suite.

    The project is under version control (local .git ) with a rather nice history.

    How do I move it the Welkin Suite without loosing the change history for my files (as much as possible?)



    2 replies to this topic

    #2

    vlgubanovich

      Posted 14 Dec 2017

      Hi Stephan,

      I'm not 100% sure, but it might work if you'll just delete everything from the repo folder and then create a TWS project in the same folder. Both TWS and Force.com IDE save sources under the 'src' folder, so Git should not lose the history if you'll just replace the files in the same folders. But when creating TWS project you'll need to uncheck the 'create directory for solution' or just manually move files accordingly to make the structure the same.


      If your src folder is the root of the repository - you might need first to create the src folder and move everything there, so git will catch the move and then do the actions above.


      So in general - there's no 'automated' way to do this from the IDE, however there should not be much problems with achieving the same results manually.


      Hope this helps. Please feel free to get back to us if you'll have any additional questions or just let us know if everything works good :)


      Thank you,

      Vlaimir


      Vladimir Gubanovich
      Head of Product
       
      The Welkin Suite
      skype id: vladimir.gubanovich
      e-mail: vladimir.gubanovich@welkinsuite.com


      #3

      lrmanfre

        Posted 18 Feb 2018

        I'm looking to do something similar, i.e., stop using the Force.com IDE altogether and switch to TWS. I don't actually want to touch anything in my force.com ide project, I would rather just 'copy' that project to TWS and leave everything related to my Force.com IDE project as is (e.g., the folder, git history, the settings, etc.). 

        I understand that 'copy' might not be the right way of thinking about this, but how do I get all my files and local git history + branches into essentially what would be the same project, but in TWS? Again, I don't want to mess with deleting anything in my existing force.com project folder, especially when the above member of the TWS team is 'not 100% sure' that such a solution would work.

        (Some information about my workflow: I'm using git but doing all of my commands at the CLI. When I make changes to files in Force.com, git picks them up and I can commit them. When I save a file in that IDE, it pushes those changes to the sandbox. I can also deploy classes/triggers to Salesforce production easily enough, and I'm looking to replicate that functionality in TWS.)

        Thanks.







        Boost Your Productivity. Get Started Today

        Try Free Trial