IguanaX leverages GIT Git version control for efficient, collaborative and safe development. The following is example provides a basic GIT Git workflow cycle when developing in the Translator:
Expand | ||
---|---|---|
| ||
CLONE a central repository and pull it down to a local machine. For example: In IguanaX, when you Create a Component or Create component +FROM URL, we are performing a git clone of an upstream repository, making a copy and pulling the component repository down to your local machine for you to use. When you clone a component repository you have two options:
|
Expand | ||
---|---|---|
| ||
The Developing in the Translator leverages GIT Git for full source control capabilities for more efficient code promotion and collaboration. Let’s see how it works. works… |
Expand | ||
---|---|---|
| ||
As you make changes to your interface script, its recommended to make incremental COMMITs, saving your work at multiple milestones. This is easier for overall team collaboration, debugging and reducing risk as you make and test changes. In the Translator, you can easily commit changes using the menu bar: You can leave a commit note and see a diff view of your changes: The Translator's GIT Git terminal will appear and show you the results of your commit: You may have noticed, when you make a commit in the Translator, IguanaX first performs a GIT git ADD to add any new files to the project - in this case the FIL Library was added. This removes a step for you! |
...
Expand | ||
---|---|---|
| ||
When you are ready to publish your changes to the upstream repository to share with the rest of your team you need to PUSH your changes. In the Translator, you can easily commit changes using the menu bar: Note: If any iNTERFACEWARE Libraries are used in a project, when pushing changes you will get a permission error when pushing changes. This is because iNTERFACEWARE Libraries are not editable unless a local copy is made. This can be ignored as we didn't make any changes to FIL and the last git push command was successful. This cycle then starts over as you make more EDITs to your project. |
If GIT Git is new to you, see Source control basic concepts to understand Git What is Source Control?.