Christopher Mckay > CPAN-Mini-Inject-Server-0.03 > CPAN::Mini::Inject::Server

Download:
CPAN-Mini-Inject-Server-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

NAME ^

CPAN::Mini::Inject::Server - Inject into your CPAN mirror from over there

VERSION ^

Version 0.03

SYNOPSIS ^

#under test server

use CGI::Application::Dispatch::Server; my $server = CGI::Application::Dispatch::Server->new( class => 'CPAN::Mini::Inject::Server::Dispatch', port => '9000' );

$server->run;

#under plain cgi

#!/usr/bin/perl use FindBin '$Bin'; use lib "$Bin/../../rel/path/to/my/perllib"; use CPAN::Mini::Inject::Server::Dispatch CPAN::Mini::Inject::Server::Dispatch->dispatch();

#Apache and mod perl

<location /app> SetHandler perl-script PerlHandler CPAN::Mini::Inject::Server::Dispatch </location>

DESCRIPTION ^

This module is a simple Restish webservice that makes the basic functionality and interface of mcpani (of the CPAN::Mini::Inject package) available from accross a network allowing for remote management of a cpan mirror.

The original envisaged use for this module was for a continuous integration platform with distributed build nodes to be able to commit its build artifacts back to a common CPAN repository so that subsequent builds of other modules could use source the new version of the software.

FUNCTIONS ^

add

Invokes the controller to add a new module to the CPAN::Mini server

update

Updates the cpan mirror

inject

Injects all added modules into the cpan mirror

AUTHOR ^

Christopher Mckay, <potatohead at potatolan.com>

BUGS ^

Please report any bugs or feature requests to bug-cpan-mini-inject-server at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CPAN-Mini-Inject-Server. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

TO DO ^

Need to add logging down to trace levels to this

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc CPAN::Mini::Inject::Server

You can also look for information at:

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2009 Christopher Mckay.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

syntax highlighting: