Git Manual Sync plugin

The Git plugin is a project plugin that is used to integrate the framework with the Git Scm repository, performing actions on the repository only when explictly requested (by the user) to do so.

Prerequisites

You will need access to a Git repository and should obtain the necessary credentials and URL (https clone url) for this. You should decide on the structure to use for your projects in the Git repository.

When you enter a URL for the Git Repository location, this will be the projects root directory. All folders and files beneath this directory will be checked out to the local working copy. This repository location may initially be empty, but it must exist. The framework server will not attempt to create it.

You will also need to decide on the location, on the framework server, of the local working copy for Git checkouts. This must be in a filesystem with sufficient space for the copy and in a folder that the framework server has read/write access to.

Create, update and commit operations

This plugin, when selected, creates a local working copy in the specified directory on the framework server. This copy is used for all updates and commits for the project to which it is associated.

The local working copy is created during project creation when this plugin is selected.

This plugin supports manual updates, commits and resynchronisation actions by using the buttons on the Scm tab of the project panels, or via the equivalent JMX commands.

This plugin does not update from, or commit changes to, the Git repository unless explicitly requested to do so by use of the update, commit and resynchronise buttons on the Scm tab of the project panel.

Using SSH connection

This plugin is accepting username and password credentials by default for HTTPS connection to Git. In case you need to use SSH connection, you can use the default keyfiles and known_hosts under your .ssh folder. To point the plugin to the correct folder, you need to start RapidDeploy server with -Duser.home=[folder containing .ssh]

Example:

        $MV_HOME/bin/start-web-app.sh -Duser.home=/home/midvision

where filesystem contains

        /home/midvision/.ssh/id_rsa
        /home/midvision/.ssh/id_rsa.pub
        /home/midvision/.ssh/known_hosts

Attributes and parameters

List and description of all user interface plugin parameters.