NAME

MyCPAN::Indexer::CPANMiniInject - Do the indexing, and put the dists in a MiniCPAN

SYNOPSIS

Use this in backpan_indexer.pl by specifying it as the queue class:

# in backpan_indexer.config
worker_class  MyCPAN::Indexer::CPANMiniInject

DESCRIPTION

This class takes a distribution and analyses it. Once it knows the modules inside the distribution, it adds the distribution to a CPAN::Mini::Inject staging repository. This portion specifically does not inject the modules into the MiniCPAN. The injection has to happen after all of the workers have finished.

Configuration

minicpan_inject_config

The location of the configuration file for CPAN::Mini::Config

Methods

get_task( $Notes )

get_task sets the child_task key in the $Notes hash reference. The value is a code reference that takes a distribution path as its only argument and indexes that distribution.

See MyCPAN::Indexer::Tutorial for details about what get_task expects and should do.

SEE ALSO

MyCPAN::Indexer, MyCPAN::Indexer::Tutorial

SOURCE AVAILABILITY

This code is in Github:

git://github.com/briandfoy/mycpan-indexer.git

AUTHOR

brian d foy, <bdfoy@cpan.org>

COPYRIGHT AND LICENSE

Copyright (c) 2008-2013, brian d foy, All Rights Reserved.

You may redistribute this under the same terms as Perl itself.