2 Replies Latest reply on Mar 2, 2016 6:44 AM by rkandasamy RSS
    rkandasamy Apprentice

    Does Thingworx Platform provide any check-in/check-out features so that we can keep a track of code changes made for fixes/enhancements. And can we also do a difference of code revisions.

    We want to know if there is any check-in check-out feature available within the TW platform itself (like Tortoise SVN) for maintaining different code versions and also to track fixes/changes.

     

    We know that we have an option of Export Source Control Entities. But this just creates a file system with different directories like Users, DataShapes, etc.

     

    However we are interested in knowing if TW itself maintains different versions of the code and can keep a track of different versions of the code so that it can be helpful for tracking changes/fixes. We are also interested in knowing if we can directly check-in and check-out the code instead of Export/Import.

      • Re: Does Thingworx Platform provide any check-in/check-out features so that we can keep a track of code changes made for fixes/enhancements. And can we also do a difference of code revisions.
        pchung Collaborator

        We do not have this within Thingworx, we recommend you use some other Source Control program together with Thingworx to do Source Control.

          • Re: Does Thingworx Platform provide any check-in/check-out features so that we can keep a track of code changes made for fixes/enhancements. And can we also do a difference of code revisions.
            rkandasamy Apprentice

            Hi Pai,

             

            Thanks for the inputs. What is the recommended approach that you suggest for using Thingworx with some other source control say tortoise SVN? Is it using the export source control option as mentioned in "Thingworx Development Guidelines" (Link - community.thingworx.com/community/developers/blog/2015/09/06/thingworx-development-guidlines)?  In case this source control folder is set as say SVN path then how to know if a file change has occured in composer from this setup so that it can be marked as checked-out. Kindly provide docs/links explaining how Thingworx source control can be integrated to other source control systems and how is the check in-check out mechanism recommended out of this approach.

             

            Also giving below three observations related to the same. Please provide your inputs.

            1. Assume scenario where only one thing is modified after export to source contol option is done. On import to source control if we select "Check Difference", in Difference list it is showing the modified thing as well as some other entities which are in no way related to this change (like some datatables, streams which are not related to this thing)

            2. Assume same scenario where only one thing is modified i want to export only that change to Source control folder but when i select the same instead of showing source control location it points to drives in my system to store the exported xml. I was expecting that it would lead to it's corresponding folder structure in source control (in this case it should ideally go to the Things folder in source control folder)

            3. There is a service GetDifferences which will list differences if a selected entity is given but the differences are in form of infotable and i could not figure out the exact differences in two versions though i looked into the infotable in detail. Is there any mechanism we can see the previous and current code version differences only which helps in understanding what was the code change made from one version to another ?