Expertsystemen

 

Source control

As we create models we want to have the ability to work together, the source control feature gives us the opportunity to do so. Here we can publish a model on a server where multiple people have access to it and have the ability to change it. This gives you the opportunity to work together on a model whilst you are on different computers.

Setup

In order to setup the source manager we first need to specify the repository folder and check the checkbox use repository folder. In the repository folder you fill in the directory where you want to work together in. This could be a folder on a server, or a local folder if you want to work with the source manager on your own. Both these settings can be found by following Settings > Technical .

Settings source control
Settings source control

This will enable the buttons on the source manager tab, which will look like the image down below. Afterwards you will need to add the model to the source manager by pressing the Add button. This adds your model to the repository folder where it will keep a copy in order to track whether you changed your model.

Add button source manager
Add button source manager

The workflow

The source control feature is built around a push and pull based system. This means that you can push your own changes to the repository folder where others can pull your changes into their own model. We can push our changes to the repository folder by pressing the Commit button and we can in turn pull other peoples changes by pressing the Get latest button.

Source manager buttons
Source manager buttons

Besides that we also have the Differences button, this gives you an overview of the differences between the version in the repository folder and your own local model, this will give you the screen depicted below.

Differences source control
Differences source control

In this interface we can press on of the nodes where there is a change and see what is changed. Besides that we can also chose to commit our version by pressing Commit and chose the version on the server by pressing Get latest.