孙海军 > Shipwright-2.4.36 > Shipwright::Backend::Base

Download:
Shipwright-2.4.36.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Shipwright-2.4.39

NAME ^

Shipwright::Backend::Base - Base Backend Class

DESCRIPTION ^

Base Backend Class

METHODS ^

new

the constructor

build
initialize

initialize a project you should subclass this method, and call this to get the dir with content initialized

import

import a dist.

export
checkout
commit

A wrapper around svn's commit command.

update_order

regenerate the dependency order.

graph_deps

return a dependency graph in graphviz format

order

get or set the dependency order.

map

get or set the map.

source

get or set the sources map.

flags

get or set flags.

version

get or set version.

branches

get or set branches.

ktf

get or set known failure conditions.

refs

get or set refs

delete
list
dists
move
info
requires

return the hashref of require.yml for a dist.

check_repository

Check if the given repository is valid.

update

you should subclass this method, and run this to get the file path with latest version

test_script

get or set test_script for a project, i.e. /t/test

trim

trim dists

update_refs

update refs.

we need update this after import and trim

has_branch_support

return true if has branch support

local_dir

for vcs backend, we made a local checkout/clone version, which will live here

strip_repository

AUTHORS ^

sunnavy <sunnavy@bestpractical.com>

LICENCE AND COPYRIGHT ^

Shipwright is Copyright 2007-2012 Best Practical Solutions, LLC.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: