Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
title3) Manage the project - make commits and interact with connected git repositories

The Translator’s Source Control tools help you manage your projects, saving changes locally and in connected remote git repositories for the rest of the team to access. See Git Workflow in the Translator for an example use caseIn order, to leverage the source control features, you must configure your IguanaX Git settings and ensure your project is connected to a repository.

Commit ChangesCommit and Push Changes to Git

When you are working on a project, its recommended to make incremental commits, saving your script locally at multiple milestones. When you make a commit, you can see a diff view of the changes made and leave a note to document your work.

At any point in development, you can use a file’s menu to view changes and revert to a previous version if necessary.

Pull Changes

Pull Changes down changes from an upstream repothe upstream repository into your local project to make sure you are working from the latest, most up to date code.

When collaborating on a project with a team, its It's important to pull down the latest changes first so you can resolve any conflicts before you share your changes.

Push Changes Push Changes to an upstream repo

When you want to backup or share your changes with the rest of the team, you can push changes to an upstream repository.

If there are files you don’t want pushed and stored in your repository, you can use a .gitignore file.

Connect a Repository

In order to use version control, every component must be connected to repository. The Repository Management Screen allows you to connect component’s to new or existing repositories to manage your project files.

Show Current Branch

Quickly see what project branch you are currently working on. You can also view this in the Translator - Project Pane.

Git Terminal

Link to other related docs in Translator - Project Pane

  • Revert changes, see change history

  • Using .gitignore to control Git file tracking - under File Types? or Dev strategy?

    Allows users to interact with your Git repository using the command-line, offering precise control over version control tasks like committing changes, branching, pulling, and pushing code.

    Expand
    title4) Execute the script

    When working in the Translator, one of the many great benefits is the auto-execution of the script, enabling you to develop and test your code at the same time.

    However, sometimes you may want to control when your script executes, for example when working with large data sets, testing one-time executions or debugging an error.

    1. Script Execution: Play and Stop buttons are available to start and stop script execution in the Translator.

    2. Auto-Execution Toggle: By default, the Translator will auto-execute to enable the real-time view of results in the Annotation Windows. You can toggle this button on and off to control the script auto-execution.

    ...