Shipwright::Backend - Backend


Shipwright documentation  | view source Contained in the Shipwright distribution.

Index


NAME

Top

Shipwright::Backend - Backend

SYNOPSIS

Top

    # shipwright some_command -r backend_type:path
    shipwright create -r svn:file:///svnrepo/shipwright/my_proj

DESCRIPTION

Top

See <Shipwright::Manual::Glossary/shipyard> to understand its concept. Look at list of </SUPPORTED BACKENDS> or IMPLEMENTING BACKENDS if you want add a new one.

SUPPORTED BACKENDS

Top

Currently, the supported backends are FS (Shipwright::BACKEND::FS), Git (Shipwright::BACKEND::Git), SVK (Shipwright::BACKEND::SVK) and SVN (Shipwright::BACKEND::SVN).

IMPLEMENTING BACKENDS

Top

Each implementation of a backend is a subclass of Shipwright::Backend::Base.

METHODS

Top

This is a tiny class with only one method new that loads particular implementation class and returns instance of that class.

new repository => "type:path"

Returns the backend object that corresponds to the type defined in the repository argument.

AUTHORS

Top

sunnavy <sunnavy@bestpractical.com>

LICENCE AND COPYRIGHT

Top


Shipwright documentation  | view source Contained in the Shipwright distribution.