Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Git Local Plugin

skogler edited this page Apr 22, 2012 · 4 revisions

The standard Git plugin for Codesearch is called GitLocalPlugin because it clones the specified repositories to the local cache directory (specified in Codesearch configuration).'

It uses a local binary Git executable to access Git.

Prerequisites

If you have a standard linux installation with Git, Ssh and Bash installed, you should be fine.

Needed files:

/bin/bash
/usr/bin/git
/usr/bin/ssh-agent

If any of these files do not exist, just create symlinks to the correct files on your system.

Features

  • Repositories that do not neet authentication
  • Basic authentication for https:// urls

Missing or unimplemented features

  • Basic authentication with git:// urls
  • SSH key authentication

Configuration Example

        <repository>
            <name>codesearch</name>
            <version-control-system>GIT</version-control-system>
            <authentication-data type='none'></authentication-data>
            <url>git://github.com/codesearch-github/codesearch.git</url>
            <code-navigation-enabled>true</code-navigation-enabled>
            <groups>java git</groups>
        </repository>