Connecting Server Project to Existing Repository

Git
SVN

There is an existing server sandbox with some data, graphs, jobflows, ... The content of the sandbox is in repository as well.

This section describes way to create a new server project corresponding to this sandbox and to attach the project with versioning system.

Git

Cloning the remote repository and binding the content of an existing sandbox with the project from this repository is almost same as Initial Check-Out of Project from Repository.

The difference is that in the second step of New Server Project wizard you shall choose an existing sandbox.

Eclipse Plugin - EGit
  1. Clone the repository.

    Switch to Git perspective.

    In Git Repositories tab, click Clone a Git repository and add the clone to this view icon.

    Enter the remote repository location and password.

    Choose branches to be tracked.

    Enter the location at which the local repository will be created.

    Switch back to CloverETL perspective.

  2. Import the project from local git repository.

  3. Convert the project to Server Project.

    In the second step of wizard, choose an existing server sandbox.

    In the last step of wizard, choose type of merge, e.g. Merge content - prefer remote files.

External Tool - TortoiseGit
  1. Clone the git repository.

  2. Import the project.

  3. Convert project to Server Project.

External Tool - Command Line
  1. Clone the git repository.

    git clone /path/to/remote/repo local_repo

  2. Import the project.

  3. Convert project to Server Project.

SVN

Eclipse Plugin - Subclipse
  1. Checkout the project from SVN.

  2. Import the project.

  3. Convert project to Server Project.

External Tool - TortoiseSVN
  1. Check out the repository to directory with project.

    Right click the project directory in File Explorer and choose SVN Checkout....

    Specify the checkout directory as current directory and click OK.

    TortoiseSVN complains that the directory is not empty.

  2. Import the project.

  3. Convert project to Server project.

External Tool - Command Line
  1. Check out the project from svn.

    svn checkout --force /path/to/repository .

  2. Import the project.

  3. Convert the project to Server Project.