A guide for parallel Genio development.
Genio’s source control function (Genio SVN) allows different developers to work simultaneously on a collaborative project. Genio SVN works similarly to TortoiseSVN, allowing a developer to use a working copy of a collaborative project that can later be integrated to the central database, in which said project is being stored.
To start, one must first execute a Checkout which will create 2 (two) copies of a project from the central database to a private server:
The checkout will create a new folder for these project copies within the folder of Genio projects. It is important to note that, the project and the Central Database shared path need to exist within a directory with permissions for any user.
After you execute a checkout you will be able to see the databases of the Local and Working copies on SQL Server Management Studio (SSMS).
To transform a database of a project, so that it can become collaborative and be accessed through the Central Server Database, please follow these steps:
IMPORTANT NOTE: If you are executing a checkout for the first time, you will first need to create a new user for yourself. Please see instructions at the Authentication Error item of the Guides section of GenioDoc.
When you open a working copy of a project on Genio, you will see a box in the Genio background with information of:
To verify the existence of alterations done to a collaborative project in the (central database) and import theses alterations to your working copy, it is necessary to execute an update on Genio. The update function will update the local copy as well as the working copy of a project, so that they become identical to the latest version of this project (that is with all alterations made to the project until that point in time) saved on the central database. The update process also merges the alterations existing in the Central Database and the local alterations in the Local and Working copies.
GenioSVN detects conflicts that may happen while you are executing an update. Within the update pop-up, if conflicts exist you can navigate through them by clicking on the right and left arrows of the conflict section which is located on the bottom left corner next to the cancel button.
See below what conflicts may occur between your local copy and the central database version of the project:
• Insert-Duplication -» This conflict occurs when you inserted a value in a field on your working copy, while this same value was inserted in the same field on the Central Database, generating a duplicate.
• Delete-Update -» This conflict occurs when a row that was deleted on your working copy was updated in the Central Database.
• Update-Update -» This conflict occurs when you have altered a value in a field on your working copy while this same field was altered with a different value on the Central Database.
• Update-Delete -» This conflict occurs when a field was deleted on your working copy while this field was altered on the Central Database.
• Update-Duplication -» This conflict occurs when you have altered a value in a field on your working copy, while this same value was altered in the same field on the Central Database, generating a duplicate.
GenioSVN will automatically resolve such conflicts.
But if you would like to manually select which alteration to be saved (between your working copy and the Central Database), you can double click on a conflict line and choose between “Old”, “Their” and “Mine” or even manually add another value, by selecting the “Other Value” button.
The commit function allows you to update a collaborative project saved on the Central Database with the alterations you’ve made on your working copy. However, Genio does not allow you to execute a commit if you haven’t previously executed an update.
a. Things you have inserted are signaled with a green plus icon. b. Things you have deleted are signaled with a red minus icon. c. Thing you have altered are signaled with a blue update icon.
In this example, inside the table named “LENA”, the field “Address” was inserted, while the field “Telephone” was deleted. Whereas in the respective form, besides these insertions and deletions, the “Name” filed was altered to “Full name”.
The discard function allows the user to discard all alterations made on the working copy. This means that once you execute a discard, your working copy will be a clean slate (identical to your local copy). To execute a discard:
You can check in detail all the committed alterations made to a collaborative project by consulting the log on Genio. The log on your Genio will be updated every time you execute an update or a commit. To see the log, go to the Management tab on Genio and click on the Log button. This will open the log pop-up.
You can also see the Commit log by clicking on the arrow under the log button as shown in the image below:
This will open a Commit log pop-up in which you can double-click on a line to visualize the differences between your working copy and the project committed to the Central Database.
You can repeat the same process to access the Update log as shown below: