NAME

OpenInteract2::Setup::ReadRepository - Reads the package repository and stores in context

SYNOPSIS

my $setup = OpenInteract2::Setup->new( 'read repository' );
$setup->run();

my $repos = CTX->repository;
my $package = $repos->fetch_package( 'base_name' );
print "Version of 'base_name': ", $package->version;

DESCRIPTION

This setup action just passes the 'bootstrap' property (a OpenInteract2::Config::Bootstrap) of the context to a constructor for OpenInteract2::Repository.

Setup Metadata

name - 'read repository'

dependencies - default

SEE ALSO

OpenInteract2::Repository

OpenInteract2::Setup

COPYRIGHT

Copyright (c) 2005 Chris Winters. All rights reserved.

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

AUTHORS

Chris Winters <chris@cwinters.com>